v1alpha1

package
v0.0.2-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=helm.cattle.io

+k8s:deepcopy-gen=package +groupName=helm.cattle.io

+k8s:deepcopy-gen=package +groupName=helm.cattle.io

Index

Constants

View Source
const (

	// SecretNotFoundState is the state when a Helm release secret has not been found for this HelmRelease
	SecretNotFoundState = "SecretNotFound"

	// UnknownState is the state when the Helm release secret reports that it does not know the state of the underlying Helm release
	UnknownState = "Unknown"

	// DeployedState is the state where the underlying Helm release has been successfully deployed, indicating Helm Locker should lock the release
	DeployedState = "Deployed"

	// UninstalledState is the state when the underlying Helm release is uninstalled but the Helm release secret has not been deleted
	UninstalledState = "Uninstalled"

	// ErrorState is a state where Helm Locker has encountered an unexpected bug on trying to parse the underlying Helm release
	ErrorState = "Error"

	// FailedState is the state when the underlying Helm release has failed its last Helm operation
	FailedState = "Failed"

	// TransitioningState is the transitionary state when a Helm operation is being performed on the release (install, upgrade, uninstall)
	TransitioningState = "Transitioning"
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var (
	HelmReleaseResourceName = "helmreleases"
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: helm.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type HelmRelease

type HelmRelease struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HelmReleaseSpec   `json:"spec"`
	Status            HelmReleaseStatus `json:"status"`
}

func NewHelmRelease

func NewHelmRelease(namespace, name string, obj HelmRelease) *HelmRelease

func (*HelmRelease) DeepCopy

func (in *HelmRelease) DeepCopy() *HelmRelease

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

func (*HelmRelease) DeepCopyInto

func (in *HelmRelease) DeepCopyInto(out *HelmRelease)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HelmRelease) DeepCopyObject

func (in *HelmRelease) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HelmReleaseList

type HelmReleaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []HelmRelease `json:"items"`
}

HelmReleaseList is a list of HelmRelease resources

func (*HelmReleaseList) DeepCopy

func (in *HelmReleaseList) DeepCopy() *HelmReleaseList

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

func (*HelmReleaseList) DeepCopyInto

func (in *HelmReleaseList) DeepCopyInto(out *HelmReleaseList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*HelmReleaseList) DeepCopyObject

func (in *HelmReleaseList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type HelmReleaseSpec

type HelmReleaseSpec struct {
	Release ReleaseKey `json:"release,omitempty"`
}

func (*HelmReleaseSpec) DeepCopy

func (in *HelmReleaseSpec) DeepCopy() *HelmReleaseSpec

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

func (*HelmReleaseSpec) DeepCopyInto

func (in *HelmReleaseSpec) DeepCopyInto(out *HelmReleaseSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HelmReleaseStatus

type HelmReleaseStatus struct {
	State       string `json:"state,omitempty"`
	Version     int    `json:"version,omitempty"`
	Description string `json:"description,omitempty"`
	Notes       string `json:"notes,omitempty"`

	Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"`
}

func (*HelmReleaseStatus) DeepCopy

func (in *HelmReleaseStatus) DeepCopy() *HelmReleaseStatus

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

func (*HelmReleaseStatus) DeepCopyInto

func (in *HelmReleaseStatus) DeepCopyInto(out *HelmReleaseStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ReleaseKey

type ReleaseKey struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*ReleaseKey) DeepCopy

func (in *ReleaseKey) DeepCopy() *ReleaseKey

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

func (*ReleaseKey) DeepCopyInto

func (in *ReleaseKey) DeepCopyInto(out *ReleaseKey)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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