config

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: 3 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package

Index

Constants

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

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(
		addKnownTypes,
	)

	AddToScheme = localSchemeBuilder.AddToScheme
	// SchemeGroupVersion is'the group & version for this scheme
	SchemeGroupVersion = schema.GroupVersion{
		Group:   GroupName,
		Version: runtime.APIVersionInternal,
	}
)

Functions

This section is empty.

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
	// KustomizeRef may be a folder-path or git URL /w optional subpath
	KustomizeRef string
	// ManifestRef may be a file-path or HTTP/S served YAML file
	ManifestRef string
}

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

	// DryRun indicates whether or not to actually install the listed addons
	DryRun bool
	// Addons is a list of addons to install
	Addons []Addon
}

+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.

Directories

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

Jump to

Keyboard shortcuts

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