Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the component v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.kyma-project.io
Index ¶
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"} ConditionTypeInstallation = "Installation" ConditionReasonReady = "Ready" )
Functions ¶
This section is empty.
Types ¶
type Managed ¶
type Managed struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` }
func (*Managed) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Managed.
func (*Managed) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Managed) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedList ¶
type ManagedList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Managed `json:"items"` }
ManagedList contains a list of Managed.
func (*ManagedList) DeepCopy ¶
func (in *ManagedList) DeepCopy() *ManagedList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedList.
func (*ManagedList) DeepCopyInto ¶
func (in *ManagedList) DeepCopyInto(out *ManagedList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedList) DeepCopyObject ¶
func (in *ManagedList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Sample ¶
type Sample struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SampleSpec `json:"spec,omitempty"` Status SampleStatus `json:"status,omitempty"` }
Sample is the Schema for the samples API.
func (*Sample) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sample.
func (*Sample) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Sample) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SampleList ¶
type SampleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Sample `json:"items"` }
SampleList contains a list of Sample.
func (*SampleList) DeepCopy ¶
func (in *SampleList) DeepCopy() *SampleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleList.
func (*SampleList) DeepCopyInto ¶
func (in *SampleList) DeepCopyInto(out *SampleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SampleList) DeepCopyObject ¶
func (in *SampleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SampleSpec ¶
type SampleSpec struct { // ResourceFilePath indicates the local dir path containing a .yaml or .yml, // with all required resources to be processed ResourceFilePath string `json:"resourceFilePath,omitempty"` }
func (*SampleSpec) DeepCopy ¶
func (in *SampleSpec) DeepCopy() *SampleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleSpec.
func (*SampleSpec) DeepCopyInto ¶
func (in *SampleSpec) DeepCopyInto(out *SampleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SampleStatus ¶
type SampleStatus struct { Status `json:",inline"` // Conditions contain a set of conditionals to determine the State of Status. // If all Conditions are met, State is expected to be in StateReady. Conditions []metav1.Condition `json:"conditions,omitempty"` }
func (*SampleStatus) DeepCopy ¶
func (in *SampleStatus) DeepCopy() *SampleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SampleStatus.
func (*SampleStatus) DeepCopyInto ¶
func (in *SampleStatus) DeepCopyInto(out *SampleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SampleStatus) WithInstallConditionStatus ¶
func (s *SampleStatus) WithInstallConditionStatus(status metav1.ConditionStatus, objGeneration int64) *SampleStatus
func (*SampleStatus) WithState ¶
func (s *SampleStatus) WithState(state State) *SampleStatus
type State ¶
type State string
const ( // StateReady signifies Module CR is Ready and has been installed successfully. StateReady State = "Ready" // StateProcessing signifies Module CR is reconciling and is in the process of installation. // Processing can also signal that the Installation previously encountered an error and is now recovering. StateProcessing State = "Processing" // StateError signifies an error for Module CR. This signifies that the Installation // process encountered an error. // Contrary to Processing, it can be expected that this state should change on the next retry. StateError State = "Error" // StateDeleting signifies Module CR is being deleted. This is the state that is used // when a deletionTimestamp was detected and Finalizers are picked up. StateDeleting State = "Deleting" // StateWarning signifies specified resource has been deployed, but cannot be used due to misconfiguration, // usually it means that user interaction is required. StateWarning State = "Warning" )
Valid Module CR States.
type Status ¶
type Status struct { // State signifies current state of Module CR. // Value can be one of ("Ready", "Processing", "Error", "Deleting"). // +kubebuilder:validation:Required // +kubebuilder:validation:Enum=Processing;Deleting;Ready;Error;Warning;"" State State `json:"state"` }
Status defines the observed state of Module CR.
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThirdParty ¶
type ThirdParty struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` }
func (*ThirdParty) DeepCopy ¶
func (in *ThirdParty) DeepCopy() *ThirdParty
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdParty.
func (*ThirdParty) DeepCopyInto ¶
func (in *ThirdParty) DeepCopyInto(out *ThirdParty)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ThirdParty) DeepCopyObject ¶
func (in *ThirdParty) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ThirdPartyList ¶
type ThirdPartyList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ThirdParty `json:"items"` }
ThirdPartyList contains a list of ThirdParty.
func (*ThirdPartyList) DeepCopy ¶
func (in *ThirdPartyList) DeepCopy() *ThirdPartyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThirdPartyList.
func (*ThirdPartyList) DeepCopyInto ¶
func (in *ThirdPartyList) DeepCopyInto(out *ThirdPartyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ThirdPartyList) DeepCopyObject ¶
func (in *ThirdPartyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.