status
stringclasses 1
value | repo_name
stringclasses 31
values | repo_url
stringclasses 31
values | issue_id
int64 1
104k
| title
stringlengths 4
233
| body
stringlengths 0
186k
β | issue_url
stringlengths 38
56
| pull_url
stringlengths 37
54
| before_fix_sha
stringlengths 40
40
| after_fix_sha
stringlengths 40
40
| report_datetime
unknown | language
stringclasses 5
values | commit_datetime
unknown | updated_file
stringlengths 7
188
| chunk_content
stringlengths 1
1.03M
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
func (r *InterfaceTypeDef) XXX_GraphQLIDType() string {
return "InterfaceTypeDefID"
}
func (r *InterfaceTypeDef) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *InterfaceTypeDef) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
}
return json.Marshal(id)
}
func (r *InterfaceTypeDef) Name(ctx context.Context) (string, error) {
if r.name != nil {
return *r.name, nil
}
q := r.Query.Select("name")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *InterfaceTypeDef) SourceModuleName(ctx context.Context) (string, error) {
if r.sourceModuleName != nil {
return *r.sourceModuleName, nil |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
q := r.Query.Select("sourceModuleName")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
type Label struct {
Query *querybuilder.Selection
id *LabelID
name *string
value *string
}
func (r *Label) ID(ctx context.Context) (LabelID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response LabelID
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Label) XXX_GraphQLType() string {
return "Label"
}
func (r *Label) XXX_GraphQLIDType() string {
return "LabelID"
}
func (r *Label) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | return "", err
}
return string(id), nil
}
func (r *Label) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
}
return json.Marshal(id)
}
func (r *Label) Name(ctx context.Context) (string, error) {
if r.name != nil {
return *r.name, nil
}
q := r.Query.Select("name")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Label) Value(ctx context.Context) (string, error) {
if r.value != nil {
return *r.value, nil
}
q := r.Query.Select("value")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
type ListTypeDef struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Query *querybuilder.Selection
id *ListTypeDefID
}
func (r *ListTypeDef) ElementTypeDef() *TypeDef {
q := r.Query.Select("elementTypeDef")
return &TypeDef{
Query: q,
}
}
func (r *ListTypeDef) ID(ctx context.Context) (ListTypeDefID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response ListTypeDefID
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ListTypeDef) XXX_GraphQLType() string {
return "ListTypeDef"
}
func (r *ListTypeDef) XXX_GraphQLIDType() string {
return "ListTypeDefID"
}
func (r *ListTypeDef) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
return string(id), nil
}
func (r *ListTypeDef) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
}
return json.Marshal(id)
}
type LocalModuleSource struct {
Query *querybuilder.Selection
id *LocalModuleSourceID
rootSubpath *string
}
func (r *LocalModuleSource) ContextDirectory() *Directory {
q := r.Query.Select("contextDirectory")
return &Directory{
Query: q,
}
}
func (r *LocalModuleSource) ID(ctx context.Context) (LocalModuleSourceID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response LocalModuleSourceID
q = q.Bind(&response)
return response, q.Execute(ctx)
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | func (r *LocalModuleSource) XXX_GraphQLType() string {
return "LocalModuleSource"
}
func (r *LocalModuleSource) XXX_GraphQLIDType() string {
return "LocalModuleSourceID"
}
func (r *LocalModuleSource) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *LocalModuleSource) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
}
return json.Marshal(id)
}
func (r *LocalModuleSource) RootSubpath(ctx context.Context) (string, error) {
if r.rootSubpath != nil {
return *r.rootSubpath, nil
}
q := r.Query.Select("rootSubpath")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
type Module struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Query *querybuilder.Selection
description *string
id *ModuleID
name *string
sdk *string
serve *Void
}
type WithModuleFunc func(r *Module) *Module
func (r *Module) With(f WithModuleFunc) *Module {
return f(r)
}
func (r *Module) Dependencies(ctx context.Context) ([]Module, error) {
q := r.Query.Select("dependencies")
q = q.Select("id")
type dependencies struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Id ModuleID
}
convert := func(fields []dependencies) []Module {
out := []Module{}
for i := range fields {
val := Module{id: &fields[i].Id}
val.Query = q.Root().Select("loadModuleFromID").Arg("id", fields[i].Id)
out = append(out, val)
}
return out
}
var response []dependencies
q = q.Bind(&response)
err := q.Execute(ctx)
if err != nil {
return nil, err
}
return convert(response), nil
}
func (r *Module) DependencyConfig(ctx context.Context) ([]ModuleDependency, error) {
q := r.Query.Select("dependencyConfig")
q = q.Select("id")
type dependencyConfig struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Id ModuleDependencyID
}
convert := func(fields []dependencyConfig) []ModuleDependency {
out := []ModuleDependency{}
for i := range fields {
val := ModuleDependency{id: &fields[i].Id}
val.Query = q.Root().Select("loadModuleDependencyFromID").Arg("id", fields[i].Id)
out = append(out, val)
}
return out
}
var response []dependencyConfig
q = q.Bind(&response)
err := q.Execute(ctx)
if err != nil {
return nil, err
}
return convert(response), nil
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | func (r *Module) Description(ctx context.Context) (string, error) {
if r.description != nil {
return *r.description, nil
}
q := r.Query.Select("description")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Module) GeneratedContextDiff() *Directory {
q := r.Query.Select("generatedContextDiff")
return &Directory{
Query: q,
}
}
func (r *Module) GeneratedContextDirectory() *Directory {
q := r.Query.Select("generatedContextDirectory")
return &Directory{
Query: q,
}
}
func (r *Module) ID(ctx context.Context) (ModuleID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response ModuleID
q = q.Bind(&response)
return response, q.Execute(ctx)
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | func (r *Module) XXX_GraphQLType() string {
return "Module"
}
func (r *Module) XXX_GraphQLIDType() string {
return "ModuleID"
}
func (r *Module) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *Module) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
}
return json.Marshal(id)
}
func (r *Module) Initialize() *Module {
q := r.Query.Select("initialize")
return &Module{
Query: q,
}
}
func (r *Module) Interfaces(ctx context.Context) ([]TypeDef, error) {
q := r.Query.Select("interfaces")
q = q.Select("id")
type interfaces struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Id TypeDefID
}
convert := func(fields []interfaces) []TypeDef {
out := []TypeDef{}
for i := range fields {
val := TypeDef{id: &fields[i].Id}
val.Query = q.Root().Select("loadTypeDefFromID").Arg("id", fields[i].Id)
out = append(out, val)
}
return out
}
var response []interfaces
q = q.Bind(&response)
err := q.Execute(ctx)
if err != nil {
return nil, err
}
return convert(response), nil
}
func (r *Module) Name(ctx context.Context) (string, error) {
if r.name != nil {
return *r.name, nil
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | q := r.Query.Select("name")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Module) Objects(ctx context.Context) ([]TypeDef, error) {
q := r.Query.Select("objects")
q = q.Select("id")
type objects struct {
Id TypeDefID
}
convert := func(fields []objects) []TypeDef {
out := []TypeDef{}
for i := range fields {
val := TypeDef{id: &fields[i].Id}
val.Query = q.Root().Select("loadTypeDefFromID").Arg("id", fields[i].Id)
out = append(out, val)
}
return out
}
var response []objects
q = q.Bind(&response)
err := q.Execute(ctx)
if err != nil {
return nil, err
}
return convert(response), nil
}
func (r *Module) Runtime() *Container {
q := r.Query.Select("runtime") |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | return &Container{
Query: q,
}
}
func (r *Module) SDK(ctx context.Context) (string, error) {
if r.sdk != nil {
return *r.sdk, nil
}
q := r.Query.Select("sdk")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Module) Serve(ctx context.Context) (Void, error) {
if r.serve != nil {
return *r.serve, nil
}
q := r.Query.Select("serve")
var response Void
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Module) Source() *ModuleSource {
q := r.Query.Select("source")
return &ModuleSource{
Query: q,
}
}
func (r *Module) WithDescription(description string) *Module {
q := r.Query.Select("withDescription") |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | q = q.Arg("description", description)
return &Module{
Query: q,
}
}
func (r *Module) WithInterface(iface *TypeDef) *Module {
assertNotNil("iface", iface)
q := r.Query.Select("withInterface")
q = q.Arg("iface", iface)
return &Module{
Query: q,
}
}
func (r *Module) WithObject(object *TypeDef) *Module {
assertNotNil("object", object)
q := r.Query.Select("withObject")
q = q.Arg("object", object)
return &Module{
Query: q,
}
}
func (r *Module) WithSource(source *ModuleSource) *Module {
assertNotNil("source", source)
q := r.Query.Select("withSource")
q = q.Arg("source", source)
return &Module{
Query: q,
}
}
type ModuleDependency struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Query *querybuilder.Selection
id *ModuleDependencyID
name *string
}
func (r *ModuleDependency) ID(ctx context.Context) (ModuleDependencyID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response ModuleDependencyID
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ModuleDependency) XXX_GraphQLType() string {
return "ModuleDependency"
}
func (r *ModuleDependency) XXX_GraphQLIDType() string {
return "ModuleDependencyID"
}
func (r *ModuleDependency) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *ModuleDependency) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
return json.Marshal(id)
}
func (r *ModuleDependency) Name(ctx context.Context) (string, error) {
if r.name != nil {
return *r.name, nil
}
q := r.Query.Select("name")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ModuleDependency) Source() *ModuleSource {
q := r.Query.Select("source")
return &ModuleSource{
Query: q,
}
}
type ModuleSource struct {
Query *querybuilder.Selection
asString *string
configExists *bool
id *ModuleSourceID
kind *ModuleSourceKind
moduleName *string
moduleOriginalName *string
resolveContextPathFromCaller *string
sourceRootSubpath *string
sourceSubpath *string
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | type WithModuleSourceFunc func(r *ModuleSource) *ModuleSource
func (r *ModuleSource) With(f WithModuleSourceFunc) *ModuleSource {
return f(r)
}
func (r *ModuleSource) AsGitSource() *GitModuleSource {
q := r.Query.Select("asGitSource")
return &GitModuleSource{
Query: q,
}
}
func (r *ModuleSource) AsLocalSource() *LocalModuleSource {
q := r.Query.Select("asLocalSource")
return &LocalModuleSource{
Query: q,
}
}
func (r *ModuleSource) AsModule() *Module {
q := r.Query.Select("asModule")
return &Module{
Query: q,
}
}
func (r *ModuleSource) AsString(ctx context.Context) (string, error) {
if r.asString != nil {
return *r.asString, nil
}
q := r.Query.Select("asString")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx) |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
func (r *ModuleSource) ConfigExists(ctx context.Context) (bool, error) {
if r.configExists != nil {
return *r.configExists, nil
}
q := r.Query.Select("configExists")
var response bool
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ModuleSource) ContextDirectory() *Directory {
q := r.Query.Select("contextDirectory")
return &Directory{
Query: q,
}
}
func (r *ModuleSource) Dependencies(ctx context.Context) ([]ModuleDependency, error) {
q := r.Query.Select("dependencies")
q = q.Select("id")
type dependencies struct {
Id ModuleDependencyID
}
convert := func(fields []dependencies) []ModuleDependency {
out := []ModuleDependency{}
for i := range fields {
val := ModuleDependency{id: &fields[i].Id}
val.Query = q.Root().Select("loadModuleDependencyFromID").Arg("id", fields[i].Id)
out = append(out, val)
}
return out |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
var response []dependencies
q = q.Bind(&response)
err := q.Execute(ctx)
if err != nil {
return nil, err
}
return convert(response), nil
}
func (r *ModuleSource) Directory(path string) *Directory {
q := r.Query.Select("directory")
q = q.Arg("path", path)
return &Directory{
Query: q,
}
}
func (r *ModuleSource) ID(ctx context.Context) (ModuleSourceID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response ModuleSourceID
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ModuleSource) XXX_GraphQLType() string {
return "ModuleSource"
}
func (r *ModuleSource) XXX_GraphQLIDType() string {
return "ModuleSourceID" |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
func (r *ModuleSource) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *ModuleSource) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
}
return json.Marshal(id)
}
func (r *ModuleSource) Kind(ctx context.Context) (ModuleSourceKind, error) {
if r.kind != nil {
return *r.kind, nil
}
q := r.Query.Select("kind")
var response ModuleSourceKind
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ModuleSource) ModuleName(ctx context.Context) (string, error) {
if r.moduleName != nil {
return *r.moduleName, nil
}
q := r.Query.Select("moduleName")
var response string |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ModuleSource) ModuleOriginalName(ctx context.Context) (string, error) {
if r.moduleOriginalName != nil {
return *r.moduleOriginalName, nil
}
q := r.Query.Select("moduleOriginalName")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ModuleSource) ResolveContextPathFromCaller(ctx context.Context) (string, error) {
if r.resolveContextPathFromCaller != nil {
return *r.resolveContextPathFromCaller, nil
}
q := r.Query.Select("resolveContextPathFromCaller")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ModuleSource) ResolveDependency(dep *ModuleSource) *ModuleSource {
assertNotNil("dep", dep)
q := r.Query.Select("resolveDependency")
q = q.Arg("dep", dep)
return &ModuleSource{
Query: q,
}
}
func (r *ModuleSource) ResolveFromCaller() *ModuleSource { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | q := r.Query.Select("resolveFromCaller")
return &ModuleSource{
Query: q,
}
}
func (r *ModuleSource) SourceRootSubpath(ctx context.Context) (string, error) {
if r.sourceRootSubpath != nil {
return *r.sourceRootSubpath, nil
}
q := r.Query.Select("sourceRootSubpath")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ModuleSource) SourceSubpath(ctx context.Context) (string, error) {
if r.sourceSubpath != nil {
return *r.sourceSubpath, nil
}
q := r.Query.Select("sourceSubpath")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ModuleSource) WithContextDirectory(dir *Directory) *ModuleSource {
assertNotNil("dir", dir)
q := r.Query.Select("withContextDirectory")
q = q.Arg("dir", dir)
return &ModuleSource{
Query: q,
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
func (r *ModuleSource) WithDependencies(dependencies []*ModuleDependency) *ModuleSource {
q := r.Query.Select("withDependencies")
q = q.Arg("dependencies", dependencies)
return &ModuleSource{
Query: q,
}
}
func (r *ModuleSource) WithName(name string) *ModuleSource {
q := r.Query.Select("withName")
q = q.Arg("name", name)
return &ModuleSource{
Query: q,
}
}
func (r *ModuleSource) WithSDK(sdk string) *ModuleSource {
q := r.Query.Select("withSDK")
q = q.Arg("sdk", sdk)
return &ModuleSource{
Query: q,
}
}
func (r *ModuleSource) WithSourceSubpath(path string) *ModuleSource {
q := r.Query.Select("withSourceSubpath")
q = q.Arg("path", path)
return &ModuleSource{
Query: q,
}
}
type ObjectTypeDef struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Query *querybuilder.Selection
description *string
id *ObjectTypeDefID
name *string
sourceModuleName *string
}
func (r *ObjectTypeDef) Constructor() *Function {
q := r.Query.Select("constructor")
return &Function{
Query: q,
}
}
func (r *ObjectTypeDef) Description(ctx context.Context) (string, error) {
if r.description != nil {
return *r.description, nil
}
q := r.Query.Select("description")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ObjectTypeDef) Fields(ctx context.Context) ([]FieldTypeDef, error) {
q := r.Query.Select("fields")
q = q.Select("id")
type fields struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Id FieldTypeDefID
}
convert := func(fields []fields) []FieldTypeDef {
out := []FieldTypeDef{}
for i := range fields {
val := FieldTypeDef{id: &fields[i].Id}
val.Query = q.Root().Select("loadFieldTypeDefFromID").Arg("id", fields[i].Id)
out = append(out, val)
}
return out
}
var response []fields
q = q.Bind(&response)
err := q.Execute(ctx)
if err != nil {
return nil, err
}
return convert(response), nil
}
func (r *ObjectTypeDef) Functions(ctx context.Context) ([]Function, error) {
q := r.Query.Select("functions")
q = q.Select("id")
type functions struct {
Id FunctionID
}
convert := func(fields []functions) []Function {
out := []Function{}
for i := range fields {
val := Function{id: &fields[i].Id}
val.Query = q.Root().Select("loadFunctionFromID").Arg("id", fields[i].Id) |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | out = append(out, val)
}
return out
}
var response []functions
q = q.Bind(&response)
err := q.Execute(ctx)
if err != nil {
return nil, err
}
return convert(response), nil
}
func (r *ObjectTypeDef) ID(ctx context.Context) (ObjectTypeDefID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response ObjectTypeDefID
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ObjectTypeDef) XXX_GraphQLType() string {
return "ObjectTypeDef"
}
func (r *ObjectTypeDef) XXX_GraphQLIDType() string {
return "ObjectTypeDefID"
}
func (r *ObjectTypeDef) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | return "", err
}
return string(id), nil
}
func (r *ObjectTypeDef) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
}
return json.Marshal(id)
}
func (r *ObjectTypeDef) Name(ctx context.Context) (string, error) {
if r.name != nil {
return *r.name, nil
}
q := r.Query.Select("name")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *ObjectTypeDef) SourceModuleName(ctx context.Context) (string, error) {
if r.sourceModuleName != nil {
return *r.sourceModuleName, nil
}
q := r.Query.Select("sourceModuleName")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
type Port struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Query *querybuilder.Selection
description *string
experimentalSkipHealthcheck *bool
id *PortID
port *int
protocol *NetworkProtocol
}
func (r *Port) Description(ctx context.Context) (string, error) {
if r.description != nil {
return *r.description, nil
}
q := r.Query.Select("description")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Port) ExperimentalSkipHealthcheck(ctx context.Context) (bool, error) {
if r.experimentalSkipHealthcheck != nil {
return *r.experimentalSkipHealthcheck, nil
}
q := r.Query.Select("experimentalSkipHealthcheck")
var response bool
q = q.Bind(&response)
return response, q.Execute(ctx)
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | func (r *Port) ID(ctx context.Context) (PortID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response PortID
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Port) XXX_GraphQLType() string {
return "Port"
}
func (r *Port) XXX_GraphQLIDType() string {
return "PortID"
}
func (r *Port) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *Port) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
}
return json.Marshal(id)
}
func (r *Port) Port(ctx context.Context) (int, error) { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | if r.port != nil {
return *r.port, nil
}
q := r.Query.Select("port")
var response int
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Port) Protocol(ctx context.Context) (NetworkProtocol, error) {
if r.protocol != nil {
return *r.protocol, nil
}
q := r.Query.Select("protocol")
var response NetworkProtocol
q = q.Bind(&response)
return response, q.Execute(ctx)
}
type WithClientFunc func(r *Client) *Client
func (r *Client) With(f WithClientFunc) *Client {
return f(r)
}
func (r *Client) Blob(digest string, size int, mediaType string, uncompressed string) *Directory {
q := r.Query.Select("blob")
q = q.Arg("digest", digest)
q = q.Arg("size", size)
q = q.Arg("mediaType", mediaType)
q = q.Arg("uncompressed", uncompressed)
return &Directory{
Query: q,
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
func (r *Client) BuiltinContainer(digest string) *Container {
q := r.Query.Select("builtinContainer")
q = q.Arg("digest", digest)
return &Container{
Query: q,
}
}
func (r *Client) CacheVolume(key string) *CacheVolume {
q := r.Query.Select("cacheVolume")
q = q.Arg("key", key)
return &CacheVolume{
Query: q,
}
}
func (r *Client) CheckVersionCompatibility(ctx context.Context, version string) (bool, error) {
q := r.Query.Select("checkVersionCompatibility")
q = q.Arg("version", version)
var response bool
q = q.Bind(&response)
return response, q.Execute(ctx)
}
type ContainerOpts struct {
ID ContainerID
Platform Platform
}
func (r *Client) Container(opts ...ContainerOpts) *Container {
q := r.Query.Select("container") |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].ID) {
q = q.Arg("id", opts[i].ID)
}
if !querybuilder.IsZeroValue(opts[i].Platform) {
q = q.Arg("platform", opts[i].Platform)
}
}
return &Container{
Query: q,
}
}
func (r *Client) CurrentFunctionCall() *FunctionCall {
q := r.Query.Select("currentFunctionCall")
return &FunctionCall{
Query: q,
}
}
func (r *Client) CurrentModule() *CurrentModule {
q := r.Query.Select("currentModule")
return &CurrentModule{
Query: q,
}
}
func (r *Client) CurrentTypeDefs(ctx context.Context) ([]TypeDef, error) {
q := r.Query.Select("currentTypeDefs")
q = q.Select("id")
type currentTypeDefs struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Id TypeDefID
}
convert := func(fields []currentTypeDefs) []TypeDef {
out := []TypeDef{}
for i := range fields {
val := TypeDef{id: &fields[i].Id}
val.Query = q.Root().Select("loadTypeDefFromID").Arg("id", fields[i].Id)
out = append(out, val)
}
return out
}
var response []currentTypeDefs
q = q.Bind(&response)
err := q.Execute(ctx)
if err != nil {
return nil, err
}
return convert(response), nil
}
func (r *Client) DefaultPlatform(ctx context.Context) (Platform, error) {
q := r.Query.Select("defaultPlatform")
var response Platform
q = q.Bind(&response)
return response, q.Execute(ctx)
}
type DirectoryOpts struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | ID DirectoryID
}
func (r *Client) Directory(opts ...DirectoryOpts) *Directory {
q := r.Query.Select("directory")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].ID) {
q = q.Arg("id", opts[i].ID)
}
}
return &Directory{
Query: q,
}
}
func (r *Client) File(id FileID) *File {
q := r.Query.Select("file")
q = q.Arg("id", id)
return &File{
Query: q,
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
func (r *Client) Function(name string, returnType *TypeDef) *Function {
assertNotNil("returnType", returnType)
q := r.Query.Select("function")
q = q.Arg("name", name)
q = q.Arg("returnType", returnType)
return &Function{
Query: q,
}
}
func (r *Client) GeneratedCode(code *Directory) *GeneratedCode {
assertNotNil("code", code)
q := r.Query.Select("generatedCode")
q = q.Arg("code", code)
return &GeneratedCode{
Query: q,
}
}
type GitOpts struct {
KeepGitDir bool
ExperimentalServiceHost *Service
SSHKnownHosts string
SSHAuthSocket *Socket
}
func (r *Client) Git(url string, opts ...GitOpts) *GitRepository {
q := r.Query.Select("git") |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].KeepGitDir) {
q = q.Arg("keepGitDir", opts[i].KeepGitDir)
}
if !querybuilder.IsZeroValue(opts[i].ExperimentalServiceHost) {
q = q.Arg("experimentalServiceHost", opts[i].ExperimentalServiceHost)
}
if !querybuilder.IsZeroValue(opts[i].SSHKnownHosts) {
q = q.Arg("sshKnownHosts", opts[i].SSHKnownHosts)
}
if !querybuilder.IsZeroValue(opts[i].SSHAuthSocket) {
q = q.Arg("sshAuthSocket", opts[i].SSHAuthSocket)
}
}
q = q.Arg("url", url)
return &GitRepository{
Query: q,
}
}
func (r *Client) Host() *Host {
q := r.Query.Select("host")
return &Host{
Query: q,
}
}
type HTTPOpts struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | ExperimentalServiceHost *Service
}
func (r *Client) HTTP(url string, opts ...HTTPOpts) *File {
q := r.Query.Select("http")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].ExperimentalServiceHost) {
q = q.Arg("experimentalServiceHost", opts[i].ExperimentalServiceHost)
}
}
q = q.Arg("url", url)
return &File{
Query: q,
}
}
func (r *Client) LoadCacheVolumeFromID(id CacheVolumeID) *CacheVolume {
q := r.Query.Select("loadCacheVolumeFromID")
q = q.Arg("id", id)
return &CacheVolume{
Query: q,
}
}
func (r *Client) LoadContainerFromID(id ContainerID) *Container {
q := r.Query.Select("loadContainerFromID")
q = q.Arg("id", id)
return &Container{
Query: q,
}
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | func (r *Client) LoadCurrentModuleFromID(id CurrentModuleID) *CurrentModule {
q := r.Query.Select("loadCurrentModuleFromID")
q = q.Arg("id", id)
return &CurrentModule{
Query: q,
}
}
func (r *Client) LoadDirectoryFromID(id DirectoryID) *Directory {
q := r.Query.Select("loadDirectoryFromID")
q = q.Arg("id", id)
return &Directory{
Query: q,
}
}
func (r *Client) LoadEnvVariableFromID(id EnvVariableID) *EnvVariable {
q := r.Query.Select("loadEnvVariableFromID")
q = q.Arg("id", id)
return &EnvVariable{
Query: q,
}
}
func (r *Client) LoadFieldTypeDefFromID(id FieldTypeDefID) *FieldTypeDef {
q := r.Query.Select("loadFieldTypeDefFromID")
q = q.Arg("id", id)
return &FieldTypeDef{
Query: q,
}
}
func (r *Client) LoadFileFromID(id FileID) *File {
q := r.Query.Select("loadFileFromID") |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | q = q.Arg("id", id)
return &File{
Query: q,
}
}
func (r *Client) LoadFunctionArgFromID(id FunctionArgID) *FunctionArg {
q := r.Query.Select("loadFunctionArgFromID")
q = q.Arg("id", id)
return &FunctionArg{
Query: q,
}
}
func (r *Client) LoadFunctionCallArgValueFromID(id FunctionCallArgValueID) *FunctionCallArgValue {
q := r.Query.Select("loadFunctionCallArgValueFromID")
q = q.Arg("id", id)
return &FunctionCallArgValue{
Query: q,
}
}
func (r *Client) LoadFunctionCallFromID(id FunctionCallID) *FunctionCall {
q := r.Query.Select("loadFunctionCallFromID")
q = q.Arg("id", id)
return &FunctionCall{
Query: q,
}
}
func (r *Client) LoadFunctionFromID(id FunctionID) *Function {
q := r.Query.Select("loadFunctionFromID")
q = q.Arg("id", id)
return &Function{ |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Query: q,
}
}
func (r *Client) LoadGeneratedCodeFromID(id GeneratedCodeID) *GeneratedCode {
q := r.Query.Select("loadGeneratedCodeFromID")
q = q.Arg("id", id)
return &GeneratedCode{
Query: q,
}
}
func (r *Client) LoadGitModuleSourceFromID(id GitModuleSourceID) *GitModuleSource {
q := r.Query.Select("loadGitModuleSourceFromID")
q = q.Arg("id", id)
return &GitModuleSource{
Query: q,
}
}
func (r *Client) LoadGitRefFromID(id GitRefID) *GitRef {
q := r.Query.Select("loadGitRefFromID")
q = q.Arg("id", id)
return &GitRef{
Query: q,
}
}
func (r *Client) LoadGitRepositoryFromID(id GitRepositoryID) *GitRepository {
q := r.Query.Select("loadGitRepositoryFromID")
q = q.Arg("id", id)
return &GitRepository{
Query: q,
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
func (r *Client) LoadHostFromID(id HostID) *Host {
q := r.Query.Select("loadHostFromID")
q = q.Arg("id", id)
return &Host{
Query: q,
}
}
func (r *Client) LoadInputTypeDefFromID(id InputTypeDefID) *InputTypeDef {
q := r.Query.Select("loadInputTypeDefFromID")
q = q.Arg("id", id)
return &InputTypeDef{
Query: q,
}
}
func (r *Client) LoadInterfaceTypeDefFromID(id InterfaceTypeDefID) *InterfaceTypeDef {
q := r.Query.Select("loadInterfaceTypeDefFromID")
q = q.Arg("id", id)
return &InterfaceTypeDef{
Query: q,
}
}
func (r *Client) LoadLabelFromID(id LabelID) *Label {
q := r.Query.Select("loadLabelFromID")
q = q.Arg("id", id)
return &Label{
Query: q,
}
}
func (r *Client) LoadListTypeDefFromID(id ListTypeDefID) *ListTypeDef { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | q := r.Query.Select("loadListTypeDefFromID")
q = q.Arg("id", id)
return &ListTypeDef{
Query: q,
}
}
func (r *Client) LoadLocalModuleSourceFromID(id LocalModuleSourceID) *LocalModuleSource {
q := r.Query.Select("loadLocalModuleSourceFromID")
q = q.Arg("id", id)
return &LocalModuleSource{
Query: q,
}
}
func (r *Client) LoadModuleDependencyFromID(id ModuleDependencyID) *ModuleDependency {
q := r.Query.Select("loadModuleDependencyFromID")
q = q.Arg("id", id)
return &ModuleDependency{
Query: q,
}
}
func (r *Client) LoadModuleFromID(id ModuleID) *Module {
q := r.Query.Select("loadModuleFromID")
q = q.Arg("id", id)
return &Module{
Query: q,
}
}
func (r *Client) LoadModuleSourceFromID(id ModuleSourceID) *ModuleSource {
q := r.Query.Select("loadModuleSourceFromID")
q = q.Arg("id", id) |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | return &ModuleSource{
Query: q,
}
}
func (r *Client) LoadObjectTypeDefFromID(id ObjectTypeDefID) *ObjectTypeDef {
q := r.Query.Select("loadObjectTypeDefFromID")
q = q.Arg("id", id)
return &ObjectTypeDef{
Query: q,
}
}
func (r *Client) LoadPortFromID(id PortID) *Port {
q := r.Query.Select("loadPortFromID")
q = q.Arg("id", id)
return &Port{
Query: q,
}
}
func (r *Client) LoadSecretFromID(id SecretID) *Secret {
q := r.Query.Select("loadSecretFromID")
q = q.Arg("id", id)
return &Secret{
Query: q,
}
}
func (r *Client) LoadServiceFromID(id ServiceID) *Service {
q := r.Query.Select("loadServiceFromID")
q = q.Arg("id", id)
return &Service{
Query: q, |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
}
func (r *Client) LoadSocketFromID(id SocketID) *Socket {
q := r.Query.Select("loadSocketFromID")
q = q.Arg("id", id)
return &Socket{
Query: q,
}
}
func (r *Client) LoadTerminalFromID(id TerminalID) *Terminal {
q := r.Query.Select("loadTerminalFromID")
q = q.Arg("id", id)
return &Terminal{
Query: q,
}
}
func (r *Client) LoadTypeDefFromID(id TypeDefID) *TypeDef {
q := r.Query.Select("loadTypeDefFromID")
q = q.Arg("id", id)
return &TypeDef{
Query: q,
}
}
func (r *Client) Module() *Module {
q := r.Query.Select("module")
return &Module{
Query: q,
}
}
type ModuleDependencyOpts struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Name string
}
func (r *Client) ModuleDependency(source *ModuleSource, opts ...ModuleDependencyOpts) *ModuleDependency {
assertNotNil("source", source)
q := r.Query.Select("moduleDependency")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Name) {
q = q.Arg("name", opts[i].Name)
}
}
q = q.Arg("source", source)
return &ModuleDependency{
Query: q,
}
}
type ModuleSourceOpts struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Stable bool
}
func (r *Client) ModuleSource(refString string, opts ...ModuleSourceOpts) *ModuleSource {
q := r.Query.Select("moduleSource")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Stable) {
q = q.Arg("stable", opts[i].Stable)
}
}
q = q.Arg("refString", refString)
return &ModuleSource{
Query: q,
}
}
type PipelineOpts struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Description string
Labels []PipelineLabel
}
func (r *Client) Pipeline(name string, opts ...PipelineOpts) *Client {
q := r.Query.Select("pipeline")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Description) {
q = q.Arg("description", opts[i].Description)
}
if !querybuilder.IsZeroValue(opts[i].Labels) {
q = q.Arg("labels", opts[i].Labels)
}
}
q = q.Arg("name", name)
return &Client{
Query: q,
}
}
type SecretOpts struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Accessor string
}
func (r *Client) Secret(name string, opts ...SecretOpts) *Secret {
q := r.Query.Select("secret")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Accessor) {
q = q.Arg("accessor", opts[i].Accessor)
}
}
q = q.Arg("name", name)
return &Secret{
Query: q,
}
}
func (r *Client) SetSecret(name string, plaintext string) *Secret {
q := r.Query.Select("setSecret")
q = q.Arg("name", name)
q = q.Arg("plaintext", plaintext)
return &Secret{
Query: q,
}
}
func (r *Client) Socket(id SocketID) *Socket {
q := r.Query.Select("socket")
q = q.Arg("id", id)
return &Socket{
Query: q,
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
func (r *Client) TypeDef() *TypeDef {
q := r.Query.Select("typeDef")
return &TypeDef{
Query: q,
}
}
type Secret struct {
Query *querybuilder.Selection
id *SecretID
plaintext *string
}
func (r *Secret) ID(ctx context.Context) (SecretID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response SecretID
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Secret) XXX_GraphQLType() string {
return "Secret"
}
func (r *Secret) XXX_GraphQLIDType() string {
return "SecretID"
}
func (r *Secret) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | return "", err
}
return string(id), nil
}
func (r *Secret) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
}
return json.Marshal(id)
}
func (r *Secret) Plaintext(ctx context.Context) (string, error) {
if r.plaintext != nil {
return *r.plaintext, nil
}
q := r.Query.Select("plaintext")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
type Service struct {
Query *querybuilder.Selection
endpoint *string
hostname *string
id *ServiceID
start *ServiceID
stop *ServiceID
up *Void
}
type ServiceEndpointOpts struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Port int
Scheme string
}
func (r *Service) Endpoint(ctx context.Context, opts ...ServiceEndpointOpts) (string, error) {
if r.endpoint != nil {
return *r.endpoint, nil
}
q := r.Query.Select("endpoint")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Port) {
q = q.Arg("port", opts[i].Port)
}
if !querybuilder.IsZeroValue(opts[i].Scheme) {
q = q.Arg("scheme", opts[i].Scheme)
}
}
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Service) Hostname(ctx context.Context) (string, error) {
if r.hostname != nil {
return *r.hostname, nil
}
q := r.Query.Select("hostname")
var response string |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Service) ID(ctx context.Context) (ServiceID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response ServiceID
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Service) XXX_GraphQLType() string {
return "Service"
}
func (r *Service) XXX_GraphQLIDType() string {
return "ServiceID"
}
func (r *Service) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *Service) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | return json.Marshal(id)
}
func (r *Service) Ports(ctx context.Context) ([]Port, error) {
q := r.Query.Select("ports")
q = q.Select("id")
type ports struct {
Id PortID
}
convert := func(fields []ports) []Port {
out := []Port{}
for i := range fields {
val := Port{id: &fields[i].Id}
val.Query = q.Root().Select("loadPortFromID").Arg("id", fields[i].Id)
out = append(out, val)
}
return out
}
var response []ports
q = q.Bind(&response)
err := q.Execute(ctx)
if err != nil {
return nil, err
}
return convert(response), nil
}
func (r *Service) Start(ctx context.Context) (*Service, error) {
q := r.Query.Select("start")
return r, q.Execute(ctx)
}
type ServiceStopOpts struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Kill bool
}
func (r *Service) Stop(ctx context.Context, opts ...ServiceStopOpts) (*Service, error) {
q := r.Query.Select("stop")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Kill) {
q = q.Arg("kill", opts[i].Kill)
}
}
return r, q.Execute(ctx)
}
type ServiceUpOpts struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Ports []PortForward
Random bool
}
func (r *Service) Up(ctx context.Context, opts ...ServiceUpOpts) (Void, error) {
if r.up != nil {
return *r.up, nil
}
q := r.Query.Select("up")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Ports) {
q = q.Arg("ports", opts[i].Ports)
}
if !querybuilder.IsZeroValue(opts[i].Random) {
q = q.Arg("random", opts[i].Random)
}
}
var response Void
q = q.Bind(&response)
return response, q.Execute(ctx)
}
type Socket struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Query *querybuilder.Selection
id *SocketID
}
func (r *Socket) ID(ctx context.Context) (SocketID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response SocketID
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *Socket) XXX_GraphQLType() string {
return "Socket"
}
func (r *Socket) XXX_GraphQLIDType() string { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | return "SocketID"
}
func (r *Socket) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *Socket) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
}
return json.Marshal(id)
}
type Terminal struct {
Query *querybuilder.Selection
id *TerminalID
websocketEndpoint *string
}
func (r *Terminal) ID(ctx context.Context) (TerminalID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response TerminalID
q = q.Bind(&response)
return response, q.Execute(ctx)
} |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | func (r *Terminal) XXX_GraphQLType() string {
return "Terminal"
}
func (r *Terminal) XXX_GraphQLIDType() string {
return "TerminalID"
}
func (r *Terminal) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *Terminal) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err
}
return json.Marshal(id)
}
func (r *Terminal) WebsocketEndpoint(ctx context.Context) (string, error) {
if r.websocketEndpoint != nil {
return *r.websocketEndpoint, nil
}
q := r.Query.Select("websocketEndpoint")
var response string
q = q.Bind(&response)
return response, q.Execute(ctx)
}
type TypeDef struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Query *querybuilder.Selection
id *TypeDefID
kind *TypeDefKind
optional *bool
}
type WithTypeDefFunc func(r *TypeDef) *TypeDef
func (r *TypeDef) With(f WithTypeDefFunc) *TypeDef {
return f(r)
}
func (r *TypeDef) AsInput() *InputTypeDef {
q := r.Query.Select("asInput")
return &InputTypeDef{
Query: q,
}
}
func (r *TypeDef) AsInterface() *InterfaceTypeDef {
q := r.Query.Select("asInterface")
return &InterfaceTypeDef{
Query: q,
}
}
func (r *TypeDef) AsList() *ListTypeDef {
q := r.Query.Select("asList")
return &ListTypeDef{
Query: q,
}
}
func (r *TypeDef) AsObject() *ObjectTypeDef {
q := r.Query.Select("asObject") |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | return &ObjectTypeDef{
Query: q,
}
}
func (r *TypeDef) ID(ctx context.Context) (TypeDefID, error) {
if r.id != nil {
return *r.id, nil
}
q := r.Query.Select("id")
var response TypeDefID
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *TypeDef) XXX_GraphQLType() string {
return "TypeDef"
}
func (r *TypeDef) XXX_GraphQLIDType() string {
return "TypeDefID"
}
func (r *TypeDef) XXX_GraphQLID(ctx context.Context) (string, error) {
id, err := r.ID(ctx)
if err != nil {
return "", err
}
return string(id), nil
}
func (r *TypeDef) MarshalJSON() ([]byte, error) {
id, err := r.ID(context.Background())
if err != nil {
return nil, err |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
return json.Marshal(id)
}
func (r *TypeDef) Kind(ctx context.Context) (TypeDefKind, error) {
if r.kind != nil {
return *r.kind, nil
}
q := r.Query.Select("kind")
var response TypeDefKind
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *TypeDef) Optional(ctx context.Context) (bool, error) {
if r.optional != nil {
return *r.optional, nil
}
q := r.Query.Select("optional")
var response bool
q = q.Bind(&response)
return response, q.Execute(ctx)
}
func (r *TypeDef) WithConstructor(function *Function) *TypeDef {
assertNotNil("function", function)
q := r.Query.Select("withConstructor")
q = q.Arg("function", function)
return &TypeDef{
Query: q,
}
}
type TypeDefWithFieldOpts struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Description string
}
func (r *TypeDef) WithField(name string, typeDef *TypeDef, opts ...TypeDefWithFieldOpts) *TypeDef {
assertNotNil("typeDef", typeDef)
q := r.Query.Select("withField")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Description) {
q = q.Arg("description", opts[i].Description)
}
}
q = q.Arg("name", name)
q = q.Arg("typeDef", typeDef)
return &TypeDef{
Query: q,
}
}
func (r *TypeDef) WithFunction(function *Function) *TypeDef {
assertNotNil("function", function)
q := r.Query.Select("withFunction")
q = q.Arg("function", function)
return &TypeDef{
Query: q,
}
}
type TypeDefWithInterfaceOpts struct { |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Description string
}
func (r *TypeDef) WithInterface(name string, opts ...TypeDefWithInterfaceOpts) *TypeDef {
q := r.Query.Select("withInterface")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Description) {
q = q.Arg("description", opts[i].Description)
}
}
q = q.Arg("name", name)
return &TypeDef{
Query: q,
}
}
func (r *TypeDef) WithKind(kind TypeDefKind) *TypeDef {
q := r.Query.Select("withKind")
q = q.Arg("kind", kind)
return &TypeDef{
Query: q,
}
}
func (r *TypeDef) WithListOf(elementType *TypeDef) *TypeDef {
assertNotNil("elementType", elementType)
q := r.Query.Select("withListOf")
q = q.Arg("elementType", elementType)
return &TypeDef{
Query: q, |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | }
}
type TypeDefWithObjectOpts struct {
Description string
}
func (r *TypeDef) WithObject(name string, opts ...TypeDefWithObjectOpts) *TypeDef {
q := r.Query.Select("withObject")
for i := len(opts) - 1; i >= 0; i-- {
if !querybuilder.IsZeroValue(opts[i].Description) {
q = q.Arg("description", opts[i].Description)
}
}
q = q.Arg("name", name)
return &TypeDef{
Query: q,
}
}
func (r *TypeDef) WithOptional(optional bool) *TypeDef {
q := r.Query.Select("withOptional")
q = q.Arg("optional", optional)
return &TypeDef{
Query: q,
}
}
type CacheSharingMode string
func (CacheSharingMode) IsEnum() {}
const (
Locked CacheSharingMode = "LOCKED" |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | Private CacheSharingMode = "PRIVATE"
Shared CacheSharingMode = "SHARED"
)
type ImageLayerCompression string
func (ImageLayerCompression) IsEnum() {}
const (
Estargz ImageLayerCompression = "EStarGZ"
Gzip ImageLayerCompression = "Gzip"
Uncompressed ImageLayerCompression = "Uncompressed"
Zstd ImageLayerCompression = "Zstd"
)
type ImageMediaTypes string
func (ImageMediaTypes) IsEnum() {}
const (
Dockermediatypes ImageMediaTypes = "DockerMediaTypes"
Ocimediatypes ImageMediaTypes = "OCIMediaTypes"
)
type ModuleSourceKind string
func (ModuleSourceKind) IsEnum() {}
const (
GitSource ModuleSourceKind = "GIT_SOURCE"
LocalSource ModuleSourceKind = "LOCAL_SOURCE"
)
type NetworkProtocol string
func (NetworkProtocol) IsEnum() {}
const (
Tcp NetworkProtocol = "TCP"
Udp NetworkProtocol = "UDP" |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,850 | π v0.10.1 Client panic when with Pipeline | ### What is the issue?
The generated code missing the private `graphql.Client`
https://github.com/dagger/dagger/blob/v0.10.1/sdk/go/dagger.gen.go#L5580-L5597
https://github.com/dagger/dagger/blob/v0.10.0/sdk/go/dagger.gen.go#L5745-L5763
### Dagger version
v0.10.1
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6850 | https://github.com/dagger/dagger/pull/6851 | ea653ee3a1fd32d5ecbcec3448240cf51f8a5251 | c1b0b5bf50557e50f42ca4ca0538bc7cdb672b3f | "2024-03-07T13:54:40Z" | go | "2024-03-08T09:38:41Z" | sdk/go/dagger.gen.go | )
type TypeDefKind string
func (TypeDefKind) IsEnum() {}
const (
BooleanKind TypeDefKind = "BOOLEAN_KIND"
InputKind TypeDefKind = "INPUT_KIND"
IntegerKind TypeDefKind = "INTEGER_KIND"
InterfaceKind TypeDefKind = "INTERFACE_KIND"
ListKind TypeDefKind = "LIST_KIND"
ObjectKind TypeDefKind = "OBJECT_KIND"
StringKind TypeDefKind = "STRING_KIND"
VoidKind TypeDefKind = "VOID_KIND"
) |