Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +k8s:conversion-gen=sigs.k8s.io/cluster-addons/installer/pkg/apis/config +k8s:defaulter-gen=TypeMeta
Index ¶
- Constants
- Variables
- func Convert_config_AddonInstallerConfiguration_To_v1alpha1_AddonInstallerConfiguration(in *config.AddonInstallerConfiguration, out *AddonInstallerConfiguration, ...) error
- func Convert_config_Addon_To_v1alpha1_Addon(in *config.Addon, out *Addon, s conversion.Scope) error
- func Convert_v1alpha1_AddonInstallerConfiguration_To_config_AddonInstallerConfiguration(in *AddonInstallerConfiguration, out *config.AddonInstallerConfiguration, ...) error
- func Convert_v1alpha1_Addon_To_config_Addon(in *Addon, out *config.Addon, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- type Addon
- type AddonInstallerConfiguration
Constants ¶
const GroupName = "addons.config.x-k8s.io"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder( addKnownTypes, addDefaultingFuncs, ) AddToScheme = localSchemeBuilder.AddToScheme // SchemeGroupVersion is'the group & version for this scheme SchemeGroupVersion = schema.GroupVersion{ Group: GroupName, Version: "v1alpha1", } )
Functions ¶
func Convert_config_AddonInstallerConfiguration_To_v1alpha1_AddonInstallerConfiguration ¶
func Convert_config_AddonInstallerConfiguration_To_v1alpha1_AddonInstallerConfiguration(in *config.AddonInstallerConfiguration, out *AddonInstallerConfiguration, s conversion.Scope) error
Convert_config_AddonInstallerConfiguration_To_v1alpha1_AddonInstallerConfiguration is an autogenerated conversion function.
func Convert_config_Addon_To_v1alpha1_Addon ¶
Convert_config_Addon_To_v1alpha1_Addon is an autogenerated conversion function.
func Convert_v1alpha1_AddonInstallerConfiguration_To_config_AddonInstallerConfiguration ¶
func Convert_v1alpha1_AddonInstallerConfiguration_To_config_AddonInstallerConfiguration(in *AddonInstallerConfiguration, out *config.AddonInstallerConfiguration, s conversion.Scope) error
Convert_v1alpha1_AddonInstallerConfiguration_To_config_AddonInstallerConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_Addon_To_config_Addon ¶
Convert_v1alpha1_Addon_To_config_Addon is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
Types ¶
type Addon ¶
type Addon struct { // Name provides the name of the addon. // It is used for detecting upgrades and uninstalls as the AddonInstallerConfiguration changes. Name string `json:"name"` // KustomizeRef may be a folder-path or git URL /w optional subpath KustomizeRef string `json:"kustomizeRef"` // ManifestRef may be a file-path or HTTP/S served YAML file ManifestRef string `json:"manifestRef"` }
Addon names and references an addon to be installed. Only one of `KustomizeRef` or `ManifestRef` should be provided.
func (*Addon) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.
func (*Addon) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddonInstallerConfiguration ¶
type AddonInstallerConfiguration struct { metav1.TypeMeta `json:",inline"` // DryRun indicates whether or not to actually install the listed addons DryRun bool `json:"dryRun"` // Addons is a list of addons to install Addons []Addon `json:"addons"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*AddonInstallerConfiguration) DeepCopy ¶
func (in *AddonInstallerConfiguration) DeepCopy() *AddonInstallerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonInstallerConfiguration.
func (*AddonInstallerConfiguration) DeepCopyInto ¶
func (in *AddonInstallerConfiguration) DeepCopyInto(out *AddonInstallerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddonInstallerConfiguration) DeepCopyObject ¶
func (in *AddonInstallerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.