Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.ibm.com
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=operator.ibm.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "operator.ibm.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type Container ¶
type Container struct { // Docker Image Image string `json:"image,omitempty"` // Resources and limits for container Resources corev1.ResourceRequirements `json:"resources,omitempty"` }
func (*Container) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingHub ¶
type IBMLicensingHub struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMLicensingHubSpec `json:"spec,omitempty"` Status IBMLicensingHubStatus `json:"status,omitempty"` }
IBMLicensingHub is the Schema for the ibmlicensinghubs API +kubebuilder:subresource:status +kubebuilder:resource:path=ibmlicensinghubs,scope=Namespaced
func (*IBMLicensingHub) DeepCopy ¶
func (in *IBMLicensingHub) DeepCopy() *IBMLicensingHub
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingHub.
func (*IBMLicensingHub) DeepCopyInto ¶
func (in *IBMLicensingHub) DeepCopyInto(out *IBMLicensingHub)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicensingHub) DeepCopyObject ¶
func (in *IBMLicensingHub) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMLicensingHubList ¶
type IBMLicensingHubList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMLicensingHub `json:"items"` }
IBMLicensingHubList contains a list of IBMLicensingHub
func (*IBMLicensingHubList) DeepCopy ¶
func (in *IBMLicensingHubList) DeepCopy() *IBMLicensingHubList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingHubList.
func (*IBMLicensingHubList) DeepCopyInto ¶
func (in *IBMLicensingHubList) DeepCopyInto(out *IBMLicensingHubList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicensingHubList) DeepCopyObject ¶
func (in *IBMLicensingHubList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMLicensingHubSpec ¶
type IBMLicensingHubSpec struct { // Opt-in license acceptance is required to create resources License License `json:"license"` // Receiver Settings ReceiverContainer Container `json:"receiverContainer,omitempty"` // Database Settings DatabaseContainer Container `json:"databaseContainer,omitempty"` // Storage class used by database to provide persistency StorageClass string `json:"storageClass,omitempty"` // Persistent Volume Claim Capacity Capacity string `json:"capacity,omitempty"` // IBM License Service Hub Pod pull policy, default: IfNotPresent // +kubebuilder:validation:Enum=Always;IfNotPresent;Never ImagePullPolicy string `json:"imagePullPolicy,omitempty"` // Array of pull secrets which should include existing at InstanceNamespace secret to allow pulling IBM Licensing Hub images ImagePullSecrets []string `json:"imagePullSecrets,omitempty"` // Secret name used to store application token, either one that exists, or one that will be created APISecretToken string `json:"apiSecretToken,omitempty"` // options: self-signed or custom // +kubebuilder:validation:Enum=self-signed;custom HTTPSCertsSource string `json:"httpsCertsSource,omitempty"` // Route parameters RouteOptions *IBMLicensingRouteOptions `json:"routeOptions,omitempty"` // Version Version string `json:"version,omitempty"` }
IBMLicensingHubSpec defines the desired state of IBMLicensingHub
func (*IBMLicensingHubSpec) DeepCopy ¶
func (in *IBMLicensingHubSpec) DeepCopy() *IBMLicensingHubSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingHubSpec.
func (*IBMLicensingHubSpec) DeepCopyInto ¶
func (in *IBMLicensingHubSpec) DeepCopyInto(out *IBMLicensingHubSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingHubStatus ¶
type IBMLicensingHubStatus 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 LicensingHubPods []corev1.PodStatus `json:"LicensingHubPods"` }
IBMLicensingHubStatus defines the observed state of IBMLicensingHub
func (*IBMLicensingHubStatus) DeepCopy ¶
func (in *IBMLicensingHubStatus) DeepCopy() *IBMLicensingHubStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingHubStatus.
func (*IBMLicensingHubStatus) DeepCopyInto ¶
func (in *IBMLicensingHubStatus) DeepCopyInto(out *IBMLicensingHubStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingRouteOptions ¶
func (*IBMLicensingRouteOptions) DeepCopy ¶
func (in *IBMLicensingRouteOptions) DeepCopy() *IBMLicensingRouteOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingRouteOptions.
func (*IBMLicensingRouteOptions) DeepCopyInto ¶
func (in *IBMLicensingRouteOptions) DeepCopyInto(out *IBMLicensingRouteOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type License ¶
type License struct { // Accept is an opt-in license acceptance required to deploy resources // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.displayName="License Acceptance" // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch" Accept bool `json:"accept"` }
License properties
func (*License) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new License.
func (*License) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.