Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=config.cicd.tess.io
Index ¶
Constants ¶
const GroupName = "config.cicd.tess.io"
GroupName is the group name used in this package
Variables ¶
var ( // SchemeBuilder is the scheme builder with scheme init functions to run for this API package SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
This section is empty.
Types ¶
type KubectlConfiguration ¶
type KubectlConfiguration struct { metav1.TypeMeta // Command is the subcommand of kubectl used to run deployment. Command string // PathOptions specifies where to look for specs. PathOptions // Template is options for Go text templates. This is similar to Helm // which is based on go templates plus customized funcs. Template *TemplateOptions // YTT is options for running YAML templates. YTT *YTTOptions // Prune is a feature which enables us to reconcile resources between git // and apiserver. Prune *PruneOptions // ExperimentalEnableClusterSize when set to true, will inject another // parameter that captures the number of nodes in this cluster. ExperimentalEnableClusterSize bool // FollowSymlink defines how to handle symbolic links in release path. The default value is false, which means the rendered specs does not follow symbolic links. FollowSymlink bool }
KubectlConfiguration is the configuration for kubectl releaser plugin.
func (*KubectlConfiguration) DeepCopy ¶
func (in *KubectlConfiguration) DeepCopy() *KubectlConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubectlConfiguration.
func (*KubectlConfiguration) DeepCopyInto ¶
func (in *KubectlConfiguration) DeepCopyInto(out *KubectlConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KubectlConfiguration) DeepCopyObject ¶
func (in *KubectlConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ObjectReference ¶
ObjectReference defines the reference to another object.
func (*ObjectReference) DeepCopy ¶
func (in *ObjectReference) DeepCopy() *ObjectReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.
func (*ObjectReference) DeepCopyInto ¶
func (in *ObjectReference) DeepCopyInto(out *ObjectReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PathOptions ¶
type PathOptions struct { // Paths points to a list of kubernetes spec file or directory. This should // be a relative path to the repository itself. Paths []string }
func (*PathOptions) DeepCopy ¶
func (in *PathOptions) DeepCopy() *PathOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PathOptions.
func (*PathOptions) DeepCopyInto ¶
func (in *PathOptions) DeepCopyInto(out *PathOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PruneOptions ¶
type PruneOptions struct { // Labels specifies the common labels that used to filter resources that // are in apiserver but not in git. Labels map[string]string // SkipList specifies the resources that should not be pruned. SkipList []string }
PruneOptions defines the options related to resource pruning: In situation when we want to delete resources in apiserver which are not in git any more.
func (*PruneOptions) DeepCopy ¶
func (in *PruneOptions) DeepCopy() *PruneOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PruneOptions.
func (*PruneOptions) DeepCopyInto ¶
func (in *PruneOptions) DeepCopyInto(out *PruneOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateOptions ¶
type TemplateOptions struct { // Values are the files which can populate values. Values []string // ConfigMapRefs populates values from ConfigMaps. ConfigMapRefs []ObjectReference // SecretRefs populates values from Secrets. SecretRefs []ObjectReference // ValueType specifies whether we should parse data in configMap as string // or as parsed type. ValueType ValueType }
TemplateOptions defines the contextual data for Go templates.
func (*TemplateOptions) DeepCopy ¶
func (in *TemplateOptions) DeepCopy() *TemplateOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateOptions.
func (*TemplateOptions) DeepCopyInto ¶
func (in *TemplateOptions) DeepCopyInto(out *TemplateOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type YTTOptions ¶
type YTTOptions struct { // Overlay points to the yaml file which defines the overlay spec. Overlay string // Values are the files which can populate values. Values []string // ConfigMapRefs populates values from ConfigMaps. ConfigMapRefs []ObjectReference // SecretRefs populates values from Secrets. SecretRefs []ObjectReference // ValueType specifies whether we should parse data in configMap as string // or as parsed type. ValueType ValueType }
YTTOptions defines the options related to YTT yaml templating. Note: This is an experimental feature.
func (*YTTOptions) DeepCopy ¶
func (in *YTTOptions) DeepCopy() *YTTOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new YTTOptions.
func (*YTTOptions) DeepCopyInto ¶
func (in *YTTOptions) DeepCopyInto(out *YTTOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Directories ¶
Path | Synopsis |
---|---|
+k8s:deepcopy-gen=package +k8s:conversion-gen=github.com/ebay/releaser/pkg/deployer/plugins/kubectl/apis/config +k8s:conversion-gen-external-types=github.com/ebay/releaser/pkg/deployer/plugins/kubectl/apis/config/v1alpha1 +k8s:defaulter-gen=TypeMeta +groupName=config.cicd.tess.io
|
+k8s:deepcopy-gen=package +k8s:conversion-gen=github.com/ebay/releaser/pkg/deployer/plugins/kubectl/apis/config +k8s:conversion-gen-external-types=github.com/ebay/releaser/pkg/deployer/plugins/kubectl/apis/config/v1alpha1 +k8s:defaulter-gen=TypeMeta +groupName=config.cicd.tess.io |
+k8s:deepcopy-gen=package +k8s:conversion-gen=github.com/ebay/releaser/pkg/deployer/plugins/kubectl/apis/config +k8s:conversion-gen-external-types=github.com/ebay/releaser/pkg/deployer/plugins/kubectl/apis/config/v1alpha2 +k8s:defaulter-gen=TypeMeta +groupName=config.cicd.tess.io
|
+k8s:deepcopy-gen=package +k8s:conversion-gen=github.com/ebay/releaser/pkg/deployer/plugins/kubectl/apis/config +k8s:conversion-gen-external-types=github.com/ebay/releaser/pkg/deployer/plugins/kubectl/apis/config/v1alpha2 +k8s:defaulter-gen=TypeMeta +groupName=config.cicd.tess.io |