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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Release.
func (*Release) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Release) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Values.
func (*Values) DeepCopyInto ¶
DeepCopyInto is an deepcopy function, copying the receiver, writing into out.
func (Values) MarshalJSON ¶
MarshalJSON marshals the HelmValues data to a JSON blob.
func (*Values) UnmarshalJSON ¶
UnmarshalJSON sets the HelmValues to a copy of data.