v1alpha1

package
v0.0.0-...-83429da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +k8s:conversion-gen=sigs.k8s.io/cluster-addons/installer/pkg/apis/config +k8s:defaulter-gen=TypeMeta

Index

Constants

View Source
const GroupName = "addons.config.x-k8s.io"

Variables

View Source
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

func Convert_config_Addon_To_v1alpha1_Addon(in *config.Addon, out *Addon, s conversion.Scope) error

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

func Convert_v1alpha1_Addon_To_config_Addon(in *Addon, out *config.Addon, s conversion.Scope) error

Convert_v1alpha1_Addon_To_config_Addon is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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

func (in *Addon) DeepCopy() *Addon

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Addon.

func (*Addon) DeepCopyInto

func (in *Addon) DeepCopyInto(out *Addon)

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonInstallerConfiguration.

func (*AddonInstallerConfiguration) DeepCopyInto

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL