Documentation
¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the shalm v1alpha2 API group +kubebuilder:object:generate=true +groupName=kramerul.github.com
Index ¶
- Variables
- type ChartSpec
- func (in *ChartSpec) DeepCopy() *ChartSpec
- func (in *ChartSpec) DeepCopyInto(out *ChartSpec)
- func (s *ChartSpec) GetKwArgs() (map[string]interface{}, error)
- func (s *ChartSpec) GetValues() (map[string]interface{}, error)
- func (s *ChartSpec) SetKwArgs(kwargs map[string]interface{}) error
- func (s *ChartSpec) SetValues(values map[string]interface{}) error
- type ChartStatus
- type Operation
- type ShalmChart
- type ShalmChartList
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "kramerul.github.com", Version: "v1alpha2"} // 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 ChartSpec ¶
type ChartSpec struct { // +optional // Values that should be merged in the chart on the installation side Values runtime.RawExtension `json:"values,omitempty"` // +optional // Args which are passed to the constructor of the chart Args []intstr.IntOrString `json:"args,omitempty"` // +optional // KwArgs which are passed to the constructor of the chart KwArgs runtime.RawExtension `json:"kwargs,omitempty"` // +optional // Kubeconfig which is used for the installation. Install into local cluster if empty KubeConfig string `json:"kubeconfig,omitempty"` // Namespace which is used for the installation Namespace string `json:"namespace,omitempty"` // +optional // Suffix which is used to make the chart instance unique Suffix string `json:"suffix,omitempty"` // +optional // ChartTgz containts the complete chart ChartTgz []byte `json:"chart_tgz,omitempty"` // +optional // ChartURL containts the URL for the chart. If empty the ChartTgz field is used. ChartURL string `json:"chart_url,omitempty"` // +optional // Tool which is used to do the deployment and deletion Tool string `json:"tool,omitempty"` }
ChartSpec defines the desired state of ShalmChart
func (*ChartSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartSpec.
func (*ChartSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartStatus ¶
type ChartStatus struct { // LastOp containts the last operation status // +optional LastOp Operation `json:"lastOp,omitempty"` }
ChartStatus defines the observed state of ShalmChart
func (*ChartStatus) DeepCopy ¶
func (in *ChartStatus) DeepCopy() *ChartStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartStatus.
func (*ChartStatus) DeepCopyInto ¶
func (in *ChartStatus) DeepCopyInto(out *ChartStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Operation ¶
type Operation struct { // Type of installation can be apply or delete Type string `json:"type"` // Progress of installation in percent Progress int `json:"progress"` }
Operation defines the progress of the last operation
func (*Operation) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operation.
func (*Operation) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ShalmChart ¶
type ShalmChart struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ChartSpec `json:"spec,omitempty"` // +optional Status ChartStatus `json:"status,omitempty"` }
ShalmChart is the Schema for the shalmcharts API
func (*ShalmChart) DeepCopy ¶
func (in *ShalmChart) DeepCopy() *ShalmChart
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShalmChart.
func (*ShalmChart) DeepCopyInto ¶
func (in *ShalmChart) DeepCopyInto(out *ShalmChart)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ShalmChart) DeepCopyObject ¶
func (in *ShalmChart) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ShalmChartList ¶
type ShalmChartList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ShalmChart `json:"items"` }
ShalmChartList contains a list of ShalmChart
func (*ShalmChartList) DeepCopy ¶
func (in *ShalmChartList) DeepCopy() *ShalmChartList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ShalmChartList.
func (*ShalmChartList) DeepCopyInto ¶
func (in *ShalmChartList) DeepCopyInto(out *ShalmChartList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ShalmChartList) DeepCopyObject ¶
func (in *ShalmChartList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.