Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiCreateJobsRequest
- type ApiGetArtifactDataRequest
- type ApiGetArtifactRequest
- type ApiGetBuildRequest
- type ApiGetEventsRequest
- type ApiGetJobGraphRequest
- type ApiGetJobRequest
- type ApiGetLogDataRequest
- type ApiGetLogDescriptorRequest
- type ApiListArtifactsRequest
- func (r ApiListArtifactsRequest) Cursor(cursor string) ApiListArtifactsRequest
- func (r ApiListArtifactsRequest) Execute() (*ArtifactsPaginatedResponse, *http.Response, error)
- func (r ApiListArtifactsRequest) GroupName(groupName string) ApiListArtifactsRequest
- func (r ApiListArtifactsRequest) JobName(jobName string) ApiListArtifactsRequest
- func (r ApiListArtifactsRequest) Limit(limit int32) ApiListArtifactsRequest
- func (r ApiListArtifactsRequest) Workflow(workflow string) ApiListArtifactsRequest
- type ApiPingRequest
- type Artifact
- func (o *Artifact) GetCreatedAt() time.Time
- func (o *Artifact) GetCreatedAtOk() (*time.Time, bool)
- func (o *Artifact) GetDataUrl() string
- func (o *Artifact) GetDataUrlOk() (*string, bool)
- func (o *Artifact) GetEtag() string
- func (o *Artifact) GetEtagOk() (*string, bool)
- func (o *Artifact) GetGroupName() string
- func (o *Artifact) GetGroupNameOk() (*string, bool)
- func (o *Artifact) GetHash() string
- func (o *Artifact) GetHashOk() (*string, bool)
- func (o *Artifact) GetHashType() string
- func (o *Artifact) GetHashTypeOk() (*string, bool)
- func (o *Artifact) GetId() string
- func (o *Artifact) GetIdOk() (*string, bool)
- func (o *Artifact) GetMime() string
- func (o *Artifact) GetMimeOk() (*string, bool)
- func (o *Artifact) GetName() string
- func (o *Artifact) GetNameOk() (*string, bool)
- func (o *Artifact) GetPath() string
- func (o *Artifact) GetPathOk() (*string, bool)
- func (o *Artifact) GetSealed() bool
- func (o *Artifact) GetSealedOk() (*bool, bool)
- func (o *Artifact) GetSize() int32
- func (o *Artifact) GetSizeOk() (*int32, bool)
- func (o *Artifact) GetStepId() string
- func (o *Artifact) GetStepIdOk() (*string, bool)
- func (o *Artifact) GetUpdatedAt() time.Time
- func (o *Artifact) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Artifact) GetUrl() string
- func (o *Artifact) GetUrlOk() (*string, bool)
- func (o Artifact) MarshalJSON() ([]byte, error)
- func (o *Artifact) SetCreatedAt(v time.Time)
- func (o *Artifact) SetDataUrl(v string)
- func (o *Artifact) SetEtag(v string)
- func (o *Artifact) SetGroupName(v string)
- func (o *Artifact) SetHash(v string)
- func (o *Artifact) SetHashType(v string)
- func (o *Artifact) SetId(v string)
- func (o *Artifact) SetMime(v string)
- func (o *Artifact) SetName(v string)
- func (o *Artifact) SetPath(v string)
- func (o *Artifact) SetSealed(v bool)
- func (o *Artifact) SetSize(v int32)
- func (o *Artifact) SetStepId(v string)
- func (o *Artifact) SetUpdatedAt(v time.Time)
- func (o *Artifact) SetUrl(v string)
- func (o Artifact) ToMap() (map[string]interface{}, error)
- func (o *Artifact) UnmarshalJSON(bytes []byte) (err error)
- type ArtifactDefinition
- func (o *ArtifactDefinition) GetName() string
- func (o *ArtifactDefinition) GetNameOk() (*string, bool)
- func (o *ArtifactDefinition) GetPaths() []string
- func (o *ArtifactDefinition) GetPathsOk() ([]string, bool)
- func (o ArtifactDefinition) MarshalJSON() ([]byte, error)
- func (o *ArtifactDefinition) SetName(v string)
- func (o *ArtifactDefinition) SetPaths(v []string)
- func (o ArtifactDefinition) ToMap() (map[string]interface{}, error)
- func (o *ArtifactDefinition) UnmarshalJSON(bytes []byte) (err error)
- type ArtifactDependency
- func (o *ArtifactDependency) GetGroupName() string
- func (o *ArtifactDependency) GetGroupNameOk() (*string, bool)
- func (o *ArtifactDependency) GetJobName() string
- func (o *ArtifactDependency) GetJobNameOk() (*string, bool)
- func (o *ArtifactDependency) GetWorkflow() string
- func (o *ArtifactDependency) GetWorkflowOk() (*string, bool)
- func (o ArtifactDependency) MarshalJSON() ([]byte, error)
- func (o *ArtifactDependency) SetGroupName(v string)
- func (o *ArtifactDependency) SetJobName(v string)
- func (o *ArtifactDependency) SetWorkflow(v string)
- func (o ArtifactDependency) ToMap() (map[string]interface{}, error)
- func (o *ArtifactDependency) UnmarshalJSON(bytes []byte) (err error)
- type ArtifactsPaginatedResponse
- func (o *ArtifactsPaginatedResponse) GetKind() string
- func (o *ArtifactsPaginatedResponse) GetKindOk() (*string, bool)
- func (o *ArtifactsPaginatedResponse) GetNextCursor() string
- func (o *ArtifactsPaginatedResponse) GetNextCursorOk() (*string, bool)
- func (o *ArtifactsPaginatedResponse) GetNextUrl() string
- func (o *ArtifactsPaginatedResponse) GetNextUrlOk() (*string, bool)
- func (o *ArtifactsPaginatedResponse) GetPrevCursor() string
- func (o *ArtifactsPaginatedResponse) GetPrevCursorOk() (*string, bool)
- func (o *ArtifactsPaginatedResponse) GetPrevUrl() string
- func (o *ArtifactsPaginatedResponse) GetPrevUrlOk() (*string, bool)
- func (o *ArtifactsPaginatedResponse) GetResults() []Artifact
- func (o *ArtifactsPaginatedResponse) GetResultsOk() ([]Artifact, bool)
- func (o *ArtifactsPaginatedResponse) HasNextCursor() bool
- func (o *ArtifactsPaginatedResponse) HasNextUrl() bool
- func (o *ArtifactsPaginatedResponse) HasPrevCursor() bool
- func (o *ArtifactsPaginatedResponse) HasPrevUrl() bool
- func (o ArtifactsPaginatedResponse) MarshalJSON() ([]byte, error)
- func (o *ArtifactsPaginatedResponse) SetKind(v string)
- func (o *ArtifactsPaginatedResponse) SetNextCursor(v string)
- func (o *ArtifactsPaginatedResponse) SetNextUrl(v string)
- func (o *ArtifactsPaginatedResponse) SetPrevCursor(v string)
- func (o *ArtifactsPaginatedResponse) SetPrevUrl(v string)
- func (o *ArtifactsPaginatedResponse) SetResults(v []Artifact)
- func (o ArtifactsPaginatedResponse) ToMap() (map[string]interface{}, error)
- func (o *ArtifactsPaginatedResponse) UnmarshalJSON(bytes []byte) (err error)
- type BasicAuth
- type Build
- func (o *Build) GetArtifactSearchUrl() string
- func (o *Build) GetArtifactSearchUrlOk() (*string, bool)
- func (o *Build) GetCommitId() string
- func (o *Build) GetCommitIdOk() (*string, bool)
- func (o *Build) GetCreatedAt() time.Time
- func (o *Build) GetCreatedAtOk() (*time.Time, bool)
- func (o *Build) GetDeletedAt() time.Time
- func (o *Build) GetDeletedAtOk() (*time.Time, bool)
- func (o *Build) GetError() string
- func (o *Build) GetErrorOk() (*string, bool)
- func (o *Build) GetEtag() string
- func (o *Build) GetEtagOk() (*string, bool)
- func (o *Build) GetId() string
- func (o *Build) GetIdOk() (*string, bool)
- func (o *Build) GetLogDescriptorId() string
- func (o *Build) GetLogDescriptorIdOk() (*string, bool)
- func (o *Build) GetLogDescriptorUrl() string
- func (o *Build) GetLogDescriptorUrlOk() (*string, bool)
- func (o *Build) GetName() string
- func (o *Build) GetNameOk() (*string, bool)
- func (o *Build) GetOpts() BuildOptions
- func (o *Build) GetOptsOk() (*BuildOptions, bool)
- func (o *Build) GetRef() string
- func (o *Build) GetRefOk() (*string, bool)
- func (o *Build) GetRepoId() string
- func (o *Build) GetRepoIdOk() (*string, bool)
- func (o *Build) GetStatus() string
- func (o *Build) GetStatusOk() (*string, bool)
- func (o *Build) GetTimings() WorkflowTimings
- func (o *Build) GetTimingsOk() (*WorkflowTimings, bool)
- func (o *Build) GetUpdatedAt() time.Time
- func (o *Build) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Build) GetUrl() string
- func (o *Build) GetUrlOk() (*string, bool)
- func (o *Build) HasDeletedAt() bool
- func (o *Build) HasError() bool
- func (o Build) MarshalJSON() ([]byte, error)
- func (o *Build) SetArtifactSearchUrl(v string)
- func (o *Build) SetCommitId(v string)
- func (o *Build) SetCreatedAt(v time.Time)
- func (o *Build) SetDeletedAt(v time.Time)
- func (o *Build) SetError(v string)
- func (o *Build) SetEtag(v string)
- func (o *Build) SetId(v string)
- func (o *Build) SetLogDescriptorId(v string)
- func (o *Build) SetLogDescriptorUrl(v string)
- func (o *Build) SetName(v string)
- func (o *Build) SetOpts(v BuildOptions)
- func (o *Build) SetRef(v string)
- func (o *Build) SetRepoId(v string)
- func (o *Build) SetStatus(v string)
- func (o *Build) SetTimings(v WorkflowTimings)
- func (o *Build) SetUpdatedAt(v time.Time)
- func (o *Build) SetUrl(v string)
- func (o Build) ToMap() (map[string]interface{}, error)
- func (o *Build) UnmarshalJSON(bytes []byte) (err error)
- type BuildApiService
- func (a *BuildApiService) GetArtifact(ctx context.Context, artifactId string) ApiGetArtifactRequest
- func (a *BuildApiService) GetArtifactData(ctx context.Context, artifactId string) ApiGetArtifactDataRequest
- func (a *BuildApiService) GetArtifactDataExecute(r ApiGetArtifactDataRequest) (*os.File, *http.Response, error)
- func (a *BuildApiService) GetArtifactExecute(r ApiGetArtifactRequest) (*Artifact, *http.Response, error)
- func (a *BuildApiService) GetBuild(ctx context.Context, buildId string) ApiGetBuildRequest
- func (a *BuildApiService) GetBuildExecute(r ApiGetBuildRequest) (*BuildGraph, *http.Response, error)
- func (a *BuildApiService) GetJob(ctx context.Context, jobId string) ApiGetJobRequest
- func (a *BuildApiService) GetJobExecute(r ApiGetJobRequest) (*Job, *http.Response, error)
- func (a *BuildApiService) GetJobGraph(ctx context.Context, jobId string) ApiGetJobGraphRequest
- func (a *BuildApiService) GetJobGraphExecute(r ApiGetJobGraphRequest) (*JobGraph, *http.Response, error)
- func (a *BuildApiService) GetLogData(ctx context.Context, logDescriptorId string) ApiGetLogDataRequest
- func (a *BuildApiService) GetLogDataExecute(r ApiGetLogDataRequest) (*os.File, *http.Response, error)
- func (a *BuildApiService) GetLogDescriptor(ctx context.Context, logDescriptorId string) ApiGetLogDescriptorRequest
- func (a *BuildApiService) GetLogDescriptorExecute(r ApiGetLogDescriptorRequest) (*LogDescriptor, *http.Response, error)
- func (a *BuildApiService) ListArtifacts(ctx context.Context, buildId string) ApiListArtifactsRequest
- func (a *BuildApiService) ListArtifactsExecute(r ApiListArtifactsRequest) (*ArtifactsPaginatedResponse, *http.Response, error)
- func (a *BuildApiService) Ping(ctx context.Context) ApiPingRequest
- func (a *BuildApiService) PingExecute(r ApiPingRequest) (*http.Response, error)
- type BuildDefinition
- func (o *BuildDefinition) GetJobs() []JobDefinition
- func (o *BuildDefinition) GetJobsOk() ([]JobDefinition, bool)
- func (o *BuildDefinition) GetVersion() string
- func (o *BuildDefinition) GetVersionOk() (*string, bool)
- func (o BuildDefinition) MarshalJSON() ([]byte, error)
- func (o *BuildDefinition) SetJobs(v []JobDefinition)
- func (o *BuildDefinition) SetVersion(v string)
- func (o BuildDefinition) ToMap() (map[string]interface{}, error)
- func (o *BuildDefinition) UnmarshalJSON(bytes []byte) (err error)
- type BuildGraph
- func (o *BuildGraph) GetBuild() Build
- func (o *BuildGraph) GetBuildOk() (*Build, bool)
- func (o *BuildGraph) GetCommit() Commit
- func (o *BuildGraph) GetCommitOk() (*Commit, bool)
- func (o *BuildGraph) GetJobs() []JobGraph
- func (o *BuildGraph) GetJobsOk() ([]JobGraph, bool)
- func (o *BuildGraph) GetRepo() Repo
- func (o *BuildGraph) GetRepoOk() (*Repo, bool)
- func (o BuildGraph) MarshalJSON() ([]byte, error)
- func (o *BuildGraph) SetBuild(v Build)
- func (o *BuildGraph) SetCommit(v Commit)
- func (o *BuildGraph) SetJobs(v []JobGraph)
- func (o *BuildGraph) SetRepo(v Repo)
- func (o BuildGraph) ToMap() (map[string]interface{}, error)
- func (o *BuildGraph) UnmarshalJSON(bytes []byte) (err error)
- type BuildOptions
- func (o *BuildOptions) GetForce() bool
- func (o *BuildOptions) GetForceOk() (*bool, bool)
- func (o *BuildOptions) GetNodesToRun() []NodeFQN
- func (o *BuildOptions) GetNodesToRunOk() ([]NodeFQN, bool)
- func (o BuildOptions) MarshalJSON() ([]byte, error)
- func (o *BuildOptions) SetForce(v bool)
- func (o *BuildOptions) SetNodesToRun(v []NodeFQN)
- func (o BuildOptions) ToMap() (map[string]interface{}, error)
- func (o *BuildOptions) UnmarshalJSON(bytes []byte) (err error)
- type Commit
- func (o *Commit) GetAuthorEmail() string
- func (o *Commit) GetAuthorEmailOk() (*string, bool)
- func (o *Commit) GetAuthorId() string
- func (o *Commit) GetAuthorIdOk() (*string, bool)
- func (o *Commit) GetAuthorName() string
- func (o *Commit) GetAuthorNameOk() (*string, bool)
- func (o *Commit) GetAuthorUrl() string
- func (o *Commit) GetAuthorUrlOk() (*string, bool)
- func (o *Commit) GetCommitterEmail() string
- func (o *Commit) GetCommitterEmailOk() (*string, bool)
- func (o *Commit) GetCommitterId() string
- func (o *Commit) GetCommitterIdOk() (*string, bool)
- func (o *Commit) GetCommitterName() string
- func (o *Commit) GetCommitterNameOk() (*string, bool)
- func (o *Commit) GetCommitterUrl() string
- func (o *Commit) GetCommitterUrlOk() (*string, bool)
- func (o *Commit) GetConfigType() string
- func (o *Commit) GetConfigTypeOk() (*string, bool)
- func (o *Commit) GetCreatedAt() time.Time
- func (o *Commit) GetCreatedAtOk() (*time.Time, bool)
- func (o *Commit) GetId() string
- func (o *Commit) GetIdOk() (*string, bool)
- func (o *Commit) GetLink() string
- func (o *Commit) GetLinkOk() (*string, bool)
- func (o *Commit) GetMessage() string
- func (o *Commit) GetMessageOk() (*string, bool)
- func (o *Commit) GetRepoId() string
- func (o *Commit) GetRepoIdOk() (*string, bool)
- func (o *Commit) GetSha() string
- func (o *Commit) GetShaOk() (*string, bool)
- func (o Commit) MarshalJSON() ([]byte, error)
- func (o *Commit) SetAuthorEmail(v string)
- func (o *Commit) SetAuthorId(v string)
- func (o *Commit) SetAuthorName(v string)
- func (o *Commit) SetAuthorUrl(v string)
- func (o *Commit) SetCommitterEmail(v string)
- func (o *Commit) SetCommitterId(v string)
- func (o *Commit) SetCommitterName(v string)
- func (o *Commit) SetCommitterUrl(v string)
- func (o *Commit) SetConfigType(v string)
- func (o *Commit) SetCreatedAt(v time.Time)
- func (o *Commit) SetId(v string)
- func (o *Commit) SetLink(v string)
- func (o *Commit) SetMessage(v string)
- func (o *Commit) SetRepoId(v string)
- func (o *Commit) SetSha(v string)
- func (o Commit) ToMap() (map[string]interface{}, error)
- func (o *Commit) UnmarshalJSON(bytes []byte) (err error)
- type Configuration
- type DockerAWSAuth
- func (o *DockerAWSAuth) GetAwsAccessKeyId() SecretString
- func (o *DockerAWSAuth) GetAwsAccessKeyIdOk() (*SecretString, bool)
- func (o *DockerAWSAuth) GetAwsRegion() string
- func (o *DockerAWSAuth) GetAwsRegionOk() (*string, bool)
- func (o *DockerAWSAuth) GetAwsSecretAccessKey() SecretString
- func (o *DockerAWSAuth) GetAwsSecretAccessKeyOk() (*SecretString, bool)
- func (o *DockerAWSAuth) HasAwsRegion() bool
- func (o DockerAWSAuth) MarshalJSON() ([]byte, error)
- func (o *DockerAWSAuth) SetAwsAccessKeyId(v SecretString)
- func (o *DockerAWSAuth) SetAwsRegion(v string)
- func (o *DockerAWSAuth) SetAwsSecretAccessKey(v SecretString)
- func (o DockerAWSAuth) ToMap() (map[string]interface{}, error)
- func (o *DockerAWSAuth) UnmarshalJSON(bytes []byte) (err error)
- type DockerAWSAuthDefinition
- func (o *DockerAWSAuthDefinition) GetAwsAccessKeyId() SecretStringDefinition
- func (o *DockerAWSAuthDefinition) GetAwsAccessKeyIdOk() (*SecretStringDefinition, bool)
- func (o *DockerAWSAuthDefinition) GetAwsRegion() string
- func (o *DockerAWSAuthDefinition) GetAwsRegionOk() (*string, bool)
- func (o *DockerAWSAuthDefinition) GetAwsSecretAccessKey() SecretStringDefinition
- func (o *DockerAWSAuthDefinition) GetAwsSecretAccessKeyOk() (*SecretStringDefinition, bool)
- func (o *DockerAWSAuthDefinition) HasAwsRegion() bool
- func (o DockerAWSAuthDefinition) MarshalJSON() ([]byte, error)
- func (o *DockerAWSAuthDefinition) SetAwsAccessKeyId(v SecretStringDefinition)
- func (o *DockerAWSAuthDefinition) SetAwsRegion(v string)
- func (o *DockerAWSAuthDefinition) SetAwsSecretAccessKey(v SecretStringDefinition)
- func (o DockerAWSAuthDefinition) ToMap() (map[string]interface{}, error)
- func (o *DockerAWSAuthDefinition) UnmarshalJSON(bytes []byte) (err error)
- type DockerBasicAuth
- func (o *DockerBasicAuth) GetPassword() SecretString
- func (o *DockerBasicAuth) GetPasswordOk() (*SecretString, bool)
- func (o *DockerBasicAuth) GetUsername() SecretString
- func (o *DockerBasicAuth) GetUsernameOk() (*SecretString, bool)
- func (o DockerBasicAuth) MarshalJSON() ([]byte, error)
- func (o *DockerBasicAuth) SetPassword(v SecretString)
- func (o *DockerBasicAuth) SetUsername(v SecretString)
- func (o DockerBasicAuth) ToMap() (map[string]interface{}, error)
- func (o *DockerBasicAuth) UnmarshalJSON(bytes []byte) (err error)
- type DockerBasicAuthDefinition
- func (o *DockerBasicAuthDefinition) GetPassword() SecretStringDefinition
- func (o *DockerBasicAuthDefinition) GetPasswordOk() (*SecretStringDefinition, bool)
- func (o *DockerBasicAuthDefinition) GetUsername() SecretStringDefinition
- func (o *DockerBasicAuthDefinition) GetUsernameOk() (*SecretStringDefinition, bool)
- func (o DockerBasicAuthDefinition) MarshalJSON() ([]byte, error)
- func (o *DockerBasicAuthDefinition) SetPassword(v SecretStringDefinition)
- func (o *DockerBasicAuthDefinition) SetUsername(v SecretStringDefinition)
- func (o DockerBasicAuthDefinition) ToMap() (map[string]interface{}, error)
- func (o *DockerBasicAuthDefinition) UnmarshalJSON(bytes []byte) (err error)
- type DockerConfig
- func (o *DockerConfig) GetAwsAuth() DockerAWSAuth
- func (o *DockerConfig) GetAwsAuthOk() (*DockerAWSAuth, bool)
- func (o *DockerConfig) GetBasicAuth() DockerBasicAuth
- func (o *DockerConfig) GetBasicAuthOk() (*DockerBasicAuth, bool)
- func (o *DockerConfig) GetImage() string
- func (o *DockerConfig) GetImageOk() (*string, bool)
- func (o *DockerConfig) GetPull() string
- func (o *DockerConfig) GetPullOk() (*string, bool)
- func (o *DockerConfig) GetShell() string
- func (o *DockerConfig) GetShellOk() (*string, bool)
- func (o *DockerConfig) HasAwsAuth() bool
- func (o *DockerConfig) HasBasicAuth() bool
- func (o *DockerConfig) HasShell() bool
- func (o DockerConfig) MarshalJSON() ([]byte, error)
- func (o *DockerConfig) SetAwsAuth(v DockerAWSAuth)
- func (o *DockerConfig) SetBasicAuth(v DockerBasicAuth)
- func (o *DockerConfig) SetImage(v string)
- func (o *DockerConfig) SetPull(v string)
- func (o *DockerConfig) SetShell(v string)
- func (o DockerConfig) ToMap() (map[string]interface{}, error)
- func (o *DockerConfig) UnmarshalJSON(bytes []byte) (err error)
- type DockerConfigDefinition
- func (o *DockerConfigDefinition) GetAwsAuth() DockerAWSAuthDefinition
- func (o *DockerConfigDefinition) GetAwsAuthOk() (*DockerAWSAuthDefinition, bool)
- func (o *DockerConfigDefinition) GetBasicAuth() DockerBasicAuthDefinition
- func (o *DockerConfigDefinition) GetBasicAuthOk() (*DockerBasicAuthDefinition, bool)
- func (o *DockerConfigDefinition) GetImage() string
- func (o *DockerConfigDefinition) GetImageOk() (*string, bool)
- func (o *DockerConfigDefinition) GetPull() string
- func (o *DockerConfigDefinition) GetPullOk() (*string, bool)
- func (o *DockerConfigDefinition) GetShell() string
- func (o *DockerConfigDefinition) GetShellOk() (*string, bool)
- func (o *DockerConfigDefinition) HasAwsAuth() bool
- func (o *DockerConfigDefinition) HasBasicAuth() bool
- func (o *DockerConfigDefinition) HasShell() bool
- func (o DockerConfigDefinition) MarshalJSON() ([]byte, error)
- func (o *DockerConfigDefinition) SetAwsAuth(v DockerAWSAuthDefinition)
- func (o *DockerConfigDefinition) SetBasicAuth(v DockerBasicAuthDefinition)
- func (o *DockerConfigDefinition) SetImage(v string)
- func (o *DockerConfigDefinition) SetPull(v string)
- func (o *DockerConfigDefinition) SetShell(v string)
- func (o DockerConfigDefinition) ToMap() (map[string]interface{}, error)
- func (o *DockerConfigDefinition) UnmarshalJSON(bytes []byte) (err error)
- type EnvVar
- func (o *EnvVar) GetName() string
- func (o *EnvVar) GetNameOk() (*string, bool)
- func (o *EnvVar) GetValue() string
- func (o *EnvVar) GetValueFromSecret() string
- func (o *EnvVar) GetValueFromSecretOk() (*string, bool)
- func (o *EnvVar) GetValueOk() (*string, bool)
- func (o *EnvVar) HasValue() bool
- func (o *EnvVar) HasValueFromSecret() bool
- func (o EnvVar) MarshalJSON() ([]byte, error)
- func (o *EnvVar) SetName(v string)
- func (o *EnvVar) SetValue(v string)
- func (o *EnvVar) SetValueFromSecret(v string)
- func (o EnvVar) ToMap() (map[string]interface{}, error)
- func (o *EnvVar) UnmarshalJSON(bytes []byte) (err error)
- type Event
- func (o *Event) GetBuildId() string
- func (o *Event) GetBuildIdOk() (*string, bool)
- func (o *Event) GetCreatedAt() time.Time
- func (o *Event) GetCreatedAtOk() (*time.Time, bool)
- func (o *Event) GetId() string
- func (o *Event) GetIdOk() (*string, bool)
- func (o *Event) GetJobName() string
- func (o *Event) GetJobNameOk() (*string, bool)
- func (o *Event) GetPayload() string
- func (o *Event) GetPayloadOk() (*string, bool)
- func (o *Event) GetResourceId() string
- func (o *Event) GetResourceIdOk() (*string, bool)
- func (o *Event) GetResourceName() string
- func (o *Event) GetResourceNameOk() (*string, bool)
- func (o *Event) GetSequenceNumber() int64
- func (o *Event) GetSequenceNumberOk() (*int64, bool)
- func (o *Event) GetType() string
- func (o *Event) GetTypeOk() (*string, bool)
- func (o *Event) GetWorkflow() string
- func (o *Event) GetWorkflowOk() (*string, bool)
- func (o *Event) HasJobName() bool
- func (o *Event) HasWorkflow() bool
- func (o Event) MarshalJSON() ([]byte, error)
- func (o *Event) SetBuildId(v string)
- func (o *Event) SetCreatedAt(v time.Time)
- func (o *Event) SetId(v string)
- func (o *Event) SetJobName(v string)
- func (o *Event) SetPayload(v string)
- func (o *Event) SetResourceId(v string)
- func (o *Event) SetResourceName(v string)
- func (o *Event) SetSequenceNumber(v int64)
- func (o *Event) SetType(v string)
- func (o *Event) SetWorkflow(v string)
- func (o Event) ToMap() (map[string]interface{}, error)
- func (o *Event) UnmarshalJSON(bytes []byte) (err error)
- type EventsApiService
- type ExternalResourceID
- func (o *ExternalResourceID) GetExternalSystem() string
- func (o *ExternalResourceID) GetExternalSystemOk() (*string, bool)
- func (o *ExternalResourceID) GetResourceId() string
- func (o *ExternalResourceID) GetResourceIdOk() (*string, bool)
- func (o ExternalResourceID) MarshalJSON() ([]byte, error)
- func (o *ExternalResourceID) SetExternalSystem(v string)
- func (o *ExternalResourceID) SetResourceId(v string)
- func (o ExternalResourceID) ToMap() (map[string]interface{}, error)
- func (o *ExternalResourceID) UnmarshalJSON(bytes []byte) (err error)
- type GenericOpenAPIError
- type Job
- func (o *Job) GetArtifacts() []ArtifactDefinition
- func (o *Job) GetArtifactsOk() ([]ArtifactDefinition, bool)
- func (o *Job) GetBuildId() string
- func (o *Job) GetBuildIdOk() (*string, bool)
- func (o *Job) GetCommitId() string
- func (o *Job) GetCommitIdOk() (*string, bool)
- func (o *Job) GetCreatedAt() time.Time
- func (o *Job) GetCreatedAtOk() (*time.Time, bool)
- func (o *Job) GetDeletedAt() time.Time
- func (o *Job) GetDeletedAtOk() (*time.Time, bool)
- func (o *Job) GetDepends() []JobDependency
- func (o *Job) GetDependsOk() ([]JobDependency, bool)
- func (o *Job) GetDescription() string
- func (o *Job) GetDescriptionOk() (*string, bool)
- func (o *Job) GetDocker() DockerConfig
- func (o *Job) GetDockerOk() (*DockerConfig, bool)
- func (o *Job) GetEnvironment() []EnvVar
- func (o *Job) GetEnvironmentOk() ([]EnvVar, bool)
- func (o *Job) GetError() string
- func (o *Job) GetErrorOk() (*string, bool)
- func (o *Job) GetEtag() string
- func (o *Job) GetEtagOk() (*string, bool)
- func (o *Job) GetFingerprint() string
- func (o *Job) GetFingerprintCommands() []string
- func (o *Job) GetFingerprintCommandsOk() ([]string, bool)
- func (o *Job) GetFingerprintHashType() string
- func (o *Job) GetFingerprintHashTypeOk() (*string, bool)
- func (o *Job) GetFingerprintOk() (*string, bool)
- func (o *Job) GetId() string
- func (o *Job) GetIdOk() (*string, bool)
- func (o *Job) GetIndirectJobUrl() string
- func (o *Job) GetIndirectJobUrlOk() (*string, bool)
- func (o *Job) GetIndirectToJobId() string
- func (o *Job) GetIndirectToJobIdOk() (*string, bool)
- func (o *Job) GetLogDescriptorId() string
- func (o *Job) GetLogDescriptorIdOk() (*string, bool)
- func (o *Job) GetLogDescriptorUrl() string
- func (o *Job) GetLogDescriptorUrlOk() (*string, bool)
- func (o *Job) GetName() string
- func (o *Job) GetNameOk() (*string, bool)
- func (o *Job) GetRef() string
- func (o *Job) GetRefOk() (*string, bool)
- func (o *Job) GetRepoId() string
- func (o *Job) GetRepoIdOk() (*string, bool)
- func (o *Job) GetRunnerId() string
- func (o *Job) GetRunnerIdOk() (*string, bool)
- func (o *Job) GetRunsOn() []string
- func (o *Job) GetRunsOnOk() ([]string, bool)
- func (o *Job) GetServices() []Service
- func (o *Job) GetServicesOk() ([]Service, bool)
- func (o *Job) GetStatus() string
- func (o *Job) GetStatusOk() (*string, bool)
- func (o *Job) GetStepExecution() string
- func (o *Job) GetStepExecutionOk() (*string, bool)
- func (o *Job) GetTimings() WorkflowTimings
- func (o *Job) GetTimingsOk() (*WorkflowTimings, bool)
- func (o *Job) GetType() string
- func (o *Job) GetTypeOk() (*string, bool)
- func (o *Job) GetUpdatedAt() time.Time
- func (o *Job) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Job) GetUrl() string
- func (o *Job) GetUrlOk() (*string, bool)
- func (o *Job) GetWorkflow() string
- func (o *Job) GetWorkflowOk() (*string, bool)
- func (o *Job) HasArtifacts() bool
- func (o *Job) HasDeletedAt() bool
- func (o *Job) HasDocker() bool
- func (o *Job) HasError() bool
- func (o *Job) HasFingerprint() bool
- func (o *Job) HasFingerprintHashType() bool
- func (o Job) MarshalJSON() ([]byte, error)
- func (o *Job) SetArtifacts(v []ArtifactDefinition)
- func (o *Job) SetBuildId(v string)
- func (o *Job) SetCommitId(v string)
- func (o *Job) SetCreatedAt(v time.Time)
- func (o *Job) SetDeletedAt(v time.Time)
- func (o *Job) SetDepends(v []JobDependency)
- func (o *Job) SetDescription(v string)
- func (o *Job) SetDocker(v DockerConfig)
- func (o *Job) SetEnvironment(v []EnvVar)
- func (o *Job) SetError(v string)
- func (o *Job) SetEtag(v string)
- func (o *Job) SetFingerprint(v string)
- func (o *Job) SetFingerprintCommands(v []string)
- func (o *Job) SetFingerprintHashType(v string)
- func (o *Job) SetId(v string)
- func (o *Job) SetIndirectJobUrl(v string)
- func (o *Job) SetIndirectToJobId(v string)
- func (o *Job) SetLogDescriptorId(v string)
- func (o *Job) SetLogDescriptorUrl(v string)
- func (o *Job) SetName(v string)
- func (o *Job) SetRef(v string)
- func (o *Job) SetRepoId(v string)
- func (o *Job) SetRunnerId(v string)
- func (o *Job) SetRunsOn(v []string)
- func (o *Job) SetServices(v []Service)
- func (o *Job) SetStatus(v string)
- func (o *Job) SetStepExecution(v string)
- func (o *Job) SetTimings(v WorkflowTimings)
- func (o *Job) SetType(v string)
- func (o *Job) SetUpdatedAt(v time.Time)
- func (o *Job) SetUrl(v string)
- func (o *Job) SetWorkflow(v string)
- func (o Job) ToMap() (map[string]interface{}, error)
- func (o *Job) UnmarshalJSON(bytes []byte) (err error)
- type JobDefinition
- func (o *JobDefinition) GetArtifacts() []ArtifactDefinition
- func (o *JobDefinition) GetArtifactsOk() ([]ArtifactDefinition, bool)
- func (o *JobDefinition) GetDepends() []string
- func (o *JobDefinition) GetDependsOk() ([]string, bool)
- func (o *JobDefinition) GetDescription() string
- func (o *JobDefinition) GetDescriptionOk() (*string, bool)
- func (o *JobDefinition) GetDocker() DockerConfigDefinition
- func (o *JobDefinition) GetDockerOk() (*DockerConfigDefinition, bool)
- func (o *JobDefinition) GetEnvironment() map[string]SecretStringDefinition
- func (o *JobDefinition) GetEnvironmentOk() (*map[string]SecretStringDefinition, bool)
- func (o *JobDefinition) GetFingerprint() []string
- func (o *JobDefinition) GetFingerprintOk() ([]string, bool)
- func (o *JobDefinition) GetName() string
- func (o *JobDefinition) GetNameOk() (*string, bool)
- func (o *JobDefinition) GetRunsOn() []string
- func (o *JobDefinition) GetRunsOnOk() ([]string, bool)
- func (o *JobDefinition) GetServices() []ServiceDefinition
- func (o *JobDefinition) GetServicesOk() ([]ServiceDefinition, bool)
- func (o *JobDefinition) GetStepExecution() string
- func (o *JobDefinition) GetStepExecutionOk() (*string, bool)
- func (o *JobDefinition) GetSteps() []StepDefinition
- func (o *JobDefinition) GetStepsOk() ([]StepDefinition, bool)
- func (o *JobDefinition) GetType() string
- func (o *JobDefinition) GetTypeOk() (*string, bool)
- func (o *JobDefinition) GetWorkflow() string
- func (o *JobDefinition) GetWorkflowOk() (*string, bool)
- func (o *JobDefinition) HasArtifacts() bool
- func (o *JobDefinition) HasDepends() bool
- func (o *JobDefinition) HasDescription() bool
- func (o *JobDefinition) HasDocker() bool
- func (o *JobDefinition) HasFingerprint() bool
- func (o *JobDefinition) HasRunsOn() bool
- func (o *JobDefinition) HasServices() bool
- func (o *JobDefinition) HasType() bool
- func (o *JobDefinition) HasWorkflow() bool
- func (o JobDefinition) MarshalJSON() ([]byte, error)
- func (o *JobDefinition) SetArtifacts(v []ArtifactDefinition)
- func (o *JobDefinition) SetDepends(v []string)
- func (o *JobDefinition) SetDescription(v string)
- func (o *JobDefinition) SetDocker(v DockerConfigDefinition)
- func (o *JobDefinition) SetEnvironment(v map[string]SecretStringDefinition)
- func (o *JobDefinition) SetFingerprint(v []string)
- func (o *JobDefinition) SetName(v string)
- func (o *JobDefinition) SetRunsOn(v []string)
- func (o *JobDefinition) SetServices(v []ServiceDefinition)
- func (o *JobDefinition) SetStepExecution(v string)
- func (o *JobDefinition) SetSteps(v []StepDefinition)
- func (o *JobDefinition) SetType(v string)
- func (o *JobDefinition) SetWorkflow(v string)
- func (o JobDefinition) ToMap() (map[string]interface{}, error)
- func (o *JobDefinition) UnmarshalJSON(bytes []byte) (err error)
- type JobDependency
- func (o *JobDependency) GetArtifactDependencies() []ArtifactDependency
- func (o *JobDependency) GetArtifactDependenciesOk() ([]ArtifactDependency, bool)
- func (o *JobDependency) GetJobName() string
- func (o *JobDependency) GetJobNameOk() (*string, bool)
- func (o *JobDependency) GetWorkflow() string
- func (o *JobDependency) GetWorkflowOk() (*string, bool)
- func (o JobDependency) MarshalJSON() ([]byte, error)
- func (o *JobDependency) SetArtifactDependencies(v []ArtifactDependency)
- func (o *JobDependency) SetJobName(v string)
- func (o *JobDependency) SetWorkflow(v string)
- func (o JobDependency) ToMap() (map[string]interface{}, error)
- func (o *JobDependency) UnmarshalJSON(bytes []byte) (err error)
- type JobGraph
- func (o *JobGraph) GetJob() Job
- func (o *JobGraph) GetJobOk() (*Job, bool)
- func (o *JobGraph) GetSteps() []Step
- func (o *JobGraph) GetStepsOk() ([]Step, bool)
- func (o JobGraph) MarshalJSON() ([]byte, error)
- func (o *JobGraph) SetJob(v Job)
- func (o *JobGraph) SetSteps(v []Step)
- func (o JobGraph) ToMap() (map[string]interface{}, error)
- func (o *JobGraph) UnmarshalJSON(bytes []byte) (err error)
- type JobsApiService
- type LogDescriptor
- func (o *LogDescriptor) GetCreatedAt() time.Time
- func (o *LogDescriptor) GetCreatedAtOk() (*time.Time, bool)
- func (o *LogDescriptor) GetDataUrl() string
- func (o *LogDescriptor) GetDataUrlOk() (*string, bool)
- func (o *LogDescriptor) GetEtag() string
- func (o *LogDescriptor) GetEtagOk() (*string, bool)
- func (o *LogDescriptor) GetId() string
- func (o *LogDescriptor) GetIdOk() (*string, bool)
- func (o *LogDescriptor) GetParentLogId() string
- func (o *LogDescriptor) GetParentLogIdOk() (*string, bool)
- func (o *LogDescriptor) GetResourceId() string
- func (o *LogDescriptor) GetResourceIdOk() (*string, bool)
- func (o *LogDescriptor) GetSealed() bool
- func (o *LogDescriptor) GetSealedOk() (*bool, bool)
- func (o *LogDescriptor) GetSizeBytes() int64
- func (o *LogDescriptor) GetSizeBytesOk() (*int64, bool)
- func (o *LogDescriptor) GetUpdatedAt() time.Time
- func (o *LogDescriptor) GetUpdatedAtOk() (*time.Time, bool)
- func (o *LogDescriptor) GetUrl() string
- func (o *LogDescriptor) GetUrlOk() (*string, bool)
- func (o LogDescriptor) MarshalJSON() ([]byte, error)
- func (o *LogDescriptor) SetCreatedAt(v time.Time)
- func (o *LogDescriptor) SetDataUrl(v string)
- func (o *LogDescriptor) SetEtag(v string)
- func (o *LogDescriptor) SetId(v string)
- func (o *LogDescriptor) SetParentLogId(v string)
- func (o *LogDescriptor) SetResourceId(v string)
- func (o *LogDescriptor) SetSealed(v bool)
- func (o *LogDescriptor) SetSizeBytes(v int64)
- func (o *LogDescriptor) SetUpdatedAt(v time.Time)
- func (o *LogDescriptor) SetUrl(v string)
- func (o LogDescriptor) ToMap() (map[string]interface{}, error)
- func (o *LogDescriptor) UnmarshalJSON(bytes []byte) (err error)
- type MappedNullable
- type NodeFQN
- func (o *NodeFQN) GetJobName() string
- func (o *NodeFQN) GetJobNameOk() (*string, bool)
- func (o *NodeFQN) GetStepName() string
- func (o *NodeFQN) GetStepNameOk() (*string, bool)
- func (o *NodeFQN) GetWorkflowName() string
- func (o *NodeFQN) GetWorkflowNameOk() (*string, bool)
- func (o NodeFQN) MarshalJSON() ([]byte, error)
- func (o *NodeFQN) SetJobName(v string)
- func (o *NodeFQN) SetStepName(v string)
- func (o *NodeFQN) SetWorkflowName(v string)
- func (o NodeFQN) ToMap() (map[string]interface{}, error)
- func (o *NodeFQN) UnmarshalJSON(bytes []byte) (err error)
- type NullableArtifact
- type NullableArtifactDefinition
- func (v NullableArtifactDefinition) Get() *ArtifactDefinition
- func (v NullableArtifactDefinition) IsSet() bool
- func (v NullableArtifactDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactDefinition) Set(val *ArtifactDefinition)
- func (v *NullableArtifactDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactDefinition) Unset()
- type NullableArtifactDependency
- func (v NullableArtifactDependency) Get() *ArtifactDependency
- func (v NullableArtifactDependency) IsSet() bool
- func (v NullableArtifactDependency) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactDependency) Set(val *ArtifactDependency)
- func (v *NullableArtifactDependency) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactDependency) Unset()
- type NullableArtifactsPaginatedResponse
- func (v NullableArtifactsPaginatedResponse) Get() *ArtifactsPaginatedResponse
- func (v NullableArtifactsPaginatedResponse) IsSet() bool
- func (v NullableArtifactsPaginatedResponse) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactsPaginatedResponse) Set(val *ArtifactsPaginatedResponse)
- func (v *NullableArtifactsPaginatedResponse) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactsPaginatedResponse) Unset()
- type NullableBool
- type NullableBuild
- type NullableBuildDefinition
- func (v NullableBuildDefinition) Get() *BuildDefinition
- func (v NullableBuildDefinition) IsSet() bool
- func (v NullableBuildDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableBuildDefinition) Set(val *BuildDefinition)
- func (v *NullableBuildDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableBuildDefinition) Unset()
- type NullableBuildGraph
- type NullableBuildOptions
- func (v NullableBuildOptions) Get() *BuildOptions
- func (v NullableBuildOptions) IsSet() bool
- func (v NullableBuildOptions) MarshalJSON() ([]byte, error)
- func (v *NullableBuildOptions) Set(val *BuildOptions)
- func (v *NullableBuildOptions) UnmarshalJSON(src []byte) error
- func (v *NullableBuildOptions) Unset()
- type NullableCommit
- type NullableDockerAWSAuth
- func (v NullableDockerAWSAuth) Get() *DockerAWSAuth
- func (v NullableDockerAWSAuth) IsSet() bool
- func (v NullableDockerAWSAuth) MarshalJSON() ([]byte, error)
- func (v *NullableDockerAWSAuth) Set(val *DockerAWSAuth)
- func (v *NullableDockerAWSAuth) UnmarshalJSON(src []byte) error
- func (v *NullableDockerAWSAuth) Unset()
- type NullableDockerAWSAuthDefinition
- func (v NullableDockerAWSAuthDefinition) Get() *DockerAWSAuthDefinition
- func (v NullableDockerAWSAuthDefinition) IsSet() bool
- func (v NullableDockerAWSAuthDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableDockerAWSAuthDefinition) Set(val *DockerAWSAuthDefinition)
- func (v *NullableDockerAWSAuthDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableDockerAWSAuthDefinition) Unset()
- type NullableDockerBasicAuth
- func (v NullableDockerBasicAuth) Get() *DockerBasicAuth
- func (v NullableDockerBasicAuth) IsSet() bool
- func (v NullableDockerBasicAuth) MarshalJSON() ([]byte, error)
- func (v *NullableDockerBasicAuth) Set(val *DockerBasicAuth)
- func (v *NullableDockerBasicAuth) UnmarshalJSON(src []byte) error
- func (v *NullableDockerBasicAuth) Unset()
- type NullableDockerBasicAuthDefinition
- func (v NullableDockerBasicAuthDefinition) Get() *DockerBasicAuthDefinition
- func (v NullableDockerBasicAuthDefinition) IsSet() bool
- func (v NullableDockerBasicAuthDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableDockerBasicAuthDefinition) Set(val *DockerBasicAuthDefinition)
- func (v *NullableDockerBasicAuthDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableDockerBasicAuthDefinition) Unset()
- type NullableDockerConfig
- func (v NullableDockerConfig) Get() *DockerConfig
- func (v NullableDockerConfig) IsSet() bool
- func (v NullableDockerConfig) MarshalJSON() ([]byte, error)
- func (v *NullableDockerConfig) Set(val *DockerConfig)
- func (v *NullableDockerConfig) UnmarshalJSON(src []byte) error
- func (v *NullableDockerConfig) Unset()
- type NullableDockerConfigDefinition
- func (v NullableDockerConfigDefinition) Get() *DockerConfigDefinition
- func (v NullableDockerConfigDefinition) IsSet() bool
- func (v NullableDockerConfigDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableDockerConfigDefinition) Set(val *DockerConfigDefinition)
- func (v *NullableDockerConfigDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableDockerConfigDefinition) Unset()
- type NullableEnvVar
- type NullableEvent
- type NullableExternalResourceID
- func (v NullableExternalResourceID) Get() *ExternalResourceID
- func (v NullableExternalResourceID) IsSet() bool
- func (v NullableExternalResourceID) MarshalJSON() ([]byte, error)
- func (v *NullableExternalResourceID) Set(val *ExternalResourceID)
- func (v *NullableExternalResourceID) UnmarshalJSON(src []byte) error
- func (v *NullableExternalResourceID) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableJob
- type NullableJobDefinition
- func (v NullableJobDefinition) Get() *JobDefinition
- func (v NullableJobDefinition) IsSet() bool
- func (v NullableJobDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableJobDefinition) Set(val *JobDefinition)
- func (v *NullableJobDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableJobDefinition) Unset()
- type NullableJobDependency
- func (v NullableJobDependency) Get() *JobDependency
- func (v NullableJobDependency) IsSet() bool
- func (v NullableJobDependency) MarshalJSON() ([]byte, error)
- func (v *NullableJobDependency) Set(val *JobDependency)
- func (v *NullableJobDependency) UnmarshalJSON(src []byte) error
- func (v *NullableJobDependency) Unset()
- type NullableJobGraph
- type NullableLogDescriptor
- func (v NullableLogDescriptor) Get() *LogDescriptor
- func (v NullableLogDescriptor) IsSet() bool
- func (v NullableLogDescriptor) MarshalJSON() ([]byte, error)
- func (v *NullableLogDescriptor) Set(val *LogDescriptor)
- func (v *NullableLogDescriptor) UnmarshalJSON(src []byte) error
- func (v *NullableLogDescriptor) Unset()
- type NullableNodeFQN
- type NullableRepo
- type NullableRunnerApiEndpoints
- func (v NullableRunnerApiEndpoints) Get() *RunnerApiEndpoints
- func (v NullableRunnerApiEndpoints) IsSet() bool
- func (v NullableRunnerApiEndpoints) MarshalJSON() ([]byte, error)
- func (v *NullableRunnerApiEndpoints) Set(val *RunnerApiEndpoints)
- func (v *NullableRunnerApiEndpoints) UnmarshalJSON(src []byte) error
- func (v *NullableRunnerApiEndpoints) Unset()
- type NullableSecretString
- func (v NullableSecretString) Get() *SecretString
- func (v NullableSecretString) IsSet() bool
- func (v NullableSecretString) MarshalJSON() ([]byte, error)
- func (v *NullableSecretString) Set(val *SecretString)
- func (v *NullableSecretString) UnmarshalJSON(src []byte) error
- func (v *NullableSecretString) Unset()
- type NullableSecretStringDefinition
- func (v NullableSecretStringDefinition) Get() *SecretStringDefinition
- func (v NullableSecretStringDefinition) IsSet() bool
- func (v NullableSecretStringDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableSecretStringDefinition) Set(val *SecretStringDefinition)
- func (v *NullableSecretStringDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableSecretStringDefinition) Unset()
- type NullableService
- type NullableServiceDefinition
- func (v NullableServiceDefinition) Get() *ServiceDefinition
- func (v NullableServiceDefinition) IsSet() bool
- func (v NullableServiceDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableServiceDefinition) Set(val *ServiceDefinition)
- func (v *NullableServiceDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableServiceDefinition) Unset()
- type NullableStep
- type NullableStepDefinition
- func (v NullableStepDefinition) Get() *StepDefinition
- func (v NullableStepDefinition) IsSet() bool
- func (v NullableStepDefinition) MarshalJSON() ([]byte, error)
- func (v *NullableStepDefinition) Set(val *StepDefinition)
- func (v *NullableStepDefinition) UnmarshalJSON(src []byte) error
- func (v *NullableStepDefinition) Unset()
- type NullableStepDependency
- func (v NullableStepDependency) Get() *StepDependency
- func (v NullableStepDependency) IsSet() bool
- func (v NullableStepDependency) MarshalJSON() ([]byte, error)
- func (v *NullableStepDependency) Set(val *StepDependency)
- func (v *NullableStepDependency) UnmarshalJSON(src []byte) error
- func (v *NullableStepDependency) Unset()
- type NullableString
- type NullableTime
- type NullableWorkflowTimings
- func (v NullableWorkflowTimings) Get() *WorkflowTimings
- func (v NullableWorkflowTimings) IsSet() bool
- func (v NullableWorkflowTimings) MarshalJSON() ([]byte, error)
- func (v *NullableWorkflowTimings) Set(val *WorkflowTimings)
- func (v *NullableWorkflowTimings) UnmarshalJSON(src []byte) error
- func (v *NullableWorkflowTimings) Unset()
- type Repo
- func (o *Repo) GetBuildSearchUrl() string
- func (o *Repo) GetBuildSearchUrlOk() (*string, bool)
- func (o *Repo) GetBuildsUrl() string
- func (o *Repo) GetBuildsUrlOk() (*string, bool)
- func (o *Repo) GetCreatedAt() time.Time
- func (o *Repo) GetCreatedAtOk() (*time.Time, bool)
- func (o *Repo) GetDefaultBranch() string
- func (o *Repo) GetDefaultBranchOk() (*string, bool)
- func (o *Repo) GetDeletedAt() time.Time
- func (o *Repo) GetDeletedAtOk() (*time.Time, bool)
- func (o *Repo) GetDescription() string
- func (o *Repo) GetDescriptionOk() (*string, bool)
- func (o *Repo) GetEnabled() bool
- func (o *Repo) GetEnabledOk() (*bool, bool)
- func (o *Repo) GetEtag() string
- func (o *Repo) GetEtagOk() (*string, bool)
- func (o *Repo) GetExternalId() ExternalResourceID
- func (o *Repo) GetExternalIdOk() (*ExternalResourceID, bool)
- func (o *Repo) GetExternalMetadata() string
- func (o *Repo) GetExternalMetadataOk() (*string, bool)
- func (o *Repo) GetHttpUrl() string
- func (o *Repo) GetHttpUrlOk() (*string, bool)
- func (o *Repo) GetId() string
- func (o *Repo) GetIdOk() (*string, bool)
- func (o *Repo) GetLegalEntityId() string
- func (o *Repo) GetLegalEntityIdOk() (*string, bool)
- func (o *Repo) GetLink() string
- func (o *Repo) GetLinkOk() (*string, bool)
- func (o *Repo) GetName() string
- func (o *Repo) GetNameOk() (*string, bool)
- func (o *Repo) GetPrivate() bool
- func (o *Repo) GetPrivateOk() (*bool, bool)
- func (o *Repo) GetSecretsUrl() string
- func (o *Repo) GetSecretsUrlOk() (*string, bool)
- func (o *Repo) GetSshKeySecretId() string
- func (o *Repo) GetSshKeySecretIdOk() (*string, bool)
- func (o *Repo) GetSshUrl() string
- func (o *Repo) GetSshUrlOk() (*string, bool)
- func (o *Repo) GetUpdatedAt() time.Time
- func (o *Repo) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Repo) GetUrl() string
- func (o *Repo) GetUrlOk() (*string, bool)
- func (o *Repo) HasDeletedAt() bool
- func (o *Repo) HasExternalId() bool
- func (o *Repo) HasSshKeySecretId() bool
- func (o Repo) MarshalJSON() ([]byte, error)
- func (o *Repo) SetBuildSearchUrl(v string)
- func (o *Repo) SetBuildsUrl(v string)
- func (o *Repo) SetCreatedAt(v time.Time)
- func (o *Repo) SetDefaultBranch(v string)
- func (o *Repo) SetDeletedAt(v time.Time)
- func (o *Repo) SetDescription(v string)
- func (o *Repo) SetEnabled(v bool)
- func (o *Repo) SetEtag(v string)
- func (o *Repo) SetExternalId(v ExternalResourceID)
- func (o *Repo) SetExternalMetadata(v string)
- func (o *Repo) SetHttpUrl(v string)
- func (o *Repo) SetId(v string)
- func (o *Repo) SetLegalEntityId(v string)
- func (o *Repo) SetLink(v string)
- func (o *Repo) SetName(v string)
- func (o *Repo) SetPrivate(v bool)
- func (o *Repo) SetSecretsUrl(v string)
- func (o *Repo) SetSshKeySecretId(v string)
- func (o *Repo) SetSshUrl(v string)
- func (o *Repo) SetUpdatedAt(v time.Time)
- func (o *Repo) SetUrl(v string)
- func (o Repo) ToMap() (map[string]interface{}, error)
- func (o *Repo) UnmarshalJSON(bytes []byte) (err error)
- type RunnerApiEndpoints
- func (o *RunnerApiEndpoints) GetFromSecret() string
- func (o *RunnerApiEndpoints) GetFromSecretOk() (*string, bool)
- func (o *RunnerApiEndpoints) GetValue() string
- func (o *RunnerApiEndpoints) GetValueOk() (*string, bool)
- func (o *RunnerApiEndpoints) HasFromSecret() bool
- func (o *RunnerApiEndpoints) HasValue() bool
- func (o RunnerApiEndpoints) MarshalJSON() ([]byte, error)
- func (o *RunnerApiEndpoints) SetFromSecret(v string)
- func (o *RunnerApiEndpoints) SetValue(v string)
- func (o RunnerApiEndpoints) ToMap() (map[string]interface{}, error)
- func (o *RunnerApiEndpoints) UnmarshalJSON(bytes []byte) (err error)
- type SecretString
- func (o *SecretString) GetValue() string
- func (o *SecretString) GetValueFromSecret() string
- func (o *SecretString) GetValueFromSecretOk() (*string, bool)
- func (o *SecretString) GetValueOk() (*string, bool)
- func (o *SecretString) HasValue() bool
- func (o *SecretString) HasValueFromSecret() bool
- func (o SecretString) MarshalJSON() ([]byte, error)
- func (o *SecretString) SetValue(v string)
- func (o *SecretString) SetValueFromSecret(v string)
- func (o SecretString) ToMap() (map[string]interface{}, error)
- func (o *SecretString) UnmarshalJSON(bytes []byte) (err error)
- type SecretStringDefinition
- func (o *SecretStringDefinition) GetFromSecret() string
- func (o *SecretStringDefinition) GetFromSecretOk() (*string, bool)
- func (o *SecretStringDefinition) GetValue() string
- func (o *SecretStringDefinition) GetValueOk() (*string, bool)
- func (o *SecretStringDefinition) HasFromSecret() bool
- func (o *SecretStringDefinition) HasValue() bool
- func (o SecretStringDefinition) MarshalJSON() ([]byte, error)
- func (o *SecretStringDefinition) SetFromSecret(v string)
- func (o *SecretStringDefinition) SetValue(v string)
- func (o SecretStringDefinition) ToMap() (map[string]interface{}, error)
- func (o *SecretStringDefinition) UnmarshalJSON(bytes []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Service
- func (o *Service) GetAwsAuth() DockerAWSAuth
- func (o *Service) GetAwsAuthOk() (*DockerAWSAuth, bool)
- func (o *Service) GetBasicAuth() DockerBasicAuth
- func (o *Service) GetBasicAuthOk() (*DockerBasicAuth, bool)
- func (o *Service) GetEnvironment() []EnvVar
- func (o *Service) GetEnvironmentOk() ([]EnvVar, bool)
- func (o *Service) GetImage() string
- func (o *Service) GetImageOk() (*string, bool)
- func (o *Service) GetName() string
- func (o *Service) GetNameOk() (*string, bool)
- func (o *Service) HasAwsAuth() bool
- func (o *Service) HasBasicAuth() bool
- func (o Service) MarshalJSON() ([]byte, error)
- func (o *Service) SetAwsAuth(v DockerAWSAuth)
- func (o *Service) SetBasicAuth(v DockerBasicAuth)
- func (o *Service) SetEnvironment(v []EnvVar)
- func (o *Service) SetImage(v string)
- func (o *Service) SetName(v string)
- func (o Service) ToMap() (map[string]interface{}, error)
- func (o *Service) UnmarshalJSON(bytes []byte) (err error)
- type ServiceDefinition
- func (o *ServiceDefinition) GetAwsAuth() DockerAWSAuthDefinition
- func (o *ServiceDefinition) GetAwsAuthOk() (*DockerAWSAuthDefinition, bool)
- func (o *ServiceDefinition) GetBasicAuth() DockerBasicAuthDefinition
- func (o *ServiceDefinition) GetBasicAuthOk() (*DockerBasicAuthDefinition, bool)
- func (o *ServiceDefinition) GetEnvironment() map[string]SecretStringDefinition
- func (o *ServiceDefinition) GetEnvironmentOk() (*map[string]SecretStringDefinition, bool)
- func (o *ServiceDefinition) GetImage() string
- func (o *ServiceDefinition) GetImageOk() (*string, bool)
- func (o *ServiceDefinition) GetName() string
- func (o *ServiceDefinition) GetNameOk() (*string, bool)
- func (o *ServiceDefinition) HasAwsAuth() bool
- func (o *ServiceDefinition) HasBasicAuth() bool
- func (o ServiceDefinition) MarshalJSON() ([]byte, error)
- func (o *ServiceDefinition) SetAwsAuth(v DockerAWSAuthDefinition)
- func (o *ServiceDefinition) SetBasicAuth(v DockerBasicAuthDefinition)
- func (o *ServiceDefinition) SetEnvironment(v map[string]SecretStringDefinition)
- func (o *ServiceDefinition) SetImage(v string)
- func (o *ServiceDefinition) SetName(v string)
- func (o ServiceDefinition) ToMap() (map[string]interface{}, error)
- func (o *ServiceDefinition) UnmarshalJSON(bytes []byte) (err error)
- type Step
- func (o *Step) GetCommands() []string
- func (o *Step) GetCommandsOk() ([]string, bool)
- func (o *Step) GetCreatedAt() time.Time
- func (o *Step) GetCreatedAtOk() (*time.Time, bool)
- func (o *Step) GetDeletedAt() time.Time
- func (o *Step) GetDeletedAtOk() (*time.Time, bool)
- func (o *Step) GetDepends() []StepDependency
- func (o *Step) GetDependsOk() ([]StepDependency, bool)
- func (o *Step) GetDescription() string
- func (o *Step) GetDescriptionOk() (*string, bool)
- func (o *Step) GetError() string
- func (o *Step) GetErrorOk() (*string, bool)
- func (o *Step) GetEtag() string
- func (o *Step) GetEtagOk() (*string, bool)
- func (o *Step) GetId() string
- func (o *Step) GetIdOk() (*string, bool)
- func (o *Step) GetJobId() string
- func (o *Step) GetJobIdOk() (*string, bool)
- func (o *Step) GetLogDescriptorId() string
- func (o *Step) GetLogDescriptorIdOk() (*string, bool)
- func (o *Step) GetLogDescriptorUrl() string
- func (o *Step) GetLogDescriptorUrlOk() (*string, bool)
- func (o *Step) GetName() string
- func (o *Step) GetNameOk() (*string, bool)
- func (o *Step) GetRepoId() string
- func (o *Step) GetRepoIdOk() (*string, bool)
- func (o *Step) GetRunnerId() string
- func (o *Step) GetRunnerIdOk() (*string, bool)
- func (o *Step) GetRunnerUrl() string
- func (o *Step) GetRunnerUrlOk() (*string, bool)
- func (o *Step) GetStatus() string
- func (o *Step) GetStatusOk() (*string, bool)
- func (o *Step) GetTimings() WorkflowTimings
- func (o *Step) GetTimingsOk() (*WorkflowTimings, bool)
- func (o *Step) GetUpdatedAt() time.Time
- func (o *Step) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Step) GetUrl() string
- func (o *Step) GetUrlOk() (*string, bool)
- func (o *Step) HasDeletedAt() bool
- func (o *Step) HasError() bool
- func (o Step) MarshalJSON() ([]byte, error)
- func (o *Step) SetCommands(v []string)
- func (o *Step) SetCreatedAt(v time.Time)
- func (o *Step) SetDeletedAt(v time.Time)
- func (o *Step) SetDepends(v []StepDependency)
- func (o *Step) SetDescription(v string)
- func (o *Step) SetError(v string)
- func (o *Step) SetEtag(v string)
- func (o *Step) SetId(v string)
- func (o *Step) SetJobId(v string)
- func (o *Step) SetLogDescriptorId(v string)
- func (o *Step) SetLogDescriptorUrl(v string)
- func (o *Step) SetName(v string)
- func (o *Step) SetRepoId(v string)
- func (o *Step) SetRunnerId(v string)
- func (o *Step) SetRunnerUrl(v string)
- func (o *Step) SetStatus(v string)
- func (o *Step) SetTimings(v WorkflowTimings)
- func (o *Step) SetUpdatedAt(v time.Time)
- func (o *Step) SetUrl(v string)
- func (o Step) ToMap() (map[string]interface{}, error)
- func (o *Step) UnmarshalJSON(bytes []byte) (err error)
- type StepDefinition
- func (o *StepDefinition) GetCommands() []string
- func (o *StepDefinition) GetCommandsOk() ([]string, bool)
- func (o *StepDefinition) GetDepends() []string
- func (o *StepDefinition) GetDependsOk() ([]string, bool)
- func (o *StepDefinition) GetDescription() string
- func (o *StepDefinition) GetDescriptionOk() (*string, bool)
- func (o *StepDefinition) GetName() string
- func (o *StepDefinition) GetNameOk() (*string, bool)
- func (o *StepDefinition) HasDepends() bool
- func (o *StepDefinition) HasDescription() bool
- func (o StepDefinition) MarshalJSON() ([]byte, error)
- func (o *StepDefinition) SetCommands(v []string)
- func (o *StepDefinition) SetDepends(v []string)
- func (o *StepDefinition) SetDescription(v string)
- func (o *StepDefinition) SetName(v string)
- func (o StepDefinition) ToMap() (map[string]interface{}, error)
- func (o *StepDefinition) UnmarshalJSON(bytes []byte) (err error)
- type StepDependency
- func (o *StepDependency) GetStepName() string
- func (o *StepDependency) GetStepNameOk() (*string, bool)
- func (o StepDependency) MarshalJSON() ([]byte, error)
- func (o *StepDependency) SetStepName(v string)
- func (o StepDependency) ToMap() (map[string]interface{}, error)
- func (o *StepDependency) UnmarshalJSON(bytes []byte) (err error)
- type WorkflowTimings
- func (o *WorkflowTimings) GetCanceledAt() time.Time
- func (o *WorkflowTimings) GetCanceledAtOk() (*time.Time, bool)
- func (o *WorkflowTimings) GetFinishedAt() time.Time
- func (o *WorkflowTimings) GetFinishedAtOk() (*time.Time, bool)
- func (o *WorkflowTimings) GetQueuedAt() time.Time
- func (o *WorkflowTimings) GetQueuedAtOk() (*time.Time, bool)
- func (o *WorkflowTimings) GetRunningAt() time.Time
- func (o *WorkflowTimings) GetRunningAtOk() (*time.Time, bool)
- func (o *WorkflowTimings) GetSubmittedAt() time.Time
- func (o *WorkflowTimings) GetSubmittedAtOk() (*time.Time, bool)
- func (o *WorkflowTimings) HasCanceledAt() bool
- func (o *WorkflowTimings) HasFinishedAt() bool
- func (o *WorkflowTimings) HasQueuedAt() bool
- func (o *WorkflowTimings) HasRunningAt() bool
- func (o *WorkflowTimings) HasSubmittedAt() bool
- func (o WorkflowTimings) MarshalJSON() ([]byte, error)
- func (o *WorkflowTimings) SetCanceledAt(v time.Time)
- func (o *WorkflowTimings) SetFinishedAt(v time.Time)
- func (o *WorkflowTimings) SetQueuedAt(v time.Time)
- func (o *WorkflowTimings) SetRunningAt(v time.Time)
- func (o *WorkflowTimings) SetSubmittedAt(v time.Time)
- func (o WorkflowTimings) ToMap() (map[string]interface{}, error)
- func (o *WorkflowTimings) UnmarshalJSON(bytes []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { BuildApi *BuildApiService EventsApi *EventsApiService JobsApi *JobsApiService // contains filtered or unexported fields }
APIClient manages communication with the BuildBeaver Dynamic Build API - OpenAPI 3.0 API v0.3.00 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateJobsRequest ¶
type ApiCreateJobsRequest struct { ApiService *JobsApiService // contains filtered or unexported fields }
func (ApiCreateJobsRequest) BuildDefinition ¶
func (r ApiCreateJobsRequest) BuildDefinition(buildDefinition BuildDefinition) ApiCreateJobsRequest
Definitions for a set of jobs to create and add to a build
type ApiGetArtifactDataRequest ¶
type ApiGetArtifactDataRequest struct { ApiService *BuildApiService // contains filtered or unexported fields }
type ApiGetArtifactRequest ¶
type ApiGetArtifactRequest struct { ApiService *BuildApiService // contains filtered or unexported fields }
type ApiGetBuildRequest ¶
type ApiGetBuildRequest struct { ApiService *BuildApiService // contains filtered or unexported fields }
func (ApiGetBuildRequest) Execute ¶
func (r ApiGetBuildRequest) Execute() (*BuildGraph, *http.Response, error)
type ApiGetEventsRequest ¶
type ApiGetEventsRequest struct { ApiService *EventsApiService // contains filtered or unexported fields }
func (ApiGetEventsRequest) Execute ¶
func (r ApiGetEventsRequest) Execute() ([]Event, *http.Response, error)
func (ApiGetEventsRequest) Last ¶
func (r ApiGetEventsRequest) Last(last int64) ApiGetEventsRequest
The sequence number of the last event previously received; only events with higher sequence numbers than this will be returned.
func (ApiGetEventsRequest) Limit ¶
func (r ApiGetEventsRequest) Limit(limit int64) ApiGetEventsRequest
The maximum number of events to return
type ApiGetJobGraphRequest ¶
type ApiGetJobGraphRequest struct { ApiService *BuildApiService // contains filtered or unexported fields }
type ApiGetJobRequest ¶
type ApiGetJobRequest struct { ApiService *BuildApiService // contains filtered or unexported fields }
type ApiGetLogDataRequest ¶
type ApiGetLogDataRequest struct { ApiService *BuildApiService // contains filtered or unexported fields }
func (ApiGetLogDataRequest) Expand ¶
func (r ApiGetLogDataRequest) Expand(expand bool) ApiGetLogDataRequest
True to expand nested log blocks in the returned data, or false to only include a summary. Note that expand and start cannot both be specified.
func (ApiGetLogDataRequest) Plaintext ¶
func (r ApiGetLogDataRequest) Plaintext(plaintext bool) ApiGetLogDataRequest
True if the log data should be streamed as plain text, or false to stream a series of log entries as JSON.
func (ApiGetLogDataRequest) Start ¶
func (r ApiGetLogDataRequest) Start(start int32) ApiGetLogDataRequest
If provided, only log entries with sequence numbers greater than or equal to start will be returned. Note that expand and start cannot both be specified.
type ApiGetLogDescriptorRequest ¶
type ApiGetLogDescriptorRequest struct { ApiService *BuildApiService // contains filtered or unexported fields }
func (ApiGetLogDescriptorRequest) Execute ¶
func (r ApiGetLogDescriptorRequest) Execute() (*LogDescriptor, *http.Response, error)
type ApiListArtifactsRequest ¶
type ApiListArtifactsRequest struct { ApiService *BuildApiService // contains filtered or unexported fields }
func (ApiListArtifactsRequest) Cursor ¶
func (r ApiListArtifactsRequest) Cursor(cursor string) ApiListArtifactsRequest
An opaque value obtained from a prior results page that can be used to request the next or previous page of results. If not specified then the first page of results will be returned.
func (ApiListArtifactsRequest) Execute ¶
func (r ApiListArtifactsRequest) Execute() (*ArtifactsPaginatedResponse, *http.Response, error)
func (ApiListArtifactsRequest) GroupName ¶
func (r ApiListArtifactsRequest) GroupName(groupName string) ApiListArtifactsRequest
If provided, only artifacts associated with this artifact group name will be returned. This name much match the name provided in the build definition.
func (ApiListArtifactsRequest) JobName ¶
func (r ApiListArtifactsRequest) JobName(jobName string) ApiListArtifactsRequest
If provided, only artifacts produced by this job will be returned.
func (ApiListArtifactsRequest) Limit ¶
func (r ApiListArtifactsRequest) Limit(limit int32) ApiListArtifactsRequest
The maximum number of results to return from this call. Additional results will be available in other pages via the returned cursor values.
func (ApiListArtifactsRequest) Workflow ¶
func (r ApiListArtifactsRequest) Workflow(workflow string) ApiListArtifactsRequest
If provided, only artifacts produced by this workflow will be returned.
type ApiPingRequest ¶
type ApiPingRequest struct { ApiService *BuildApiService // contains filtered or unexported fields }
type Artifact ¶
type Artifact struct { // A link to the Artifact on the BuildBeaver server Url string `json:"url"` Id string `json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Etag string `json:"etag"` // Name of the artifact. Name string `json:"name"` // The ID of the step (within a job) that created this artifact. StepId string `json:"step_id"` // The name associated with the one or more artifacts identified by an ArtifactDefinition in the build config. GroupName string `json:"group_name"` // The filesystem path that the artifact was found at, relative to the job workspace. Path string `json:"path"` // tThe type of hashing algorithm used to hash the data. HashType string `json:"hash_type"` // The hex-encoded hash of the artifact data. This This may be set later if the hash is not known yet. Hash string `json:"hash"` // Size of the artifact file in bytes. Size int32 `json:"size"` // Mime type of the artifact, or empty if not known. Mime string `json:"mime"` // Sealed is true once the data for the artifact has successfully been uploaded and the file contents are now locked. Until Sealed is true various pieces of metadata such as the file size and hash etc. will be unset. Note that if sealed is false it doesn't necessarily mean no data has been uploaded to the blob store yet, and so we must still verify that the backing data is deleted before garbage collecting unsealed artifact files. Sealed bool `json:"sealed"` // URL to use for fetching the bytes of data making up the artifact. DataUrl string `json:"data_url"` AdditionalProperties map[string]interface{} }
Artifact struct for Artifact
func NewArtifact ¶
func NewArtifact(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, name string, stepId string, groupName string, path string, hashType string, hash string, size int32, mime string, sealed bool, dataUrl string) *Artifact
NewArtifact instantiates a new Artifact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewArtifactWithDefaults ¶
func NewArtifactWithDefaults() *Artifact
NewArtifactWithDefaults instantiates a new Artifact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Artifact) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Artifact) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Artifact) GetDataUrl ¶
GetDataUrl returns the DataUrl field value
func (*Artifact) GetDataUrlOk ¶
GetDataUrlOk returns a tuple with the DataUrl field value and a boolean to check if the value has been set.
func (*Artifact) GetEtagOk ¶
GetEtagOk returns a tuple with the Etag field value and a boolean to check if the value has been set.
func (*Artifact) GetGroupName ¶
GetGroupName returns the GroupName field value
func (*Artifact) GetGroupNameOk ¶
GetGroupNameOk returns a tuple with the GroupName field value and a boolean to check if the value has been set.
func (*Artifact) GetHashOk ¶
GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.
func (*Artifact) GetHashType ¶
GetHashType returns the HashType field value
func (*Artifact) GetHashTypeOk ¶
GetHashTypeOk returns a tuple with the HashType field value and a boolean to check if the value has been set.
func (*Artifact) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Artifact) GetMimeOk ¶
GetMimeOk returns a tuple with the Mime field value and a boolean to check if the value has been set.
func (*Artifact) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Artifact) GetPathOk ¶
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*Artifact) GetSealedOk ¶
GetSealedOk returns a tuple with the Sealed field value and a boolean to check if the value has been set.
func (*Artifact) GetSizeOk ¶
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*Artifact) GetStepIdOk ¶
GetStepIdOk returns a tuple with the StepId field value and a boolean to check if the value has been set.
func (*Artifact) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Artifact) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Artifact) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (Artifact) MarshalJSON ¶
func (*Artifact) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Artifact) SetGroupName ¶
SetGroupName sets field value
func (*Artifact) SetHashType ¶
SetHashType sets field value
func (*Artifact) SetUpdatedAt ¶
SetUpdatedAt sets field value
func (*Artifact) UnmarshalJSON ¶
type ArtifactDefinition ¶
type ArtifactDefinition struct { // Uniquely identifies the group of artifacts specified in paths Name string `json:"name"` // One or more relative paths to artifacts that should be uploaded at the end of the build; these paths will be globbed, so that each path may identify one or more actual files Paths []string `json:"paths"` AdditionalProperties map[string]interface{} }
ArtifactDefinition struct for ArtifactDefinition
func NewArtifactDefinition ¶
func NewArtifactDefinition(name string, paths []string) *ArtifactDefinition
NewArtifactDefinition instantiates a new ArtifactDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewArtifactDefinitionWithDefaults ¶
func NewArtifactDefinitionWithDefaults() *ArtifactDefinition
NewArtifactDefinitionWithDefaults instantiates a new ArtifactDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ArtifactDefinition) GetName ¶
func (o *ArtifactDefinition) GetName() string
GetName returns the Name field value
func (*ArtifactDefinition) GetNameOk ¶
func (o *ArtifactDefinition) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ArtifactDefinition) GetPaths ¶
func (o *ArtifactDefinition) GetPaths() []string
GetPaths returns the Paths field value
func (*ArtifactDefinition) GetPathsOk ¶
func (o *ArtifactDefinition) GetPathsOk() ([]string, bool)
GetPathsOk returns a tuple with the Paths field value and a boolean to check if the value has been set.
func (ArtifactDefinition) MarshalJSON ¶
func (o ArtifactDefinition) MarshalJSON() ([]byte, error)
func (*ArtifactDefinition) SetName ¶
func (o *ArtifactDefinition) SetName(v string)
SetName sets field value
func (*ArtifactDefinition) SetPaths ¶
func (o *ArtifactDefinition) SetPaths(v []string)
SetPaths sets field value
func (ArtifactDefinition) ToMap ¶
func (o ArtifactDefinition) ToMap() (map[string]interface{}, error)
func (*ArtifactDefinition) UnmarshalJSON ¶
func (o *ArtifactDefinition) UnmarshalJSON(bytes []byte) (err error)
type ArtifactDependency ¶
type ArtifactDependency struct { // The name of the workflow containing the job that will produce the artifact(s), or an empty string for the default workflow. Workflow string `json:"workflow"` // The name of the job that that will produce the artifact(s). JobName string `json:"job_name"` // The name of the group of artifacts. GroupName string `json:"group_name"` AdditionalProperties map[string]interface{} }
ArtifactDependency struct for ArtifactDependency
func NewArtifactDependency ¶
func NewArtifactDependency(workflow string, jobName string, groupName string) *ArtifactDependency
NewArtifactDependency instantiates a new ArtifactDependency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewArtifactDependencyWithDefaults ¶
func NewArtifactDependencyWithDefaults() *ArtifactDependency
NewArtifactDependencyWithDefaults instantiates a new ArtifactDependency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ArtifactDependency) GetGroupName ¶
func (o *ArtifactDependency) GetGroupName() string
GetGroupName returns the GroupName field value
func (*ArtifactDependency) GetGroupNameOk ¶
func (o *ArtifactDependency) GetGroupNameOk() (*string, bool)
GetGroupNameOk returns a tuple with the GroupName field value and a boolean to check if the value has been set.
func (*ArtifactDependency) GetJobName ¶
func (o *ArtifactDependency) GetJobName() string
GetJobName returns the JobName field value
func (*ArtifactDependency) GetJobNameOk ¶
func (o *ArtifactDependency) GetJobNameOk() (*string, bool)
GetJobNameOk returns a tuple with the JobName field value and a boolean to check if the value has been set.
func (*ArtifactDependency) GetWorkflow ¶
func (o *ArtifactDependency) GetWorkflow() string
GetWorkflow returns the Workflow field value
func (*ArtifactDependency) GetWorkflowOk ¶
func (o *ArtifactDependency) GetWorkflowOk() (*string, bool)
GetWorkflowOk returns a tuple with the Workflow field value and a boolean to check if the value has been set.
func (ArtifactDependency) MarshalJSON ¶
func (o ArtifactDependency) MarshalJSON() ([]byte, error)
func (*ArtifactDependency) SetGroupName ¶
func (o *ArtifactDependency) SetGroupName(v string)
SetGroupName sets field value
func (*ArtifactDependency) SetJobName ¶
func (o *ArtifactDependency) SetJobName(v string)
SetJobName sets field value
func (*ArtifactDependency) SetWorkflow ¶
func (o *ArtifactDependency) SetWorkflow(v string)
SetWorkflow sets field value
func (ArtifactDependency) ToMap ¶
func (o ArtifactDependency) ToMap() (map[string]interface{}, error)
func (*ArtifactDependency) UnmarshalJSON ¶
func (o *ArtifactDependency) UnmarshalJSON(bytes []byte) (err error)
type ArtifactsPaginatedResponse ¶
type ArtifactsPaginatedResponse struct { // The type of objects contained in the results, in this case 'artifact' Kind string `json:"kind"` Results []Artifact `json:"results"` // A URL to fetch to obtain the previous page of results before this one. PrevUrl *string `json:"prev_url,omitempty"` // A cursor that can be used as a query parameter to obtain the previous page of results before this one. PrevCursor *string `json:"prev_cursor,omitempty"` // A URL to fetch to obtain the next page of results after this one. NextUrl *string `json:"next_url,omitempty"` // A cursor that can be used as a query parameter to obtain the next page of results after this one. NextCursor *string `json:"next_cursor,omitempty"` AdditionalProperties map[string]interface{} }
ArtifactsPaginatedResponse struct for ArtifactsPaginatedResponse
func NewArtifactsPaginatedResponse ¶
func NewArtifactsPaginatedResponse(kind string, results []Artifact) *ArtifactsPaginatedResponse
NewArtifactsPaginatedResponse instantiates a new ArtifactsPaginatedResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewArtifactsPaginatedResponseWithDefaults ¶
func NewArtifactsPaginatedResponseWithDefaults() *ArtifactsPaginatedResponse
NewArtifactsPaginatedResponseWithDefaults instantiates a new ArtifactsPaginatedResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ArtifactsPaginatedResponse) GetKind ¶
func (o *ArtifactsPaginatedResponse) GetKind() string
GetKind returns the Kind field value
func (*ArtifactsPaginatedResponse) GetKindOk ¶
func (o *ArtifactsPaginatedResponse) GetKindOk() (*string, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*ArtifactsPaginatedResponse) GetNextCursor ¶
func (o *ArtifactsPaginatedResponse) GetNextCursor() string
GetNextCursor returns the NextCursor field value if set, zero value otherwise.
func (*ArtifactsPaginatedResponse) GetNextCursorOk ¶
func (o *ArtifactsPaginatedResponse) GetNextCursorOk() (*string, bool)
GetNextCursorOk returns a tuple with the NextCursor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactsPaginatedResponse) GetNextUrl ¶
func (o *ArtifactsPaginatedResponse) GetNextUrl() string
GetNextUrl returns the NextUrl field value if set, zero value otherwise.
func (*ArtifactsPaginatedResponse) GetNextUrlOk ¶
func (o *ArtifactsPaginatedResponse) GetNextUrlOk() (*string, bool)
GetNextUrlOk returns a tuple with the NextUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactsPaginatedResponse) GetPrevCursor ¶
func (o *ArtifactsPaginatedResponse) GetPrevCursor() string
GetPrevCursor returns the PrevCursor field value if set, zero value otherwise.
func (*ArtifactsPaginatedResponse) GetPrevCursorOk ¶
func (o *ArtifactsPaginatedResponse) GetPrevCursorOk() (*string, bool)
GetPrevCursorOk returns a tuple with the PrevCursor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactsPaginatedResponse) GetPrevUrl ¶
func (o *ArtifactsPaginatedResponse) GetPrevUrl() string
GetPrevUrl returns the PrevUrl field value if set, zero value otherwise.
func (*ArtifactsPaginatedResponse) GetPrevUrlOk ¶
func (o *ArtifactsPaginatedResponse) GetPrevUrlOk() (*string, bool)
GetPrevUrlOk returns a tuple with the PrevUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactsPaginatedResponse) GetResults ¶
func (o *ArtifactsPaginatedResponse) GetResults() []Artifact
GetResults returns the Results field value
func (*ArtifactsPaginatedResponse) GetResultsOk ¶
func (o *ArtifactsPaginatedResponse) GetResultsOk() ([]Artifact, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (*ArtifactsPaginatedResponse) HasNextCursor ¶
func (o *ArtifactsPaginatedResponse) HasNextCursor() bool
HasNextCursor returns a boolean if a field has been set.
func (*ArtifactsPaginatedResponse) HasNextUrl ¶
func (o *ArtifactsPaginatedResponse) HasNextUrl() bool
HasNextUrl returns a boolean if a field has been set.
func (*ArtifactsPaginatedResponse) HasPrevCursor ¶
func (o *ArtifactsPaginatedResponse) HasPrevCursor() bool
HasPrevCursor returns a boolean if a field has been set.
func (*ArtifactsPaginatedResponse) HasPrevUrl ¶
func (o *ArtifactsPaginatedResponse) HasPrevUrl() bool
HasPrevUrl returns a boolean if a field has been set.
func (ArtifactsPaginatedResponse) MarshalJSON ¶
func (o ArtifactsPaginatedResponse) MarshalJSON() ([]byte, error)
func (*ArtifactsPaginatedResponse) SetKind ¶
func (o *ArtifactsPaginatedResponse) SetKind(v string)
SetKind sets field value
func (*ArtifactsPaginatedResponse) SetNextCursor ¶
func (o *ArtifactsPaginatedResponse) SetNextCursor(v string)
SetNextCursor gets a reference to the given string and assigns it to the NextCursor field.
func (*ArtifactsPaginatedResponse) SetNextUrl ¶
func (o *ArtifactsPaginatedResponse) SetNextUrl(v string)
SetNextUrl gets a reference to the given string and assigns it to the NextUrl field.
func (*ArtifactsPaginatedResponse) SetPrevCursor ¶
func (o *ArtifactsPaginatedResponse) SetPrevCursor(v string)
SetPrevCursor gets a reference to the given string and assigns it to the PrevCursor field.
func (*ArtifactsPaginatedResponse) SetPrevUrl ¶
func (o *ArtifactsPaginatedResponse) SetPrevUrl(v string)
SetPrevUrl gets a reference to the given string and assigns it to the PrevUrl field.
func (*ArtifactsPaginatedResponse) SetResults ¶
func (o *ArtifactsPaginatedResponse) SetResults(v []Artifact)
SetResults sets field value
func (ArtifactsPaginatedResponse) ToMap ¶
func (o ArtifactsPaginatedResponse) ToMap() (map[string]interface{}, error)
func (*ArtifactsPaginatedResponse) UnmarshalJSON ¶
func (o *ArtifactsPaginatedResponse) UnmarshalJSON(bytes []byte) (err error)
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Build ¶
type Build struct { // A link to the Build resource on the BuildBeaver server Url string `json:"url"` Id string `json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at,omitempty"` Etag string `json:"etag"` // Name of the build, in URL format. Build names are typically numbers converted to strings. Name string `json:"name"` // RepoID of the repo being built. RepoId string `json:"repo_id"` // CommitID that is being built. CommitId string `json:"commit_id"` // LogDescriptorID for the log for this build. LogDescriptorId string `json:"log_descriptor_id"` // Ref is the git ref the build is for (e.g. branch or tag). Ref string `json:"ref"` // Status reflects where the build is in the queue. Status string `json:"status"` Timings WorkflowTimings `json:"timings"` // Error is set if the build finished with an error (or nil if the build succeeded). Error *string `json:"error,omitempty"` Opts BuildOptions `json:"opts"` // URL of the log for this build. LogDescriptorUrl string `json:"log_descriptor_url"` // URL to use for searching for artifacts from this build. ArtifactSearchUrl string `json:"artifact_search_url"` AdditionalProperties map[string]interface{} }
Build struct for Build
func NewBuild ¶
func NewBuild(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, name string, repoId string, commitId string, logDescriptorId string, ref string, status string, timings WorkflowTimings, opts BuildOptions, logDescriptorUrl string, artifactSearchUrl string) *Build
NewBuild instantiates a new Build object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBuildWithDefaults ¶
func NewBuildWithDefaults() *Build
NewBuildWithDefaults instantiates a new Build object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Build) GetArtifactSearchUrl ¶
GetArtifactSearchUrl returns the ArtifactSearchUrl field value
func (*Build) GetArtifactSearchUrlOk ¶
GetArtifactSearchUrlOk returns a tuple with the ArtifactSearchUrl field value and a boolean to check if the value has been set.
func (*Build) GetCommitId ¶
GetCommitId returns the CommitId field value
func (*Build) GetCommitIdOk ¶
GetCommitIdOk returns a tuple with the CommitId field value and a boolean to check if the value has been set.
func (*Build) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Build) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Build) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*Build) GetDeletedAtOk ¶
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Build) GetErrorOk ¶
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Build) GetEtagOk ¶
GetEtagOk returns a tuple with the Etag field value and a boolean to check if the value has been set.
func (*Build) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Build) GetLogDescriptorId ¶
GetLogDescriptorId returns the LogDescriptorId field value
func (*Build) GetLogDescriptorIdOk ¶
GetLogDescriptorIdOk returns a tuple with the LogDescriptorId field value and a boolean to check if the value has been set.
func (*Build) GetLogDescriptorUrl ¶
GetLogDescriptorUrl returns the LogDescriptorUrl field value
func (*Build) GetLogDescriptorUrlOk ¶
GetLogDescriptorUrlOk returns a tuple with the LogDescriptorUrl field value and a boolean to check if the value has been set.
func (*Build) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Build) GetOptsOk ¶
func (o *Build) GetOptsOk() (*BuildOptions, bool)
GetOptsOk returns a tuple with the Opts field value and a boolean to check if the value has been set.
func (*Build) GetRefOk ¶
GetRefOk returns a tuple with the Ref field value and a boolean to check if the value has been set.
func (*Build) GetRepoIdOk ¶
GetRepoIdOk returns a tuple with the RepoId field value and a boolean to check if the value has been set.
func (*Build) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Build) GetTimings ¶
func (o *Build) GetTimings() WorkflowTimings
GetTimings returns the Timings field value
func (*Build) GetTimingsOk ¶
func (o *Build) GetTimingsOk() (*WorkflowTimings, bool)
GetTimingsOk returns a tuple with the Timings field value and a boolean to check if the value has been set.
func (*Build) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Build) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Build) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Build) HasDeletedAt ¶
HasDeletedAt returns a boolean if a field has been set.
func (Build) MarshalJSON ¶
func (*Build) SetArtifactSearchUrl ¶
SetArtifactSearchUrl sets field value
func (*Build) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Build) SetDeletedAt ¶
SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.
func (*Build) SetError ¶
SetError gets a reference to the given string and assigns it to the Error field.
func (*Build) SetLogDescriptorId ¶
SetLogDescriptorId sets field value
func (*Build) SetLogDescriptorUrl ¶
SetLogDescriptorUrl sets field value
func (*Build) SetTimings ¶
func (o *Build) SetTimings(v WorkflowTimings)
SetTimings sets field value
func (*Build) SetUpdatedAt ¶
SetUpdatedAt sets field value
func (*Build) UnmarshalJSON ¶
type BuildApiService ¶
type BuildApiService service
BuildApiService BuildApi service
func (*BuildApiService) GetArtifact ¶
func (a *BuildApiService) GetArtifact(ctx context.Context, artifactId string) ApiGetArtifactRequest
GetArtifact Reads information about an artifact.
Reads information about a particular artifact, not the artifact data itself.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param artifactId The ID of the artifact to read information about. @return ApiGetArtifactRequest
func (*BuildApiService) GetArtifactData ¶
func (a *BuildApiService) GetArtifactData(ctx context.Context, artifactId string) ApiGetArtifactDataRequest
GetArtifactData Reads the data for an artifact.
Reads the data for a particular artifact.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param artifactId The ID of the artifact to read information about. @return ApiGetArtifactDataRequest
func (*BuildApiService) GetArtifactDataExecute ¶
func (a *BuildApiService) GetArtifactDataExecute(r ApiGetArtifactDataRequest) (*os.File, *http.Response, error)
Execute executes the request
@return *os.File
func (*BuildApiService) GetArtifactExecute ¶
func (a *BuildApiService) GetArtifactExecute(r ApiGetArtifactRequest) (*Artifact, *http.Response, error)
Execute executes the request
@return Artifact
func (*BuildApiService) GetBuild ¶
func (a *BuildApiService) GetBuild(ctx context.Context, buildId string) ApiGetBuildRequest
GetBuild Reads the current build graph for a build.
Reads the entire current build graph for a build, including all jobs and steps and their current status.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param buildId The ID of the build to read. @return ApiGetBuildRequest
func (*BuildApiService) GetBuildExecute ¶
func (a *BuildApiService) GetBuildExecute(r ApiGetBuildRequest) (*BuildGraph, *http.Response, error)
Execute executes the request
@return BuildGraph
func (*BuildApiService) GetJob ¶
func (a *BuildApiService) GetJob(ctx context.Context, jobId string) ApiGetJobRequest
GetJob Reads information about a job.
Reads information about a job. This includes the job's current status, but does not include steps within the job.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param jobId The ID of the job to read. @return ApiGetJobRequest
func (*BuildApiService) GetJobExecute ¶
func (a *BuildApiService) GetJobExecute(r ApiGetJobRequest) (*Job, *http.Response, error)
Execute executes the request
@return Job
func (*BuildApiService) GetJobGraph ¶
func (a *BuildApiService) GetJobGraph(ctx context.Context, jobId string) ApiGetJobGraphRequest
GetJobGraph Reads information about a job's graph.
Reads information about a job's graph, including information about the job's steps.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param jobId The ID of the job to read. @return ApiGetJobGraphRequest
func (*BuildApiService) GetJobGraphExecute ¶
func (a *BuildApiService) GetJobGraphExecute(r ApiGetJobGraphRequest) (*JobGraph, *http.Response, error)
Execute executes the request
@return JobGraph
func (*BuildApiService) GetLogData ¶
func (a *BuildApiService) GetLogData(ctx context.Context, logDescriptorId string) ApiGetLogDataRequest
GetLogData Reads part of a log.
Reads the part of the data for a log, identified by the specified Log Descriptor ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param logDescriptorId A Log Descriptor ID identifying the part of the log to read data from. @return ApiGetLogDataRequest
func (*BuildApiService) GetLogDataExecute ¶
func (a *BuildApiService) GetLogDataExecute(r ApiGetLogDataRequest) (*os.File, *http.Response, error)
Execute executes the request
@return *os.File
func (*BuildApiService) GetLogDescriptor ¶
func (a *BuildApiService) GetLogDescriptor(ctx context.Context, logDescriptorId string) ApiGetLogDescriptorRequest
GetLogDescriptor Fetches a Log Descriptor containing information about part of a log.
Fetches a Log Descriptor containing information about part of a log.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param logDescriptorId The ID of the log descriptor to read. @return ApiGetLogDescriptorRequest
func (*BuildApiService) GetLogDescriptorExecute ¶
func (a *BuildApiService) GetLogDescriptorExecute(r ApiGetLogDescriptorRequest) (*LogDescriptor, *http.Response, error)
Execute executes the request
@return LogDescriptor
func (*BuildApiService) ListArtifacts ¶
func (a *BuildApiService) ListArtifacts(ctx context.Context, buildId string) ApiListArtifactsRequest
ListArtifacts Reads information about all or some artifacts from a build.
Reads a paginated list containing information about artifacts from the build, optionally filtered by search criteria.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param buildId The ID of the build to read artifacts for. @return ApiListArtifactsRequest
func (*BuildApiService) ListArtifactsExecute ¶
func (a *BuildApiService) ListArtifactsExecute(r ApiListArtifactsRequest) (*ArtifactsPaginatedResponse, *http.Response, error)
Execute executes the request
@return ArtifactsPaginatedResponse
func (*BuildApiService) Ping ¶
func (a *BuildApiService) Ping(ctx context.Context) ApiPingRequest
Ping Checks for connectivity to the Dynamic API.
Checks for connectivity to the Dynamic API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPingRequest
func (*BuildApiService) PingExecute ¶
func (a *BuildApiService) PingExecute(r ApiPingRequest) (*http.Response, error)
Execute executes the request
type BuildDefinition ¶
type BuildDefinition struct { // The version number of the build definition format used Version string `json:"version"` Jobs []JobDefinition `json:"jobs"` AdditionalProperties map[string]interface{} }
BuildDefinition struct for BuildDefinition
func NewBuildDefinition ¶
func NewBuildDefinition(version string, jobs []JobDefinition) *BuildDefinition
NewBuildDefinition instantiates a new BuildDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBuildDefinitionWithDefaults ¶
func NewBuildDefinitionWithDefaults() *BuildDefinition
NewBuildDefinitionWithDefaults instantiates a new BuildDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BuildDefinition) GetJobs ¶
func (o *BuildDefinition) GetJobs() []JobDefinition
GetJobs returns the Jobs field value
func (*BuildDefinition) GetJobsOk ¶
func (o *BuildDefinition) GetJobsOk() ([]JobDefinition, bool)
GetJobsOk returns a tuple with the Jobs field value and a boolean to check if the value has been set.
func (*BuildDefinition) GetVersion ¶
func (o *BuildDefinition) GetVersion() string
GetVersion returns the Version field value
func (*BuildDefinition) GetVersionOk ¶
func (o *BuildDefinition) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (BuildDefinition) MarshalJSON ¶
func (o BuildDefinition) MarshalJSON() ([]byte, error)
func (*BuildDefinition) SetJobs ¶
func (o *BuildDefinition) SetJobs(v []JobDefinition)
SetJobs sets field value
func (*BuildDefinition) SetVersion ¶
func (o *BuildDefinition) SetVersion(v string)
SetVersion sets field value
func (BuildDefinition) ToMap ¶
func (o BuildDefinition) ToMap() (map[string]interface{}, error)
func (*BuildDefinition) UnmarshalJSON ¶
func (o *BuildDefinition) UnmarshalJSON(bytes []byte) (err error)
type BuildGraph ¶
type BuildGraph struct { Build Build `json:"build"` // The current set of jobs making up the build, including the full job graph/steps for each. Jobs []JobGraph `json:"jobs"` Repo Repo `json:"repo"` Commit Commit `json:"commit"` AdditionalProperties map[string]interface{} }
BuildGraph struct for BuildGraph
func NewBuildGraph ¶
func NewBuildGraph(build Build, jobs []JobGraph, repo Repo, commit Commit) *BuildGraph
NewBuildGraph instantiates a new BuildGraph object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBuildGraphWithDefaults ¶
func NewBuildGraphWithDefaults() *BuildGraph
NewBuildGraphWithDefaults instantiates a new BuildGraph object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BuildGraph) GetBuild ¶
func (o *BuildGraph) GetBuild() Build
GetBuild returns the Build field value
func (*BuildGraph) GetBuildOk ¶
func (o *BuildGraph) GetBuildOk() (*Build, bool)
GetBuildOk returns a tuple with the Build field value and a boolean to check if the value has been set.
func (*BuildGraph) GetCommit ¶
func (o *BuildGraph) GetCommit() Commit
GetCommit returns the Commit field value
func (*BuildGraph) GetCommitOk ¶
func (o *BuildGraph) GetCommitOk() (*Commit, bool)
GetCommitOk returns a tuple with the Commit field value and a boolean to check if the value has been set.
func (*BuildGraph) GetJobs ¶
func (o *BuildGraph) GetJobs() []JobGraph
GetJobs returns the Jobs field value
func (*BuildGraph) GetJobsOk ¶
func (o *BuildGraph) GetJobsOk() ([]JobGraph, bool)
GetJobsOk returns a tuple with the Jobs field value and a boolean to check if the value has been set.
func (*BuildGraph) GetRepo ¶
func (o *BuildGraph) GetRepo() Repo
GetRepo returns the Repo field value
func (*BuildGraph) GetRepoOk ¶
func (o *BuildGraph) GetRepoOk() (*Repo, bool)
GetRepoOk returns a tuple with the Repo field value and a boolean to check if the value has been set.
func (BuildGraph) MarshalJSON ¶
func (o BuildGraph) MarshalJSON() ([]byte, error)
func (BuildGraph) ToMap ¶
func (o BuildGraph) ToMap() (map[string]interface{}, error)
func (*BuildGraph) UnmarshalJSON ¶
func (o *BuildGraph) UnmarshalJSON(bytes []byte) (err error)
type BuildOptions ¶
type BuildOptions struct { // True to force all jobs in the build to run by ignoring fingerprints. Force bool `json:"force"` // Contains zero or more workflows, jobs and steps to run. If no nodes are specified then all workflows, jobs and steps will be run. NodesToRun []NodeFQN `json:"nodes_to_run"` AdditionalProperties map[string]interface{} }
BuildOptions struct for BuildOptions
func NewBuildOptions ¶
func NewBuildOptions(force bool, nodesToRun []NodeFQN) *BuildOptions
NewBuildOptions instantiates a new BuildOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBuildOptionsWithDefaults ¶
func NewBuildOptionsWithDefaults() *BuildOptions
NewBuildOptionsWithDefaults instantiates a new BuildOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BuildOptions) GetForce ¶
func (o *BuildOptions) GetForce() bool
GetForce returns the Force field value
func (*BuildOptions) GetForceOk ¶
func (o *BuildOptions) GetForceOk() (*bool, bool)
GetForceOk returns a tuple with the Force field value and a boolean to check if the value has been set.
func (*BuildOptions) GetNodesToRun ¶
func (o *BuildOptions) GetNodesToRun() []NodeFQN
GetNodesToRun returns the NodesToRun field value
func (*BuildOptions) GetNodesToRunOk ¶
func (o *BuildOptions) GetNodesToRunOk() ([]NodeFQN, bool)
GetNodesToRunOk returns a tuple with the NodesToRun field value and a boolean to check if the value has been set.
func (BuildOptions) MarshalJSON ¶
func (o BuildOptions) MarshalJSON() ([]byte, error)
func (*BuildOptions) SetNodesToRun ¶
func (o *BuildOptions) SetNodesToRun(v []NodeFQN)
SetNodesToRun sets field value
func (BuildOptions) ToMap ¶
func (o BuildOptions) ToMap() (map[string]interface{}, error)
func (*BuildOptions) UnmarshalJSON ¶
func (o *BuildOptions) UnmarshalJSON(bytes []byte) (err error)
type Commit ¶
type Commit struct { Id string `json:"id"` CreatedAt time.Time `json:"created_at"` // ID of the repo that the commit was made against. RepoId string `json:"repo_id"` // The type of the config file found in the commit (Config itself is not included in the document). ConfigType string `json:"config_type"` // The unique SHA hash of the commit. Sha string `json:"sha"` // The commit message. Message string `json:"message"` // The ID of the legal entity that authored the commit, if known. AuthorId string `json:"author_id"` // The author name recorded on the commit. AuthorName string `json:"author_name"` // The author email address recorded on the commit. AuthorEmail string `json:"author_email"` // The ID of the legal entity that committed the commit, if known. CommitterId string `json:"committer_id"` // The committer name recorded on the commit, if any. CommitterName string `json:"committer_name"` // The committer email address recorded on the commit, if any. CommitterEmail string `json:"committer_email"` // A link (URL) to the Commit in the SCM, for users to browse to. Link string `json:"link"` // URL to fetch additional information about the committer of this commit. CommitterUrl string `json:"committer_url"` // URL to fetch additional information about the author of this commit. AuthorUrl string `json:"author_url"` AdditionalProperties map[string]interface{} }
Commit struct for Commit
func NewCommit ¶
func NewCommit(id string, createdAt time.Time, repoId string, configType string, sha string, message string, authorId string, authorName string, authorEmail string, committerId string, committerName string, committerEmail string, link string, committerUrl string, authorUrl string) *Commit
NewCommit instantiates a new Commit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCommitWithDefaults ¶
func NewCommitWithDefaults() *Commit
NewCommitWithDefaults instantiates a new Commit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Commit) GetAuthorEmail ¶
GetAuthorEmail returns the AuthorEmail field value
func (*Commit) GetAuthorEmailOk ¶
GetAuthorEmailOk returns a tuple with the AuthorEmail field value and a boolean to check if the value has been set.
func (*Commit) GetAuthorId ¶
GetAuthorId returns the AuthorId field value
func (*Commit) GetAuthorIdOk ¶
GetAuthorIdOk returns a tuple with the AuthorId field value and a boolean to check if the value has been set.
func (*Commit) GetAuthorName ¶
GetAuthorName returns the AuthorName field value
func (*Commit) GetAuthorNameOk ¶
GetAuthorNameOk returns a tuple with the AuthorName field value and a boolean to check if the value has been set.
func (*Commit) GetAuthorUrl ¶
GetAuthorUrl returns the AuthorUrl field value
func (*Commit) GetAuthorUrlOk ¶
GetAuthorUrlOk returns a tuple with the AuthorUrl field value and a boolean to check if the value has been set.
func (*Commit) GetCommitterEmail ¶
GetCommitterEmail returns the CommitterEmail field value
func (*Commit) GetCommitterEmailOk ¶
GetCommitterEmailOk returns a tuple with the CommitterEmail field value and a boolean to check if the value has been set.
func (*Commit) GetCommitterId ¶
GetCommitterId returns the CommitterId field value
func (*Commit) GetCommitterIdOk ¶
GetCommitterIdOk returns a tuple with the CommitterId field value and a boolean to check if the value has been set.
func (*Commit) GetCommitterName ¶
GetCommitterName returns the CommitterName field value
func (*Commit) GetCommitterNameOk ¶
GetCommitterNameOk returns a tuple with the CommitterName field value and a boolean to check if the value has been set.
func (*Commit) GetCommitterUrl ¶
GetCommitterUrl returns the CommitterUrl field value
func (*Commit) GetCommitterUrlOk ¶
GetCommitterUrlOk returns a tuple with the CommitterUrl field value and a boolean to check if the value has been set.
func (*Commit) GetConfigType ¶
GetConfigType returns the ConfigType field value
func (*Commit) GetConfigTypeOk ¶
GetConfigTypeOk returns a tuple with the ConfigType field value and a boolean to check if the value has been set.
func (*Commit) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Commit) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Commit) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Commit) GetLinkOk ¶
GetLinkOk returns a tuple with the Link field value and a boolean to check if the value has been set.
func (*Commit) GetMessage ¶
GetMessage returns the Message field value
func (*Commit) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*Commit) GetRepoIdOk ¶
GetRepoIdOk returns a tuple with the RepoId field value and a boolean to check if the value has been set.
func (*Commit) GetShaOk ¶
GetShaOk returns a tuple with the Sha field value and a boolean to check if the value has been set.
func (Commit) MarshalJSON ¶
func (*Commit) SetAuthorEmail ¶
SetAuthorEmail sets field value
func (*Commit) SetAuthorName ¶
SetAuthorName sets field value
func (*Commit) SetCommitterEmail ¶
SetCommitterEmail sets field value
func (*Commit) SetCommitterId ¶
SetCommitterId sets field value
func (*Commit) SetCommitterName ¶
SetCommitterName sets field value
func (*Commit) SetCommitterUrl ¶
SetCommitterUrl sets field value
func (*Commit) SetConfigType ¶
SetConfigType sets field value
func (*Commit) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Commit) UnmarshalJSON ¶
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DockerAWSAuth ¶
type DockerAWSAuth struct { // The ECR AWS region to authenticate to. AwsRegion *string `json:"aws_region,omitempty"` AwsAccessKeyId SecretString `json:"aws_access_key_id"` AwsSecretAccessKey SecretString `json:"aws_secret_access_key"` AdditionalProperties map[string]interface{} }
DockerAWSAuth struct for DockerAWSAuth
func NewDockerAWSAuth ¶
func NewDockerAWSAuth(awsAccessKeyId SecretString, awsSecretAccessKey SecretString) *DockerAWSAuth
NewDockerAWSAuth instantiates a new DockerAWSAuth object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDockerAWSAuthWithDefaults ¶
func NewDockerAWSAuthWithDefaults() *DockerAWSAuth
NewDockerAWSAuthWithDefaults instantiates a new DockerAWSAuth object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DockerAWSAuth) GetAwsAccessKeyId ¶
func (o *DockerAWSAuth) GetAwsAccessKeyId() SecretString
GetAwsAccessKeyId returns the AwsAccessKeyId field value
func (*DockerAWSAuth) GetAwsAccessKeyIdOk ¶
func (o *DockerAWSAuth) GetAwsAccessKeyIdOk() (*SecretString, bool)
GetAwsAccessKeyIdOk returns a tuple with the AwsAccessKeyId field value and a boolean to check if the value has been set.
func (*DockerAWSAuth) GetAwsRegion ¶
func (o *DockerAWSAuth) GetAwsRegion() string
GetAwsRegion returns the AwsRegion field value if set, zero value otherwise.
func (*DockerAWSAuth) GetAwsRegionOk ¶
func (o *DockerAWSAuth) GetAwsRegionOk() (*string, bool)
GetAwsRegionOk returns a tuple with the AwsRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DockerAWSAuth) GetAwsSecretAccessKey ¶
func (o *DockerAWSAuth) GetAwsSecretAccessKey() SecretString
GetAwsSecretAccessKey returns the AwsSecretAccessKey field value
func (*DockerAWSAuth) GetAwsSecretAccessKeyOk ¶
func (o *DockerAWSAuth) GetAwsSecretAccessKeyOk() (*SecretString, bool)
GetAwsSecretAccessKeyOk returns a tuple with the AwsSecretAccessKey field value and a boolean to check if the value has been set.
func (*DockerAWSAuth) HasAwsRegion ¶
func (o *DockerAWSAuth) HasAwsRegion() bool
HasAwsRegion returns a boolean if a field has been set.
func (DockerAWSAuth) MarshalJSON ¶
func (o DockerAWSAuth) MarshalJSON() ([]byte, error)
func (*DockerAWSAuth) SetAwsAccessKeyId ¶
func (o *DockerAWSAuth) SetAwsAccessKeyId(v SecretString)
SetAwsAccessKeyId sets field value
func (*DockerAWSAuth) SetAwsRegion ¶
func (o *DockerAWSAuth) SetAwsRegion(v string)
SetAwsRegion gets a reference to the given string and assigns it to the AwsRegion field.
func (*DockerAWSAuth) SetAwsSecretAccessKey ¶
func (o *DockerAWSAuth) SetAwsSecretAccessKey(v SecretString)
SetAwsSecretAccessKey sets field value
func (DockerAWSAuth) ToMap ¶
func (o DockerAWSAuth) ToMap() (map[string]interface{}, error)
func (*DockerAWSAuth) UnmarshalJSON ¶
func (o *DockerAWSAuth) UnmarshalJSON(bytes []byte) (err error)
type DockerAWSAuthDefinition ¶
type DockerAWSAuthDefinition struct { // The ECR AWS region to authenticate to. AwsRegion *string `json:"aws_region,omitempty"` AwsAccessKeyId SecretStringDefinition `json:"aws_access_key_id"` AwsSecretAccessKey SecretStringDefinition `json:"aws_secret_access_key"` AdditionalProperties map[string]interface{} }
DockerAWSAuthDefinition struct for DockerAWSAuthDefinition
func NewDockerAWSAuthDefinition ¶
func NewDockerAWSAuthDefinition(awsAccessKeyId SecretStringDefinition, awsSecretAccessKey SecretStringDefinition) *DockerAWSAuthDefinition
NewDockerAWSAuthDefinition instantiates a new DockerAWSAuthDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDockerAWSAuthDefinitionWithDefaults ¶
func NewDockerAWSAuthDefinitionWithDefaults() *DockerAWSAuthDefinition
NewDockerAWSAuthDefinitionWithDefaults instantiates a new DockerAWSAuthDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DockerAWSAuthDefinition) GetAwsAccessKeyId ¶
func (o *DockerAWSAuthDefinition) GetAwsAccessKeyId() SecretStringDefinition
GetAwsAccessKeyId returns the AwsAccessKeyId field value
func (*DockerAWSAuthDefinition) GetAwsAccessKeyIdOk ¶
func (o *DockerAWSAuthDefinition) GetAwsAccessKeyIdOk() (*SecretStringDefinition, bool)
GetAwsAccessKeyIdOk returns a tuple with the AwsAccessKeyId field value and a boolean to check if the value has been set.
func (*DockerAWSAuthDefinition) GetAwsRegion ¶
func (o *DockerAWSAuthDefinition) GetAwsRegion() string
GetAwsRegion returns the AwsRegion field value if set, zero value otherwise.
func (*DockerAWSAuthDefinition) GetAwsRegionOk ¶
func (o *DockerAWSAuthDefinition) GetAwsRegionOk() (*string, bool)
GetAwsRegionOk returns a tuple with the AwsRegion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DockerAWSAuthDefinition) GetAwsSecretAccessKey ¶
func (o *DockerAWSAuthDefinition) GetAwsSecretAccessKey() SecretStringDefinition
GetAwsSecretAccessKey returns the AwsSecretAccessKey field value
func (*DockerAWSAuthDefinition) GetAwsSecretAccessKeyOk ¶
func (o *DockerAWSAuthDefinition) GetAwsSecretAccessKeyOk() (*SecretStringDefinition, bool)
GetAwsSecretAccessKeyOk returns a tuple with the AwsSecretAccessKey field value and a boolean to check if the value has been set.
func (*DockerAWSAuthDefinition) HasAwsRegion ¶
func (o *DockerAWSAuthDefinition) HasAwsRegion() bool
HasAwsRegion returns a boolean if a field has been set.
func (DockerAWSAuthDefinition) MarshalJSON ¶
func (o DockerAWSAuthDefinition) MarshalJSON() ([]byte, error)
func (*DockerAWSAuthDefinition) SetAwsAccessKeyId ¶
func (o *DockerAWSAuthDefinition) SetAwsAccessKeyId(v SecretStringDefinition)
SetAwsAccessKeyId sets field value
func (*DockerAWSAuthDefinition) SetAwsRegion ¶
func (o *DockerAWSAuthDefinition) SetAwsRegion(v string)
SetAwsRegion gets a reference to the given string and assigns it to the AwsRegion field.
func (*DockerAWSAuthDefinition) SetAwsSecretAccessKey ¶
func (o *DockerAWSAuthDefinition) SetAwsSecretAccessKey(v SecretStringDefinition)
SetAwsSecretAccessKey sets field value
func (DockerAWSAuthDefinition) ToMap ¶
func (o DockerAWSAuthDefinition) ToMap() (map[string]interface{}, error)
func (*DockerAWSAuthDefinition) UnmarshalJSON ¶
func (o *DockerAWSAuthDefinition) UnmarshalJSON(bytes []byte) (err error)
type DockerBasicAuth ¶
type DockerBasicAuth struct { Username SecretString `json:"username"` Password SecretString `json:"password"` AdditionalProperties map[string]interface{} }
DockerBasicAuth struct for DockerBasicAuth
func NewDockerBasicAuth ¶
func NewDockerBasicAuth(username SecretString, password SecretString) *DockerBasicAuth
NewDockerBasicAuth instantiates a new DockerBasicAuth object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDockerBasicAuthWithDefaults ¶
func NewDockerBasicAuthWithDefaults() *DockerBasicAuth
NewDockerBasicAuthWithDefaults instantiates a new DockerBasicAuth object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DockerBasicAuth) GetPassword ¶
func (o *DockerBasicAuth) GetPassword() SecretString
GetPassword returns the Password field value
func (*DockerBasicAuth) GetPasswordOk ¶
func (o *DockerBasicAuth) GetPasswordOk() (*SecretString, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*DockerBasicAuth) GetUsername ¶
func (o *DockerBasicAuth) GetUsername() SecretString
GetUsername returns the Username field value
func (*DockerBasicAuth) GetUsernameOk ¶
func (o *DockerBasicAuth) GetUsernameOk() (*SecretString, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (DockerBasicAuth) MarshalJSON ¶
func (o DockerBasicAuth) MarshalJSON() ([]byte, error)
func (*DockerBasicAuth) SetPassword ¶
func (o *DockerBasicAuth) SetPassword(v SecretString)
SetPassword sets field value
func (*DockerBasicAuth) SetUsername ¶
func (o *DockerBasicAuth) SetUsername(v SecretString)
SetUsername sets field value
func (DockerBasicAuth) ToMap ¶
func (o DockerBasicAuth) ToMap() (map[string]interface{}, error)
func (*DockerBasicAuth) UnmarshalJSON ¶
func (o *DockerBasicAuth) UnmarshalJSON(bytes []byte) (err error)
type DockerBasicAuthDefinition ¶
type DockerBasicAuthDefinition struct { Username SecretStringDefinition `json:"username"` Password SecretStringDefinition `json:"password"` AdditionalProperties map[string]interface{} }
DockerBasicAuthDefinition struct for DockerBasicAuthDefinition
func NewDockerBasicAuthDefinition ¶
func NewDockerBasicAuthDefinition(username SecretStringDefinition, password SecretStringDefinition) *DockerBasicAuthDefinition
NewDockerBasicAuthDefinition instantiates a new DockerBasicAuthDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDockerBasicAuthDefinitionWithDefaults ¶
func NewDockerBasicAuthDefinitionWithDefaults() *DockerBasicAuthDefinition
NewDockerBasicAuthDefinitionWithDefaults instantiates a new DockerBasicAuthDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DockerBasicAuthDefinition) GetPassword ¶
func (o *DockerBasicAuthDefinition) GetPassword() SecretStringDefinition
GetPassword returns the Password field value
func (*DockerBasicAuthDefinition) GetPasswordOk ¶
func (o *DockerBasicAuthDefinition) GetPasswordOk() (*SecretStringDefinition, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*DockerBasicAuthDefinition) GetUsername ¶
func (o *DockerBasicAuthDefinition) GetUsername() SecretStringDefinition
GetUsername returns the Username field value
func (*DockerBasicAuthDefinition) GetUsernameOk ¶
func (o *DockerBasicAuthDefinition) GetUsernameOk() (*SecretStringDefinition, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (DockerBasicAuthDefinition) MarshalJSON ¶
func (o DockerBasicAuthDefinition) MarshalJSON() ([]byte, error)
func (*DockerBasicAuthDefinition) SetPassword ¶
func (o *DockerBasicAuthDefinition) SetPassword(v SecretStringDefinition)
SetPassword sets field value
func (*DockerBasicAuthDefinition) SetUsername ¶
func (o *DockerBasicAuthDefinition) SetUsername(v SecretStringDefinition)
SetUsername sets field value
func (DockerBasicAuthDefinition) ToMap ¶
func (o DockerBasicAuthDefinition) ToMap() (map[string]interface{}, error)
func (*DockerBasicAuthDefinition) UnmarshalJSON ¶
func (o *DockerBasicAuthDefinition) UnmarshalJSON(bytes []byte) (err error)
type DockerConfig ¶
type DockerConfig struct { // The default Docker image to run the job steps in, if the job is of type Docker Image string `json:"image"` // Determines if/when the Docker image is pulled during job execution, if the job is of type Docker Pull string `json:"pull"` BasicAuth *DockerBasicAuth `json:"basic_auth,omitempty"` AwsAuth *DockerAWSAuth `json:"aws_auth,omitempty"` // Path to the shell to use to run build scripts with inside the container Shell *string `json:"shell,omitempty"` AdditionalProperties map[string]interface{} }
DockerConfig struct for DockerConfig
func NewDockerConfig ¶
func NewDockerConfig(image string, pull string) *DockerConfig
NewDockerConfig instantiates a new DockerConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDockerConfigWithDefaults ¶
func NewDockerConfigWithDefaults() *DockerConfig
NewDockerConfigWithDefaults instantiates a new DockerConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DockerConfig) GetAwsAuth ¶
func (o *DockerConfig) GetAwsAuth() DockerAWSAuth
GetAwsAuth returns the AwsAuth field value if set, zero value otherwise.
func (*DockerConfig) GetAwsAuthOk ¶
func (o *DockerConfig) GetAwsAuthOk() (*DockerAWSAuth, bool)
GetAwsAuthOk returns a tuple with the AwsAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DockerConfig) GetBasicAuth ¶
func (o *DockerConfig) GetBasicAuth() DockerBasicAuth
GetBasicAuth returns the BasicAuth field value if set, zero value otherwise.
func (*DockerConfig) GetBasicAuthOk ¶
func (o *DockerConfig) GetBasicAuthOk() (*DockerBasicAuth, bool)
GetBasicAuthOk returns a tuple with the BasicAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DockerConfig) GetImage ¶
func (o *DockerConfig) GetImage() string
GetImage returns the Image field value
func (*DockerConfig) GetImageOk ¶
func (o *DockerConfig) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*DockerConfig) GetPull ¶
func (o *DockerConfig) GetPull() string
GetPull returns the Pull field value
func (*DockerConfig) GetPullOk ¶
func (o *DockerConfig) GetPullOk() (*string, bool)
GetPullOk returns a tuple with the Pull field value and a boolean to check if the value has been set.
func (*DockerConfig) GetShell ¶
func (o *DockerConfig) GetShell() string
GetShell returns the Shell field value if set, zero value otherwise.
func (*DockerConfig) GetShellOk ¶
func (o *DockerConfig) GetShellOk() (*string, bool)
GetShellOk returns a tuple with the Shell field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DockerConfig) HasAwsAuth ¶
func (o *DockerConfig) HasAwsAuth() bool
HasAwsAuth returns a boolean if a field has been set.
func (*DockerConfig) HasBasicAuth ¶
func (o *DockerConfig) HasBasicAuth() bool
HasBasicAuth returns a boolean if a field has been set.
func (*DockerConfig) HasShell ¶
func (o *DockerConfig) HasShell() bool
HasShell returns a boolean if a field has been set.
func (DockerConfig) MarshalJSON ¶
func (o DockerConfig) MarshalJSON() ([]byte, error)
func (*DockerConfig) SetAwsAuth ¶
func (o *DockerConfig) SetAwsAuth(v DockerAWSAuth)
SetAwsAuth gets a reference to the given DockerAWSAuth and assigns it to the AwsAuth field.
func (*DockerConfig) SetBasicAuth ¶
func (o *DockerConfig) SetBasicAuth(v DockerBasicAuth)
SetBasicAuth gets a reference to the given DockerBasicAuth and assigns it to the BasicAuth field.
func (*DockerConfig) SetShell ¶
func (o *DockerConfig) SetShell(v string)
SetShell gets a reference to the given string and assigns it to the Shell field.
func (DockerConfig) ToMap ¶
func (o DockerConfig) ToMap() (map[string]interface{}, error)
func (*DockerConfig) UnmarshalJSON ¶
func (o *DockerConfig) UnmarshalJSON(bytes []byte) (err error)
type DockerConfigDefinition ¶
type DockerConfigDefinition struct { // The default Docker image to run the job steps in, if the job is of type Docker Image string `json:"image"` // Determines if/when the Docker image is pulled during job execution, if the job is of type Docker Pull string `json:"pull"` BasicAuth *DockerBasicAuthDefinition `json:"basic_auth,omitempty"` AwsAuth *DockerAWSAuthDefinition `json:"aws_auth,omitempty"` // Path to the shell to use to run build scripts with inside the container Shell *string `json:"shell,omitempty"` AdditionalProperties map[string]interface{} }
DockerConfigDefinition struct for DockerConfigDefinition
func NewDockerConfigDefinition ¶
func NewDockerConfigDefinition(image string, pull string) *DockerConfigDefinition
NewDockerConfigDefinition instantiates a new DockerConfigDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDockerConfigDefinitionWithDefaults ¶
func NewDockerConfigDefinitionWithDefaults() *DockerConfigDefinition
NewDockerConfigDefinitionWithDefaults instantiates a new DockerConfigDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DockerConfigDefinition) GetAwsAuth ¶
func (o *DockerConfigDefinition) GetAwsAuth() DockerAWSAuthDefinition
GetAwsAuth returns the AwsAuth field value if set, zero value otherwise.
func (*DockerConfigDefinition) GetAwsAuthOk ¶
func (o *DockerConfigDefinition) GetAwsAuthOk() (*DockerAWSAuthDefinition, bool)
GetAwsAuthOk returns a tuple with the AwsAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DockerConfigDefinition) GetBasicAuth ¶
func (o *DockerConfigDefinition) GetBasicAuth() DockerBasicAuthDefinition
GetBasicAuth returns the BasicAuth field value if set, zero value otherwise.
func (*DockerConfigDefinition) GetBasicAuthOk ¶
func (o *DockerConfigDefinition) GetBasicAuthOk() (*DockerBasicAuthDefinition, bool)
GetBasicAuthOk returns a tuple with the BasicAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DockerConfigDefinition) GetImage ¶
func (o *DockerConfigDefinition) GetImage() string
GetImage returns the Image field value
func (*DockerConfigDefinition) GetImageOk ¶
func (o *DockerConfigDefinition) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*DockerConfigDefinition) GetPull ¶
func (o *DockerConfigDefinition) GetPull() string
GetPull returns the Pull field value
func (*DockerConfigDefinition) GetPullOk ¶
func (o *DockerConfigDefinition) GetPullOk() (*string, bool)
GetPullOk returns a tuple with the Pull field value and a boolean to check if the value has been set.
func (*DockerConfigDefinition) GetShell ¶
func (o *DockerConfigDefinition) GetShell() string
GetShell returns the Shell field value if set, zero value otherwise.
func (*DockerConfigDefinition) GetShellOk ¶
func (o *DockerConfigDefinition) GetShellOk() (*string, bool)
GetShellOk returns a tuple with the Shell field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DockerConfigDefinition) HasAwsAuth ¶
func (o *DockerConfigDefinition) HasAwsAuth() bool
HasAwsAuth returns a boolean if a field has been set.
func (*DockerConfigDefinition) HasBasicAuth ¶
func (o *DockerConfigDefinition) HasBasicAuth() bool
HasBasicAuth returns a boolean if a field has been set.
func (*DockerConfigDefinition) HasShell ¶
func (o *DockerConfigDefinition) HasShell() bool
HasShell returns a boolean if a field has been set.
func (DockerConfigDefinition) MarshalJSON ¶
func (o DockerConfigDefinition) MarshalJSON() ([]byte, error)
func (*DockerConfigDefinition) SetAwsAuth ¶
func (o *DockerConfigDefinition) SetAwsAuth(v DockerAWSAuthDefinition)
SetAwsAuth gets a reference to the given DockerAWSAuthDefinition and assigns it to the AwsAuth field.
func (*DockerConfigDefinition) SetBasicAuth ¶
func (o *DockerConfigDefinition) SetBasicAuth(v DockerBasicAuthDefinition)
SetBasicAuth gets a reference to the given DockerBasicAuthDefinition and assigns it to the BasicAuth field.
func (*DockerConfigDefinition) SetImage ¶
func (o *DockerConfigDefinition) SetImage(v string)
SetImage sets field value
func (*DockerConfigDefinition) SetPull ¶
func (o *DockerConfigDefinition) SetPull(v string)
SetPull sets field value
func (*DockerConfigDefinition) SetShell ¶
func (o *DockerConfigDefinition) SetShell(v string)
SetShell gets a reference to the given string and assigns it to the Shell field.
func (DockerConfigDefinition) ToMap ¶
func (o DockerConfigDefinition) ToMap() (map[string]interface{}, error)
func (*DockerConfigDefinition) UnmarshalJSON ¶
func (o *DockerConfigDefinition) UnmarshalJSON(bytes []byte) (err error)
type EnvVar ¶
type EnvVar struct { // Name of the environment variable. Name string `json:"name"` // Value of the variable, if the variable is set explicitly. Value *string `json:"value,omitempty"` // ValueFromSecret is the name of the secret to set this variable to, if setting the variable to a secret. ValueFromSecret *string `json:"value_from_secret,omitempty"` AdditionalProperties map[string]interface{} }
EnvVar struct for EnvVar
func NewEnvVar ¶
NewEnvVar instantiates a new EnvVar object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEnvVarWithDefaults ¶
func NewEnvVarWithDefaults() *EnvVar
NewEnvVarWithDefaults instantiates a new EnvVar object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EnvVar) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*EnvVar) GetValueFromSecret ¶
GetValueFromSecret returns the ValueFromSecret field value if set, zero value otherwise.
func (*EnvVar) GetValueFromSecretOk ¶
GetValueFromSecretOk returns a tuple with the ValueFromSecret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EnvVar) GetValueOk ¶
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EnvVar) HasValueFromSecret ¶
HasValueFromSecret returns a boolean if a field has been set.
func (EnvVar) MarshalJSON ¶
func (*EnvVar) SetValue ¶
SetValue gets a reference to the given string and assigns it to the Value field.
func (*EnvVar) SetValueFromSecret ¶
SetValueFromSecret gets a reference to the given string and assigns it to the ValueFromSecret field.
func (*EnvVar) UnmarshalJSON ¶
type Event ¶
type Event struct { Id string `json:"id"` CreatedAt time.Time `json:"created_at"` // SequenceNumber is a monotonically increasing number to provide a well-defined order for events within a build. Event sequence numbers will normally (but not always) be contiguous for a given build. SequenceNumber int64 `json:"sequence_number"` // The ID of the build to fetch events for. BuildId string `json:"build_id"` // The type of event, determining what is expected in the event data. Type string `json:"type"` // The ID of the resource this event is associated with. ResourceId string `json:"resource_id"` // The name of the workflow this event is associated with, if applicable Workflow *string `json:"workflow,omitempty"` // The name of the job this event relates to, if applicable JobName *string `json:"job_name,omitempty"` // The name of the resource this event is associated with. For job-related events this will be the same as job_name. ResourceName string `json:"resource_name"` // Payload provides additional information for the event. The format of the payload data depends on the event Type. Payload string `json:"payload"` AdditionalProperties map[string]interface{} }
Event struct for Event
func NewEvent ¶
func NewEvent(id string, createdAt time.Time, sequenceNumber int64, buildId string, type_ string, resourceId string, resourceName string, payload string) *Event
NewEvent instantiates a new Event object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEventWithDefaults ¶
func NewEventWithDefaults() *Event
NewEventWithDefaults instantiates a new Event object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Event) GetBuildId ¶
GetBuildId returns the BuildId field value
func (*Event) GetBuildIdOk ¶
GetBuildIdOk returns a tuple with the BuildId field value and a boolean to check if the value has been set.
func (*Event) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Event) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Event) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Event) GetJobName ¶
GetJobName returns the JobName field value if set, zero value otherwise.
func (*Event) GetJobNameOk ¶
GetJobNameOk returns a tuple with the JobName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetPayload ¶
GetPayload returns the Payload field value
func (*Event) GetPayloadOk ¶
GetPayloadOk returns a tuple with the Payload field value and a boolean to check if the value has been set.
func (*Event) GetResourceId ¶
GetResourceId returns the ResourceId field value
func (*Event) GetResourceIdOk ¶
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*Event) GetResourceName ¶
GetResourceName returns the ResourceName field value
func (*Event) GetResourceNameOk ¶
GetResourceNameOk returns a tuple with the ResourceName field value and a boolean to check if the value has been set.
func (*Event) GetSequenceNumber ¶
GetSequenceNumber returns the SequenceNumber field value
func (*Event) GetSequenceNumberOk ¶
GetSequenceNumberOk returns a tuple with the SequenceNumber field value and a boolean to check if the value has been set.
func (*Event) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Event) GetWorkflow ¶
GetWorkflow returns the Workflow field value if set, zero value otherwise.
func (*Event) GetWorkflowOk ¶
GetWorkflowOk returns a tuple with the Workflow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) HasJobName ¶
HasJobName returns a boolean if a field has been set.
func (*Event) HasWorkflow ¶
HasWorkflow returns a boolean if a field has been set.
func (Event) MarshalJSON ¶
func (*Event) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Event) SetJobName ¶
SetJobName gets a reference to the given string and assigns it to the JobName field.
func (*Event) SetResourceId ¶
SetResourceId sets field value
func (*Event) SetResourceName ¶
SetResourceName sets field value
func (*Event) SetSequenceNumber ¶
SetSequenceNumber sets field value
func (*Event) SetWorkflow ¶
SetWorkflow gets a reference to the given string and assigns it to the Workflow field.
func (*Event) UnmarshalJSON ¶
type EventsApiService ¶
type EventsApiService service
EventsApiService EventsApi service
func (*EventsApiService) GetEvents ¶
func (a *EventsApiService) GetEvents(ctx context.Context, buildId string) ApiGetEventsRequest
GetEvents Reads events relating to a build.
Reads events relating to a build that are newer than the last event previously read. Returns immediately if no new events are available.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param buildId The ID of the build to read events for @return ApiGetEventsRequest
func (*EventsApiService) GetEventsExecute ¶
func (a *EventsApiService) GetEventsExecute(r ApiGetEventsRequest) ([]Event, *http.Response, error)
Execute executes the request
@return []Event
type ExternalResourceID ¶
type ExternalResourceID struct { // The name of the external system, e.g. GitHub ExternalSystem string `json:"external_system"` // The resource within the external system, e.g. github_repo.id ResourceId string `json:"resource_id"` AdditionalProperties map[string]interface{} }
ExternalResourceID struct for ExternalResourceID
func NewExternalResourceID ¶
func NewExternalResourceID(externalSystem string, resourceId string) *ExternalResourceID
NewExternalResourceID instantiates a new ExternalResourceID object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExternalResourceIDWithDefaults ¶
func NewExternalResourceIDWithDefaults() *ExternalResourceID
NewExternalResourceIDWithDefaults instantiates a new ExternalResourceID object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExternalResourceID) GetExternalSystem ¶
func (o *ExternalResourceID) GetExternalSystem() string
GetExternalSystem returns the ExternalSystem field value
func (*ExternalResourceID) GetExternalSystemOk ¶
func (o *ExternalResourceID) GetExternalSystemOk() (*string, bool)
GetExternalSystemOk returns a tuple with the ExternalSystem field value and a boolean to check if the value has been set.
func (*ExternalResourceID) GetResourceId ¶
func (o *ExternalResourceID) GetResourceId() string
GetResourceId returns the ResourceId field value
func (*ExternalResourceID) GetResourceIdOk ¶
func (o *ExternalResourceID) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (ExternalResourceID) MarshalJSON ¶
func (o ExternalResourceID) MarshalJSON() ([]byte, error)
func (*ExternalResourceID) SetExternalSystem ¶
func (o *ExternalResourceID) SetExternalSystem(v string)
SetExternalSystem sets field value
func (*ExternalResourceID) SetResourceId ¶
func (o *ExternalResourceID) SetResourceId(v string)
SetResourceId sets field value
func (ExternalResourceID) ToMap ¶
func (o ExternalResourceID) ToMap() (map[string]interface{}, error)
func (*ExternalResourceID) UnmarshalJSON ¶
func (o *ExternalResourceID) UnmarshalJSON(bytes []byte) (err error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type Job ¶
type Job struct { // A link to the Job resource on the BuildBeaver server Url string `json:"url"` Id string `json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at,omitempty"` Etag string `json:"etag"` // Job name, in URL format Name string `json:"name"` // Workflow the job is a part of, or empty if the job is part of the default workflow. Workflow string `json:"workflow"` // Optional human-readable description of the job. Description string `json:"description"` // Type of the job (e.g. docker, exec etc.) Type string `json:"type"` // RunsOn contains a set of labels that this job requires runners to have. RunsOn []string `json:"runs_on"` Docker *DockerConfig `json:"docker,omitempty"` // Determines how the runner will execute steps within this job StepExecution string `json:"step_execution"` // Dependencies on other jobs and their artifacts. Each JobDependency declares that this job depends on the successful execution of another, and optionally that this job consumes one or more artifacts from the other. Depends []JobDependency `json:"depends"` // Services to run in the background for the duration of the job; services are started before the first step is run, and stopped after the last step completes Services []Service `json:"services"` // Shell commands to execute to generate a unique fingerprint for the jobs; two jobs in the same repo with the same name and fingerprint are considered identical FingerprintCommands []string `json:"fingerprint_commands"` // A list of all artifacts the job is expected to produce that will be saved to the artifact store at the end of the job's execution Artifacts []ArtifactDefinition `json:"artifacts,omitempty"` // A list of environment variables to export prior to executing the job Environment []EnvVar `json:"environment"` // ID of the build this job forms a part of. BuildId string `json:"build_id"` // RepoID that was committed to. RepoId string `json:"repo_id"` // CommitID that the job was generated from. CommitId string `json:"commit_id"` // LogDescriptorID points to the log for this job. LogDescriptorId string `json:"log_descriptor_id"` // RunnerID is the id of the runner this job executed on, or empty if the job has not run yet (or did/will not run). RunnerId string `json:"runner_id"` // IndirectToJobID records the ID of a job that previously ran successfully as part of another build and which is functionally identical to this job. If this is set it means this job did not actually run to avoid redundantly running the same thing more than once. IndirectToJobId string `json:"indirect_to_job_id"` // Ref is the git ref from the build that the job was generated from (e.g. branch or tag) Ref string `json:"ref"` // Status reflects where the job is in the queue. Status string `json:"status"` // Error is set if the job finished with an error (or empty if the job succeeded). Error *string `json:"error,omitempty"` Timings WorkflowTimings `json:"timings"` // Fingerprint contains the hashed output of FingerprintCommands, as well as any other inputs the agent added (such as artifact hashes). This is only available after the job has run successfully. Fingerprint *string `json:"fingerprint,omitempty"` // FingerprintHashType is the type of hashing algorithm used to produce the fingerprint. FingerprintHashType *string `json:"fingerprint_hash_type,omitempty"` // URL of the log for this job. LogDescriptorUrl string `json:"log_descriptor_url"` // URL to the job that this job indirects to, if any. IndirectJobUrl string `json:"indirect_job_url"` AdditionalProperties map[string]interface{} }
Job struct for Job
func NewJob ¶
func NewJob(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, name string, workflow string, description string, type_ string, runsOn []string, stepExecution string, depends []JobDependency, services []Service, fingerprintCommands []string, environment []EnvVar, buildId string, repoId string, commitId string, logDescriptorId string, runnerId string, indirectToJobId string, ref string, status string, timings WorkflowTimings, logDescriptorUrl string, indirectJobUrl string) *Job
NewJob instantiates a new Job object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobWithDefaults ¶
func NewJobWithDefaults() *Job
NewJobWithDefaults instantiates a new Job object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Job) GetArtifacts ¶
func (o *Job) GetArtifacts() []ArtifactDefinition
GetArtifacts returns the Artifacts field value if set, zero value otherwise.
func (*Job) GetArtifactsOk ¶
func (o *Job) GetArtifactsOk() ([]ArtifactDefinition, bool)
GetArtifactsOk returns a tuple with the Artifacts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetBuildId ¶
GetBuildId returns the BuildId field value
func (*Job) GetBuildIdOk ¶
GetBuildIdOk returns a tuple with the BuildId field value and a boolean to check if the value has been set.
func (*Job) GetCommitId ¶
GetCommitId returns the CommitId field value
func (*Job) GetCommitIdOk ¶
GetCommitIdOk returns a tuple with the CommitId field value and a boolean to check if the value has been set.
func (*Job) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Job) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Job) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*Job) GetDeletedAtOk ¶
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetDepends ¶
func (o *Job) GetDepends() []JobDependency
GetDepends returns the Depends field value
func (*Job) GetDependsOk ¶
func (o *Job) GetDependsOk() ([]JobDependency, bool)
GetDependsOk returns a tuple with the Depends field value and a boolean to check if the value has been set.
func (*Job) GetDescription ¶
GetDescription returns the Description field value
func (*Job) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Job) GetDocker ¶
func (o *Job) GetDocker() DockerConfig
GetDocker returns the Docker field value if set, zero value otherwise.
func (*Job) GetDockerOk ¶
func (o *Job) GetDockerOk() (*DockerConfig, bool)
GetDockerOk returns a tuple with the Docker field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetEnvironment ¶
GetEnvironment returns the Environment field value
func (*Job) GetEnvironmentOk ¶
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*Job) GetErrorOk ¶
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetEtagOk ¶
GetEtagOk returns a tuple with the Etag field value and a boolean to check if the value has been set.
func (*Job) GetFingerprint ¶
GetFingerprint returns the Fingerprint field value if set, zero value otherwise.
func (*Job) GetFingerprintCommands ¶
GetFingerprintCommands returns the FingerprintCommands field value
func (*Job) GetFingerprintCommandsOk ¶
GetFingerprintCommandsOk returns a tuple with the FingerprintCommands field value and a boolean to check if the value has been set.
func (*Job) GetFingerprintHashType ¶
GetFingerprintHashType returns the FingerprintHashType field value if set, zero value otherwise.
func (*Job) GetFingerprintHashTypeOk ¶
GetFingerprintHashTypeOk returns a tuple with the FingerprintHashType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetFingerprintOk ¶
GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Job) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Job) GetIndirectJobUrl ¶
GetIndirectJobUrl returns the IndirectJobUrl field value
func (*Job) GetIndirectJobUrlOk ¶
GetIndirectJobUrlOk returns a tuple with the IndirectJobUrl field value and a boolean to check if the value has been set.
func (*Job) GetIndirectToJobId ¶
GetIndirectToJobId returns the IndirectToJobId field value
func (*Job) GetIndirectToJobIdOk ¶
GetIndirectToJobIdOk returns a tuple with the IndirectToJobId field value and a boolean to check if the value has been set.
func (*Job) GetLogDescriptorId ¶
GetLogDescriptorId returns the LogDescriptorId field value
func (*Job) GetLogDescriptorIdOk ¶
GetLogDescriptorIdOk returns a tuple with the LogDescriptorId field value and a boolean to check if the value has been set.
func (*Job) GetLogDescriptorUrl ¶
GetLogDescriptorUrl returns the LogDescriptorUrl field value
func (*Job) GetLogDescriptorUrlOk ¶
GetLogDescriptorUrlOk returns a tuple with the LogDescriptorUrl field value and a boolean to check if the value has been set.
func (*Job) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Job) GetRefOk ¶
GetRefOk returns a tuple with the Ref field value and a boolean to check if the value has been set.
func (*Job) GetRepoIdOk ¶
GetRepoIdOk returns a tuple with the RepoId field value and a boolean to check if the value has been set.
func (*Job) GetRunnerId ¶
GetRunnerId returns the RunnerId field value
func (*Job) GetRunnerIdOk ¶
GetRunnerIdOk returns a tuple with the RunnerId field value and a boolean to check if the value has been set.
func (*Job) GetRunsOnOk ¶
GetRunsOnOk returns a tuple with the RunsOn field value and a boolean to check if the value has been set.
func (*Job) GetServices ¶
GetServices returns the Services field value
func (*Job) GetServicesOk ¶
GetServicesOk returns a tuple with the Services field value and a boolean to check if the value has been set.
func (*Job) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Job) GetStepExecution ¶
GetStepExecution returns the StepExecution field value
func (*Job) GetStepExecutionOk ¶
GetStepExecutionOk returns a tuple with the StepExecution field value and a boolean to check if the value has been set.
func (*Job) GetTimings ¶
func (o *Job) GetTimings() WorkflowTimings
GetTimings returns the Timings field value
func (*Job) GetTimingsOk ¶
func (o *Job) GetTimingsOk() (*WorkflowTimings, bool)
GetTimingsOk returns a tuple with the Timings field value and a boolean to check if the value has been set.
func (*Job) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Job) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Job) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Job) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Job) GetWorkflow ¶
GetWorkflow returns the Workflow field value
func (*Job) GetWorkflowOk ¶
GetWorkflowOk returns a tuple with the Workflow field value and a boolean to check if the value has been set.
func (*Job) HasArtifacts ¶
HasArtifacts returns a boolean if a field has been set.
func (*Job) HasDeletedAt ¶
HasDeletedAt returns a boolean if a field has been set.
func (*Job) HasFingerprint ¶
HasFingerprint returns a boolean if a field has been set.
func (*Job) HasFingerprintHashType ¶
HasFingerprintHashType returns a boolean if a field has been set.
func (Job) MarshalJSON ¶
func (*Job) SetArtifacts ¶
func (o *Job) SetArtifacts(v []ArtifactDefinition)
SetArtifacts gets a reference to the given []ArtifactDefinition and assigns it to the Artifacts field.
func (*Job) SetDeletedAt ¶
SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.
func (*Job) SetDocker ¶
func (o *Job) SetDocker(v DockerConfig)
SetDocker gets a reference to the given DockerConfig and assigns it to the Docker field.
func (*Job) SetEnvironment ¶
SetEnvironment sets field value
func (*Job) SetError ¶
SetError gets a reference to the given string and assigns it to the Error field.
func (*Job) SetFingerprint ¶
SetFingerprint gets a reference to the given string and assigns it to the Fingerprint field.
func (*Job) SetFingerprintCommands ¶
SetFingerprintCommands sets field value
func (*Job) SetFingerprintHashType ¶
SetFingerprintHashType gets a reference to the given string and assigns it to the FingerprintHashType field.
func (*Job) SetIndirectJobUrl ¶
SetIndirectJobUrl sets field value
func (*Job) SetIndirectToJobId ¶
SetIndirectToJobId sets field value
func (*Job) SetLogDescriptorId ¶
SetLogDescriptorId sets field value
func (*Job) SetLogDescriptorUrl ¶
SetLogDescriptorUrl sets field value
func (*Job) SetStepExecution ¶
SetStepExecution sets field value
func (*Job) UnmarshalJSON ¶
type JobDefinition ¶
type JobDefinition struct { // Job name. This can optionally include a workflow as a prefix (dot-separated), as an alternative to specifying an explicit 'workflow' element. Name string `json:"name"` // Workflow the job is a part of. If not specified then the job is part of the default workflow. Workflow *string `json:"workflow,omitempty"` // Optional human-readable description of the job. Description *string `json:"description,omitempty"` // Type of the job (e.g. docker, exec etc.) Type *string `json:"type,omitempty"` // RunsOn contains a set of labels that this job requires runners to have. RunsOn []string `json:"runs_on,omitempty"` Docker *DockerConfigDefinition `json:"docker,omitempty"` // Determines how the runner will execute steps within this job StepExecution string `json:"step_execution"` // Dependencies on other jobs and their artifacts (see dependency syntax) Depends []string `json:"depends,omitempty"` // Services to run in the background for the duration of the job; services are started before the first step is run, and stopped after the last step completes Services []ServiceDefinition `json:"services,omitempty"` // Shell commands to execute to generate a unique fingerprint for the jobs; two jobs in the same repo with the same name and fingerprint are considered identical Fingerprint []string `json:"fingerprint,omitempty"` // A list of all artifacts the job is expected to produce that will be saved to the artifact store at the end of the job's execution Artifacts []ArtifactDefinition `json:"artifacts,omitempty"` // A list of environment variables to export prior to executing the job Environment map[string]SecretStringDefinition `json:"environment"` // The set of steps within the job Steps []StepDefinition `json:"steps"` AdditionalProperties map[string]interface{} }
JobDefinition struct for JobDefinition
func NewJobDefinition ¶
func NewJobDefinition(name string, stepExecution string, environment map[string]SecretStringDefinition, steps []StepDefinition) *JobDefinition
NewJobDefinition instantiates a new JobDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobDefinitionWithDefaults ¶
func NewJobDefinitionWithDefaults() *JobDefinition
NewJobDefinitionWithDefaults instantiates a new JobDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobDefinition) GetArtifacts ¶
func (o *JobDefinition) GetArtifacts() []ArtifactDefinition
GetArtifacts returns the Artifacts field value if set, zero value otherwise.
func (*JobDefinition) GetArtifactsOk ¶
func (o *JobDefinition) GetArtifactsOk() ([]ArtifactDefinition, bool)
GetArtifactsOk returns a tuple with the Artifacts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDefinition) GetDepends ¶
func (o *JobDefinition) GetDepends() []string
GetDepends returns the Depends field value if set, zero value otherwise.
func (*JobDefinition) GetDependsOk ¶
func (o *JobDefinition) GetDependsOk() ([]string, bool)
GetDependsOk returns a tuple with the Depends field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDefinition) GetDescription ¶
func (o *JobDefinition) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*JobDefinition) GetDescriptionOk ¶
func (o *JobDefinition) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDefinition) GetDocker ¶
func (o *JobDefinition) GetDocker() DockerConfigDefinition
GetDocker returns the Docker field value if set, zero value otherwise.
func (*JobDefinition) GetDockerOk ¶
func (o *JobDefinition) GetDockerOk() (*DockerConfigDefinition, bool)
GetDockerOk returns a tuple with the Docker field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDefinition) GetEnvironment ¶
func (o *JobDefinition) GetEnvironment() map[string]SecretStringDefinition
GetEnvironment returns the Environment field value
func (*JobDefinition) GetEnvironmentOk ¶
func (o *JobDefinition) GetEnvironmentOk() (*map[string]SecretStringDefinition, bool)
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*JobDefinition) GetFingerprint ¶
func (o *JobDefinition) GetFingerprint() []string
GetFingerprint returns the Fingerprint field value if set, zero value otherwise.
func (*JobDefinition) GetFingerprintOk ¶
func (o *JobDefinition) GetFingerprintOk() ([]string, bool)
GetFingerprintOk returns a tuple with the Fingerprint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDefinition) GetName ¶
func (o *JobDefinition) GetName() string
GetName returns the Name field value
func (*JobDefinition) GetNameOk ¶
func (o *JobDefinition) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*JobDefinition) GetRunsOn ¶
func (o *JobDefinition) GetRunsOn() []string
GetRunsOn returns the RunsOn field value if set, zero value otherwise.
func (*JobDefinition) GetRunsOnOk ¶
func (o *JobDefinition) GetRunsOnOk() ([]string, bool)
GetRunsOnOk returns a tuple with the RunsOn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDefinition) GetServices ¶
func (o *JobDefinition) GetServices() []ServiceDefinition
GetServices returns the Services field value if set, zero value otherwise.
func (*JobDefinition) GetServicesOk ¶
func (o *JobDefinition) GetServicesOk() ([]ServiceDefinition, bool)
GetServicesOk returns a tuple with the Services field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDefinition) GetStepExecution ¶
func (o *JobDefinition) GetStepExecution() string
GetStepExecution returns the StepExecution field value
func (*JobDefinition) GetStepExecutionOk ¶
func (o *JobDefinition) GetStepExecutionOk() (*string, bool)
GetStepExecutionOk returns a tuple with the StepExecution field value and a boolean to check if the value has been set.
func (*JobDefinition) GetSteps ¶
func (o *JobDefinition) GetSteps() []StepDefinition
GetSteps returns the Steps field value
func (*JobDefinition) GetStepsOk ¶
func (o *JobDefinition) GetStepsOk() ([]StepDefinition, bool)
GetStepsOk returns a tuple with the Steps field value and a boolean to check if the value has been set.
func (*JobDefinition) GetType ¶
func (o *JobDefinition) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*JobDefinition) GetTypeOk ¶
func (o *JobDefinition) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDefinition) GetWorkflow ¶
func (o *JobDefinition) GetWorkflow() string
GetWorkflow returns the Workflow field value if set, zero value otherwise.
func (*JobDefinition) GetWorkflowOk ¶
func (o *JobDefinition) GetWorkflowOk() (*string, bool)
GetWorkflowOk returns a tuple with the Workflow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobDefinition) HasArtifacts ¶
func (o *JobDefinition) HasArtifacts() bool
HasArtifacts returns a boolean if a field has been set.
func (*JobDefinition) HasDepends ¶
func (o *JobDefinition) HasDepends() bool
HasDepends returns a boolean if a field has been set.
func (*JobDefinition) HasDescription ¶
func (o *JobDefinition) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*JobDefinition) HasDocker ¶
func (o *JobDefinition) HasDocker() bool
HasDocker returns a boolean if a field has been set.
func (*JobDefinition) HasFingerprint ¶
func (o *JobDefinition) HasFingerprint() bool
HasFingerprint returns a boolean if a field has been set.
func (*JobDefinition) HasRunsOn ¶
func (o *JobDefinition) HasRunsOn() bool
HasRunsOn returns a boolean if a field has been set.
func (*JobDefinition) HasServices ¶
func (o *JobDefinition) HasServices() bool
HasServices returns a boolean if a field has been set.
func (*JobDefinition) HasType ¶
func (o *JobDefinition) HasType() bool
HasType returns a boolean if a field has been set.
func (*JobDefinition) HasWorkflow ¶
func (o *JobDefinition) HasWorkflow() bool
HasWorkflow returns a boolean if a field has been set.
func (JobDefinition) MarshalJSON ¶
func (o JobDefinition) MarshalJSON() ([]byte, error)
func (*JobDefinition) SetArtifacts ¶
func (o *JobDefinition) SetArtifacts(v []ArtifactDefinition)
SetArtifacts gets a reference to the given []ArtifactDefinition and assigns it to the Artifacts field.
func (*JobDefinition) SetDepends ¶
func (o *JobDefinition) SetDepends(v []string)
SetDepends gets a reference to the given []string and assigns it to the Depends field.
func (*JobDefinition) SetDescription ¶
func (o *JobDefinition) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*JobDefinition) SetDocker ¶
func (o *JobDefinition) SetDocker(v DockerConfigDefinition)
SetDocker gets a reference to the given DockerConfigDefinition and assigns it to the Docker field.
func (*JobDefinition) SetEnvironment ¶
func (o *JobDefinition) SetEnvironment(v map[string]SecretStringDefinition)
SetEnvironment sets field value
func (*JobDefinition) SetFingerprint ¶
func (o *JobDefinition) SetFingerprint(v []string)
SetFingerprint gets a reference to the given []string and assigns it to the Fingerprint field.
func (*JobDefinition) SetRunsOn ¶
func (o *JobDefinition) SetRunsOn(v []string)
SetRunsOn gets a reference to the given []string and assigns it to the RunsOn field.
func (*JobDefinition) SetServices ¶
func (o *JobDefinition) SetServices(v []ServiceDefinition)
SetServices gets a reference to the given []ServiceDefinition and assigns it to the Services field.
func (*JobDefinition) SetStepExecution ¶
func (o *JobDefinition) SetStepExecution(v string)
SetStepExecution sets field value
func (*JobDefinition) SetSteps ¶
func (o *JobDefinition) SetSteps(v []StepDefinition)
SetSteps sets field value
func (*JobDefinition) SetType ¶
func (o *JobDefinition) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*JobDefinition) SetWorkflow ¶
func (o *JobDefinition) SetWorkflow(v string)
SetWorkflow gets a reference to the given string and assigns it to the Workflow field.
func (JobDefinition) ToMap ¶
func (o JobDefinition) ToMap() (map[string]interface{}, error)
func (*JobDefinition) UnmarshalJSON ¶
func (o *JobDefinition) UnmarshalJSON(bytes []byte) (err error)
type JobDependency ¶
type JobDependency struct { // The name of the workflow containing the job that must complete, or an empty string for the default workflow. Workflow string `json:"workflow"` // The name of the job that must complete. JobName string `json:"job_name"` // The set of artifacts required from the job that must complete. ArtifactDependencies []ArtifactDependency `json:"artifact_dependencies"` AdditionalProperties map[string]interface{} }
JobDependency struct for JobDependency
func NewJobDependency ¶
func NewJobDependency(workflow string, jobName string, artifactDependencies []ArtifactDependency) *JobDependency
NewJobDependency instantiates a new JobDependency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobDependencyWithDefaults ¶
func NewJobDependencyWithDefaults() *JobDependency
NewJobDependencyWithDefaults instantiates a new JobDependency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobDependency) GetArtifactDependencies ¶
func (o *JobDependency) GetArtifactDependencies() []ArtifactDependency
GetArtifactDependencies returns the ArtifactDependencies field value
func (*JobDependency) GetArtifactDependenciesOk ¶
func (o *JobDependency) GetArtifactDependenciesOk() ([]ArtifactDependency, bool)
GetArtifactDependenciesOk returns a tuple with the ArtifactDependencies field value and a boolean to check if the value has been set.
func (*JobDependency) GetJobName ¶
func (o *JobDependency) GetJobName() string
GetJobName returns the JobName field value
func (*JobDependency) GetJobNameOk ¶
func (o *JobDependency) GetJobNameOk() (*string, bool)
GetJobNameOk returns a tuple with the JobName field value and a boolean to check if the value has been set.
func (*JobDependency) GetWorkflow ¶
func (o *JobDependency) GetWorkflow() string
GetWorkflow returns the Workflow field value
func (*JobDependency) GetWorkflowOk ¶
func (o *JobDependency) GetWorkflowOk() (*string, bool)
GetWorkflowOk returns a tuple with the Workflow field value and a boolean to check if the value has been set.
func (JobDependency) MarshalJSON ¶
func (o JobDependency) MarshalJSON() ([]byte, error)
func (*JobDependency) SetArtifactDependencies ¶
func (o *JobDependency) SetArtifactDependencies(v []ArtifactDependency)
SetArtifactDependencies sets field value
func (*JobDependency) SetJobName ¶
func (o *JobDependency) SetJobName(v string)
SetJobName sets field value
func (*JobDependency) SetWorkflow ¶
func (o *JobDependency) SetWorkflow(v string)
SetWorkflow sets field value
func (JobDependency) ToMap ¶
func (o JobDependency) ToMap() (map[string]interface{}, error)
func (*JobDependency) UnmarshalJSON ¶
func (o *JobDependency) UnmarshalJSON(bytes []byte) (err error)
type JobGraph ¶
type JobGraph struct { Job Job `json:"job"` // The set of steps within the job Steps []Step `json:"steps"` AdditionalProperties map[string]interface{} }
JobGraph struct for JobGraph
func NewJobGraph ¶
NewJobGraph instantiates a new JobGraph object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewJobGraphWithDefaults ¶
func NewJobGraphWithDefaults() *JobGraph
NewJobGraphWithDefaults instantiates a new JobGraph object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*JobGraph) GetJobOk ¶
GetJobOk returns a tuple with the Job field value and a boolean to check if the value has been set.
func (*JobGraph) GetStepsOk ¶
GetStepsOk returns a tuple with the Steps field value and a boolean to check if the value has been set.
func (JobGraph) MarshalJSON ¶
func (*JobGraph) UnmarshalJSON ¶
type JobsApiService ¶
type JobsApiService service
JobsApiService JobsApi service
func (*JobsApiService) CreateJobs ¶
func (a *JobsApiService) CreateJobs(ctx context.Context, buildId string) ApiCreateJobsRequest
CreateJobs Creates and add a set of jobs to a build.
Dynamically adds a new set of jobs to a build. These jobs can reference each other and all previously submitted jobs for the build, and together form the DAG for the build.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param buildId The ID of the build to which these jobs will be added @return ApiCreateJobsRequest
func (*JobsApiService) CreateJobsExecute ¶
func (a *JobsApiService) CreateJobsExecute(r ApiCreateJobsRequest) ([]JobGraph, *http.Response, error)
Execute executes the request
@return []JobGraph
type LogDescriptor ¶
type LogDescriptor struct { // A link to the Log Descriptor on the BuildBeaver server Url string `json:"url"` Id string `json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Etag string `json:"etag"` // The ID of the log descriptor that this one is nested within. ParentLogId string `json:"parent_log_id"` // The ID of the resource that this log belongs to. ResourceId string `json:"resource_id"` // Sealed is set to true when the log is completed and has become immutable. Sealed bool `json:"sealed"` // The size of the log, in bytes, calculated and set at the time the log is sealed. SizeBytes int64 `json:"size_bytes"` // URL to use for fetching the log data. DataUrl string `json:"data_url"` AdditionalProperties map[string]interface{} }
LogDescriptor struct for LogDescriptor
func NewLogDescriptor ¶
func NewLogDescriptor(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, parentLogId string, resourceId string, sealed bool, sizeBytes int64, dataUrl string) *LogDescriptor
NewLogDescriptor instantiates a new LogDescriptor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLogDescriptorWithDefaults ¶
func NewLogDescriptorWithDefaults() *LogDescriptor
NewLogDescriptorWithDefaults instantiates a new LogDescriptor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LogDescriptor) GetCreatedAt ¶
func (o *LogDescriptor) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*LogDescriptor) GetCreatedAtOk ¶
func (o *LogDescriptor) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*LogDescriptor) GetDataUrl ¶
func (o *LogDescriptor) GetDataUrl() string
GetDataUrl returns the DataUrl field value
func (*LogDescriptor) GetDataUrlOk ¶
func (o *LogDescriptor) GetDataUrlOk() (*string, bool)
GetDataUrlOk returns a tuple with the DataUrl field value and a boolean to check if the value has been set.
func (*LogDescriptor) GetEtag ¶
func (o *LogDescriptor) GetEtag() string
GetEtag returns the Etag field value
func (*LogDescriptor) GetEtagOk ¶
func (o *LogDescriptor) GetEtagOk() (*string, bool)
GetEtagOk returns a tuple with the Etag field value and a boolean to check if the value has been set.
func (*LogDescriptor) GetId ¶
func (o *LogDescriptor) GetId() string
GetId returns the Id field value
func (*LogDescriptor) GetIdOk ¶
func (o *LogDescriptor) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*LogDescriptor) GetParentLogId ¶
func (o *LogDescriptor) GetParentLogId() string
GetParentLogId returns the ParentLogId field value
func (*LogDescriptor) GetParentLogIdOk ¶
func (o *LogDescriptor) GetParentLogIdOk() (*string, bool)
GetParentLogIdOk returns a tuple with the ParentLogId field value and a boolean to check if the value has been set.
func (*LogDescriptor) GetResourceId ¶
func (o *LogDescriptor) GetResourceId() string
GetResourceId returns the ResourceId field value
func (*LogDescriptor) GetResourceIdOk ¶
func (o *LogDescriptor) GetResourceIdOk() (*string, bool)
GetResourceIdOk returns a tuple with the ResourceId field value and a boolean to check if the value has been set.
func (*LogDescriptor) GetSealed ¶
func (o *LogDescriptor) GetSealed() bool
GetSealed returns the Sealed field value
func (*LogDescriptor) GetSealedOk ¶
func (o *LogDescriptor) GetSealedOk() (*bool, bool)
GetSealedOk returns a tuple with the Sealed field value and a boolean to check if the value has been set.
func (*LogDescriptor) GetSizeBytes ¶
func (o *LogDescriptor) GetSizeBytes() int64
GetSizeBytes returns the SizeBytes field value
func (*LogDescriptor) GetSizeBytesOk ¶
func (o *LogDescriptor) GetSizeBytesOk() (*int64, bool)
GetSizeBytesOk returns a tuple with the SizeBytes field value and a boolean to check if the value has been set.
func (*LogDescriptor) GetUpdatedAt ¶
func (o *LogDescriptor) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*LogDescriptor) GetUpdatedAtOk ¶
func (o *LogDescriptor) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*LogDescriptor) GetUrl ¶
func (o *LogDescriptor) GetUrl() string
GetUrl returns the Url field value
func (*LogDescriptor) GetUrlOk ¶
func (o *LogDescriptor) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (LogDescriptor) MarshalJSON ¶
func (o LogDescriptor) MarshalJSON() ([]byte, error)
func (*LogDescriptor) SetCreatedAt ¶
func (o *LogDescriptor) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*LogDescriptor) SetDataUrl ¶
func (o *LogDescriptor) SetDataUrl(v string)
SetDataUrl sets field value
func (*LogDescriptor) SetParentLogId ¶
func (o *LogDescriptor) SetParentLogId(v string)
SetParentLogId sets field value
func (*LogDescriptor) SetResourceId ¶
func (o *LogDescriptor) SetResourceId(v string)
SetResourceId sets field value
func (*LogDescriptor) SetSealed ¶
func (o *LogDescriptor) SetSealed(v bool)
SetSealed sets field value
func (*LogDescriptor) SetSizeBytes ¶
func (o *LogDescriptor) SetSizeBytes(v int64)
SetSizeBytes sets field value
func (*LogDescriptor) SetUpdatedAt ¶
func (o *LogDescriptor) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
func (LogDescriptor) ToMap ¶
func (o LogDescriptor) ToMap() (map[string]interface{}, error)
func (*LogDescriptor) UnmarshalJSON ¶
func (o *LogDescriptor) UnmarshalJSON(bytes []byte) (err error)
type MappedNullable ¶
type NodeFQN ¶
type NodeFQN struct { WorkflowName string `json:"workflow_name"` JobName string `json:"job_name"` StepName string `json:"step_name"` AdditionalProperties map[string]interface{} }
NodeFQN struct for NodeFQN
func NewNodeFQN ¶
NewNodeFQN instantiates a new NodeFQN object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNodeFQNWithDefaults ¶
func NewNodeFQNWithDefaults() *NodeFQN
NewNodeFQNWithDefaults instantiates a new NodeFQN object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NodeFQN) GetJobName ¶
GetJobName returns the JobName field value
func (*NodeFQN) GetJobNameOk ¶
GetJobNameOk returns a tuple with the JobName field value and a boolean to check if the value has been set.
func (*NodeFQN) GetStepName ¶
GetStepName returns the StepName field value
func (*NodeFQN) GetStepNameOk ¶
GetStepNameOk returns a tuple with the StepName field value and a boolean to check if the value has been set.
func (*NodeFQN) GetWorkflowName ¶
GetWorkflowName returns the WorkflowName field value
func (*NodeFQN) GetWorkflowNameOk ¶
GetWorkflowNameOk returns a tuple with the WorkflowName field value and a boolean to check if the value has been set.
func (NodeFQN) MarshalJSON ¶
func (*NodeFQN) SetWorkflowName ¶
SetWorkflowName sets field value
func (*NodeFQN) UnmarshalJSON ¶
type NullableArtifact ¶
type NullableArtifact struct {
// contains filtered or unexported fields
}
func NewNullableArtifact ¶
func NewNullableArtifact(val *Artifact) *NullableArtifact
func (NullableArtifact) Get ¶
func (v NullableArtifact) Get() *Artifact
func (NullableArtifact) IsSet ¶
func (v NullableArtifact) IsSet() bool
func (NullableArtifact) MarshalJSON ¶
func (v NullableArtifact) MarshalJSON() ([]byte, error)
func (*NullableArtifact) Set ¶
func (v *NullableArtifact) Set(val *Artifact)
func (*NullableArtifact) UnmarshalJSON ¶
func (v *NullableArtifact) UnmarshalJSON(src []byte) error
func (*NullableArtifact) Unset ¶
func (v *NullableArtifact) Unset()
type NullableArtifactDefinition ¶
type NullableArtifactDefinition struct {
// contains filtered or unexported fields
}
func NewNullableArtifactDefinition ¶
func NewNullableArtifactDefinition(val *ArtifactDefinition) *NullableArtifactDefinition
func (NullableArtifactDefinition) Get ¶
func (v NullableArtifactDefinition) Get() *ArtifactDefinition
func (NullableArtifactDefinition) IsSet ¶
func (v NullableArtifactDefinition) IsSet() bool
func (NullableArtifactDefinition) MarshalJSON ¶
func (v NullableArtifactDefinition) MarshalJSON() ([]byte, error)
func (*NullableArtifactDefinition) Set ¶
func (v *NullableArtifactDefinition) Set(val *ArtifactDefinition)
func (*NullableArtifactDefinition) UnmarshalJSON ¶
func (v *NullableArtifactDefinition) UnmarshalJSON(src []byte) error
func (*NullableArtifactDefinition) Unset ¶
func (v *NullableArtifactDefinition) Unset()
type NullableArtifactDependency ¶
type NullableArtifactDependency struct {
// contains filtered or unexported fields
}
func NewNullableArtifactDependency ¶
func NewNullableArtifactDependency(val *ArtifactDependency) *NullableArtifactDependency
func (NullableArtifactDependency) Get ¶
func (v NullableArtifactDependency) Get() *ArtifactDependency
func (NullableArtifactDependency) IsSet ¶
func (v NullableArtifactDependency) IsSet() bool
func (NullableArtifactDependency) MarshalJSON ¶
func (v NullableArtifactDependency) MarshalJSON() ([]byte, error)
func (*NullableArtifactDependency) Set ¶
func (v *NullableArtifactDependency) Set(val *ArtifactDependency)
func (*NullableArtifactDependency) UnmarshalJSON ¶
func (v *NullableArtifactDependency) UnmarshalJSON(src []byte) error
func (*NullableArtifactDependency) Unset ¶
func (v *NullableArtifactDependency) Unset()
type NullableArtifactsPaginatedResponse ¶
type NullableArtifactsPaginatedResponse struct {
// contains filtered or unexported fields
}
func NewNullableArtifactsPaginatedResponse ¶
func NewNullableArtifactsPaginatedResponse(val *ArtifactsPaginatedResponse) *NullableArtifactsPaginatedResponse
func (NullableArtifactsPaginatedResponse) Get ¶
func (v NullableArtifactsPaginatedResponse) Get() *ArtifactsPaginatedResponse
func (NullableArtifactsPaginatedResponse) IsSet ¶
func (v NullableArtifactsPaginatedResponse) IsSet() bool
func (NullableArtifactsPaginatedResponse) MarshalJSON ¶
func (v NullableArtifactsPaginatedResponse) MarshalJSON() ([]byte, error)
func (*NullableArtifactsPaginatedResponse) Set ¶
func (v *NullableArtifactsPaginatedResponse) Set(val *ArtifactsPaginatedResponse)
func (*NullableArtifactsPaginatedResponse) UnmarshalJSON ¶
func (v *NullableArtifactsPaginatedResponse) UnmarshalJSON(src []byte) error
func (*NullableArtifactsPaginatedResponse) Unset ¶
func (v *NullableArtifactsPaginatedResponse) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableBuild ¶
type NullableBuild struct {
// contains filtered or unexported fields
}
func NewNullableBuild ¶
func NewNullableBuild(val *Build) *NullableBuild
func (NullableBuild) Get ¶
func (v NullableBuild) Get() *Build
func (NullableBuild) IsSet ¶
func (v NullableBuild) IsSet() bool
func (NullableBuild) MarshalJSON ¶
func (v NullableBuild) MarshalJSON() ([]byte, error)
func (*NullableBuild) Set ¶
func (v *NullableBuild) Set(val *Build)
func (*NullableBuild) UnmarshalJSON ¶
func (v *NullableBuild) UnmarshalJSON(src []byte) error
func (*NullableBuild) Unset ¶
func (v *NullableBuild) Unset()
type NullableBuildDefinition ¶
type NullableBuildDefinition struct {
// contains filtered or unexported fields
}
func NewNullableBuildDefinition ¶
func NewNullableBuildDefinition(val *BuildDefinition) *NullableBuildDefinition
func (NullableBuildDefinition) Get ¶
func (v NullableBuildDefinition) Get() *BuildDefinition
func (NullableBuildDefinition) IsSet ¶
func (v NullableBuildDefinition) IsSet() bool
func (NullableBuildDefinition) MarshalJSON ¶
func (v NullableBuildDefinition) MarshalJSON() ([]byte, error)
func (*NullableBuildDefinition) Set ¶
func (v *NullableBuildDefinition) Set(val *BuildDefinition)
func (*NullableBuildDefinition) UnmarshalJSON ¶
func (v *NullableBuildDefinition) UnmarshalJSON(src []byte) error
func (*NullableBuildDefinition) Unset ¶
func (v *NullableBuildDefinition) Unset()
type NullableBuildGraph ¶
type NullableBuildGraph struct {
// contains filtered or unexported fields
}
func NewNullableBuildGraph ¶
func NewNullableBuildGraph(val *BuildGraph) *NullableBuildGraph
func (NullableBuildGraph) Get ¶
func (v NullableBuildGraph) Get() *BuildGraph
func (NullableBuildGraph) IsSet ¶
func (v NullableBuildGraph) IsSet() bool
func (NullableBuildGraph) MarshalJSON ¶
func (v NullableBuildGraph) MarshalJSON() ([]byte, error)
func (*NullableBuildGraph) Set ¶
func (v *NullableBuildGraph) Set(val *BuildGraph)
func (*NullableBuildGraph) UnmarshalJSON ¶
func (v *NullableBuildGraph) UnmarshalJSON(src []byte) error
func (*NullableBuildGraph) Unset ¶
func (v *NullableBuildGraph) Unset()
type NullableBuildOptions ¶
type NullableBuildOptions struct {
// contains filtered or unexported fields
}
func NewNullableBuildOptions ¶
func NewNullableBuildOptions(val *BuildOptions) *NullableBuildOptions
func (NullableBuildOptions) Get ¶
func (v NullableBuildOptions) Get() *BuildOptions
func (NullableBuildOptions) IsSet ¶
func (v NullableBuildOptions) IsSet() bool
func (NullableBuildOptions) MarshalJSON ¶
func (v NullableBuildOptions) MarshalJSON() ([]byte, error)
func (*NullableBuildOptions) Set ¶
func (v *NullableBuildOptions) Set(val *BuildOptions)
func (*NullableBuildOptions) UnmarshalJSON ¶
func (v *NullableBuildOptions) UnmarshalJSON(src []byte) error
func (*NullableBuildOptions) Unset ¶
func (v *NullableBuildOptions) Unset()
type NullableCommit ¶
type NullableCommit struct {
// contains filtered or unexported fields
}
func NewNullableCommit ¶
func NewNullableCommit(val *Commit) *NullableCommit
func (NullableCommit) Get ¶
func (v NullableCommit) Get() *Commit
func (NullableCommit) IsSet ¶
func (v NullableCommit) IsSet() bool
func (NullableCommit) MarshalJSON ¶
func (v NullableCommit) MarshalJSON() ([]byte, error)
func (*NullableCommit) Set ¶
func (v *NullableCommit) Set(val *Commit)
func (*NullableCommit) UnmarshalJSON ¶
func (v *NullableCommit) UnmarshalJSON(src []byte) error
func (*NullableCommit) Unset ¶
func (v *NullableCommit) Unset()
type NullableDockerAWSAuth ¶
type NullableDockerAWSAuth struct {
// contains filtered or unexported fields
}
func NewNullableDockerAWSAuth ¶
func NewNullableDockerAWSAuth(val *DockerAWSAuth) *NullableDockerAWSAuth
func (NullableDockerAWSAuth) Get ¶
func (v NullableDockerAWSAuth) Get() *DockerAWSAuth
func (NullableDockerAWSAuth) IsSet ¶
func (v NullableDockerAWSAuth) IsSet() bool
func (NullableDockerAWSAuth) MarshalJSON ¶
func (v NullableDockerAWSAuth) MarshalJSON() ([]byte, error)
func (*NullableDockerAWSAuth) Set ¶
func (v *NullableDockerAWSAuth) Set(val *DockerAWSAuth)
func (*NullableDockerAWSAuth) UnmarshalJSON ¶
func (v *NullableDockerAWSAuth) UnmarshalJSON(src []byte) error
func (*NullableDockerAWSAuth) Unset ¶
func (v *NullableDockerAWSAuth) Unset()
type NullableDockerAWSAuthDefinition ¶
type NullableDockerAWSAuthDefinition struct {
// contains filtered or unexported fields
}
func NewNullableDockerAWSAuthDefinition ¶
func NewNullableDockerAWSAuthDefinition(val *DockerAWSAuthDefinition) *NullableDockerAWSAuthDefinition
func (NullableDockerAWSAuthDefinition) Get ¶
func (v NullableDockerAWSAuthDefinition) Get() *DockerAWSAuthDefinition
func (NullableDockerAWSAuthDefinition) IsSet ¶
func (v NullableDockerAWSAuthDefinition) IsSet() bool
func (NullableDockerAWSAuthDefinition) MarshalJSON ¶
func (v NullableDockerAWSAuthDefinition) MarshalJSON() ([]byte, error)
func (*NullableDockerAWSAuthDefinition) Set ¶
func (v *NullableDockerAWSAuthDefinition) Set(val *DockerAWSAuthDefinition)
func (*NullableDockerAWSAuthDefinition) UnmarshalJSON ¶
func (v *NullableDockerAWSAuthDefinition) UnmarshalJSON(src []byte) error
func (*NullableDockerAWSAuthDefinition) Unset ¶
func (v *NullableDockerAWSAuthDefinition) Unset()
type NullableDockerBasicAuth ¶
type NullableDockerBasicAuth struct {
// contains filtered or unexported fields
}
func NewNullableDockerBasicAuth ¶
func NewNullableDockerBasicAuth(val *DockerBasicAuth) *NullableDockerBasicAuth
func (NullableDockerBasicAuth) Get ¶
func (v NullableDockerBasicAuth) Get() *DockerBasicAuth
func (NullableDockerBasicAuth) IsSet ¶
func (v NullableDockerBasicAuth) IsSet() bool
func (NullableDockerBasicAuth) MarshalJSON ¶
func (v NullableDockerBasicAuth) MarshalJSON() ([]byte, error)
func (*NullableDockerBasicAuth) Set ¶
func (v *NullableDockerBasicAuth) Set(val *DockerBasicAuth)
func (*NullableDockerBasicAuth) UnmarshalJSON ¶
func (v *NullableDockerBasicAuth) UnmarshalJSON(src []byte) error
func (*NullableDockerBasicAuth) Unset ¶
func (v *NullableDockerBasicAuth) Unset()
type NullableDockerBasicAuthDefinition ¶
type NullableDockerBasicAuthDefinition struct {
// contains filtered or unexported fields
}
func NewNullableDockerBasicAuthDefinition ¶
func NewNullableDockerBasicAuthDefinition(val *DockerBasicAuthDefinition) *NullableDockerBasicAuthDefinition
func (NullableDockerBasicAuthDefinition) Get ¶
func (v NullableDockerBasicAuthDefinition) Get() *DockerBasicAuthDefinition
func (NullableDockerBasicAuthDefinition) IsSet ¶
func (v NullableDockerBasicAuthDefinition) IsSet() bool
func (NullableDockerBasicAuthDefinition) MarshalJSON ¶
func (v NullableDockerBasicAuthDefinition) MarshalJSON() ([]byte, error)
func (*NullableDockerBasicAuthDefinition) Set ¶
func (v *NullableDockerBasicAuthDefinition) Set(val *DockerBasicAuthDefinition)
func (*NullableDockerBasicAuthDefinition) UnmarshalJSON ¶
func (v *NullableDockerBasicAuthDefinition) UnmarshalJSON(src []byte) error
func (*NullableDockerBasicAuthDefinition) Unset ¶
func (v *NullableDockerBasicAuthDefinition) Unset()
type NullableDockerConfig ¶
type NullableDockerConfig struct {
// contains filtered or unexported fields
}
func NewNullableDockerConfig ¶
func NewNullableDockerConfig(val *DockerConfig) *NullableDockerConfig
func (NullableDockerConfig) Get ¶
func (v NullableDockerConfig) Get() *DockerConfig
func (NullableDockerConfig) IsSet ¶
func (v NullableDockerConfig) IsSet() bool
func (NullableDockerConfig) MarshalJSON ¶
func (v NullableDockerConfig) MarshalJSON() ([]byte, error)
func (*NullableDockerConfig) Set ¶
func (v *NullableDockerConfig) Set(val *DockerConfig)
func (*NullableDockerConfig) UnmarshalJSON ¶
func (v *NullableDockerConfig) UnmarshalJSON(src []byte) error
func (*NullableDockerConfig) Unset ¶
func (v *NullableDockerConfig) Unset()
type NullableDockerConfigDefinition ¶
type NullableDockerConfigDefinition struct {
// contains filtered or unexported fields
}
func NewNullableDockerConfigDefinition ¶
func NewNullableDockerConfigDefinition(val *DockerConfigDefinition) *NullableDockerConfigDefinition
func (NullableDockerConfigDefinition) Get ¶
func (v NullableDockerConfigDefinition) Get() *DockerConfigDefinition
func (NullableDockerConfigDefinition) IsSet ¶
func (v NullableDockerConfigDefinition) IsSet() bool
func (NullableDockerConfigDefinition) MarshalJSON ¶
func (v NullableDockerConfigDefinition) MarshalJSON() ([]byte, error)
func (*NullableDockerConfigDefinition) Set ¶
func (v *NullableDockerConfigDefinition) Set(val *DockerConfigDefinition)
func (*NullableDockerConfigDefinition) UnmarshalJSON ¶
func (v *NullableDockerConfigDefinition) UnmarshalJSON(src []byte) error
func (*NullableDockerConfigDefinition) Unset ¶
func (v *NullableDockerConfigDefinition) Unset()
type NullableEnvVar ¶
type NullableEnvVar struct {
// contains filtered or unexported fields
}
func NewNullableEnvVar ¶
func NewNullableEnvVar(val *EnvVar) *NullableEnvVar
func (NullableEnvVar) Get ¶
func (v NullableEnvVar) Get() *EnvVar
func (NullableEnvVar) IsSet ¶
func (v NullableEnvVar) IsSet() bool
func (NullableEnvVar) MarshalJSON ¶
func (v NullableEnvVar) MarshalJSON() ([]byte, error)
func (*NullableEnvVar) Set ¶
func (v *NullableEnvVar) Set(val *EnvVar)
func (*NullableEnvVar) UnmarshalJSON ¶
func (v *NullableEnvVar) UnmarshalJSON(src []byte) error
func (*NullableEnvVar) Unset ¶
func (v *NullableEnvVar) Unset()
type NullableEvent ¶
type NullableEvent struct {
// contains filtered or unexported fields
}
func NewNullableEvent ¶
func NewNullableEvent(val *Event) *NullableEvent
func (NullableEvent) Get ¶
func (v NullableEvent) Get() *Event
func (NullableEvent) IsSet ¶
func (v NullableEvent) IsSet() bool
func (NullableEvent) MarshalJSON ¶
func (v NullableEvent) MarshalJSON() ([]byte, error)
func (*NullableEvent) Set ¶
func (v *NullableEvent) Set(val *Event)
func (*NullableEvent) UnmarshalJSON ¶
func (v *NullableEvent) UnmarshalJSON(src []byte) error
func (*NullableEvent) Unset ¶
func (v *NullableEvent) Unset()
type NullableExternalResourceID ¶
type NullableExternalResourceID struct {
// contains filtered or unexported fields
}
func NewNullableExternalResourceID ¶
func NewNullableExternalResourceID(val *ExternalResourceID) *NullableExternalResourceID
func (NullableExternalResourceID) Get ¶
func (v NullableExternalResourceID) Get() *ExternalResourceID
func (NullableExternalResourceID) IsSet ¶
func (v NullableExternalResourceID) IsSet() bool
func (NullableExternalResourceID) MarshalJSON ¶
func (v NullableExternalResourceID) MarshalJSON() ([]byte, error)
func (*NullableExternalResourceID) Set ¶
func (v *NullableExternalResourceID) Set(val *ExternalResourceID)
func (*NullableExternalResourceID) UnmarshalJSON ¶
func (v *NullableExternalResourceID) UnmarshalJSON(src []byte) error
func (*NullableExternalResourceID) Unset ¶
func (v *NullableExternalResourceID) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableJob ¶
type NullableJob struct {
// contains filtered or unexported fields
}
func NewNullableJob ¶
func NewNullableJob(val *Job) *NullableJob
func (NullableJob) Get ¶
func (v NullableJob) Get() *Job
func (NullableJob) IsSet ¶
func (v NullableJob) IsSet() bool
func (NullableJob) MarshalJSON ¶
func (v NullableJob) MarshalJSON() ([]byte, error)
func (*NullableJob) Set ¶
func (v *NullableJob) Set(val *Job)
func (*NullableJob) UnmarshalJSON ¶
func (v *NullableJob) UnmarshalJSON(src []byte) error
func (*NullableJob) Unset ¶
func (v *NullableJob) Unset()
type NullableJobDefinition ¶
type NullableJobDefinition struct {
// contains filtered or unexported fields
}
func NewNullableJobDefinition ¶
func NewNullableJobDefinition(val *JobDefinition) *NullableJobDefinition
func (NullableJobDefinition) Get ¶
func (v NullableJobDefinition) Get() *JobDefinition
func (NullableJobDefinition) IsSet ¶
func (v NullableJobDefinition) IsSet() bool
func (NullableJobDefinition) MarshalJSON ¶
func (v NullableJobDefinition) MarshalJSON() ([]byte, error)
func (*NullableJobDefinition) Set ¶
func (v *NullableJobDefinition) Set(val *JobDefinition)
func (*NullableJobDefinition) UnmarshalJSON ¶
func (v *NullableJobDefinition) UnmarshalJSON(src []byte) error
func (*NullableJobDefinition) Unset ¶
func (v *NullableJobDefinition) Unset()
type NullableJobDependency ¶
type NullableJobDependency struct {
// contains filtered or unexported fields
}
func NewNullableJobDependency ¶
func NewNullableJobDependency(val *JobDependency) *NullableJobDependency
func (NullableJobDependency) Get ¶
func (v NullableJobDependency) Get() *JobDependency
func (NullableJobDependency) IsSet ¶
func (v NullableJobDependency) IsSet() bool
func (NullableJobDependency) MarshalJSON ¶
func (v NullableJobDependency) MarshalJSON() ([]byte, error)
func (*NullableJobDependency) Set ¶
func (v *NullableJobDependency) Set(val *JobDependency)
func (*NullableJobDependency) UnmarshalJSON ¶
func (v *NullableJobDependency) UnmarshalJSON(src []byte) error
func (*NullableJobDependency) Unset ¶
func (v *NullableJobDependency) Unset()
type NullableJobGraph ¶
type NullableJobGraph struct {
// contains filtered or unexported fields
}
func NewNullableJobGraph ¶
func NewNullableJobGraph(val *JobGraph) *NullableJobGraph
func (NullableJobGraph) Get ¶
func (v NullableJobGraph) Get() *JobGraph
func (NullableJobGraph) IsSet ¶
func (v NullableJobGraph) IsSet() bool
func (NullableJobGraph) MarshalJSON ¶
func (v NullableJobGraph) MarshalJSON() ([]byte, error)
func (*NullableJobGraph) Set ¶
func (v *NullableJobGraph) Set(val *JobGraph)
func (*NullableJobGraph) UnmarshalJSON ¶
func (v *NullableJobGraph) UnmarshalJSON(src []byte) error
func (*NullableJobGraph) Unset ¶
func (v *NullableJobGraph) Unset()
type NullableLogDescriptor ¶
type NullableLogDescriptor struct {
// contains filtered or unexported fields
}
func NewNullableLogDescriptor ¶
func NewNullableLogDescriptor(val *LogDescriptor) *NullableLogDescriptor
func (NullableLogDescriptor) Get ¶
func (v NullableLogDescriptor) Get() *LogDescriptor
func (NullableLogDescriptor) IsSet ¶
func (v NullableLogDescriptor) IsSet() bool
func (NullableLogDescriptor) MarshalJSON ¶
func (v NullableLogDescriptor) MarshalJSON() ([]byte, error)
func (*NullableLogDescriptor) Set ¶
func (v *NullableLogDescriptor) Set(val *LogDescriptor)
func (*NullableLogDescriptor) UnmarshalJSON ¶
func (v *NullableLogDescriptor) UnmarshalJSON(src []byte) error
func (*NullableLogDescriptor) Unset ¶
func (v *NullableLogDescriptor) Unset()
type NullableNodeFQN ¶
type NullableNodeFQN struct {
// contains filtered or unexported fields
}
func NewNullableNodeFQN ¶
func NewNullableNodeFQN(val *NodeFQN) *NullableNodeFQN
func (NullableNodeFQN) Get ¶
func (v NullableNodeFQN) Get() *NodeFQN
func (NullableNodeFQN) IsSet ¶
func (v NullableNodeFQN) IsSet() bool
func (NullableNodeFQN) MarshalJSON ¶
func (v NullableNodeFQN) MarshalJSON() ([]byte, error)
func (*NullableNodeFQN) Set ¶
func (v *NullableNodeFQN) Set(val *NodeFQN)
func (*NullableNodeFQN) UnmarshalJSON ¶
func (v *NullableNodeFQN) UnmarshalJSON(src []byte) error
func (*NullableNodeFQN) Unset ¶
func (v *NullableNodeFQN) Unset()
type NullableRepo ¶
type NullableRepo struct {
// contains filtered or unexported fields
}
func NewNullableRepo ¶
func NewNullableRepo(val *Repo) *NullableRepo
func (NullableRepo) Get ¶
func (v NullableRepo) Get() *Repo
func (NullableRepo) IsSet ¶
func (v NullableRepo) IsSet() bool
func (NullableRepo) MarshalJSON ¶
func (v NullableRepo) MarshalJSON() ([]byte, error)
func (*NullableRepo) Set ¶
func (v *NullableRepo) Set(val *Repo)
func (*NullableRepo) UnmarshalJSON ¶
func (v *NullableRepo) UnmarshalJSON(src []byte) error
func (*NullableRepo) Unset ¶
func (v *NullableRepo) Unset()
type NullableRunnerApiEndpoints ¶
type NullableRunnerApiEndpoints struct {
// contains filtered or unexported fields
}
func NewNullableRunnerApiEndpoints ¶
func NewNullableRunnerApiEndpoints(val *RunnerApiEndpoints) *NullableRunnerApiEndpoints
func (NullableRunnerApiEndpoints) Get ¶
func (v NullableRunnerApiEndpoints) Get() *RunnerApiEndpoints
func (NullableRunnerApiEndpoints) IsSet ¶
func (v NullableRunnerApiEndpoints) IsSet() bool
func (NullableRunnerApiEndpoints) MarshalJSON ¶
func (v NullableRunnerApiEndpoints) MarshalJSON() ([]byte, error)
func (*NullableRunnerApiEndpoints) Set ¶
func (v *NullableRunnerApiEndpoints) Set(val *RunnerApiEndpoints)
func (*NullableRunnerApiEndpoints) UnmarshalJSON ¶
func (v *NullableRunnerApiEndpoints) UnmarshalJSON(src []byte) error
func (*NullableRunnerApiEndpoints) Unset ¶
func (v *NullableRunnerApiEndpoints) Unset()
type NullableSecretString ¶
type NullableSecretString struct {
// contains filtered or unexported fields
}
func NewNullableSecretString ¶
func NewNullableSecretString(val *SecretString) *NullableSecretString
func (NullableSecretString) Get ¶
func (v NullableSecretString) Get() *SecretString
func (NullableSecretString) IsSet ¶
func (v NullableSecretString) IsSet() bool
func (NullableSecretString) MarshalJSON ¶
func (v NullableSecretString) MarshalJSON() ([]byte, error)
func (*NullableSecretString) Set ¶
func (v *NullableSecretString) Set(val *SecretString)
func (*NullableSecretString) UnmarshalJSON ¶
func (v *NullableSecretString) UnmarshalJSON(src []byte) error
func (*NullableSecretString) Unset ¶
func (v *NullableSecretString) Unset()
type NullableSecretStringDefinition ¶
type NullableSecretStringDefinition struct {
// contains filtered or unexported fields
}
func NewNullableSecretStringDefinition ¶
func NewNullableSecretStringDefinition(val *SecretStringDefinition) *NullableSecretStringDefinition
func (NullableSecretStringDefinition) Get ¶
func (v NullableSecretStringDefinition) Get() *SecretStringDefinition
func (NullableSecretStringDefinition) IsSet ¶
func (v NullableSecretStringDefinition) IsSet() bool
func (NullableSecretStringDefinition) MarshalJSON ¶
func (v NullableSecretStringDefinition) MarshalJSON() ([]byte, error)
func (*NullableSecretStringDefinition) Set ¶
func (v *NullableSecretStringDefinition) Set(val *SecretStringDefinition)
func (*NullableSecretStringDefinition) UnmarshalJSON ¶
func (v *NullableSecretStringDefinition) UnmarshalJSON(src []byte) error
func (*NullableSecretStringDefinition) Unset ¶
func (v *NullableSecretStringDefinition) Unset()
type NullableService ¶
type NullableService struct {
// contains filtered or unexported fields
}
func NewNullableService ¶
func NewNullableService(val *Service) *NullableService
func (NullableService) Get ¶
func (v NullableService) Get() *Service
func (NullableService) IsSet ¶
func (v NullableService) IsSet() bool
func (NullableService) MarshalJSON ¶
func (v NullableService) MarshalJSON() ([]byte, error)
func (*NullableService) Set ¶
func (v *NullableService) Set(val *Service)
func (*NullableService) UnmarshalJSON ¶
func (v *NullableService) UnmarshalJSON(src []byte) error
func (*NullableService) Unset ¶
func (v *NullableService) Unset()
type NullableServiceDefinition ¶
type NullableServiceDefinition struct {
// contains filtered or unexported fields
}
func NewNullableServiceDefinition ¶
func NewNullableServiceDefinition(val *ServiceDefinition) *NullableServiceDefinition
func (NullableServiceDefinition) Get ¶
func (v NullableServiceDefinition) Get() *ServiceDefinition
func (NullableServiceDefinition) IsSet ¶
func (v NullableServiceDefinition) IsSet() bool
func (NullableServiceDefinition) MarshalJSON ¶
func (v NullableServiceDefinition) MarshalJSON() ([]byte, error)
func (*NullableServiceDefinition) Set ¶
func (v *NullableServiceDefinition) Set(val *ServiceDefinition)
func (*NullableServiceDefinition) UnmarshalJSON ¶
func (v *NullableServiceDefinition) UnmarshalJSON(src []byte) error
func (*NullableServiceDefinition) Unset ¶
func (v *NullableServiceDefinition) Unset()
type NullableStep ¶
type NullableStep struct {
// contains filtered or unexported fields
}
func NewNullableStep ¶
func NewNullableStep(val *Step) *NullableStep
func (NullableStep) Get ¶
func (v NullableStep) Get() *Step
func (NullableStep) IsSet ¶
func (v NullableStep) IsSet() bool
func (NullableStep) MarshalJSON ¶
func (v NullableStep) MarshalJSON() ([]byte, error)
func (*NullableStep) Set ¶
func (v *NullableStep) Set(val *Step)
func (*NullableStep) UnmarshalJSON ¶
func (v *NullableStep) UnmarshalJSON(src []byte) error
func (*NullableStep) Unset ¶
func (v *NullableStep) Unset()
type NullableStepDefinition ¶
type NullableStepDefinition struct {
// contains filtered or unexported fields
}
func NewNullableStepDefinition ¶
func NewNullableStepDefinition(val *StepDefinition) *NullableStepDefinition
func (NullableStepDefinition) Get ¶
func (v NullableStepDefinition) Get() *StepDefinition
func (NullableStepDefinition) IsSet ¶
func (v NullableStepDefinition) IsSet() bool
func (NullableStepDefinition) MarshalJSON ¶
func (v NullableStepDefinition) MarshalJSON() ([]byte, error)
func (*NullableStepDefinition) Set ¶
func (v *NullableStepDefinition) Set(val *StepDefinition)
func (*NullableStepDefinition) UnmarshalJSON ¶
func (v *NullableStepDefinition) UnmarshalJSON(src []byte) error
func (*NullableStepDefinition) Unset ¶
func (v *NullableStepDefinition) Unset()
type NullableStepDependency ¶
type NullableStepDependency struct {
// contains filtered or unexported fields
}
func NewNullableStepDependency ¶
func NewNullableStepDependency(val *StepDependency) *NullableStepDependency
func (NullableStepDependency) Get ¶
func (v NullableStepDependency) Get() *StepDependency
func (NullableStepDependency) IsSet ¶
func (v NullableStepDependency) IsSet() bool
func (NullableStepDependency) MarshalJSON ¶
func (v NullableStepDependency) MarshalJSON() ([]byte, error)
func (*NullableStepDependency) Set ¶
func (v *NullableStepDependency) Set(val *StepDependency)
func (*NullableStepDependency) UnmarshalJSON ¶
func (v *NullableStepDependency) UnmarshalJSON(src []byte) error
func (*NullableStepDependency) Unset ¶
func (v *NullableStepDependency) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableWorkflowTimings ¶
type NullableWorkflowTimings struct {
// contains filtered or unexported fields
}
func NewNullableWorkflowTimings ¶
func NewNullableWorkflowTimings(val *WorkflowTimings) *NullableWorkflowTimings
func (NullableWorkflowTimings) Get ¶
func (v NullableWorkflowTimings) Get() *WorkflowTimings
func (NullableWorkflowTimings) IsSet ¶
func (v NullableWorkflowTimings) IsSet() bool
func (NullableWorkflowTimings) MarshalJSON ¶
func (v NullableWorkflowTimings) MarshalJSON() ([]byte, error)
func (*NullableWorkflowTimings) Set ¶
func (v *NullableWorkflowTimings) Set(val *WorkflowTimings)
func (*NullableWorkflowTimings) UnmarshalJSON ¶
func (v *NullableWorkflowTimings) UnmarshalJSON(src []byte) error
func (*NullableWorkflowTimings) Unset ¶
func (v *NullableWorkflowTimings) Unset()
type Repo ¶
type Repo struct { // A link to the Repo resource on the BuildBeaver server. Url string `json:"url"` Id string `json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at,omitempty"` Etag string `json:"etag"` // Name of the repo. Name string `json:"name"` // A description of the repo, taken from the Source Control Management system (e.g. GitHub). Description string `json:"description"` // The ID of the Legal Entity (person or company) that owns this repo. LegalEntityId string `json:"legal_entity_id"` // The URL of this repo on the Source Control Management system (e.g. GitHub) for SSH access to the repo. SshUrl string `json:"ssh_url"` // The URL of this repo on the Source Control Management system (e.g. GitHub) for HTTP access to the repo. HttpUrl string `json:"http_url"` // A link (URL) to the Repo on the Web, for users to browse to. Link string `json:"link"` // The name of the default branch on this repo (typically 'main' or 'master') DefaultBranch string `json:"default_branch"` // True if this is a private repo, false if it is public. Private bool `json:"private"` // True if builds are enabled for this repo. Enabled bool `json:"enabled"` // The ID of the secret containing the SSH key to use to check out code from the repo. SshKeySecretId *string `json:"ssh_key_secret_id,omitempty"` ExternalId *ExternalResourceID `json:"external_id,omitempty"` // Extra information relating to the repo in the Source Control Management system (e.g. GitHub). The exact information stored here will depend on which SCM contains the repo. ExternalMetadata string `json:"external_metadata"` // URL to fetch a list of builds for this repo. BuildsUrl string `json:"builds_url"` // URL to search for specific builds for this repo. BuildSearchUrl string `json:"build_search_url"` // URL to fetch secrets for this repo (subject to access control). SecretsUrl string `json:"secrets_url"` AdditionalProperties map[string]interface{} }
Repo struct for Repo
func NewRepo ¶
func NewRepo(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, name string, description string, legalEntityId string, sshUrl string, httpUrl string, link string, defaultBranch string, private bool, enabled bool, externalMetadata string, buildsUrl string, buildSearchUrl string, secretsUrl string) *Repo
NewRepo instantiates a new Repo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRepoWithDefaults ¶
func NewRepoWithDefaults() *Repo
NewRepoWithDefaults instantiates a new Repo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Repo) GetBuildSearchUrl ¶
GetBuildSearchUrl returns the BuildSearchUrl field value
func (*Repo) GetBuildSearchUrlOk ¶
GetBuildSearchUrlOk returns a tuple with the BuildSearchUrl field value and a boolean to check if the value has been set.
func (*Repo) GetBuildsUrl ¶
GetBuildsUrl returns the BuildsUrl field value
func (*Repo) GetBuildsUrlOk ¶
GetBuildsUrlOk returns a tuple with the BuildsUrl field value and a boolean to check if the value has been set.
func (*Repo) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Repo) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Repo) GetDefaultBranch ¶
GetDefaultBranch returns the DefaultBranch field value
func (*Repo) GetDefaultBranchOk ¶
GetDefaultBranchOk returns a tuple with the DefaultBranch field value and a boolean to check if the value has been set.
func (*Repo) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*Repo) GetDeletedAtOk ¶
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Repo) GetDescription ¶
GetDescription returns the Description field value
func (*Repo) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Repo) GetEnabled ¶
GetEnabled returns the Enabled field value
func (*Repo) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value and a boolean to check if the value has been set.
func (*Repo) GetEtagOk ¶
GetEtagOk returns a tuple with the Etag field value and a boolean to check if the value has been set.
func (*Repo) GetExternalId ¶
func (o *Repo) GetExternalId() ExternalResourceID
GetExternalId returns the ExternalId field value if set, zero value otherwise.
func (*Repo) GetExternalIdOk ¶
func (o *Repo) GetExternalIdOk() (*ExternalResourceID, bool)
GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Repo) GetExternalMetadata ¶
GetExternalMetadata returns the ExternalMetadata field value
func (*Repo) GetExternalMetadataOk ¶
GetExternalMetadataOk returns a tuple with the ExternalMetadata field value and a boolean to check if the value has been set.
func (*Repo) GetHttpUrl ¶
GetHttpUrl returns the HttpUrl field value
func (*Repo) GetHttpUrlOk ¶
GetHttpUrlOk returns a tuple with the HttpUrl field value and a boolean to check if the value has been set.
func (*Repo) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Repo) GetLegalEntityId ¶
GetLegalEntityId returns the LegalEntityId field value
func (*Repo) GetLegalEntityIdOk ¶
GetLegalEntityIdOk returns a tuple with the LegalEntityId field value and a boolean to check if the value has been set.
func (*Repo) GetLinkOk ¶
GetLinkOk returns a tuple with the Link field value and a boolean to check if the value has been set.
func (*Repo) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Repo) GetPrivate ¶
GetPrivate returns the Private field value
func (*Repo) GetPrivateOk ¶
GetPrivateOk returns a tuple with the Private field value and a boolean to check if the value has been set.
func (*Repo) GetSecretsUrl ¶
GetSecretsUrl returns the SecretsUrl field value
func (*Repo) GetSecretsUrlOk ¶
GetSecretsUrlOk returns a tuple with the SecretsUrl field value and a boolean to check if the value has been set.
func (*Repo) GetSshKeySecretId ¶
GetSshKeySecretId returns the SshKeySecretId field value if set, zero value otherwise.
func (*Repo) GetSshKeySecretIdOk ¶
GetSshKeySecretIdOk returns a tuple with the SshKeySecretId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Repo) GetSshUrlOk ¶
GetSshUrlOk returns a tuple with the SshUrl field value and a boolean to check if the value has been set.
func (*Repo) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Repo) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Repo) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Repo) HasDeletedAt ¶
HasDeletedAt returns a boolean if a field has been set.
func (*Repo) HasExternalId ¶
HasExternalId returns a boolean if a field has been set.
func (*Repo) HasSshKeySecretId ¶
HasSshKeySecretId returns a boolean if a field has been set.
func (Repo) MarshalJSON ¶
func (*Repo) SetBuildSearchUrl ¶
SetBuildSearchUrl sets field value
func (*Repo) SetDefaultBranch ¶
SetDefaultBranch sets field value
func (*Repo) SetDeletedAt ¶
SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.
func (*Repo) SetDescription ¶
SetDescription sets field value
func (*Repo) SetExternalId ¶
func (o *Repo) SetExternalId(v ExternalResourceID)
SetExternalId gets a reference to the given ExternalResourceID and assigns it to the ExternalId field.
func (*Repo) SetExternalMetadata ¶
SetExternalMetadata sets field value
func (*Repo) SetLegalEntityId ¶
SetLegalEntityId sets field value
func (*Repo) SetSshKeySecretId ¶
SetSshKeySecretId gets a reference to the given string and assigns it to the SshKeySecretId field.
func (*Repo) UnmarshalJSON ¶
type RunnerApiEndpoints ¶
type RunnerApiEndpoints struct { // The value of an environment variable, for variables that do not use secrets. Value *string `json:"value,omitempty"` // The name of the secret that contains the value, for environment variables that use secrets. FromSecret *string `json:"from_secret,omitempty"` AdditionalProperties map[string]interface{} }
RunnerApiEndpoints struct for RunnerApiEndpoints
func NewRunnerApiEndpoints ¶
func NewRunnerApiEndpoints() *RunnerApiEndpoints
NewRunnerApiEndpoints instantiates a new RunnerApiEndpoints object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRunnerApiEndpointsWithDefaults ¶
func NewRunnerApiEndpointsWithDefaults() *RunnerApiEndpoints
NewRunnerApiEndpointsWithDefaults instantiates a new RunnerApiEndpoints object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RunnerApiEndpoints) GetFromSecret ¶
func (o *RunnerApiEndpoints) GetFromSecret() string
GetFromSecret returns the FromSecret field value if set, zero value otherwise.
func (*RunnerApiEndpoints) GetFromSecretOk ¶
func (o *RunnerApiEndpoints) GetFromSecretOk() (*string, bool)
GetFromSecretOk returns a tuple with the FromSecret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RunnerApiEndpoints) GetValue ¶
func (o *RunnerApiEndpoints) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*RunnerApiEndpoints) GetValueOk ¶
func (o *RunnerApiEndpoints) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RunnerApiEndpoints) HasFromSecret ¶
func (o *RunnerApiEndpoints) HasFromSecret() bool
HasFromSecret returns a boolean if a field has been set.
func (*RunnerApiEndpoints) HasValue ¶
func (o *RunnerApiEndpoints) HasValue() bool
HasValue returns a boolean if a field has been set.
func (RunnerApiEndpoints) MarshalJSON ¶
func (o RunnerApiEndpoints) MarshalJSON() ([]byte, error)
func (*RunnerApiEndpoints) SetFromSecret ¶
func (o *RunnerApiEndpoints) SetFromSecret(v string)
SetFromSecret gets a reference to the given string and assigns it to the FromSecret field.
func (*RunnerApiEndpoints) SetValue ¶
func (o *RunnerApiEndpoints) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (RunnerApiEndpoints) ToMap ¶
func (o RunnerApiEndpoints) ToMap() (map[string]interface{}, error)
func (*RunnerApiEndpoints) UnmarshalJSON ¶
func (o *RunnerApiEndpoints) UnmarshalJSON(bytes []byte) (err error)
type SecretString ¶
type SecretString struct { // An explicit, non-secret value for an environment variable or field. Value *string `json:"value,omitempty"` // The name of the secret that contains the value, for an environment variable or field. ValueFromSecret *string `json:"value_from_secret,omitempty"` AdditionalProperties map[string]interface{} }
SecretString struct for SecretString
func NewSecretString ¶
func NewSecretString() *SecretString
NewSecretString instantiates a new SecretString object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSecretStringWithDefaults ¶
func NewSecretStringWithDefaults() *SecretString
NewSecretStringWithDefaults instantiates a new SecretString object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SecretString) GetValue ¶
func (o *SecretString) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*SecretString) GetValueFromSecret ¶
func (o *SecretString) GetValueFromSecret() string
GetValueFromSecret returns the ValueFromSecret field value if set, zero value otherwise.
func (*SecretString) GetValueFromSecretOk ¶
func (o *SecretString) GetValueFromSecretOk() (*string, bool)
GetValueFromSecretOk returns a tuple with the ValueFromSecret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecretString) GetValueOk ¶
func (o *SecretString) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecretString) HasValue ¶
func (o *SecretString) HasValue() bool
HasValue returns a boolean if a field has been set.
func (*SecretString) HasValueFromSecret ¶
func (o *SecretString) HasValueFromSecret() bool
HasValueFromSecret returns a boolean if a field has been set.
func (SecretString) MarshalJSON ¶
func (o SecretString) MarshalJSON() ([]byte, error)
func (*SecretString) SetValue ¶
func (o *SecretString) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (*SecretString) SetValueFromSecret ¶
func (o *SecretString) SetValueFromSecret(v string)
SetValueFromSecret gets a reference to the given string and assigns it to the ValueFromSecret field.
func (SecretString) ToMap ¶
func (o SecretString) ToMap() (map[string]interface{}, error)
func (*SecretString) UnmarshalJSON ¶
func (o *SecretString) UnmarshalJSON(bytes []byte) (err error)
type SecretStringDefinition ¶
type SecretStringDefinition struct { // The value of an environment variable, for variables that do not use secrets. Value *string `json:"value,omitempty"` // The name of the secret that contains the value, for environment variables that use secrets. FromSecret *string `json:"from_secret,omitempty"` AdditionalProperties map[string]interface{} }
SecretStringDefinition struct for SecretStringDefinition
func NewSecretStringDefinition ¶
func NewSecretStringDefinition() *SecretStringDefinition
NewSecretStringDefinition instantiates a new SecretStringDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSecretStringDefinitionWithDefaults ¶
func NewSecretStringDefinitionWithDefaults() *SecretStringDefinition
NewSecretStringDefinitionWithDefaults instantiates a new SecretStringDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SecretStringDefinition) GetFromSecret ¶
func (o *SecretStringDefinition) GetFromSecret() string
GetFromSecret returns the FromSecret field value if set, zero value otherwise.
func (*SecretStringDefinition) GetFromSecretOk ¶
func (o *SecretStringDefinition) GetFromSecretOk() (*string, bool)
GetFromSecretOk returns a tuple with the FromSecret field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecretStringDefinition) GetValue ¶
func (o *SecretStringDefinition) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*SecretStringDefinition) GetValueOk ¶
func (o *SecretStringDefinition) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SecretStringDefinition) HasFromSecret ¶
func (o *SecretStringDefinition) HasFromSecret() bool
HasFromSecret returns a boolean if a field has been set.
func (*SecretStringDefinition) HasValue ¶
func (o *SecretStringDefinition) HasValue() bool
HasValue returns a boolean if a field has been set.
func (SecretStringDefinition) MarshalJSON ¶
func (o SecretStringDefinition) MarshalJSON() ([]byte, error)
func (*SecretStringDefinition) SetFromSecret ¶
func (o *SecretStringDefinition) SetFromSecret(v string)
SetFromSecret gets a reference to the given string and assigns it to the FromSecret field.
func (*SecretStringDefinition) SetValue ¶
func (o *SecretStringDefinition) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (SecretStringDefinition) ToMap ¶
func (o SecretStringDefinition) ToMap() (map[string]interface{}, error)
func (*SecretStringDefinition) UnmarshalJSON ¶
func (o *SecretStringDefinition) UnmarshalJSON(bytes []byte) (err error)
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Service ¶
type Service struct { // Unique name of the service, within the parent job. Name string `json:"name"` // Name of the Docker image for the service to run. Image string `json:"image"` BasicAuth *DockerBasicAuth `json:"basic_auth,omitempty"` AwsAuth *DockerAWSAuth `json:"aws_auth,omitempty"` // A list of environment variables to export prior to starting the service. Environment []EnvVar `json:"environment"` AdditionalProperties map[string]interface{} }
Service struct for Service
func NewService ¶
NewService instantiates a new Service object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceWithDefaults ¶
func NewServiceWithDefaults() *Service
NewServiceWithDefaults instantiates a new Service object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Service) GetAwsAuth ¶
func (o *Service) GetAwsAuth() DockerAWSAuth
GetAwsAuth returns the AwsAuth field value if set, zero value otherwise.
func (*Service) GetAwsAuthOk ¶
func (o *Service) GetAwsAuthOk() (*DockerAWSAuth, bool)
GetAwsAuthOk returns a tuple with the AwsAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetBasicAuth ¶
func (o *Service) GetBasicAuth() DockerBasicAuth
GetBasicAuth returns the BasicAuth field value if set, zero value otherwise.
func (*Service) GetBasicAuthOk ¶
func (o *Service) GetBasicAuthOk() (*DockerBasicAuth, bool)
GetBasicAuthOk returns a tuple with the BasicAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetEnvironment ¶
GetEnvironment returns the Environment field value
func (*Service) GetEnvironmentOk ¶
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*Service) GetImageOk ¶
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*Service) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Service) HasAwsAuth ¶
HasAwsAuth returns a boolean if a field has been set.
func (*Service) HasBasicAuth ¶
HasBasicAuth returns a boolean if a field has been set.
func (Service) MarshalJSON ¶
func (*Service) SetAwsAuth ¶
func (o *Service) SetAwsAuth(v DockerAWSAuth)
SetAwsAuth gets a reference to the given DockerAWSAuth and assigns it to the AwsAuth field.
func (*Service) SetBasicAuth ¶
func (o *Service) SetBasicAuth(v DockerBasicAuth)
SetBasicAuth gets a reference to the given DockerBasicAuth and assigns it to the BasicAuth field.
func (*Service) SetEnvironment ¶
SetEnvironment sets field value
func (*Service) UnmarshalJSON ¶
type ServiceDefinition ¶
type ServiceDefinition struct { // Unique name of the service, within the parent job Name string `json:"name"` // Name of the Docker image for the service to run Image string `json:"image"` BasicAuth *DockerBasicAuthDefinition `json:"basic_auth,omitempty"` AwsAuth *DockerAWSAuthDefinition `json:"aws_auth,omitempty"` // A list of environment variables to export prior to executing the service Environment map[string]SecretStringDefinition `json:"environment"` AdditionalProperties map[string]interface{} }
ServiceDefinition struct for ServiceDefinition
func NewServiceDefinition ¶
func NewServiceDefinition(name string, image string, environment map[string]SecretStringDefinition) *ServiceDefinition
NewServiceDefinition instantiates a new ServiceDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewServiceDefinitionWithDefaults ¶
func NewServiceDefinitionWithDefaults() *ServiceDefinition
NewServiceDefinitionWithDefaults instantiates a new ServiceDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ServiceDefinition) GetAwsAuth ¶
func (o *ServiceDefinition) GetAwsAuth() DockerAWSAuthDefinition
GetAwsAuth returns the AwsAuth field value if set, zero value otherwise.
func (*ServiceDefinition) GetAwsAuthOk ¶
func (o *ServiceDefinition) GetAwsAuthOk() (*DockerAWSAuthDefinition, bool)
GetAwsAuthOk returns a tuple with the AwsAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceDefinition) GetBasicAuth ¶
func (o *ServiceDefinition) GetBasicAuth() DockerBasicAuthDefinition
GetBasicAuth returns the BasicAuth field value if set, zero value otherwise.
func (*ServiceDefinition) GetBasicAuthOk ¶
func (o *ServiceDefinition) GetBasicAuthOk() (*DockerBasicAuthDefinition, bool)
GetBasicAuthOk returns a tuple with the BasicAuth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceDefinition) GetEnvironment ¶
func (o *ServiceDefinition) GetEnvironment() map[string]SecretStringDefinition
GetEnvironment returns the Environment field value
func (*ServiceDefinition) GetEnvironmentOk ¶
func (o *ServiceDefinition) GetEnvironmentOk() (*map[string]SecretStringDefinition, bool)
GetEnvironmentOk returns a tuple with the Environment field value and a boolean to check if the value has been set.
func (*ServiceDefinition) GetImage ¶
func (o *ServiceDefinition) GetImage() string
GetImage returns the Image field value
func (*ServiceDefinition) GetImageOk ¶
func (o *ServiceDefinition) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*ServiceDefinition) GetName ¶
func (o *ServiceDefinition) GetName() string
GetName returns the Name field value
func (*ServiceDefinition) GetNameOk ¶
func (o *ServiceDefinition) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ServiceDefinition) HasAwsAuth ¶
func (o *ServiceDefinition) HasAwsAuth() bool
HasAwsAuth returns a boolean if a field has been set.
func (*ServiceDefinition) HasBasicAuth ¶
func (o *ServiceDefinition) HasBasicAuth() bool
HasBasicAuth returns a boolean if a field has been set.
func (ServiceDefinition) MarshalJSON ¶
func (o ServiceDefinition) MarshalJSON() ([]byte, error)
func (*ServiceDefinition) SetAwsAuth ¶
func (o *ServiceDefinition) SetAwsAuth(v DockerAWSAuthDefinition)
SetAwsAuth gets a reference to the given DockerAWSAuthDefinition and assigns it to the AwsAuth field.
func (*ServiceDefinition) SetBasicAuth ¶
func (o *ServiceDefinition) SetBasicAuth(v DockerBasicAuthDefinition)
SetBasicAuth gets a reference to the given DockerBasicAuthDefinition and assigns it to the BasicAuth field.
func (*ServiceDefinition) SetEnvironment ¶
func (o *ServiceDefinition) SetEnvironment(v map[string]SecretStringDefinition)
SetEnvironment sets field value
func (*ServiceDefinition) SetImage ¶
func (o *ServiceDefinition) SetImage(v string)
SetImage sets field value
func (*ServiceDefinition) SetName ¶
func (o *ServiceDefinition) SetName(v string)
SetName sets field value
func (ServiceDefinition) ToMap ¶
func (o ServiceDefinition) ToMap() (map[string]interface{}, error)
func (*ServiceDefinition) UnmarshalJSON ¶
func (o *ServiceDefinition) UnmarshalJSON(bytes []byte) (err error)
type Step ¶
type Step struct { // A link to the Step resource on the BuildBeaver server Url string `json:"url"` Id string `json:"id"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt *time.Time `json:"deleted_at,omitempty"` Etag string `json:"etag"` // Step name, in URL format Name string `json:"name"` // Optional human-readable description of the job. Description string `json:"description"` // A list of one or more shell commands to execute during the step. Commands []string `json:"commands"` // Dependencies this step has on other steps within the job (see dependency syntax) Depends []StepDependency `json:"depends"` // ID of the job this step forms a part of JobId string `json:"job_id"` // RepoID that the step is building from. RepoId string `json:"repo_id"` // RunnerID that ran the step (or empty if the step has not run yet). RunnerId string `json:"runner_id"` // LogDescriptorID points to the log for this step. LogDescriptorId string `json:"log_descriptor_id"` // Status reflects where the step is in processing. Status string `json:"status"` // Error is set if the step finished with an error (or empty if the step succeeded). Error *string `json:"error,omitempty"` Timings WorkflowTimings `json:"timings"` // URL of the runner that ran the step (or empty if the step has not run yet). RunnerUrl string `json:"runner_url"` // URL of the log for this step. LogDescriptorUrl string `json:"log_descriptor_url"` AdditionalProperties map[string]interface{} }
Step struct for Step
func NewStep ¶
func NewStep(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, name string, description string, commands []string, depends []StepDependency, jobId string, repoId string, runnerId string, logDescriptorId string, status string, timings WorkflowTimings, runnerUrl string, logDescriptorUrl string) *Step
NewStep instantiates a new Step object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStepWithDefaults ¶
func NewStepWithDefaults() *Step
NewStepWithDefaults instantiates a new Step object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Step) GetCommands ¶
GetCommands returns the Commands field value
func (*Step) GetCommandsOk ¶
GetCommandsOk returns a tuple with the Commands field value and a boolean to check if the value has been set.
func (*Step) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Step) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Step) GetDeletedAt ¶
GetDeletedAt returns the DeletedAt field value if set, zero value otherwise.
func (*Step) GetDeletedAtOk ¶
GetDeletedAtOk returns a tuple with the DeletedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Step) GetDepends ¶
func (o *Step) GetDepends() []StepDependency
GetDepends returns the Depends field value
func (*Step) GetDependsOk ¶
func (o *Step) GetDependsOk() ([]StepDependency, bool)
GetDependsOk returns a tuple with the Depends field value and a boolean to check if the value has been set.
func (*Step) GetDescription ¶
GetDescription returns the Description field value
func (*Step) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*Step) GetErrorOk ¶
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Step) GetEtagOk ¶
GetEtagOk returns a tuple with the Etag field value and a boolean to check if the value has been set.
func (*Step) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Step) GetJobIdOk ¶
GetJobIdOk returns a tuple with the JobId field value and a boolean to check if the value has been set.
func (*Step) GetLogDescriptorId ¶
GetLogDescriptorId returns the LogDescriptorId field value
func (*Step) GetLogDescriptorIdOk ¶
GetLogDescriptorIdOk returns a tuple with the LogDescriptorId field value and a boolean to check if the value has been set.
func (*Step) GetLogDescriptorUrl ¶
GetLogDescriptorUrl returns the LogDescriptorUrl field value
func (*Step) GetLogDescriptorUrlOk ¶
GetLogDescriptorUrlOk returns a tuple with the LogDescriptorUrl field value and a boolean to check if the value has been set.
func (*Step) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Step) GetRepoIdOk ¶
GetRepoIdOk returns a tuple with the RepoId field value and a boolean to check if the value has been set.
func (*Step) GetRunnerId ¶
GetRunnerId returns the RunnerId field value
func (*Step) GetRunnerIdOk ¶
GetRunnerIdOk returns a tuple with the RunnerId field value and a boolean to check if the value has been set.
func (*Step) GetRunnerUrl ¶
GetRunnerUrl returns the RunnerUrl field value
func (*Step) GetRunnerUrlOk ¶
GetRunnerUrlOk returns a tuple with the RunnerUrl field value and a boolean to check if the value has been set.
func (*Step) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Step) GetTimings ¶
func (o *Step) GetTimings() WorkflowTimings
GetTimings returns the Timings field value
func (*Step) GetTimingsOk ¶
func (o *Step) GetTimingsOk() (*WorkflowTimings, bool)
GetTimingsOk returns a tuple with the Timings field value and a boolean to check if the value has been set.
func (*Step) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Step) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Step) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*Step) HasDeletedAt ¶
HasDeletedAt returns a boolean if a field has been set.
func (Step) MarshalJSON ¶
func (*Step) SetDeletedAt ¶
SetDeletedAt gets a reference to the given time.Time and assigns it to the DeletedAt field.
func (*Step) SetDescription ¶
SetDescription sets field value
func (*Step) SetError ¶
SetError gets a reference to the given string and assigns it to the Error field.
func (*Step) SetLogDescriptorId ¶
SetLogDescriptorId sets field value
func (*Step) SetLogDescriptorUrl ¶
SetLogDescriptorUrl sets field value
func (*Step) UnmarshalJSON ¶
type StepDefinition ¶
type StepDefinition struct { // Step name, in URL format Name string `json:"name"` // Optional human-readable description of the job. Description *string `json:"description,omitempty"` // A list of one or more shell commands to execute during the step. Commands []string `json:"commands"` // Dependencies this step has on other steps within the job (see dependency syntax) Depends []string `json:"depends,omitempty"` AdditionalProperties map[string]interface{} }
StepDefinition struct for StepDefinition
func NewStepDefinition ¶
func NewStepDefinition(name string, commands []string) *StepDefinition
NewStepDefinition instantiates a new StepDefinition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStepDefinitionWithDefaults ¶
func NewStepDefinitionWithDefaults() *StepDefinition
NewStepDefinitionWithDefaults instantiates a new StepDefinition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StepDefinition) GetCommands ¶
func (o *StepDefinition) GetCommands() []string
GetCommands returns the Commands field value
func (*StepDefinition) GetCommandsOk ¶
func (o *StepDefinition) GetCommandsOk() ([]string, bool)
GetCommandsOk returns a tuple with the Commands field value and a boolean to check if the value has been set.
func (*StepDefinition) GetDepends ¶
func (o *StepDefinition) GetDepends() []string
GetDepends returns the Depends field value if set, zero value otherwise.
func (*StepDefinition) GetDependsOk ¶
func (o *StepDefinition) GetDependsOk() ([]string, bool)
GetDependsOk returns a tuple with the Depends field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StepDefinition) GetDescription ¶
func (o *StepDefinition) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*StepDefinition) GetDescriptionOk ¶
func (o *StepDefinition) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StepDefinition) GetName ¶
func (o *StepDefinition) GetName() string
GetName returns the Name field value
func (*StepDefinition) GetNameOk ¶
func (o *StepDefinition) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*StepDefinition) HasDepends ¶
func (o *StepDefinition) HasDepends() bool
HasDepends returns a boolean if a field has been set.
func (*StepDefinition) HasDescription ¶
func (o *StepDefinition) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (StepDefinition) MarshalJSON ¶
func (o StepDefinition) MarshalJSON() ([]byte, error)
func (*StepDefinition) SetCommands ¶
func (o *StepDefinition) SetCommands(v []string)
SetCommands sets field value
func (*StepDefinition) SetDepends ¶
func (o *StepDefinition) SetDepends(v []string)
SetDepends gets a reference to the given []string and assigns it to the Depends field.
func (*StepDefinition) SetDescription ¶
func (o *StepDefinition) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*StepDefinition) SetName ¶
func (o *StepDefinition) SetName(v string)
SetName sets field value
func (StepDefinition) ToMap ¶
func (o StepDefinition) ToMap() (map[string]interface{}, error)
func (*StepDefinition) UnmarshalJSON ¶
func (o *StepDefinition) UnmarshalJSON(bytes []byte) (err error)
type StepDependency ¶
type StepDependency struct { // The name of the step that must complete before this step. StepName string `json:"step_name"` AdditionalProperties map[string]interface{} }
StepDependency struct for StepDependency
func NewStepDependency ¶
func NewStepDependency(stepName string) *StepDependency
NewStepDependency instantiates a new StepDependency object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStepDependencyWithDefaults ¶
func NewStepDependencyWithDefaults() *StepDependency
NewStepDependencyWithDefaults instantiates a new StepDependency object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StepDependency) GetStepName ¶
func (o *StepDependency) GetStepName() string
GetStepName returns the StepName field value
func (*StepDependency) GetStepNameOk ¶
func (o *StepDependency) GetStepNameOk() (*string, bool)
GetStepNameOk returns a tuple with the StepName field value and a boolean to check if the value has been set.
func (StepDependency) MarshalJSON ¶
func (o StepDependency) MarshalJSON() ([]byte, error)
func (*StepDependency) SetStepName ¶
func (o *StepDependency) SetStepName(v string)
SetStepName sets field value
func (StepDependency) ToMap ¶
func (o StepDependency) ToMap() (map[string]interface{}, error)
func (*StepDependency) UnmarshalJSON ¶
func (o *StepDependency) UnmarshalJSON(bytes []byte) (err error)
type WorkflowTimings ¶
type WorkflowTimings struct { QueuedAt *time.Time `json:"queued_at,omitempty"` SubmittedAt *time.Time `json:"submitted_at,omitempty"` RunningAt *time.Time `json:"running_at,omitempty"` FinishedAt *time.Time `json:"finished_at,omitempty"` CanceledAt *time.Time `json:"canceled_at,omitempty"` AdditionalProperties map[string]interface{} }
WorkflowTimings struct for WorkflowTimings
func NewWorkflowTimings ¶
func NewWorkflowTimings() *WorkflowTimings
NewWorkflowTimings instantiates a new WorkflowTimings object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWorkflowTimingsWithDefaults ¶
func NewWorkflowTimingsWithDefaults() *WorkflowTimings
NewWorkflowTimingsWithDefaults instantiates a new WorkflowTimings object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WorkflowTimings) GetCanceledAt ¶
func (o *WorkflowTimings) GetCanceledAt() time.Time
GetCanceledAt returns the CanceledAt field value if set, zero value otherwise.
func (*WorkflowTimings) GetCanceledAtOk ¶
func (o *WorkflowTimings) GetCanceledAtOk() (*time.Time, bool)
GetCanceledAtOk returns a tuple with the CanceledAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkflowTimings) GetFinishedAt ¶
func (o *WorkflowTimings) GetFinishedAt() time.Time
GetFinishedAt returns the FinishedAt field value if set, zero value otherwise.
func (*WorkflowTimings) GetFinishedAtOk ¶
func (o *WorkflowTimings) GetFinishedAtOk() (*time.Time, bool)
GetFinishedAtOk returns a tuple with the FinishedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkflowTimings) GetQueuedAt ¶
func (o *WorkflowTimings) GetQueuedAt() time.Time
GetQueuedAt returns the QueuedAt field value if set, zero value otherwise.
func (*WorkflowTimings) GetQueuedAtOk ¶
func (o *WorkflowTimings) GetQueuedAtOk() (*time.Time, bool)
GetQueuedAtOk returns a tuple with the QueuedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkflowTimings) GetRunningAt ¶
func (o *WorkflowTimings) GetRunningAt() time.Time
GetRunningAt returns the RunningAt field value if set, zero value otherwise.
func (*WorkflowTimings) GetRunningAtOk ¶
func (o *WorkflowTimings) GetRunningAtOk() (*time.Time, bool)
GetRunningAtOk returns a tuple with the RunningAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkflowTimings) GetSubmittedAt ¶
func (o *WorkflowTimings) GetSubmittedAt() time.Time
GetSubmittedAt returns the SubmittedAt field value if set, zero value otherwise.
func (*WorkflowTimings) GetSubmittedAtOk ¶
func (o *WorkflowTimings) GetSubmittedAtOk() (*time.Time, bool)
GetSubmittedAtOk returns a tuple with the SubmittedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WorkflowTimings) HasCanceledAt ¶
func (o *WorkflowTimings) HasCanceledAt() bool
HasCanceledAt returns a boolean if a field has been set.
func (*WorkflowTimings) HasFinishedAt ¶
func (o *WorkflowTimings) HasFinishedAt() bool
HasFinishedAt returns a boolean if a field has been set.
func (*WorkflowTimings) HasQueuedAt ¶
func (o *WorkflowTimings) HasQueuedAt() bool
HasQueuedAt returns a boolean if a field has been set.
func (*WorkflowTimings) HasRunningAt ¶
func (o *WorkflowTimings) HasRunningAt() bool
HasRunningAt returns a boolean if a field has been set.
func (*WorkflowTimings) HasSubmittedAt ¶
func (o *WorkflowTimings) HasSubmittedAt() bool
HasSubmittedAt returns a boolean if a field has been set.
func (WorkflowTimings) MarshalJSON ¶
func (o WorkflowTimings) MarshalJSON() ([]byte, error)
func (*WorkflowTimings) SetCanceledAt ¶
func (o *WorkflowTimings) SetCanceledAt(v time.Time)
SetCanceledAt gets a reference to the given time.Time and assigns it to the CanceledAt field.
func (*WorkflowTimings) SetFinishedAt ¶
func (o *WorkflowTimings) SetFinishedAt(v time.Time)
SetFinishedAt gets a reference to the given time.Time and assigns it to the FinishedAt field.
func (*WorkflowTimings) SetQueuedAt ¶
func (o *WorkflowTimings) SetQueuedAt(v time.Time)
SetQueuedAt gets a reference to the given time.Time and assigns it to the QueuedAt field.
func (*WorkflowTimings) SetRunningAt ¶
func (o *WorkflowTimings) SetRunningAt(v time.Time)
SetRunningAt gets a reference to the given time.Time and assigns it to the RunningAt field.
func (*WorkflowTimings) SetSubmittedAt ¶
func (o *WorkflowTimings) SetSubmittedAt(v time.Time)
SetSubmittedAt gets a reference to the given time.Time and assigns it to the SubmittedAt field.
func (WorkflowTimings) ToMap ¶
func (o WorkflowTimings) ToMap() (map[string]interface{}, error)
func (*WorkflowTimings) UnmarshalJSON ¶
func (o *WorkflowTimings) UnmarshalJSON(bytes []byte) (err error)
Source Files ¶
- api_build.go
- api_events.go
- api_jobs.go
- client.go
- configuration.go
- model_artifact.go
- model_artifact_definition.go
- model_artifact_dependency.go
- model_artifacts_paginated_response.go
- model_build.go
- model_build_definition.go
- model_build_graph.go
- model_build_options.go
- model_commit.go
- model_docker_aws_auth.go
- model_docker_aws_auth_definition.go
- model_docker_basic_auth.go
- model_docker_basic_auth_definition.go
- model_docker_config.go
- model_docker_config_definition.go
- model_env_var.go
- model_event.go
- model_external_resource_id.go
- model_job.go
- model_job_definition.go
- model_job_dependency.go
- model_job_graph.go
- model_log_descriptor.go
- model_node_fqn.go
- model_repo.go
- model_runner_api_endpoints.go
- model_secret_string.go
- model_secret_string_definition.go
- model_service.go
- model_service_definition.go
- model_step.go
- model_step_definition.go
- model_step_dependency.go
- model_workflow_timings.go
- response.go
- utils.go