Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the app v1 API group. +kubebuilder:object:generate=true +groupName=app.github.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "app.github.com", Version: "v1"} // 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 AppDeployment ¶
type AppDeployment struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AppDeploymentSpec `json:"spec,omitempty"`
Status AppDeploymentStatus `json:"status,omitempty"`
}
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Phase",type="string",JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Owner",type="string",JSONPath=`.metadata.ownerReferences[0].name` AppDeployment is the Schema for the appdeployments API.
func (*AppDeployment) DeepCopy ¶
func (in *AppDeployment) DeepCopy() *AppDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppDeployment.
func (*AppDeployment) DeepCopyInto ¶
func (in *AppDeployment) DeepCopyInto(out *AppDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppDeployment) DeepCopyObject ¶
func (in *AppDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppDeploymentList ¶
type AppDeploymentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AppDeployment `json:"items"`
}
AppDeploymentList contains a list of AppDeployment.
func (*AppDeploymentList) DeepCopy ¶
func (in *AppDeploymentList) DeepCopy() *AppDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppDeploymentList.
func (*AppDeploymentList) DeepCopyInto ¶
func (in *AppDeploymentList) DeepCopyInto(out *AppDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppDeploymentList) DeepCopyObject ¶
func (in *AppDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppDeploymentSpec ¶
type AppDeploymentSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
// +kubebuilder:validation:Required
Provision batchv1.JobSpec `json:"provision"`
Teardown batchv1.JobSpec `json:"teardown"`
OpId string `json:"opId"`
// +kubebuilder:validation:Optional
Dependencies []string `json:"dependencies,omitempty"`
}
AppDeploymentSpec defines the desired state of AppDeployment.
func (*AppDeploymentSpec) DeepCopy ¶
func (in *AppDeploymentSpec) DeepCopy() *AppDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppDeploymentSpec.
func (*AppDeploymentSpec) DeepCopyInto ¶
func (in *AppDeploymentSpec) DeepCopyInto(out *AppDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppDeploymentStatus ¶
type AppDeploymentStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
Phase string `json:"phase"`
Conditions []metav1.Condition `json:"conditions"`
}
AppDeploymentStatus defines the observed state of AppDeployment.
func (*AppDeploymentStatus) DeepCopy ¶
func (in *AppDeploymentStatus) DeepCopy() *AppDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppDeploymentStatus.
func (*AppDeploymentStatus) DeepCopyInto ¶
func (in *AppDeploymentStatus) DeepCopyInto(out *AppDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.