v1alpha1

package
v0.0.0-...-e7a7093 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the coveros v1alpha1 API group +kubebuilder:object:generate=true +groupName=coveros.apps.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "coveros.apps.com", Version: "v1alpha1"}
	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Release

type Release struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ReleaseSpec   `json:"spec,omitempty"`
	Status ReleaseStatus `json:"status,omitempty"`
}

Release is the Schema for the Releases API +kubebuilder:printcolumn:name="release-name",type=string,JSONPath=.metadata.name +kubebuilder:printcolumn:name="release-namespace",type=string,JSONPath=.metadata.namespace +kubebuilder:printcolumn:name="chart",type=string,JSONPath=.spec.chart +kubebuilder:printcolumn:name="chart-version",type=string,JSONPath=.spec.version +kubebuilder:printcolumn:name="age",type=date,JSONPath=.metadata.creationTimestamp +kubebuilder:subresource:status

func (*Release) DeepCopy

func (in *Release) DeepCopy() *Release

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

func (*Release) DeepCopyInto

func (in *Release) DeepCopyInto(out *Release)

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

func (*Release) DeepCopyObject

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

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

type ReleaseList

type ReleaseList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Release `json:"items"`
}

ReleaseList contains a list of Release

func (*ReleaseList) DeepCopy

func (in *ReleaseList) DeepCopy() *ReleaseList

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

func (*ReleaseList) DeepCopyInto

func (in *ReleaseList) DeepCopyInto(out *ReleaseList)

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

func (*ReleaseList) DeepCopyObject

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

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

type ReleaseSpec

type ReleaseSpec struct {
	// +optional
	DependsOn metav1.ObjectMeta `json:"dependsOn"`

	// +optional
	Atomic bool `json:"atomic"`

	Chart string `json:"chart,required"`

	// +optional
	CleanupOnFail bool `json:"cleanupOnFail"`

	// +optional
	DisableHooks bool `json:"disableHooks"`

	// +optional
	DisableOpenAPIValidation bool `json:"disableOpenAPIValidation"`

	// +optional
	ForceUpgrade bool `json:"forceUpgrade"`

	// +optional
	IncludeCRDs bool `json:"includeCRDS"`

	Version string `json:"version,required"`

	// +optional
	Wait bool `json:"wait"`

	// +optional
	WaitTimeout int `json:"waitTimeout"`

	// +optional
	DryRun bool `json:"dryRun"`

	// +optional
	ValuesOverride Values `json:"values"`

	// +optional
	MaxRetries int `json:"maxRetries"`
}

ReleaseSpec defines the desired state of Release

func (*ReleaseSpec) DeepCopy

func (in *ReleaseSpec) DeepCopy() *ReleaseSpec

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

func (*ReleaseSpec) DeepCopyInto

func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)

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

type ReleaseStatus

type ReleaseStatus struct {
	FailureCount int  `json:"failureCount"`
	Installed    bool `json:"installed"`
}

ReleaseStatus defines the observed state of Release

func (*ReleaseStatus) DeepCopy

func (in *ReleaseStatus) DeepCopy() *ReleaseStatus

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

func (*ReleaseStatus) DeepCopyInto

func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)

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

type Values

type Values struct {
	V map[string]interface{} `json:"-"`
}

func (*Values) DeepCopy

func (in *Values) DeepCopy() *Values

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

func (*Values) DeepCopyInto

func (v *Values) DeepCopyInto(out *Values)

DeepCopyInto is an deepcopy function, copying the receiver, writing into out.

func (Values) MarshalJSON

func (v Values) MarshalJSON() ([]byte, error)

MarshalJSON marshals the HelmValues data to a JSON blob.

func (*Values) UnmarshalJSON

func (v *Values) UnmarshalJSON(data []byte) error

UnmarshalJSON sets the HelmValues to a copy of data.

Jump to

Keyboard shortcuts

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