Documentation ¶
Index ¶
- Constants
- func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
- func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
- type BuildPushImageSpec
- func NewBuildPushImageSpec() *BuildPushImageSpec
- func NewBuildPushImageSpecEmpty() *BuildPushImageSpec
- func NewBuildPushImageSpecList(ps ...*BuildPushImageSpec) []BuildPushImageSpec
- func NewBuildPushImageSpecWith(context Context, dockerfile string, image string, kanikoExecutor string, ...) *BuildPushImageSpec
- func NewBuildPushImageSpecWithDefault() *BuildPushImageSpec
- type BuildPushImageWorkflowStep
- func (b *BuildPushImageWorkflowStep) Alias(alias string) *BuildPushImageWorkflowStep
- func (b *BuildPushImageWorkflowStep) Build() v1beta1.WorkflowStep
- func (b *BuildPushImageWorkflowStep) DefType() string
- func (b *BuildPushImageWorkflowStep) DependsOn(dependsOn []string) *BuildPushImageWorkflowStep
- func (b *BuildPushImageWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*BuildPushImageWorkflowStep, error)
- func (b *BuildPushImageWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*BuildPushImageWorkflowStep, error)
- func (o *BuildPushImageWorkflowStep) GetBuildArgs() []string
- func (o *BuildPushImageWorkflowStep) GetBuildArgsOk() ([]string, bool)
- func (o *BuildPushImageWorkflowStep) GetContext() Context
- func (o *BuildPushImageWorkflowStep) GetContextOk() (*Context, bool)
- func (o *BuildPushImageWorkflowStep) GetCredentials() Credentials
- func (o *BuildPushImageWorkflowStep) GetCredentialsOk() (*Credentials, bool)
- func (o *BuildPushImageWorkflowStep) GetDockerfile() string
- func (o *BuildPushImageWorkflowStep) GetDockerfileOk() (*string, bool)
- func (o *BuildPushImageWorkflowStep) GetImage() string
- func (o *BuildPushImageWorkflowStep) GetImageOk() (*string, bool)
- func (o *BuildPushImageWorkflowStep) GetKanikoExecutor() string
- func (o *BuildPushImageWorkflowStep) GetKanikoExecutorOk() (*string, bool)
- func (o *BuildPushImageWorkflowStep) GetPlatform() string
- func (o *BuildPushImageWorkflowStep) GetPlatformOk() (*string, bool)
- func (o *BuildPushImageWorkflowStep) GetVerbosity() string
- func (o *BuildPushImageWorkflowStep) GetVerbosityOk() (*string, bool)
- func (o *BuildPushImageWorkflowStep) HasBuildArgs() bool
- func (o *BuildPushImageWorkflowStep) HasCredentials() bool
- func (o *BuildPushImageWorkflowStep) HasPlatform() bool
- func (b *BuildPushImageWorkflowStep) If(_if string) *BuildPushImageWorkflowStep
- func (b *BuildPushImageWorkflowStep) Inputs(input common.StepInputs) *BuildPushImageWorkflowStep
- func (b *BuildPushImageWorkflowStep) Outputs(output common.StepOutputs) *BuildPushImageWorkflowStep
- func (o *BuildPushImageWorkflowStep) SetBuildArgs(v []string) *BuildPushImageWorkflowStep
- func (o *BuildPushImageWorkflowStep) SetContext(v Context) *BuildPushImageWorkflowStep
- func (o *BuildPushImageWorkflowStep) SetCredentials(v Credentials) *BuildPushImageWorkflowStep
- func (o *BuildPushImageWorkflowStep) SetDockerfile(v string) *BuildPushImageWorkflowStep
- func (o *BuildPushImageWorkflowStep) SetImage(v string) *BuildPushImageWorkflowStep
- func (o *BuildPushImageWorkflowStep) SetKanikoExecutor(v string) *BuildPushImageWorkflowStep
- func (o *BuildPushImageWorkflowStep) SetPlatform(v string) *BuildPushImageWorkflowStep
- func (o *BuildPushImageWorkflowStep) SetVerbosity(v string) *BuildPushImageWorkflowStep
- func (b *BuildPushImageWorkflowStep) Timeout(timeout string) *BuildPushImageWorkflowStep
- func (o *BuildPushImageWorkflowStep) Validate() error
- func (b *BuildPushImageWorkflowStep) WorkflowStepName() string
- type Context
- type Credentials
- func (o *Credentials) GetGit() Git1
- func (o *Credentials) GetGitOk() (*Git1, bool)
- func (o *Credentials) GetImage() Image
- func (o *Credentials) GetImageOk() (*Image, bool)
- func (o *Credentials) HasGit() bool
- func (o *Credentials) HasImage() bool
- func (o Credentials) MarshalJSON() ([]byte, error)
- func (o *Credentials) SetGit(v Git1) *Credentials
- func (o *Credentials) SetImage(v Image) *Credentials
- func (o Credentials) ToMap() (map[string]interface{}, error)
- func (o *Credentials) Validate() error
- type Git
- func (o *Git) GetBranch() string
- func (o *Git) GetBranchOk() (*string, bool)
- func (o *Git) GetGit() string
- func (o *Git) GetGitOk() (*string, bool)
- func (o Git) MarshalJSON() ([]byte, error)
- func (o *Git) SetBranch(v string) *Git
- func (o *Git) SetGit(v string) *Git
- func (o Git) ToMap() (map[string]interface{}, error)
- func (o *Git) Validate() error
- type Git1
- func (o *Git1) GetKey() string
- func (o *Git1) GetKeyOk() (*string, bool)
- func (o *Git1) GetName() string
- func (o *Git1) GetNameOk() (*string, bool)
- func (o Git1) MarshalJSON() ([]byte, error)
- func (o *Git1) SetKey(v string) *Git1
- func (o *Git1) SetName(v string) *Git1
- func (o Git1) ToMap() (map[string]interface{}, error)
- func (o *Git1) Validate() error
- type Image
- func (o *Image) GetKey() string
- func (o *Image) GetKeyOk() (*string, bool)
- func (o *Image) GetName() string
- func (o *Image) GetNameOk() (*string, bool)
- func (o Image) MarshalJSON() ([]byte, error)
- func (o *Image) SetKey(v string) *Image
- func (o *Image) SetName(v string) *Image
- func (o Image) ToMap() (map[string]interface{}, error)
- func (o *Image) Validate() error
- type NullableBuildPushImageSpec
- func (v *NullableBuildPushImageSpec) Get() *BuildPushImageSpec
- func (v *NullableBuildPushImageSpec) IsSet() bool
- func (v NullableBuildPushImageSpec) MarshalJSON() ([]byte, error)
- func (v *NullableBuildPushImageSpec) Set(val *BuildPushImageSpec)
- func (v *NullableBuildPushImageSpec) UnmarshalJSON(src []byte) error
- func (v *NullableBuildPushImageSpec) Unset()
- type NullableContext
- type NullableCredentials
- func (v *NullableCredentials) Get() *Credentials
- func (v *NullableCredentials) IsSet() bool
- func (v NullableCredentials) MarshalJSON() ([]byte, error)
- func (v *NullableCredentials) Set(val *Credentials)
- func (v *NullableCredentials) UnmarshalJSON(src []byte) error
- func (v *NullableCredentials) Unset()
- type NullableGit
- type NullableGit1
- type NullableImage
Constants ¶
const BuildPushImageType = "build-push-image"
Variables ¶
This section is empty.
Functions ¶
func FromWorkflowStep ¶
func FromWorkflowStep(from v1beta1.WorkflowStep) (apis.WorkflowStep, error)
func FromWorkflowSubStep ¶
func FromWorkflowSubStep(from common.WorkflowSubStep) (apis.WorkflowStep, error)
Types ¶
type BuildPushImageSpec ¶
type BuildPushImageSpec struct { // Specify the build args BuildArgs []string `json:"buildArgs,omitempty"` Context *Context `json:"context"` Credentials *Credentials `json:"credentials,omitempty"` // Specify the dockerfile Dockerfile *string `json:"dockerfile"` // Specify the image Image *string `json:"image"` // Specify the kaniko executor image, default to oamdev/kaniko-executor:v1.9.1 KanikoExecutor *string `json:"kanikoExecutor"` // Specify the platform to build Platform *string `json:"platform,omitempty"` // Specify the verbosity level Verbosity *string `json:"verbosity"` }
BuildPushImageSpec struct for BuildPushImageSpec
func NewBuildPushImageSpec ¶
func NewBuildPushImageSpec() *BuildPushImageSpec
NewBuildPushImageSpec is short for NewBuildPushImageSpecWithDefault which instantiates a new BuildPushImageSpec 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 NewBuildPushImageSpecEmpty ¶
func NewBuildPushImageSpecEmpty() *BuildPushImageSpec
NewBuildPushImageSpecEmpty instantiates a new BuildPushImageSpec object with no properties set. This constructor will not assign any default values to properties.
func NewBuildPushImageSpecList ¶
func NewBuildPushImageSpecList(ps ...*BuildPushImageSpec) []BuildPushImageSpec
NewBuildPushImageSpecs converts a list BuildPushImageSpec pointers to objects. This is helpful when the SetBuildPushImageSpec requires a list of objects
func NewBuildPushImageSpecWith ¶
func NewBuildPushImageSpecWith(context Context, dockerfile string, image string, kanikoExecutor string, verbosity string) *BuildPushImageSpec
NewBuildPushImageSpecWith instantiates a new BuildPushImageSpec object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewBuildPushImageSpecWithDefault ¶
func NewBuildPushImageSpecWithDefault() *BuildPushImageSpec
NewBuildPushImageSpecWithDefault instantiates a new BuildPushImageSpec 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 (BuildPushImageSpec) MarshalJSON ¶
func (o BuildPushImageSpec) MarshalJSON() ([]byte, error)
func (BuildPushImageSpec) ToMap ¶
func (o BuildPushImageSpec) ToMap() (map[string]interface{}, error)
type BuildPushImageWorkflowStep ¶
type BuildPushImageWorkflowStep struct { Base apis.WorkflowStepBase Properties BuildPushImageSpec }
func BuildPushImage ¶
func BuildPushImage(name string) *BuildPushImageWorkflowStep
func (*BuildPushImageWorkflowStep) Alias ¶
func (b *BuildPushImageWorkflowStep) Alias(alias string) *BuildPushImageWorkflowStep
func (*BuildPushImageWorkflowStep) Build ¶
func (b *BuildPushImageWorkflowStep) Build() v1beta1.WorkflowStep
func (*BuildPushImageWorkflowStep) DefType ¶
func (b *BuildPushImageWorkflowStep) DefType() string
func (*BuildPushImageWorkflowStep) DependsOn ¶
func (b *BuildPushImageWorkflowStep) DependsOn(dependsOn []string) *BuildPushImageWorkflowStep
func (*BuildPushImageWorkflowStep) FromWorkflowStep ¶
func (b *BuildPushImageWorkflowStep) FromWorkflowStep(from v1beta1.WorkflowStep) (*BuildPushImageWorkflowStep, error)
func (*BuildPushImageWorkflowStep) FromWorkflowSubStep ¶
func (b *BuildPushImageWorkflowStep) FromWorkflowSubStep(from common.WorkflowSubStep) (*BuildPushImageWorkflowStep, error)
func (*BuildPushImageWorkflowStep) GetBuildArgs ¶
func (o *BuildPushImageWorkflowStep) GetBuildArgs() []string
GetBuildArgs returns the BuildArgs field value if set, zero value otherwise.
func (*BuildPushImageWorkflowStep) GetBuildArgsOk ¶
func (o *BuildPushImageWorkflowStep) GetBuildArgsOk() ([]string, bool)
GetBuildArgsOk returns a tuple with the BuildArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuildPushImageWorkflowStep) GetContext ¶
func (o *BuildPushImageWorkflowStep) GetContext() Context
GetContext returns the Context field value
func (*BuildPushImageWorkflowStep) GetContextOk ¶
func (o *BuildPushImageWorkflowStep) GetContextOk() (*Context, bool)
GetContextOk returns a tuple with the Context field value and a boolean to check if the value has been set.
func (*BuildPushImageWorkflowStep) GetCredentials ¶
func (o *BuildPushImageWorkflowStep) GetCredentials() Credentials
GetCredentials returns the Credentials field value if set, zero value otherwise.
func (*BuildPushImageWorkflowStep) GetCredentialsOk ¶
func (o *BuildPushImageWorkflowStep) GetCredentialsOk() (*Credentials, bool)
GetCredentialsOk returns a tuple with the Credentials field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuildPushImageWorkflowStep) GetDockerfile ¶
func (o *BuildPushImageWorkflowStep) GetDockerfile() string
GetDockerfile returns the Dockerfile field value
func (*BuildPushImageWorkflowStep) GetDockerfileOk ¶
func (o *BuildPushImageWorkflowStep) GetDockerfileOk() (*string, bool)
GetDockerfileOk returns a tuple with the Dockerfile field value and a boolean to check if the value has been set.
func (*BuildPushImageWorkflowStep) GetImage ¶
func (o *BuildPushImageWorkflowStep) GetImage() string
GetImage returns the Image field value
func (*BuildPushImageWorkflowStep) GetImageOk ¶
func (o *BuildPushImageWorkflowStep) GetImageOk() (*string, bool)
GetImageOk returns a tuple with the Image field value and a boolean to check if the value has been set.
func (*BuildPushImageWorkflowStep) GetKanikoExecutor ¶
func (o *BuildPushImageWorkflowStep) GetKanikoExecutor() string
GetKanikoExecutor returns the KanikoExecutor field value
func (*BuildPushImageWorkflowStep) GetKanikoExecutorOk ¶
func (o *BuildPushImageWorkflowStep) GetKanikoExecutorOk() (*string, bool)
GetKanikoExecutorOk returns a tuple with the KanikoExecutor field value and a boolean to check if the value has been set.
func (*BuildPushImageWorkflowStep) GetPlatform ¶
func (o *BuildPushImageWorkflowStep) GetPlatform() string
GetPlatform returns the Platform field value if set, zero value otherwise.
func (*BuildPushImageWorkflowStep) GetPlatformOk ¶
func (o *BuildPushImageWorkflowStep) GetPlatformOk() (*string, bool)
GetPlatformOk returns a tuple with the Platform field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BuildPushImageWorkflowStep) GetVerbosity ¶
func (o *BuildPushImageWorkflowStep) GetVerbosity() string
GetVerbosity returns the Verbosity field value
func (*BuildPushImageWorkflowStep) GetVerbosityOk ¶
func (o *BuildPushImageWorkflowStep) GetVerbosityOk() (*string, bool)
GetVerbosityOk returns a tuple with the Verbosity field value and a boolean to check if the value has been set.
func (*BuildPushImageWorkflowStep) HasBuildArgs ¶
func (o *BuildPushImageWorkflowStep) HasBuildArgs() bool
HasBuildArgs returns a boolean if a field has been set.
func (*BuildPushImageWorkflowStep) HasCredentials ¶
func (o *BuildPushImageWorkflowStep) HasCredentials() bool
HasCredentials returns a boolean if a field has been set.
func (*BuildPushImageWorkflowStep) HasPlatform ¶
func (o *BuildPushImageWorkflowStep) HasPlatform() bool
HasPlatform returns a boolean if a field has been set.
func (*BuildPushImageWorkflowStep) If ¶
func (b *BuildPushImageWorkflowStep) If(_if string) *BuildPushImageWorkflowStep
func (*BuildPushImageWorkflowStep) Inputs ¶
func (b *BuildPushImageWorkflowStep) Inputs(input common.StepInputs) *BuildPushImageWorkflowStep
func (*BuildPushImageWorkflowStep) Outputs ¶
func (b *BuildPushImageWorkflowStep) Outputs(output common.StepOutputs) *BuildPushImageWorkflowStep
func (*BuildPushImageWorkflowStep) SetBuildArgs ¶
func (o *BuildPushImageWorkflowStep) SetBuildArgs(v []string) *BuildPushImageWorkflowStep
SetBuildArgs gets a reference to the given []string and assigns it to the buildArgs field. BuildArgs: Specify the build args
func (*BuildPushImageWorkflowStep) SetContext ¶
func (o *BuildPushImageWorkflowStep) SetContext(v Context) *BuildPushImageWorkflowStep
SetContext sets field value
func (*BuildPushImageWorkflowStep) SetCredentials ¶
func (o *BuildPushImageWorkflowStep) SetCredentials(v Credentials) *BuildPushImageWorkflowStep
SetCredentials gets a reference to the given Credentials and assigns it to the credentials field. Credentials:
func (*BuildPushImageWorkflowStep) SetDockerfile ¶
func (o *BuildPushImageWorkflowStep) SetDockerfile(v string) *BuildPushImageWorkflowStep
SetDockerfile sets field value
func (*BuildPushImageWorkflowStep) SetImage ¶
func (o *BuildPushImageWorkflowStep) SetImage(v string) *BuildPushImageWorkflowStep
SetImage sets field value
func (*BuildPushImageWorkflowStep) SetKanikoExecutor ¶
func (o *BuildPushImageWorkflowStep) SetKanikoExecutor(v string) *BuildPushImageWorkflowStep
SetKanikoExecutor sets field value
func (*BuildPushImageWorkflowStep) SetPlatform ¶
func (o *BuildPushImageWorkflowStep) SetPlatform(v string) *BuildPushImageWorkflowStep
SetPlatform gets a reference to the given string and assigns it to the platform field. Platform: Specify the platform to build
func (*BuildPushImageWorkflowStep) SetVerbosity ¶
func (o *BuildPushImageWorkflowStep) SetVerbosity(v string) *BuildPushImageWorkflowStep
SetVerbosity sets field value
func (*BuildPushImageWorkflowStep) Timeout ¶
func (b *BuildPushImageWorkflowStep) Timeout(timeout string) *BuildPushImageWorkflowStep
func (*BuildPushImageWorkflowStep) Validate ¶
func (o *BuildPushImageWorkflowStep) Validate() error
Validate validates this BuildPushImageSpec 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set
func (*BuildPushImageWorkflowStep) WorkflowStepName ¶
func (b *BuildPushImageWorkflowStep) WorkflowStepName() string
type Context ¶
Context - Specify the context to build image, you can use context with git and branch or directly specify the context, please refer to https://github.com/GoogleContainerTools/kaniko#kaniko-build-contexts
func GitAsContext ¶
GitAsContext is is a convenience function that returns Git wrapped in Context
func StringAsContext ¶
StringAsContext is is a convenience function that returns string wrapped in Context
func (*Context) GetActualInstance ¶
func (obj *Context) GetActualInstance() interface{}
Get the actual instance
func (Context) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Context) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Credentials ¶
Credentials Specify the credentials to access git and image registry
func NewCredentials ¶
func NewCredentials() *Credentials
NewCredentials is short for NewCredentialsWithDefault which instantiates a new Credentials 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 NewCredentialsEmpty ¶
func NewCredentialsEmpty() *Credentials
NewCredentialsEmpty instantiates a new Credentials object with no properties set. This constructor will not assign any default values to properties.
func NewCredentialsList ¶
func NewCredentialsList(ps ...*Credentials) []Credentials
NewCredentialss converts a list Credentials pointers to objects. This is helpful when the SetCredentials requires a list of objects
func NewCredentialsWith ¶
func NewCredentialsWith() *Credentials
NewCredentialsWith instantiates a new Credentials object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewCredentialsWithDefault ¶
func NewCredentialsWithDefault() *Credentials
NewCredentialsWithDefault instantiates a new Credentials 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 (*Credentials) GetGit ¶
func (o *Credentials) GetGit() Git1
GetGit returns the Git field value if set, zero value otherwise.
func (*Credentials) GetGitOk ¶
func (o *Credentials) GetGitOk() (*Git1, bool)
GetGitOk returns a tuple with the Git field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Credentials) GetImage ¶
func (o *Credentials) GetImage() Image
GetImage returns the Image field value if set, zero value otherwise.
func (*Credentials) GetImageOk ¶
func (o *Credentials) GetImageOk() (*Image, bool)
GetImageOk returns a tuple with the Image field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Credentials) HasGit ¶
func (o *Credentials) HasGit() bool
HasGit returns a boolean if a field has been set.
func (*Credentials) HasImage ¶
func (o *Credentials) HasImage() bool
HasImage returns a boolean if a field has been set.
func (Credentials) MarshalJSON ¶
func (o Credentials) MarshalJSON() ([]byte, error)
func (*Credentials) SetGit ¶
func (o *Credentials) SetGit(v Git1) *Credentials
SetGit gets a reference to the given Git1 and assigns it to the git field. Git:
func (*Credentials) SetImage ¶
func (o *Credentials) SetImage(v Image) *Credentials
SetImage gets a reference to the given Image and assigns it to the image field. Image:
func (Credentials) ToMap ¶
func (o Credentials) ToMap() (map[string]interface{}, error)
func (*Credentials) Validate ¶
func (o *Credentials) Validate() error
Validate validates this Credentials 1. If the required properties are not set, this will return an error 2. If properties are set, will check if nested required properties are set
type Git ¶
Git struct for Git
func NewGit ¶
func NewGit() *Git
NewGit is short for NewGitWithDefault which instantiates a new Git 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 NewGitEmpty ¶
func NewGitEmpty() *Git
NewGitEmpty instantiates a new Git object with no properties set. This constructor will not assign any default values to properties.
func NewGitList ¶
NewGits converts a list Git pointers to objects. This is helpful when the SetGit requires a list of objects
func NewGitWith ¶
NewGitWith instantiates a new Git object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewGitWithDefault ¶
func NewGitWithDefault() *Git
NewGitWithDefault instantiates a new Git 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 (*Git) GetBranchOk ¶
GetBranchOk returns a tuple with the Branch field value and a boolean to check if the value has been set.
func (*Git) GetGitOk ¶
GetGitOk returns a tuple with the Git field value and a boolean to check if the value has been set.
func (Git) MarshalJSON ¶
type Git1 ¶
type Git1 struct { // Specify the secret key Key *string `json:"key"` // Specify the secret name Name *string `json:"name"` }
Git1 Specify the credentials to access git
func NewGit1 ¶
func NewGit1() *Git1
NewGit1 is short for NewGit1WithDefault which instantiates a new Git1 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 NewGit1Empty ¶
func NewGit1Empty() *Git1
NewGit1Empty instantiates a new Git1 object with no properties set. This constructor will not assign any default values to properties.
func NewGit1List ¶
NewGit1s converts a list Git1 pointers to objects. This is helpful when the SetGit1 requires a list of objects
func NewGit1With ¶
NewGit1With instantiates a new Git1 object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewGit1WithDefault ¶
func NewGit1WithDefault() *Git1
NewGit1WithDefault instantiates a new Git1 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 (*Git1) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*Git1) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (Git1) MarshalJSON ¶
type Image ¶
type Image struct { // Specify the secret key Key *string `json:"key"` // Specify the secret name Name *string `json:"name"` }
Image Specify the credentials to access image registry
func NewImage ¶
func NewImage() *Image
NewImage is short for NewImageWithDefault which instantiates a new Image 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 NewImageEmpty ¶
func NewImageEmpty() *Image
NewImageEmpty instantiates a new Image object with no properties set. This constructor will not assign any default values to properties.
func NewImageList ¶
NewImages converts a list Image pointers to objects. This is helpful when the SetImage requires a list of objects
func NewImageWith ¶
NewImageWith instantiates a new Image object This constructor will make sure properties required by API are set. For optional properties, it will set default values if they have been defined. The set of arguments will change when the set of required properties is changed
func NewImageWithDefault ¶
func NewImageWithDefault() *Image
NewImageWithDefault instantiates a new Image 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 (*Image) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*Image) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (Image) MarshalJSON ¶
type NullableBuildPushImageSpec ¶
type NullableBuildPushImageSpec struct {
// contains filtered or unexported fields
}
func NewNullableBuildPushImageSpec ¶
func NewNullableBuildPushImageSpec(val *BuildPushImageSpec) *NullableBuildPushImageSpec
func (*NullableBuildPushImageSpec) Get ¶
func (v *NullableBuildPushImageSpec) Get() *BuildPushImageSpec
func (*NullableBuildPushImageSpec) IsSet ¶
func (v *NullableBuildPushImageSpec) IsSet() bool
func (NullableBuildPushImageSpec) MarshalJSON ¶
func (v NullableBuildPushImageSpec) MarshalJSON() ([]byte, error)
func (*NullableBuildPushImageSpec) Set ¶
func (v *NullableBuildPushImageSpec) Set(val *BuildPushImageSpec)
func (*NullableBuildPushImageSpec) UnmarshalJSON ¶
func (v *NullableBuildPushImageSpec) UnmarshalJSON(src []byte) error
func (*NullableBuildPushImageSpec) Unset ¶
func (v *NullableBuildPushImageSpec) Unset()
type NullableContext ¶
type NullableContext struct {
// contains filtered or unexported fields
}
func NewNullableContext ¶
func NewNullableContext(val *Context) *NullableContext
func (*NullableContext) Get ¶
func (v *NullableContext) Get() *Context
func (*NullableContext) IsSet ¶
func (v *NullableContext) IsSet() bool
func (NullableContext) MarshalJSON ¶
func (v NullableContext) MarshalJSON() ([]byte, error)
func (*NullableContext) Set ¶
func (v *NullableContext) Set(val *Context)
func (*NullableContext) UnmarshalJSON ¶
func (v *NullableContext) UnmarshalJSON(src []byte) error
func (*NullableContext) Unset ¶
func (v *NullableContext) Unset()
type NullableCredentials ¶
type NullableCredentials struct {
// contains filtered or unexported fields
}
func NewNullableCredentials ¶
func NewNullableCredentials(val *Credentials) *NullableCredentials
func (*NullableCredentials) Get ¶
func (v *NullableCredentials) Get() *Credentials
func (*NullableCredentials) IsSet ¶
func (v *NullableCredentials) IsSet() bool
func (NullableCredentials) MarshalJSON ¶
func (v NullableCredentials) MarshalJSON() ([]byte, error)
func (*NullableCredentials) Set ¶
func (v *NullableCredentials) Set(val *Credentials)
func (*NullableCredentials) UnmarshalJSON ¶
func (v *NullableCredentials) UnmarshalJSON(src []byte) error
func (*NullableCredentials) Unset ¶
func (v *NullableCredentials) Unset()
type NullableGit ¶
type NullableGit struct {
// contains filtered or unexported fields
}
func NewNullableGit ¶
func NewNullableGit(val *Git) *NullableGit
func (*NullableGit) Get ¶
func (v *NullableGit) Get() *Git
func (*NullableGit) IsSet ¶
func (v *NullableGit) IsSet() bool
func (NullableGit) MarshalJSON ¶
func (v NullableGit) MarshalJSON() ([]byte, error)
func (*NullableGit) Set ¶
func (v *NullableGit) Set(val *Git)
func (*NullableGit) UnmarshalJSON ¶
func (v *NullableGit) UnmarshalJSON(src []byte) error
func (*NullableGit) Unset ¶
func (v *NullableGit) Unset()
type NullableGit1 ¶
type NullableGit1 struct {
// contains filtered or unexported fields
}
func NewNullableGit1 ¶
func NewNullableGit1(val *Git1) *NullableGit1
func (*NullableGit1) Get ¶
func (v *NullableGit1) Get() *Git1
func (*NullableGit1) IsSet ¶
func (v *NullableGit1) IsSet() bool
func (NullableGit1) MarshalJSON ¶
func (v NullableGit1) MarshalJSON() ([]byte, error)
func (*NullableGit1) Set ¶
func (v *NullableGit1) Set(val *Git1)
func (*NullableGit1) UnmarshalJSON ¶
func (v *NullableGit1) UnmarshalJSON(src []byte) error
func (*NullableGit1) Unset ¶
func (v *NullableGit1) Unset()
type NullableImage ¶
type NullableImage struct {
// contains filtered or unexported fields
}
func NewNullableImage ¶
func NewNullableImage(val *Image) *NullableImage
func (*NullableImage) Get ¶
func (v *NullableImage) Get() *Image
func (*NullableImage) IsSet ¶
func (v *NullableImage) IsSet() bool
func (NullableImage) MarshalJSON ¶
func (v NullableImage) MarshalJSON() ([]byte, error)
func (*NullableImage) Set ¶
func (v *NullableImage) Set(val *Image)
func (*NullableImage) UnmarshalJSON ¶
func (v *NullableImage) UnmarshalJSON(src []byte) error
func (*NullableImage) Unset ¶
func (v *NullableImage) Unset()