mirror of
https://github.com/rancher/types.git
synced 2025-09-23 10:57:13 +00:00
generated
This commit is contained in:
committed by
Alena Prokharchyk
parent
a2f8f8ffc8
commit
b86e0a039b
@@ -264,6 +264,29 @@ func (in *AppUpgradeConfig) DeepCopy() *AppUpgradeConfig {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ApplyAppConfig) DeepCopyInto(out *ApplyAppConfig) {
|
||||
*out = *in
|
||||
if in.Answers != nil {
|
||||
in, out := &in.Answers, &out.Answers
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplyAppConfig.
|
||||
func (in *ApplyAppConfig) DeepCopy() *ApplyAppConfig {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(ApplyAppConfig)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *ApplyYamlConfig) DeepCopyInto(out *ApplyYamlConfig) {
|
||||
*out = *in
|
||||
@@ -1628,6 +1651,22 @@ func (in *PublicEndpoint) DeepCopy() *PublicEndpoint {
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *PublishCatalogConfig) DeepCopyInto(out *PublishCatalogConfig) {
|
||||
*out = *in
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishCatalogConfig.
|
||||
func (in *PublishCatalogConfig) DeepCopy() *PublishCatalogConfig {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(PublishCatalogConfig)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *PublishImageConfig) DeepCopyInto(out *PublishImageConfig) {
|
||||
*out = *in
|
||||
@@ -2279,6 +2318,16 @@ func (in *Step) DeepCopyInto(out *Step) {
|
||||
*out = new(ApplyYamlConfig)
|
||||
**out = **in
|
||||
}
|
||||
if in.PublishCatalogConfig != nil {
|
||||
in, out := &in.PublishCatalogConfig, &out.PublishCatalogConfig
|
||||
*out = new(PublishCatalogConfig)
|
||||
**out = **in
|
||||
}
|
||||
if in.ApplyAppConfig != nil {
|
||||
in, out := &in.ApplyAppConfig, &out.ApplyAppConfig
|
||||
*out = new(ApplyAppConfig)
|
||||
(*in).DeepCopyInto(*out)
|
||||
}
|
||||
if in.Env != nil {
|
||||
in, out := &in.Env, &out.Env
|
||||
*out = make(map[string]string, len(*in))
|
||||
|
18
client/project/v3/zz_generated_apply_app_config.go
Normal file
18
client/project/v3/zz_generated_apply_app_config.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
ApplyAppConfigType = "applyAppConfig"
|
||||
ApplyAppConfigFieldAnswers = "answers"
|
||||
ApplyAppConfigFieldCatalog = "catalog"
|
||||
ApplyAppConfigFieldName = "name"
|
||||
ApplyAppConfigFieldTargetNamespace = "targetNamespace"
|
||||
ApplyAppConfigFieldVersion = "version"
|
||||
)
|
||||
|
||||
type ApplyAppConfig struct {
|
||||
Answers map[string]string `json:"answers,omitempty" yaml:"answers,omitempty"`
|
||||
Catalog string `json:"catalog,omitempty" yaml:"catalog,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
TargetNamespace string `json:"targetNamespace,omitempty" yaml:"targetNamespace,omitempty"`
|
||||
Version string `json:"version,omitempty" yaml:"version,omitempty"`
|
||||
}
|
22
client/project/v3/zz_generated_publish_catalog_config.go
Normal file
22
client/project/v3/zz_generated_publish_catalog_config.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
PublishCatalogConfigType = "publishCatalogConfig"
|
||||
PublishCatalogConfigFieldCatalog = "catalog"
|
||||
PublishCatalogConfigFieldGitAuthor = "gitAuthor"
|
||||
PublishCatalogConfigFieldGitBranch = "gitBranch"
|
||||
PublishCatalogConfigFieldGitEmail = "gitEmail"
|
||||
PublishCatalogConfigFieldGitURL = "gitUrl"
|
||||
PublishCatalogConfigFieldPath = "path"
|
||||
PublishCatalogConfigFieldVersion = "version"
|
||||
)
|
||||
|
||||
type PublishCatalogConfig struct {
|
||||
Catalog string `json:"catalog,omitempty" yaml:"catalog,omitempty"`
|
||||
GitAuthor string `json:"gitAuthor,omitempty" yaml:"gitAuthor,omitempty"`
|
||||
GitBranch string `json:"gitBranch,omitempty" yaml:"gitBranch,omitempty"`
|
||||
GitEmail string `json:"gitEmail,omitempty" yaml:"gitEmail,omitempty"`
|
||||
GitURL string `json:"gitUrl,omitempty" yaml:"gitUrl,omitempty"`
|
||||
Path string `json:"path,omitempty" yaml:"path,omitempty"`
|
||||
Version string `json:"version,omitempty" yaml:"version,omitempty"`
|
||||
}
|
@@ -1,24 +1,28 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
StepType = "step"
|
||||
StepFieldApplyYamlConfig = "applyYamlConfig"
|
||||
StepFieldEnv = "env"
|
||||
StepFieldEnvFrom = "envFrom"
|
||||
StepFieldPrivileged = "privileged"
|
||||
StepFieldPublishImageConfig = "publishImageConfig"
|
||||
StepFieldRunScriptConfig = "runScriptConfig"
|
||||
StepFieldSourceCodeConfig = "sourceCodeConfig"
|
||||
StepFieldWhen = "when"
|
||||
StepType = "step"
|
||||
StepFieldApplyAppConfig = "applyAppConfig"
|
||||
StepFieldApplyYamlConfig = "applyYamlConfig"
|
||||
StepFieldEnv = "env"
|
||||
StepFieldEnvFrom = "envFrom"
|
||||
StepFieldPrivileged = "privileged"
|
||||
StepFieldPublishCatalogConfig = "publishCatalogConfig"
|
||||
StepFieldPublishImageConfig = "publishImageConfig"
|
||||
StepFieldRunScriptConfig = "runScriptConfig"
|
||||
StepFieldSourceCodeConfig = "sourceCodeConfig"
|
||||
StepFieldWhen = "when"
|
||||
)
|
||||
|
||||
type Step struct {
|
||||
ApplyYamlConfig *ApplyYamlConfig `json:"applyYamlConfig,omitempty" yaml:"applyYamlConfig,omitempty"`
|
||||
Env map[string]string `json:"env,omitempty" yaml:"env,omitempty"`
|
||||
EnvFrom []EnvFrom `json:"envFrom,omitempty" yaml:"envFrom,omitempty"`
|
||||
Privileged bool `json:"privileged,omitempty" yaml:"privileged,omitempty"`
|
||||
PublishImageConfig *PublishImageConfig `json:"publishImageConfig,omitempty" yaml:"publishImageConfig,omitempty"`
|
||||
RunScriptConfig *RunScriptConfig `json:"runScriptConfig,omitempty" yaml:"runScriptConfig,omitempty"`
|
||||
SourceCodeConfig *SourceCodeConfig `json:"sourceCodeConfig,omitempty" yaml:"sourceCodeConfig,omitempty"`
|
||||
When *Constraints `json:"when,omitempty" yaml:"when,omitempty"`
|
||||
ApplyAppConfig *ApplyAppConfig `json:"applyAppConfig,omitempty" yaml:"applyAppConfig,omitempty"`
|
||||
ApplyYamlConfig *ApplyYamlConfig `json:"applyYamlConfig,omitempty" yaml:"applyYamlConfig,omitempty"`
|
||||
Env map[string]string `json:"env,omitempty" yaml:"env,omitempty"`
|
||||
EnvFrom []EnvFrom `json:"envFrom,omitempty" yaml:"envFrom,omitempty"`
|
||||
Privileged bool `json:"privileged,omitempty" yaml:"privileged,omitempty"`
|
||||
PublishCatalogConfig *PublishCatalogConfig `json:"publishCatalogConfig,omitempty" yaml:"publishCatalogConfig,omitempty"`
|
||||
PublishImageConfig *PublishImageConfig `json:"publishImageConfig,omitempty" yaml:"publishImageConfig,omitempty"`
|
||||
RunScriptConfig *RunScriptConfig `json:"runScriptConfig,omitempty" yaml:"runScriptConfig,omitempty"`
|
||||
SourceCodeConfig *SourceCodeConfig `json:"sourceCodeConfig,omitempty" yaml:"sourceCodeConfig,omitempty"`
|
||||
When *Constraints `json:"when,omitempty" yaml:"when,omitempty"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user