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
timestamp[us, tz=UTC]
language
stringclasses
5 values
commit_datetime
timestamp[us, tz=UTC]
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
package dagger import ( "context" "encoding/json" "errors" "fmt" "reflect" "strings" "github.com/vektah/gqlparser/v2/gqlerror" "dagger.io/dagger/querybuilder" ) func assertNotNil(argName string, value any) { if reflect.ValueOf(value).IsNil() { panic(fmt.Sprintf("unexpected nil pointer for argument %q", argName)) } } type DaggerObject querybuilder.GraphQLMarshaller func getCustomError(err error) error { var gqlErr *gqlerror.Error if !errors.As(err, &gqlErr) { return 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
ext := gqlErr.Extensions typ, ok := ext["_type"].(string) if !ok { return nil } if typ == "EXEC_ERROR" { e := &ExecError{ original: err, } if code, ok := ext["exitCode"].(float64); ok { e.ExitCode = int(code) } if args, ok := ext["cmd"].([]interface{}); ok { cmd := make([]string, len(args)) for i, v := range args { cmd[i] = v.(string) } e.Cmd = cmd } if stdout, ok := ext["stdout"].(string); ok { e.Stdout = stdout } if stderr, ok := ext["stderr"].(string); ok { e.Stderr = stderr } return e } return nil } type ExecError 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
original error Cmd []string ExitCode int Stdout string Stderr string } func (e *ExecError) Error() string { msg := e.Message() if strings.TrimSpace(e.Stdout) != "" { msg += "\nStdout:\n" + e.Stdout } if strings.TrimSpace(e.Stderr) != "" { msg += "\nStderr:\n" + e.Stderr } return msg } func (e *ExecError) Message() string { return e.original.Error() } func (e *ExecError) Unwrap() error { return e.original } type CacheVolumeID string type ContainerID string type CurrentModuleID string type DirectoryID string type EnvVariableID 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 FieldTypeDefID string type FileID string type FunctionArgID string type FunctionCallArgValueID string type FunctionCallID string type FunctionID string type GeneratedCodeID string type GitModuleSourceID string type GitRefID string type GitRepositoryID string type HostID string type InputTypeDefID string type InterfaceTypeDefID string type JSON string type LabelID string type ListTypeDefID string type LocalModuleSourceID string type ModuleDependencyID string type ModuleID string type ModuleSourceID string type ObjectTypeDefID string type Platform string type PortID string type SecretID string type ServiceID string type SocketID string type TerminalID string type TypeDefID string type Void string type BuildArg 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 `json:"name"` Value string `json:"value"` } type PipelineLabel struct { Name string `json:"name"` Value string `json:"value"` } type PortForward struct { Backend int `json:"backend"` Frontend int `json:"frontend"` Protocol NetworkProtocol `json:"protocol,omitempty"` } type CacheVolume 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 *CacheVolumeID } func (r *CacheVolume) ID(ctx context.Context) (CacheVolumeID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response CacheVolumeID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *CacheVolume) XXX_GraphQLType() string { return "CacheVolume" } func (r *CacheVolume) XXX_GraphQLIDType() string { return "CacheVolumeID" } func (r *CacheVolume) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *CacheVolume) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) 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 nil, err } return json.Marshal(id) } type Container struct { Query *querybuilder.Selection envVariable *string export *bool id *ContainerID imageRef *string label *string platform *Platform publish *string stderr *string stdout *string sync *ContainerID user *string workdir *string } type WithContainerFunc func(r *Container) *Container func (r *Container) With(f WithContainerFunc) *Container { return f(r) } func (r *Container) AsService() *Service { q := r.Query.Select("asService") return &Service{ Query: q, } } type ContainerAsTarballOpts 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
PlatformVariants []*Container ForcedCompression ImageLayerCompression MediaTypes ImageMediaTypes } func (r *Container) AsTarball(opts ...ContainerAsTarballOpts) *File { q := r.Query.Select("asTarball") for i := len(opts) - 1; i >= 0; i-- {
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 !querybuilder.IsZeroValue(opts[i].PlatformVariants) { q = q.Arg("platformVariants", opts[i].PlatformVariants) } if !querybuilder.IsZeroValue(opts[i].ForcedCompression) { q = q.Arg("forcedCompression", opts[i].ForcedCompression) } if !querybuilder.IsZeroValue(opts[i].MediaTypes) { q = q.Arg("mediaTypes", opts[i].MediaTypes) } } return &File{ Query: q, } } type ContainerBuildOpts struct { Dockerfile string Target string BuildArgs []BuildArg Secrets []*Secret
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 *Container) Build(context *Directory, opts ...ContainerBuildOpts) *Container { assertNotNil("context", context) q := r.Query.Select("build") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Dockerfile) { q = q.Arg("dockerfile", opts[i].Dockerfile) } if !querybuilder.IsZeroValue(opts[i].Target) { q = q.Arg("target", opts[i].Target) } if !querybuilder.IsZeroValue(opts[i].BuildArgs) { q = q.Arg("buildArgs", opts[i].BuildArgs) } if !querybuilder.IsZeroValue(opts[i].Secrets) { q = q.Arg("secrets", opts[i].Secrets) } } q = q.Arg("context", context) return &Container{ Query: q, } } func (r *Container) DefaultArgs(ctx context.Context) ([]string, error) { q := r.Query.Select("defaultArgs") 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 *Container) Directory(path string) *Directory { q := r.Query.Select("directory") q = q.Arg("path", path) return &Directory{ Query: q, } } func (r *Container) Entrypoint(ctx context.Context) ([]string, error) { q := r.Query.Select("entrypoint") var response []string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *Container) EnvVariable(ctx context.Context, name string) (string, error) { if r.envVariable != nil { return *r.envVariable, nil } q := r.Query.Select("envVariable") q = q.Arg("name", name) var response string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *Container) EnvVariables(ctx context.Context) ([]EnvVariable, error) { q := r.Query.Select("envVariables") q = q.Select("id") type envVariables 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 EnvVariableID } convert := func(fields []envVariables) []EnvVariable { out := []EnvVariable{} for i := range fields { val := EnvVariable{id: &fields[i].Id} val.Query = q.Root().Select("loadEnvVariableFromID").Arg("id", fields[i].Id) out = append(out, val) } return out } var response []envVariables q = q.Bind(&response) err := q.Execute(ctx) if err != nil { return nil, err } return convert(response), nil } func (r *Container) ExperimentalWithAllGPUs() *Container { q := r.Query.Select("experimentalWithAllGPUs") return &Container{ Query: q, } } func (r *Container) ExperimentalWithGPU(devices []string) *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
q := r.Query.Select("experimentalWithGPU") q = q.Arg("devices", devices) return &Container{ Query: q, } } type ContainerExportOpts struct { PlatformVariants []*Container ForcedCompression ImageLayerCompression MediaTypes ImageMediaTypes } func (r *Container) Export(ctx context.Context, path string, opts ...ContainerExportOpts) (bool, error) { if r.export != nil { return *r.export, nil } q := r.Query.Select("export") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].PlatformVariants) { q = q.Arg("platformVariants", opts[i].PlatformVariants) }
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 !querybuilder.IsZeroValue(opts[i].ForcedCompression) { q = q.Arg("forcedCompression", opts[i].ForcedCompression) } if !querybuilder.IsZeroValue(opts[i].MediaTypes) { q = q.Arg("mediaTypes", opts[i].MediaTypes) } } q = q.Arg("path", path) var response bool q = q.Bind(&response) return response, q.Execute(ctx) } func (r *Container) ExposedPorts(ctx context.Context) ([]Port, error) { q := r.Query.Select("exposedPorts") q = q.Select("id") type exposedPorts struct { Id PortID } convert := func(fields []exposedPorts) []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 []exposedPorts
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) err := q.Execute(ctx) if err != nil { return nil, err } return convert(response), nil } func (r *Container) File(path string) *File { q := r.Query.Select("file") q = q.Arg("path", path) return &File{ Query: q, } } func (r *Container) From(address string) *Container { q := r.Query.Select("from") q = q.Arg("address", address) return &Container{ Query: q, } } func (r *Container) ID(ctx context.Context) (ContainerID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response ContainerID 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 *Container) XXX_GraphQLType() string { return "Container" } func (r *Container) XXX_GraphQLIDType() string { return "ContainerID" } func (r *Container) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *Container) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } func (r *Container) ImageRef(ctx context.Context) (string, error) { if r.imageRef != nil { return *r.imageRef, nil } q := r.Query.Select("imageRef") var response string q = q.Bind(&response) return response, q.Execute(ctx) } type ContainerImportOpts 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
Tag string } func (r *Container) Import(source *File, opts ...ContainerImportOpts) *Container { assertNotNil("source", source) q := r.Query.Select("import") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Tag) { q = q.Arg("tag", opts[i].Tag) } } q = q.Arg("source", source) return &Container{ Query: q, } } func (r *Container) Label(ctx context.Context, name string) (string, error) { if r.label != nil { return *r.label, nil } q := r.Query.Select("label") q = q.Arg("name", name) 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 *Container) Labels(ctx context.Context) ([]Label, error) { q := r.Query.Select("labels") q = q.Select("id") type labels struct { Id LabelID } convert := func(fields []labels) []Label { out := []Label{} for i := range fields { val := Label{id: &fields[i].Id} val.Query = q.Root().Select("loadLabelFromID").Arg("id", fields[i].Id) out = append(out, val) } return out } var response []labels q = q.Bind(&response) err := q.Execute(ctx) if err != nil { return nil, err } return convert(response), nil } func (r *Container) Mounts(ctx context.Context) ([]string, error) { q := r.Query.Select("mounts") var response []string q = q.Bind(&response) return response, q.Execute(ctx) } type ContainerPipelineOpts 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 *Container) Pipeline(name string, opts ...ContainerPipelineOpts) *Container { 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 &Container{ Query: q, } } func (r *Container) Platform(ctx context.Context) (Platform, error) { if r.platform != 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 *r.platform, nil } q := r.Query.Select("platform") var response Platform q = q.Bind(&response) return response, q.Execute(ctx) } type ContainerPublishOpts struct { PlatformVariants []*Container ForcedCompression ImageLayerCompression MediaTypes ImageMediaTypes } func (r *Container) Publish(ctx context.Context, address string, opts ...ContainerPublishOpts) (string, error) { if r.publish != nil { return *r.publish, nil } q := r.Query.Select("publish") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].PlatformVariants) { q = q.Arg("platformVariants", opts[i].PlatformVariants)
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 !querybuilder.IsZeroValue(opts[i].ForcedCompression) { q = q.Arg("forcedCompression", opts[i].ForcedCompression) } if !querybuilder.IsZeroValue(opts[i].MediaTypes) { q = q.Arg("mediaTypes", opts[i].MediaTypes) } } q = q.Arg("address", address) var response string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *Container) Rootfs() *Directory { q := r.Query.Select("rootfs") return &Directory{ Query: q, } } func (r *Container) Stderr(ctx context.Context) (string, error) { if r.stderr != nil { return *r.stderr, nil } q := r.Query.Select("stderr") 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 *Container) Stdout(ctx context.Context) (string, error) { if r.stdout != nil { return *r.stdout, nil } q := r.Query.Select("stdout") var response string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *Container) Sync(ctx context.Context) (*Container, error) { q := r.Query.Select("sync") return r, q.Execute(ctx) } type ContainerTerminalOpts struct { Cmd []string ExperimentalPrivilegedNesting bool InsecureRootCapabilities bool } func (r *Container) Terminal(opts ...ContainerTerminalOpts) *Terminal { q := r.Query.Select("terminal") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Cmd) { q = q.Arg("cmd", opts[i].Cmd) }
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 !querybuilder.IsZeroValue(opts[i].ExperimentalPrivilegedNesting) { q = q.Arg("experimentalPrivilegedNesting", opts[i].ExperimentalPrivilegedNesting) } if !querybuilder.IsZeroValue(opts[i].InsecureRootCapabilities) { q = q.Arg("insecureRootCapabilities", opts[i].InsecureRootCapabilities) } } return &Terminal{ Query: q, } } func (r *Container) User(ctx context.Context) (string, error) { if r.user != nil { return *r.user, nil } q := r.Query.Select("user") var response string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *Container) WithDefaultArgs(args []string) *Container { q := r.Query.Select("withDefaultArgs") q = q.Arg("args", args) return &Container{ Query: q, } } type ContainerWithDefaultTerminalCmdOpts 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
ExperimentalPrivilegedNesting bool InsecureRootCapabilities bool } func (r *Container) WithDefaultTerminalCmd(args []string, opts ...ContainerWithDefaultTerminalCmdOpts) *Container { q := r.Query.Select("withDefaultTerminalCmd") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].ExperimentalPrivilegedNesting) { q = q.Arg("experimentalPrivilegedNesting", opts[i].ExperimentalPrivilegedNesting) } if !querybuilder.IsZeroValue(opts[i].InsecureRootCapabilities) { q = q.Arg("insecureRootCapabilities", opts[i].InsecureRootCapabilities) } } q = q.Arg("args", args) return &Container{ Query: q, } } type ContainerWithDirectoryOpts 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
Exclude []string Include []string Owner string } func (r *Container) WithDirectory(path string, directory *Directory, opts ...ContainerWithDirectoryOpts) *Container { assertNotNil("directory", directory) q := r.Query.Select("withDirectory") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Exclude) { q = q.Arg("exclude", opts[i].Exclude) } if !querybuilder.IsZeroValue(opts[i].Include) { q = q.Arg("include", opts[i].Include)
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 !querybuilder.IsZeroValue(opts[i].Owner) { q = q.Arg("owner", opts[i].Owner) } } q = q.Arg("path", path) q = q.Arg("directory", directory) return &Container{ Query: q, } } type ContainerWithEntrypointOpts struct { KeepDefaultArgs bool } func (r *Container) WithEntrypoint(args []string, opts ...ContainerWithEntrypointOpts) *Container { q := r.Query.Select("withEntrypoint") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].KeepDefaultArgs) { q = q.Arg("keepDefaultArgs", opts[i].KeepDefaultArgs) } } q = q.Arg("args", args) return &Container{ Query: q, } } type ContainerWithEnvVariableOpts 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
Expand bool } func (r *Container) WithEnvVariable(name string, value string, opts ...ContainerWithEnvVariableOpts) *Container { q := r.Query.Select("withEnvVariable") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Expand) { q = q.Arg("expand", opts[i].Expand) } } q = q.Arg("name", name) q = q.Arg("value", value) return &Container{ Query: q, } } type ContainerWithExecOpts 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
SkipEntrypoint bool Stdin string RedirectStdout string RedirectStderr string ExperimentalPrivilegedNesting bool InsecureRootCapabilities bool } func (r *Container) WithExec(args []string, opts ...ContainerWithExecOpts) *Container { q := r.Query.Select("withExec") for i := len(opts) - 1; i >= 0; i-- {
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 !querybuilder.IsZeroValue(opts[i].SkipEntrypoint) { q = q.Arg("skipEntrypoint", opts[i].SkipEntrypoint) } if !querybuilder.IsZeroValue(opts[i].Stdin) { q = q.Arg("stdin", opts[i].Stdin) } if !querybuilder.IsZeroValue(opts[i].RedirectStdout) { q = q.Arg("redirectStdout", opts[i].RedirectStdout) } if !querybuilder.IsZeroValue(opts[i].RedirectStderr) { q = q.Arg("redirectStderr", opts[i].RedirectStderr) } if !querybuilder.IsZeroValue(opts[i].ExperimentalPrivilegedNesting) { q = q.Arg("experimentalPrivilegedNesting", opts[i].ExperimentalPrivilegedNesting) } if !querybuilder.IsZeroValue(opts[i].InsecureRootCapabilities) { q = q.Arg("insecureRootCapabilities", opts[i].InsecureRootCapabilities) } } q = q.Arg("args", args) return &Container{ Query: q, } } type ContainerWithExposedPortOpts 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
Protocol NetworkProtocol Description string ExperimentalSkipHealthcheck bool } func (r *Container) WithExposedPort(port int, opts ...ContainerWithExposedPortOpts) *Container { q := r.Query.Select("withExposedPort") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Protocol) { q = q.Arg("protocol", opts[i].Protocol) } if !querybuilder.IsZeroValue(opts[i].Description) { q = q.Arg("description", opts[i].Description) } if !querybuilder.IsZeroValue(opts[i].ExperimentalSkipHealthcheck) { q = q.Arg("experimentalSkipHealthcheck", opts[i].ExperimentalSkipHealthcheck) } } q = q.Arg("port", port) return &Container{ Query: q, } } type ContainerWithFileOpts 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
Permissions int Owner string } func (r *Container) WithFile(path string, source *File, opts ...ContainerWithFileOpts) *Container { assertNotNil("source", source) q := r.Query.Select("withFile") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Permissions) { q = q.Arg("permissions", opts[i].Permissions) } if !querybuilder.IsZeroValue(opts[i].Owner) { q = q.Arg("owner", opts[i].Owner) } } q = q.Arg("path", path) q = q.Arg("source", source) return &Container{ Query: q, } } type ContainerWithFilesOpts 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
Permissions int Owner string } func (r *Container) WithFiles(path string, sources []*File, opts ...ContainerWithFilesOpts) *Container { q := r.Query.Select("withFiles") for i := len(opts) - 1; i >= 0; i-- {
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 !querybuilder.IsZeroValue(opts[i].Permissions) { q = q.Arg("permissions", opts[i].Permissions) } if !querybuilder.IsZeroValue(opts[i].Owner) { q = q.Arg("owner", opts[i].Owner) } } q = q.Arg("path", path) q = q.Arg("sources", sources) return &Container{ Query: q, } } func (r *Container) WithFocus() *Container { q := r.Query.Select("withFocus") return &Container{ Query: q, } } func (r *Container) WithLabel(name string, value string) *Container { q := r.Query.Select("withLabel") q = q.Arg("name", name) q = q.Arg("value", value) return &Container{ Query: q, } } type ContainerWithMountedCacheOpts 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
Source *Directory Sharing CacheSharingMode Owner string } func (r *Container) WithMountedCache(path string, cache *CacheVolume, opts ...ContainerWithMountedCacheOpts) *Container { assertNotNil("cache", cache) q := r.Query.Select("withMountedCache") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Source) { q = q.Arg("source", opts[i].Source) } if !querybuilder.IsZeroValue(opts[i].Sharing) { q = q.Arg("sharing", opts[i].Sharing) } if !querybuilder.IsZeroValue(opts[i].Owner) { q = q.Arg("owner", opts[i].Owner) } }
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("path", path) q = q.Arg("cache", cache) return &Container{ Query: q, } } type ContainerWithMountedDirectoryOpts struct { Owner string } func (r *Container) WithMountedDirectory(path string, source *Directory, opts ...ContainerWithMountedDirectoryOpts) *Container { assertNotNil("source", source) q := r.Query.Select("withMountedDirectory") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Owner) { q = q.Arg("owner", opts[i].Owner) } } q = q.Arg("path", path) q = q.Arg("source", source) return &Container{ Query: q, } } type ContainerWithMountedFileOpts 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
Owner string } func (r *Container) WithMountedFile(path string, source *File, opts ...ContainerWithMountedFileOpts) *Container { assertNotNil("source", source) q := r.Query.Select("withMountedFile") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Owner) { q = q.Arg("owner", opts[i].Owner) } } q = q.Arg("path", path) q = q.Arg("source", source) return &Container{ Query: q, } } type ContainerWithMountedSecretOpts 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
Owner string Mode int } func (r *Container) WithMountedSecret(path string, source *Secret, opts ...ContainerWithMountedSecretOpts) *Container { assertNotNil("source", source) q := r.Query.Select("withMountedSecret") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Owner) { q = q.Arg("owner", opts[i].Owner) } if !querybuilder.IsZeroValue(opts[i].Mode) { q = q.Arg("mode", opts[i].Mode) } } q = q.Arg("path", path) q = q.Arg("source", source) 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 *Container) WithMountedTemp(path string) *Container { q := r.Query.Select("withMountedTemp") q = q.Arg("path", path) return &Container{ Query: q, } } type ContainerWithNewFileOpts struct { Contents string Permissions int Owner string } func (r *Container) WithNewFile(path string, opts ...ContainerWithNewFileOpts) *Container { q := r.Query.Select("withNewFile") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Contents) { q = q.Arg("contents", opts[i].Contents) } if !querybuilder.IsZeroValue(opts[i].Permissions) { q = q.Arg("permissions", opts[i].Permissions) }
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 !querybuilder.IsZeroValue(opts[i].Owner) { q = q.Arg("owner", opts[i].Owner) } } q = q.Arg("path", path) return &Container{ Query: q, } } func (r *Container) WithRegistryAuth(address string, username string, secret *Secret) *Container { assertNotNil("secret", secret) q := r.Query.Select("withRegistryAuth") q = q.Arg("address", address) q = q.Arg("username", username) q = q.Arg("secret", secret) return &Container{ Query: q, } } func (r *Container) WithRootfs(directory *Directory) *Container { assertNotNil("directory", directory) q := r.Query.Select("withRootfs") q = q.Arg("directory", directory) return &Container{ Query: q, } } func (r *Container) WithSecretVariable(name string, secret *Secret) *Container { assertNotNil("secret", secret)
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("withSecretVariable") q = q.Arg("name", name) q = q.Arg("secret", secret) return &Container{ Query: q, } } func (r *Container) WithServiceBinding(alias string, service *Service) *Container { assertNotNil("service", service) q := r.Query.Select("withServiceBinding") q = q.Arg("alias", alias) q = q.Arg("service", service) return &Container{ Query: q, } } type ContainerWithUnixSocketOpts struct { Owner string } func (r *Container) WithUnixSocket(path string, source *Socket, opts ...ContainerWithUnixSocketOpts) *Container { assertNotNil("source", source) q := r.Query.Select("withUnixSocket") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Owner) {
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("owner", opts[i].Owner) } } q = q.Arg("path", path) q = q.Arg("source", source) return &Container{ Query: q, } } func (r *Container) WithUser(name string) *Container { q := r.Query.Select("withUser") q = q.Arg("name", name) return &Container{ Query: q, } } func (r *Container) WithWorkdir(path string) *Container { q := r.Query.Select("withWorkdir") q = q.Arg("path", path) return &Container{ Query: q, } } func (r *Container) WithoutDefaultArgs() *Container { q := r.Query.Select("withoutDefaultArgs") return &Container{ Query: q, } } type ContainerWithoutEntrypointOpts 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
KeepDefaultArgs bool } func (r *Container) WithoutEntrypoint(opts ...ContainerWithoutEntrypointOpts) *Container { q := r.Query.Select("withoutEntrypoint") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].KeepDefaultArgs) { q = q.Arg("keepDefaultArgs", opts[i].KeepDefaultArgs) } } return &Container{ Query: q, } } func (r *Container) WithoutEnvVariable(name string) *Container { q := r.Query.Select("withoutEnvVariable") q = q.Arg("name", name) return &Container{ Query: q, } } type ContainerWithoutExposedPortOpts 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
Protocol NetworkProtocol } func (r *Container) WithoutExposedPort(port int, opts ...ContainerWithoutExposedPortOpts) *Container { q := r.Query.Select("withoutExposedPort") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Protocol) { q = q.Arg("protocol", opts[i].Protocol) } } q = q.Arg("port", port)
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 *Container) WithoutFocus() *Container { q := r.Query.Select("withoutFocus") return &Container{ Query: q, } } func (r *Container) WithoutLabel(name string) *Container { q := r.Query.Select("withoutLabel") q = q.Arg("name", name) return &Container{ Query: q, } } func (r *Container) WithoutMount(path string) *Container { q := r.Query.Select("withoutMount") q = q.Arg("path", path) return &Container{ Query: q, } } func (r *Container) WithoutRegistryAuth(address string) *Container { q := r.Query.Select("withoutRegistryAuth") q = q.Arg("address", address) 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 *Container) WithoutUnixSocket(path string) *Container { q := r.Query.Select("withoutUnixSocket") q = q.Arg("path", path) return &Container{ Query: q, } } func (r *Container) WithoutUser() *Container { q := r.Query.Select("withoutUser") return &Container{ Query: q, } } func (r *Container) WithoutWorkdir() *Container { q := r.Query.Select("withoutWorkdir") return &Container{ Query: q, } } func (r *Container) Workdir(ctx context.Context) (string, error) { if r.workdir != nil { return *r.workdir, nil } q := r.Query.Select("workdir") var response string q = q.Bind(&response) return response, q.Execute(ctx) } type CurrentModule 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 *CurrentModuleID name *string } func (r *CurrentModule) ID(ctx context.Context) (CurrentModuleID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response CurrentModuleID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *CurrentModule) XXX_GraphQLType() string { return "CurrentModule" } func (r *CurrentModule) XXX_GraphQLIDType() string { return "CurrentModuleID" }
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 *CurrentModule) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *CurrentModule) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } func (r *CurrentModule) 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 *CurrentModule) Source() *Directory { q := r.Query.Select("source") return &Directory{ Query: q, } } type CurrentModuleWorkdirOpts 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
Exclude []string Include []string } func (r *CurrentModule) Workdir(path string, opts ...CurrentModuleWorkdirOpts) *Directory { q := r.Query.Select("workdir") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Exclude) { q = q.Arg("exclude", opts[i].Exclude) } if !querybuilder.IsZeroValue(opts[i].Include) { q = q.Arg("include", opts[i].Include) } } q = q.Arg("path", path) return &Directory{ Query: q, } } func (r *CurrentModule) WorkdirFile(path string) *File { q := r.Query.Select("workdirFile") q = q.Arg("path", path) return &File{ Query: q, } } type Directory 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 export *bool id *DirectoryID sync *DirectoryID } type WithDirectoryFunc func(r *Directory) *Directory func (r *Directory) With(f WithDirectoryFunc) *Directory { return f(r) } type DirectoryAsModuleOpts 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
SourceRootPath string } func (r *Directory) AsModule(opts ...DirectoryAsModuleOpts) *Module { q := r.Query.Select("asModule") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].SourceRootPath) { q = q.Arg("sourceRootPath", opts[i].SourceRootPath) } } return &Module{ Query: q, } } func (r *Directory) Diff(other *Directory) *Directory { assertNotNil("other", other) q := r.Query.Select("diff") q = q.Arg("other", other) 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 *Directory) Directory(path string) *Directory { q := r.Query.Select("directory") q = q.Arg("path", path) return &Directory{ Query: q, } } type DirectoryDockerBuildOpts struct { Platform Platform Dockerfile string Target string BuildArgs []BuildArg Secrets []*Secret } func (r *Directory) DockerBuild(opts ...DirectoryDockerBuildOpts) *Container { q := r.Query.Select("dockerBuild") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Platform) { q = q.Arg("platform", opts[i].Platform) }
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 !querybuilder.IsZeroValue(opts[i].Dockerfile) { q = q.Arg("dockerfile", opts[i].Dockerfile) } if !querybuilder.IsZeroValue(opts[i].Target) { q = q.Arg("target", opts[i].Target) } if !querybuilder.IsZeroValue(opts[i].BuildArgs) { q = q.Arg("buildArgs", opts[i].BuildArgs) } if !querybuilder.IsZeroValue(opts[i].Secrets) { q = q.Arg("secrets", opts[i].Secrets) } } return &Container{ Query: q, } } type DirectoryEntriesOpts struct { Path string } func (r *Directory) Entries(ctx context.Context, opts ...DirectoryEntriesOpts) ([]string, error) { q := r.Query.Select("entries") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Path) { q = q.Arg("path", opts[i].Path)
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 []string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *Directory) Export(ctx context.Context, path string) (bool, error) { if r.export != nil { return *r.export, nil } q := r.Query.Select("export") q = q.Arg("path", path) var response bool q = q.Bind(&response) return response, q.Execute(ctx) } func (r *Directory) File(path string) *File { q := r.Query.Select("file") q = q.Arg("path", path) return &File{ Query: q, } } func (r *Directory) Glob(ctx context.Context, pattern string) ([]string, error) { q := r.Query.Select("glob") q = q.Arg("pattern", pattern) 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 *Directory) ID(ctx context.Context) (DirectoryID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response DirectoryID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *Directory) XXX_GraphQLType() string { return "Directory" } func (r *Directory) XXX_GraphQLIDType() string { return "DirectoryID" } func (r *Directory) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *Directory) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } type DirectoryPipelineOpts 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 *Directory) Pipeline(name string, opts ...DirectoryPipelineOpts) *Directory { 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 &Directory{ Query: q, } } func (r *Directory) Sync(ctx context.Context) (*Directory, error) { q := r.Query.Select("sync") return r, q.Execute(ctx) } type DirectoryWithDirectoryOpts 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
Exclude []string Include []string } func (r *Directory) WithDirectory(path string, directory *Directory, opts ...DirectoryWithDirectoryOpts) *Directory { assertNotNil("directory", directory) q := r.Query.Select("withDirectory") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Exclude) { q = q.Arg("exclude", opts[i].Exclude) } if !querybuilder.IsZeroValue(opts[i].Include) { q = q.Arg("include", opts[i].Include) } } q = q.Arg("path", path) q = q.Arg("directory", directory) return &Directory{ Query: q, } } type DirectoryWithFileOpts 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
Permissions int } func (r *Directory) WithFile(path string, source *File, opts ...DirectoryWithFileOpts) *Directory { assertNotNil("source", source) q := r.Query.Select("withFile") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Permissions) { q = q.Arg("permissions", opts[i].Permissions) } } q = q.Arg("path", path) q = q.Arg("source", source) return &Directory{ Query: q, } } type DirectoryWithFilesOpts 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
Permissions int } func (r *Directory) WithFiles(path string, sources []*File, opts ...DirectoryWithFilesOpts) *Directory { q := r.Query.Select("withFiles") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Permissions) { q = q.Arg("permissions", opts[i].Permissions) } } q = q.Arg("path", path) q = q.Arg("sources", sources) return &Directory{ Query: q, } } type DirectoryWithNewDirectoryOpts 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
Permissions int } func (r *Directory) WithNewDirectory(path string, opts ...DirectoryWithNewDirectoryOpts) *Directory { q := r.Query.Select("withNewDirectory") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Permissions) { q = q.Arg("permissions", opts[i].Permissions) } } q = q.Arg("path", path) return &Directory{ Query: q, } } type DirectoryWithNewFileOpts struct { Permissions int } func (r *Directory) WithNewFile(path string, contents string, opts ...DirectoryWithNewFileOpts) *Directory { q := r.Query.Select("withNewFile") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Permissions) { q = q.Arg("permissions", opts[i].Permissions)
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("path", path) q = q.Arg("contents", contents) return &Directory{ Query: q, } } func (r *Directory) WithTimestamps(timestamp int) *Directory { q := r.Query.Select("withTimestamps") q = q.Arg("timestamp", timestamp) return &Directory{ Query: q, } } func (r *Directory) WithoutDirectory(path string) *Directory { q := r.Query.Select("withoutDirectory") q = q.Arg("path", path) return &Directory{ Query: q, } } func (r *Directory) WithoutFile(path string) *Directory { q := r.Query.Select("withoutFile") q = q.Arg("path", path) return &Directory{ Query: q, } } type EnvVariable 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 *EnvVariableID name *string value *string } func (r *EnvVariable) ID(ctx context.Context) (EnvVariableID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response EnvVariableID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *EnvVariable) XXX_GraphQLType() string { return "EnvVariable" } func (r *EnvVariable) XXX_GraphQLIDType() string { return "EnvVariableID" } func (r *EnvVariable) 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 *EnvVariable) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } func (r *EnvVariable) 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 *EnvVariable) 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 FieldTypeDef 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 *FieldTypeDefID name *string } func (r *FieldTypeDef) 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 *FieldTypeDef) ID(ctx context.Context) (FieldTypeDefID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response FieldTypeDefID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *FieldTypeDef) XXX_GraphQLType() string { return "FieldTypeDef" } func (r *FieldTypeDef) XXX_GraphQLIDType() string { return "FieldTypeDefID" }
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 *FieldTypeDef) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *FieldTypeDef) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } func (r *FieldTypeDef) 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 *FieldTypeDef) TypeDef() *TypeDef { q := r.Query.Select("typeDef") return &TypeDef{ Query: q, } } type File 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 contents *string export *bool id *FileID name *string size *int sync *FileID } type WithFileFunc func(r *File) *File func (r *File) With(f WithFileFunc) *File { return f(r) } func (r *File) Contents(ctx context.Context) (string, error) { if r.contents != nil { return *r.contents, nil } q := r.Query.Select("contents") var response string q = q.Bind(&response) return response, q.Execute(ctx) } type FileExportOpts 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
AllowParentDirPath bool } func (r *File) Export(ctx context.Context, path string, opts ...FileExportOpts) (bool, error) { if r.export != nil { return *r.export, nil } q := r.Query.Select("export") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].AllowParentDirPath) { q = q.Arg("allowParentDirPath", opts[i].AllowParentDirPath) } } q = q.Arg("path", path) 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 *File) ID(ctx context.Context) (FileID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response FileID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *File) XXX_GraphQLType() string { return "File" } func (r *File) XXX_GraphQLIDType() string { return "FileID" } func (r *File) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *File) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(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
func (r *File) 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 *File) Size(ctx context.Context) (int, error) { if r.size != nil { return *r.size, nil } q := r.Query.Select("size") var response int q = q.Bind(&response) return response, q.Execute(ctx) } func (r *File) Sync(ctx context.Context) (*File, error) { q := r.Query.Select("sync") return r, q.Execute(ctx) } func (r *File) WithTimestamps(timestamp int) *File { q := r.Query.Select("withTimestamps") q = q.Arg("timestamp", timestamp) return &File{ Query: q, } } type Function 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 *FunctionID name *string } type WithFunctionFunc func(r *Function) *Function func (r *Function) With(f WithFunctionFunc) *Function { return f(r) } func (r *Function) Args(ctx context.Context) ([]FunctionArg, error) { q := r.Query.Select("args") q = q.Select("id") type args struct { Id FunctionArgID } convert := func(fields []args) []FunctionArg { out := []FunctionArg{} for i := range fields { val := FunctionArg{id: &fields[i].Id} val.Query = q.Root().Select("loadFunctionArgFromID").Arg("id", fields[i].Id) out = append(out, val) } return out } var response []args q = q.Bind(&response)
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
err := q.Execute(ctx) if err != nil { return nil, err } return convert(response), nil } func (r *Function) 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 *Function) ID(ctx context.Context) (FunctionID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response FunctionID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *Function) XXX_GraphQLType() string { return "Function" } func (r *Function) XXX_GraphQLIDType() string { return "FunctionID" }
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 *Function) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *Function) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } func (r *Function) 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 *Function) ReturnType() *TypeDef { q := r.Query.Select("returnType") return &TypeDef{ Query: q, } } type FunctionWithArgOpts 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 DefaultValue JSON } func (r *Function) WithArg(name string, typeDef *TypeDef, opts ...FunctionWithArgOpts) *Function { assertNotNil("typeDef", typeDef) q := r.Query.Select("withArg") 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].DefaultValue) { q = q.Arg("defaultValue", opts[i].DefaultValue) } } q = q.Arg("name", name) q = q.Arg("typeDef", typeDef) 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 *Function) WithDescription(description string) *Function { q := r.Query.Select("withDescription") q = q.Arg("description", description) return &Function{ Query: q, } } type FunctionArg struct { Query *querybuilder.Selection defaultValue *JSON description *string id *FunctionArgID name *string } func (r *FunctionArg) DefaultValue(ctx context.Context) (JSON, error) { if r.defaultValue != nil { return *r.defaultValue, nil } q := r.Query.Select("defaultValue") var response JSON q = q.Bind(&response) return response, q.Execute(ctx) } func (r *FunctionArg) Description(ctx context.Context) (string, error) { if r.description != nil { return *r.description, 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("description") var response string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *FunctionArg) ID(ctx context.Context) (FunctionArgID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response FunctionArgID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *FunctionArg) XXX_GraphQLType() string { return "FunctionArg" } func (r *FunctionArg) XXX_GraphQLIDType() string { return "FunctionArgID" } func (r *FunctionArg) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *FunctionArg) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) 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 nil, err } return json.Marshal(id) } func (r *FunctionArg) 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 *FunctionArg) TypeDef() *TypeDef { q := r.Query.Select("typeDef") return &TypeDef{ Query: q, } } type FunctionCall struct { Query *querybuilder.Selection id *FunctionCallID name *string parent *JSON parentName *string returnValue *Void } func (r *FunctionCall) ID(ctx context.Context) (FunctionCallID, error) { if r.id != nil { return *r.id, 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("id") var response FunctionCallID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *FunctionCall) XXX_GraphQLType() string { return "FunctionCall" } func (r *FunctionCall) XXX_GraphQLIDType() string { return "FunctionCallID" } func (r *FunctionCall) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *FunctionCall) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } func (r *FunctionCall) InputArgs(ctx context.Context) ([]FunctionCallArgValue, error) { q := r.Query.Select("inputArgs") q = q.Select("id") type inputArgs 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 FunctionCallArgValueID } convert := func(fields []inputArgs) []FunctionCallArgValue { out := []FunctionCallArgValue{} for i := range fields { val := FunctionCallArgValue{id: &fields[i].Id} val.Query = q.Root().Select("loadFunctionCallArgValueFromID").Arg("id", fields[i].Id) out = append(out, val) } return out } var response []inputArgs q = q.Bind(&response) err := q.Execute(ctx) if err != nil { return nil, err } return convert(response), nil } func (r *FunctionCall) 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)
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 *FunctionCall) Parent(ctx context.Context) (JSON, error) { if r.parent != nil { return *r.parent, nil } q := r.Query.Select("parent") var response JSON q = q.Bind(&response) return response, q.Execute(ctx) } func (r *FunctionCall) ParentName(ctx context.Context) (string, error) { if r.parentName != nil { return *r.parentName, nil } q := r.Query.Select("parentName") var response string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *FunctionCall) ReturnValue(ctx context.Context, value JSON) (Void, error) { if r.returnValue != nil { return *r.returnValue, nil } q := r.Query.Select("returnValue") q = q.Arg("value", value) var response Void q = q.Bind(&response) return response, q.Execute(ctx) } type FunctionCallArgValue 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 *FunctionCallArgValueID name *string value *JSON } func (r *FunctionCallArgValue) ID(ctx context.Context) (FunctionCallArgValueID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response FunctionCallArgValueID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *FunctionCallArgValue) XXX_GraphQLType() string { return "FunctionCallArgValue" } func (r *FunctionCallArgValue) XXX_GraphQLIDType() string { return "FunctionCallArgValueID" } func (r *FunctionCallArgValue) 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 *FunctionCallArgValue) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } func (r *FunctionCallArgValue) 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 *FunctionCallArgValue) Value(ctx context.Context) (JSON, error) { if r.value != nil { return *r.value, nil } q := r.Query.Select("value") var response JSON q = q.Bind(&response) return response, q.Execute(ctx) } type GeneratedCode 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 *GeneratedCodeID } type WithGeneratedCodeFunc func(r *GeneratedCode) *GeneratedCode func (r *GeneratedCode) With(f WithGeneratedCodeFunc) *GeneratedCode { return f(r) } func (r *GeneratedCode) Code() *Directory { q := r.Query.Select("code")
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 &Directory{ Query: q, } } func (r *GeneratedCode) ID(ctx context.Context) (GeneratedCodeID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response GeneratedCodeID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *GeneratedCode) XXX_GraphQLType() string { return "GeneratedCode" } func (r *GeneratedCode) XXX_GraphQLIDType() string { return "GeneratedCodeID" } func (r *GeneratedCode) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *GeneratedCode) 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 *GeneratedCode) VcsGeneratedPaths(ctx context.Context) ([]string, error) { q := r.Query.Select("vcsGeneratedPaths") var response []string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *GeneratedCode) VcsIgnoredPaths(ctx context.Context) ([]string, error) { q := r.Query.Select("vcsIgnoredPaths") var response []string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *GeneratedCode) WithVCSGeneratedPaths(paths []string) *GeneratedCode { q := r.Query.Select("withVCSGeneratedPaths") q = q.Arg("paths", paths) return &GeneratedCode{ Query: q, } } func (r *GeneratedCode) WithVCSIgnoredPaths(paths []string) *GeneratedCode { q := r.Query.Select("withVCSIgnoredPaths") q = q.Arg("paths", paths) return &GeneratedCode{ Query: q, } } type GitModuleSource 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 cloneURL *string commit *string htmlURL *string id *GitModuleSourceID rootSubpath *string version *string } func (r *GitModuleSource) CloneURL(ctx context.Context) (string, error) { if r.cloneURL != nil { return *r.cloneURL, nil } q := r.Query.Select("cloneURL") var response string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *GitModuleSource) Commit(ctx context.Context) (string, error) { if r.commit != nil { return *r.commit, nil } q := r.Query.Select("commit") var response string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *GitModuleSource) ContextDirectory() *Directory { q := r.Query.Select("contextDirectory") return &Directory{
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 *GitModuleSource) HTMLURL(ctx context.Context) (string, error) { if r.htmlURL != nil { return *r.htmlURL, nil } q := r.Query.Select("htmlURL") var response string q = q.Bind(&response) return response, q.Execute(ctx) } func (r *GitModuleSource) ID(ctx context.Context) (GitModuleSourceID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response GitModuleSourceID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *GitModuleSource) XXX_GraphQLType() string { return "GitModuleSource" } func (r *GitModuleSource) XXX_GraphQLIDType() string { return "GitModuleSourceID" } func (r *GitModuleSource) 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 *GitModuleSource) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } func (r *GitModuleSource) 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) } func (r *GitModuleSource) Version(ctx context.Context) (string, error) { if r.version != nil { return *r.version, nil } q := r.Query.Select("version") var response string q = q.Bind(&response) return response, q.Execute(ctx) } type GitRef 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 commit *string id *GitRefID } func (r *GitRef) Commit(ctx context.Context) (string, error) { if r.commit != nil { return *r.commit, nil } q := r.Query.Select("commit") 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 *GitRef) ID(ctx context.Context) (GitRefID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response GitRefID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *GitRef) XXX_GraphQLType() string { return "GitRef" } func (r *GitRef) XXX_GraphQLIDType() string { return "GitRefID" } func (r *GitRef) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *GitRef) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } type GitRefTreeOpts 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
SSHKnownHosts string SSHAuthSocket *Socket } func (r *GitRef) Tree(opts ...GitRefTreeOpts) *Directory { q := r.Query.Select("tree") for i := len(opts) - 1; i >= 0; i-- { 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) } } return &Directory{ Query: q, } } type GitRepository struct { Query *querybuilder.Selection id *GitRepositoryID } func (r *GitRepository) Branch(name string) *GitRef { q := r.Query.Select("branch")
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("name", name) return &GitRef{ Query: q, } } func (r *GitRepository) Commit(id string) *GitRef { q := r.Query.Select("commit") q = q.Arg("id", id) return &GitRef{ Query: q, } } func (r *GitRepository) ID(ctx context.Context) (GitRepositoryID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response GitRepositoryID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *GitRepository) XXX_GraphQLType() string { return "GitRepository" } func (r *GitRepository) XXX_GraphQLIDType() string { return "GitRepositoryID" } func (r *GitRepository) 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 *GitRepository) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } func (r *GitRepository) Ref(name string) *GitRef { q := r.Query.Select("ref") q = q.Arg("name", name) return &GitRef{ Query: q, } } func (r *GitRepository) Tag(name string) *GitRef { q := r.Query.Select("tag") q = q.Arg("name", name) return &GitRef{ Query: q, } } type Host struct { Query *querybuilder.Selection id *HostID } type HostDirectoryOpts 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
Exclude []string Include []string } func (r *Host) Directory(path string, opts ...HostDirectoryOpts) *Directory { q := r.Query.Select("directory") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Exclude) { q = q.Arg("exclude", opts[i].Exclude) } if !querybuilder.IsZeroValue(opts[i].Include) { q = q.Arg("include", opts[i].Include) } } q = q.Arg("path", path) return &Directory{ Query: q, } } func (r *Host) File(path string) *File { q := r.Query.Select("file") q = q.Arg("path", path) 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 *Host) ID(ctx context.Context) (HostID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response HostID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *Host) XXX_GraphQLType() string { return "Host" } func (r *Host) XXX_GraphQLIDType() string { return "HostID" } func (r *Host) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *Host) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } type HostServiceOpts 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
Host string } func (r *Host) Service(ports []PortForward, opts ...HostServiceOpts) *Service { q := r.Query.Select("service") for i := len(opts) - 1; i >= 0; i-- { if !querybuilder.IsZeroValue(opts[i].Host) { q = q.Arg("host", opts[i].Host) } } q = q.Arg("ports", ports) return &Service{ Query: q, } } func (r *Host) SetSecretFile(name string, path string) *Secret { q := r.Query.Select("setSecretFile") q = q.Arg("name", name) q = q.Arg("path", path) return &Secret{ Query: q, } } type HostTunnelOpts 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 Native bool } func (r *Host) Tunnel(service *Service, opts ...HostTunnelOpts) *Service { assertNotNil("service", service) q := r.Query.Select("tunnel") for i := len(opts) - 1; i >= 0; i-- {
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 !querybuilder.IsZeroValue(opts[i].Ports) { q = q.Arg("ports", opts[i].Ports) } if !querybuilder.IsZeroValue(opts[i].Native) { q = q.Arg("native", opts[i].Native) } } q = q.Arg("service", service) return &Service{ Query: q, } } func (r *Host) UnixSocket(path string) *Socket { q := r.Query.Select("unixSocket") q = q.Arg("path", path) return &Socket{ Query: q, } } type InputTypeDef struct { Query *querybuilder.Selection id *InputTypeDefID name *string } func (r *InputTypeDef) 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 *InputTypeDef) ID(ctx context.Context) (InputTypeDefID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response InputTypeDefID 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 *InputTypeDef) XXX_GraphQLType() string { return "InputTypeDef" } func (r *InputTypeDef) XXX_GraphQLIDType() string { return "InputTypeDefID" } func (r *InputTypeDef) XXX_GraphQLID(ctx context.Context) (string, error) { id, err := r.ID(ctx) if err != nil { return "", err } return string(id), nil } func (r *InputTypeDef) MarshalJSON() ([]byte, error) { id, err := r.ID(context.Background()) if err != nil { return nil, err } return json.Marshal(id) } func (r *InputTypeDef) 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) } type InterfaceTypeDef 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 *InterfaceTypeDefID name *string sourceModuleName *string } func (r *InterfaceTypeDef) 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 *InterfaceTypeDef) Functions(ctx context.Context) ([]Function, error) { q := r.Query.Select("functions") q = q.Select("id") type functions 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 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) 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 *InterfaceTypeDef) ID(ctx context.Context) (InterfaceTypeDefID, error) { if r.id != nil { return *r.id, nil } q := r.Query.Select("id") var response InterfaceTypeDefID q = q.Bind(&response) return response, q.Execute(ctx) } func (r *InterfaceTypeDef) XXX_GraphQLType() string { return "InterfaceTypeDef"