Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=core.hybridapp.io
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=core.hybridapp.io
Index ¶
Constants ¶
const (
//IsDefaultDeployer defines annotation used to indicate if a deployer is considered default for a cluster
IsDefaultDeployer = "app.cp4mcm.ibm.com/is-default-deployer"
)
Variables ¶
var ( SourceObject = SchemeGroupVersion.Group + "/source-object" DeployerType = SchemeGroupVersion.Group + "/deployer-type" HostingDeployer = SchemeGroupVersion.Group + "/hosting-deployer" DeployerInCluster = SchemeGroupVersion.Group + "/deployer-in-cluster" )
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "core.hybridapp.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type Deployer ¶
type Deployer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DeployerSpec `json:"spec,omitempty"` }
Deployer is the Schema for the deployers API +kubebuilder:subresource:status +kubebuilder:resource:path=deployers,scope=Namespaced
func (*Deployer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployer.
func (*Deployer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Deployer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeployerList ¶
type DeployerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Deployer `json:"items"` }
DeployerList contains a list of Deployer
func (*DeployerList) DeepCopy ¶
func (in *DeployerList) DeepCopy() *DeployerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployerList.
func (*DeployerList) DeepCopyInto ¶
func (in *DeployerList) DeepCopyInto(out *DeployerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployerList) DeepCopyObject ¶
func (in *DeployerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeployerSet ¶
type DeployerSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DeployerSetSpec `json:"spec,omitempty"` Status DeployerSetStatus `json:"status,omitempty"` }
DeployerSet is the Schema for the deployersets API +kubebuilder:subresource:status +kubebuilder:resource:path=deployersets,scope=Namespaced
func (*DeployerSet) DeepCopy ¶
func (in *DeployerSet) DeepCopy() *DeployerSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployerSet.
func (*DeployerSet) DeepCopyInto ¶
func (in *DeployerSet) DeepCopyInto(out *DeployerSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployerSet) DeepCopyObject ¶
func (in *DeployerSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeployerSetList ¶
type DeployerSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DeployerSet `json:"items"` }
DeployerSetList contains a list of DeployerSet
func (*DeployerSetList) DeepCopy ¶
func (in *DeployerSetList) DeepCopy() *DeployerSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployerSetList.
func (*DeployerSetList) DeepCopyInto ¶
func (in *DeployerSetList) DeepCopyInto(out *DeployerSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployerSetList) DeepCopyObject ¶
func (in *DeployerSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeployerSetSpec ¶
type DeployerSetSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html DefaultDeployer string `json:"defaultDeployer,omitempty"` Deployers []DeployerSpecDescriptor `json:"deployers,omitempty"` }
DeployerSetSpec defines the desired state of DeployerSet
func (*DeployerSetSpec) DeepCopy ¶
func (in *DeployerSetSpec) DeepCopy() *DeployerSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployerSetSpec.
func (*DeployerSetSpec) DeepCopyInto ¶
func (in *DeployerSetSpec) DeepCopyInto(out *DeployerSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployerSetStatus ¶
type DeployerSetStatus struct {
Deployers []DeployerStatusDescriptor `json:"deployers,omitempty"`
}
DeployerSetStatus defines the observed state of DeployerSet
func (*DeployerSetStatus) DeepCopy ¶
func (in *DeployerSetStatus) DeepCopy() *DeployerSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployerSetStatus.
func (*DeployerSetStatus) DeepCopyInto ¶
func (in *DeployerSetStatus) DeepCopyInto(out *DeployerSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployerSpec ¶
type DeployerSpec struct { // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html Type string `json:"type"` OperatorRef *corev1.ObjectReference `json:"operatorRef,omitempty"` Capabilities []rbacv1.PolicyRule `json:"capabilities,omitempty"` Scope apiextensions.ResourceScope `json:"scope,omitempty"` }
DeployerSpec defines the desired state of Deployer
func (*DeployerSpec) DeepCopy ¶
func (in *DeployerSpec) DeepCopy() *DeployerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployerSpec.
func (*DeployerSpec) DeepCopyInto ¶
func (in *DeployerSpec) DeepCopyInto(out *DeployerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployerSpecDescriptor ¶
type DeployerSpecDescriptor struct { // NamespacedName of deployer for key Key string `json:"key"` Spec DeployerSpec `json:"spec"` }
DeployerSpecDescriptor defines the deployer structure
func (*DeployerSpecDescriptor) DeepCopy ¶
func (in *DeployerSpecDescriptor) DeepCopy() *DeployerSpecDescriptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployerSpecDescriptor.
func (*DeployerSpecDescriptor) DeepCopyInto ¶
func (in *DeployerSpecDescriptor) DeepCopyInto(out *DeployerSpecDescriptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployerStatus ¶
type DeployerStatus struct { }
DeployerStatus defines the observed state of Deployer
func (*DeployerStatus) DeepCopy ¶
func (in *DeployerStatus) DeepCopy() *DeployerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployerStatus.
func (*DeployerStatus) DeepCopyInto ¶
func (in *DeployerStatus) DeepCopyInto(out *DeployerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployerStatusDescriptor ¶
type DeployerStatusDescriptor struct { // NamespacedName of deployer for key Status DeployerStatus `json:"status"` Key string `json:"key"` }
DeployerStatusDescriptor defines the deployer status
func (*DeployerStatusDescriptor) DeepCopy ¶
func (in *DeployerStatusDescriptor) DeepCopy() *DeployerStatusDescriptor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployerStatusDescriptor.
func (*DeployerStatusDescriptor) DeepCopyInto ¶
func (in *DeployerStatusDescriptor) DeepCopyInto(out *DeployerStatusDescriptor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.