Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the app v1 API group. +kubebuilder:object:generate=true +groupName=app.github.com
Index ¶
- Variables
- type AppDeployment
- type AppDeploymentList
- type AppDeploymentSpec
- type AppDeploymentStatus
- type ApplicationSpec
- type Cache
- type CacheList
- type CacheSpec
- type CacheStatus
- type Operation
- type OperationList
- type OperationSpec
- type OperationStatus
- type Requirement
- type RequirementList
- type RequirementSpec
- type RequirementStatus
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.
type ApplicationSpec ¶ added in v0.0.2
type ApplicationSpec struct { Name string `json:"name"` Provision batchv1.JobSpec `json:"provision"` Teardown batchv1.JobSpec `json:"teardown"` // +kubebuilder:validation:Optional Dependencies []string `json:"dependencies,omitempty"` }
func (*ApplicationSpec) DeepCopy ¶ added in v0.0.2
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶ added in v0.0.2
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cache ¶ added in v0.0.2
type Cache struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CacheSpec `json:"spec,omitempty"` Status CacheStatus `json:"status,omitempty"` }
Cache is the Schema for the caches API.
func (*Cache) DeepCopy ¶ added in v0.0.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cache.
func (*Cache) DeepCopyInto ¶ added in v0.0.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cache) DeepCopyObject ¶ added in v0.0.2
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CacheList ¶ added in v0.0.2
type CacheList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Cache `json:"items"` }
CacheList contains a list of Cache.
func (*CacheList) DeepCopy ¶ added in v0.0.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheList.
func (*CacheList) DeepCopyInto ¶ added in v0.0.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CacheList) DeepCopyObject ¶ added in v0.0.2
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CacheSpec ¶ added in v0.0.2
type CacheSpec struct { OperationTemplate OperationSpec `json:"operationTemplate"` // Strategy is the cache strategy // +kubebuilder:validation:optional Strategy string `json:"strategy,omitempty"` // ExpireTime is the RFC3339-format time when the cache will be expired. If not set, the cache is never expired. // +kubebuilder:validation:optional // +kubebuilder:validation:Pattern:=`^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$` ExpireTime string `json:"expireTime,omitempty"` }
CacheSpec defines the desired state of Cache.
func (*CacheSpec) DeepCopy ¶ added in v0.0.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheSpec.
func (*CacheSpec) DeepCopyInto ¶ added in v0.0.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CacheStatus ¶ added in v0.0.2
type CacheStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file CacheKey string `json:"cacheKey"` KeepAliveCount int32 `json:"keepAlive"` AvailableCaches []string `json:"availableCaches,omitempty"` }
CacheStatus defines the observed state of Cache.
func (*CacheStatus) DeepCopy ¶ added in v0.0.2
func (in *CacheStatus) DeepCopy() *CacheStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CacheStatus.
func (*CacheStatus) DeepCopyInto ¶ added in v0.0.2
func (in *CacheStatus) DeepCopyInto(out *CacheStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Operation ¶ added in v0.0.2
type Operation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OperationSpec `json:"spec,omitempty"` Status OperationStatus `json:"status,omitempty"` }
Operation is the Schema for the operations API.
func (*Operation) DeepCopy ¶ added in v0.0.2
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operation.
func (*Operation) DeepCopyInto ¶ added in v0.0.2
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Operation) DeepCopyObject ¶ added in v0.0.2
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OperationList ¶ added in v0.0.2
type OperationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Operation `json:"items"` }
OperationList contains a list of Operation.
func (*OperationList) DeepCopy ¶ added in v0.0.2
func (in *OperationList) DeepCopy() *OperationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationList.
func (*OperationList) DeepCopyInto ¶ added in v0.0.2
func (in *OperationList) DeepCopyInto(out *OperationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OperationList) DeepCopyObject ¶ added in v0.0.2
func (in *OperationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OperationSpec ¶ added in v0.0.2
type OperationSpec struct { // +kubebuilder:validation:Required // +kubebuilder:validation:MinItems=1 Applications []ApplicationSpec `json:"applications"` // +kubebuilder:validation:optional // +kubebuilder:validation:Pattern:=`^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$` ExpireAt string `json:"expireAt,omitempty"` }
OperationSpec defines the desired state of Operation.
func (*OperationSpec) DeepCopy ¶ added in v0.0.2
func (in *OperationSpec) DeepCopy() *OperationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationSpec.
func (*OperationSpec) DeepCopyInto ¶ added in v0.0.2
func (in *OperationSpec) DeepCopyInto(out *OperationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperationStatus ¶ added in v0.0.2
type OperationStatus struct { // Conditions is a list of conditions to describe the status of the deploy Conditions []metav1.Condition `json:"conditions"` Phase string `json:"phase"` CacheKey string `json:"cacheKey"` OperationID string `json:"operationId"` }
OperationStatus defines the observed state of Operation.
func (*OperationStatus) DeepCopy ¶ added in v0.0.2
func (in *OperationStatus) DeepCopy() *OperationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperationStatus.
func (*OperationStatus) DeepCopyInto ¶ added in v0.0.2
func (in *OperationStatus) DeepCopyInto(out *OperationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Requirement ¶ added in v0.0.2
type Requirement struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RequirementSpec `json:"spec,omitempty"` Status RequirementStatus `json:"status,omitempty"` }
Requirement is the Schema for the requirements API.
func (*Requirement) DeepCopy ¶ added in v0.0.2
func (in *Requirement) DeepCopy() *Requirement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Requirement.
func (*Requirement) DeepCopyInto ¶ added in v0.0.2
func (in *Requirement) DeepCopyInto(out *Requirement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Requirement) DeepCopyObject ¶ added in v0.0.2
func (in *Requirement) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RequirementList ¶ added in v0.0.2
type RequirementList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Requirement `json:"items"` }
RequirementList contains a list of Requirement.
func (*RequirementList) DeepCopy ¶ added in v0.0.2
func (in *RequirementList) DeepCopy() *RequirementList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequirementList.
func (*RequirementList) DeepCopyInto ¶ added in v0.0.2
func (in *RequirementList) DeepCopyInto(out *RequirementList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RequirementList) DeepCopyObject ¶ added in v0.0.2
func (in *RequirementList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RequirementSpec ¶ added in v0.0.2
type RequirementSpec struct { // +kubebuilder:validation:Required Template OperationSpec `json:"template"` // +kubebuilder:validation:Required EnableCache bool `json:"enableCache"` // +kubebuilder:validation:Optional // +kubebuilder:validation:Pattern:=`^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}Z$` ExpireAt string `json:"expireAt,omitempty"` }
RequirementSpec defines the desired state of Requirement.
func (*RequirementSpec) DeepCopy ¶ added in v0.0.2
func (in *RequirementSpec) DeepCopy() *RequirementSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequirementSpec.
func (*RequirementSpec) DeepCopyInto ¶ added in v0.0.2
func (in *RequirementSpec) DeepCopyInto(out *RequirementSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RequirementStatus ¶ added in v0.0.2
type RequirementStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file OperationId string `json:"operationId"` OperationName string `json:"operationName"` CacheKey string `json:"originalCacheKey"` Phase string `json:"phase"` Conditions []metav1.Condition `json:"conditions"` }
RequirementStatus defines the observed state of Requirement.
func (*RequirementStatus) DeepCopy ¶ added in v0.0.2
func (in *RequirementStatus) DeepCopy() *RequirementStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequirementStatus.
func (*RequirementStatus) DeepCopyInto ¶ added in v0.0.2
func (in *RequirementStatus) DeepCopyInto(out *RequirementStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.