Documentation ¶
Overview ¶
Package v1alpha1 . +k8s:deepcopy-gen=package +groupName=installer.kyma.cx
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Installation
- func (i *Installation) CanBeDeleted() bool
- func (in *Installation) DeepCopy() *Installation
- func (in *Installation) DeepCopyInto(out *Installation)
- func (in *Installation) DeepCopyObject() runtime.Object
- func (i *Installation) IsBeingDeleted() bool
- func (i *Installation) ShouldInstall() bool
- func (i *Installation) ShouldUninstall() bool
- func (i *Installation) ShouldUpdate() bool
- type InstallationCondition
- type InstallationConditionType
- type InstallationList
- type InstallationSpec
- type InstallationStatus
- type StateEnum
Constants ¶
const ( // Group . Group = "installer.kyma.cx" // Version . Version = "v1alpha1" )
const ( // StateEmpty . StateEmpty StateEnum = "" // StateInstalled means installation of kyma is done StateInstalled StateEnum = "Installed" // StateUpdated means installation of kyma is updated StateUpdated StateEnum = "Updated" // StateUninstalled means installation is removed without errors StateUninstalled StateEnum = "Uninstalled" // StateInProgress means installation/update/uninstallation is running StateInProgress StateEnum = "InProgress" // StateError means an error condition occurred during install/update/uninstall operation StateError StateEnum = "Error" // CondtitionInstalled . CondtitionInstalled InstallationConditionType = "Installed" // ConditionInstalling . ConditionInstalling InstallationConditionType = "Installing" // ConditionUpdated . ConditionUpdated InstallationConditionType = "Updated" // ConditionUpdating . ConditionUpdating InstallationConditionType = "Updating" // ConditionUninstalled . ConditionUninstalled InstallationConditionType = "Uninstalled" // ConditionUninstalling . ConditionUninstalling InstallationConditionType = "Uninstalling" // ConditionInProgress . ConditionInProgress InstallationConditionType = "InProgress" // ConditionError . ConditionError InstallationConditionType = "Error" // ActionInstall . ActionInstall string = "install" // ActionUpdate . ActionUpdate string = "update" // ActionUninstall . ActionUninstall = "uninstall" )
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{ Group: Group, Version: Version, } // SchemeBuilder . SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme . AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Installation ¶
type Installation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstallationSpec `json:"spec"` Status InstallationStatus `json:"status"` }
Installation .
func (*Installation) CanBeDeleted ¶
func (i *Installation) CanBeDeleted() bool
func (*Installation) DeepCopy ¶
func (in *Installation) DeepCopy() *Installation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Installation.
func (*Installation) DeepCopyInto ¶
func (in *Installation) DeepCopyInto(out *Installation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Installation) DeepCopyObject ¶
func (in *Installation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Installation) IsBeingDeleted ¶
func (i *Installation) IsBeingDeleted() bool
func (*Installation) ShouldInstall ¶
func (i *Installation) ShouldInstall() bool
ShouldInstall returns true when user requested install action
func (*Installation) ShouldUninstall ¶
func (i *Installation) ShouldUninstall() bool
ShouldUninstall returns true when user requested uninstall action
func (*Installation) ShouldUpdate ¶
func (i *Installation) ShouldUpdate() bool
ShouldUpdate returns true when user requested update action
type InstallationCondition ¶
type InstallationCondition struct { Type InstallationConditionType `json:"type"` Status corev1.ConditionStatus `json:"status"` LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"` }
InstallationCondition .
func (*InstallationCondition) DeepCopy ¶
func (in *InstallationCondition) DeepCopy() *InstallationCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallationCondition.
func (*InstallationCondition) DeepCopyInto ¶
func (in *InstallationCondition) DeepCopyInto(out *InstallationCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallationConditionType ¶
type InstallationConditionType string
InstallationConditionType defines installation condition type
type InstallationList ¶
type InstallationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Installation `json:"items"` }
InstallationList .
func (*InstallationList) DeepCopy ¶
func (in *InstallationList) DeepCopy() *InstallationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallationList.
func (*InstallationList) DeepCopyInto ¶
func (in *InstallationList) DeepCopyInto(out *InstallationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstallationList) DeepCopyObject ¶
func (in *InstallationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InstallationSpec ¶
InstallationSpec .
func (*InstallationSpec) DeepCopy ¶
func (in *InstallationSpec) DeepCopy() *InstallationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallationSpec.
func (*InstallationSpec) DeepCopyInto ¶
func (in *InstallationSpec) DeepCopyInto(out *InstallationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstallationStatus ¶
type InstallationStatus struct { Conditions []InstallationCondition `json:"conditions"` State StateEnum `json:"state"` Description string `json:"description"` KymaVersion string `json:"version"` URL string `json:"url"` }
InstallationStatus .
func (*InstallationStatus) DeepCopy ¶
func (in *InstallationStatus) DeepCopy() *InstallationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstallationStatus.
func (*InstallationStatus) DeepCopyInto ¶
func (in *InstallationStatus) DeepCopyInto(out *InstallationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.