Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the application v1alpha1 API group +kubebuilder:object:generate=true +groupName=application.ksctl.com
Index ¶
Constants ¶
const ( TypeCNI ApplicationType = "cni" TypeApp ApplicationType = "app" Success StackStatusCode = "success" Failure StackStatusCode = "failure" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "application.ksctl.com", 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 ApplicationType ¶
type ApplicationType string
type Stack ¶
type Stack struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StackSpec `json:"spec"` Status StackStatus `json:"status,omitempty"` }
Stack is the Schema for the stacks API
func (*Stack) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
func (*Stack) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Stack) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StackList ¶
type StackList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Stack `json:"items"` }
StackList contains a list of Stack
func (*StackList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
func (*StackList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StackList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StackObj ¶ added in v1.2.6
type StackObj struct { StackId string `json:"stackId"` AppType ApplicationType `json:"appType"` Overrides *apiextensionsv1.JSON `json:"overrides,omitempty"` }
func (*StackObj) DeepCopy ¶ added in v1.2.6
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackObj.
func (*StackObj) DeepCopyInto ¶ added in v1.2.6
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackSpec ¶
type StackSpec struct {
Stacks []StackObj `json:"stacks"`
}
StackSpec defines the desired state of Stack
func (*StackSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
func (*StackSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackStatus ¶
type StackStatus struct { StatusCode StackStatusCode `json:"statusCode,omitempty"` ReasonOfFailure string `json:"reasonOfFailure,omitempty"` }
StackStatus defines the observed state of Stack
func (*StackStatus) DeepCopy ¶
func (in *StackStatus) DeepCopy() *StackStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
func (*StackStatus) DeepCopyInto ¶
func (in *StackStatus) DeepCopyInto(out *StackStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackStatusCode ¶ added in v1.2.6
type StackStatusCode string