Documentation
¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the kdo v1alpha2 API group +kubebuilder:object:generate=true +groupName=sap.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 KdoChart
- type KdoChartList
- type Operation
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "sap.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 KdoChart
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 KdoChart
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 KdoChart ¶
type KdoChart struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ChartSpec `json:"spec,omitempty"` // +optional Status ChartStatus `json:"status,omitempty"` }
KdoChart is the Schema for the kdocharts API
func (*KdoChart) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KdoChart.
func (*KdoChart) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KdoChart) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KdoChartList ¶
type KdoChartList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KdoChart `json:"items"` }
KdoChartList contains a list of KdoChart
func (*KdoChartList) DeepCopy ¶
func (in *KdoChartList) DeepCopy() *KdoChartList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KdoChartList.
func (*KdoChartList) DeepCopyInto ¶
func (in *KdoChartList) DeepCopyInto(out *KdoChartList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KdoChartList) DeepCopyObject ¶
func (in *KdoChartList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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.