v1alpha2

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha2 contains API Schema definitions for the kdo v1alpha2 API group +kubebuilder:object:generate=true +groupName=sap.github.com

Index

Constants

This section is empty.

Variables

View Source
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

func (in *ChartSpec) DeepCopy() *ChartSpec

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

func (*ChartSpec) DeepCopyInto

func (in *ChartSpec) DeepCopyInto(out *ChartSpec)

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

func (*ChartSpec) GetKwArgs

func (s *ChartSpec) GetKwArgs() (map[string]interface{}, error)

GetKwArgs get KwArgs member

func (*ChartSpec) GetValues

func (s *ChartSpec) GetValues() (map[string]interface{}, error)

GetValues get values member

func (*ChartSpec) SetKwArgs

func (s *ChartSpec) SetKwArgs(kwargs map[string]interface{}) error

SetKwArgs set KwArgs member

func (*ChartSpec) SetValues

func (s *ChartSpec) SetValues(values map[string]interface{}) error

SetValues set values member

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

func (in *KdoChart) DeepCopy() *KdoChart

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

func (*KdoChart) DeepCopyInto

func (in *KdoChart) DeepCopyInto(out *KdoChart)

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

func (*KdoChart) DeepCopyObject

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

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

func (*KdoChart) Init

func (s *KdoChart) Init()

Init -

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

func (in *Operation) DeepCopy() *Operation

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

func (*Operation) DeepCopyInto

func (in *Operation) DeepCopyInto(out *Operation)

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