Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.kyma-project.io
Index ¶
- Variables
- type Config
- type Istio
- func (i *Istio) ComponentName() string
- func (in *Istio) DeepCopy() *Istio
- func (in *Istio) DeepCopyInto(out *Istio)
- func (in *Istio) DeepCopyObject() runtime.Object
- func (i *Istio) GetStatus() IstioStatus
- func (i *Istio) HasFinalizer() bool
- func (i *Istio) MergeInto(op istioOperator.IstioOperator) (istioOperator.IstioOperator, error)
- func (i *Istio) SetStatus(status IstioStatus)
- type IstioList
- type IstioSpec
- type IstioStatus
- type State
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "operator.kyma-project.io", 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 Config ¶
type Config struct { // Defines the number of trusted proxies deployed in front of the Istio gateway proxy. // +kubebuilder:validation:Optional NumTrustedProxies *int `json:"numTrustedProxies,omitempty"` }
Configuration for the Istio installation.
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Istio ¶
type Istio struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IstioSpec `json:"spec,omitempty"` Status IstioStatus `json:"status,omitempty"` }
Contains Istio CR specification and current status.
func (*Istio) ComponentName ¶
func (*Istio) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Istio.
func (*Istio) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Istio) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Istio) GetStatus ¶
func (i *Istio) GetStatus() IstioStatus
func (*Istio) HasFinalizer ¶
func (*Istio) MergeInto ¶
func (i *Istio) MergeInto(op istioOperator.IstioOperator) (istioOperator.IstioOperator, error)
func (*Istio) SetStatus ¶
func (i *Istio) SetStatus(status IstioStatus)
type IstioList ¶
type IstioList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Istio `json:"items"` }
Contains a list of Istio's.
func (*IstioList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioList.
func (*IstioList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IstioList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IstioSpec ¶
type IstioSpec struct { // +kubebuilder:validation:Optional Config Config `json:"config,omitempty"` }
Defines the desired specification for installing or updating Istio.
func (*IstioSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioSpec.
func (*IstioSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IstioStatus ¶
type IstioStatus struct { // State signifies current state of CustomObject. Value // can be one of ("Ready", "Processing", "Error", "Deleting"). // +kubebuilder:validation:Required // +kubebuilder:validation:Enum=Processing;Deleting;Ready;Error State State `json:"state"` // Conditions associated with IstioStatus. Conditions *[]metav1.Condition `json:"conditions,omitempty"` }
IstioStatus defines the observed state of IstioCR.
func (*IstioStatus) DeepCopy ¶
func (in *IstioStatus) DeepCopy() *IstioStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioStatus.
func (*IstioStatus) DeepCopyInto ¶
func (in *IstioStatus) DeepCopyInto(out *IstioStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.