1
0
mirror of https://github.com/rancher/types.git synced 2025-07-16 06:25:50 +00:00

update generated code

This commit is contained in:
gitlawr 2018-03-01 11:38:40 +08:00
parent 5599e1a913
commit 54a2d6cc99
3 changed files with 32 additions and 0 deletions

View File

@ -655,6 +655,10 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error {
in.(*RoleTemplateList).DeepCopyInto(out.(*RoleTemplateList))
return nil
}, InType: reflect.TypeOf(&RoleTemplateList{})},
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*RunPipelineInput).DeepCopyInto(out.(*RunPipelineInput))
return nil
}, InType: reflect.TypeOf(&RunPipelineInput{})},
conversion.GeneratedDeepCopyFunc{Fn: func(in interface{}, out interface{}, c *conversion.Cloner) error {
in.(*RunScriptConfig).DeepCopyInto(out.(*RunScriptConfig))
return nil
@ -5117,6 +5121,22 @@ func (in *RoleTemplateList) DeepCopyObject() runtime.Object {
}
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RunPipelineInput) DeepCopyInto(out *RunPipelineInput) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunPipelineInput.
func (in *RunPipelineInput) DeepCopy() *RunPipelineInput {
if in == nil {
return nil
}
out := new(RunPipelineInput)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RunScriptConfig) DeepCopyInto(out *RunScriptConfig) {
*out = *in

View File

@ -6,6 +6,7 @@ const (
AuthAppInputFieldClientSecret = "clientSecret"
AuthAppInputFieldCode = "code"
AuthAppInputFieldHost = "host"
AuthAppInputFieldInheritGlobal = "inheritGlobal"
AuthAppInputFieldRedirectURL = "redirectUrl"
AuthAppInputFieldSourceCodeType = "sourceCodeType"
AuthAppInputFieldTLS = "tls"
@ -16,6 +17,7 @@ type AuthAppInput struct {
ClientSecret string `json:"clientSecret,omitempty" yaml:"clientSecret,omitempty"`
Code string `json:"code,omitempty" yaml:"code,omitempty"`
Host string `json:"host,omitempty" yaml:"host,omitempty"`
InheritGlobal bool `json:"inheritGlobal,omitempty" yaml:"inheritGlobal,omitempty"`
RedirectURL string `json:"redirectUrl,omitempty" yaml:"redirectUrl,omitempty"`
SourceCodeType string `json:"sourceCodeType,omitempty" yaml:"sourceCodeType,omitempty"`
TLS bool `json:"tls,omitempty" yaml:"tls,omitempty"`

View File

@ -0,0 +1,10 @@
package client
const (
RunPipelineInputType = "runPipelineInput"
RunPipelineInputFieldBranch = "branch"
)
type RunPipelineInput struct {
Branch string `json:"branch,omitempty" yaml:"branch,omitempty"`
}