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 ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type IBMLicensing
- type IBMLicensingIngressOptions
- type IBMLicensingList
- type IBMLicensingRouteOptions
- type IBMLicensingSecurityContext
- type IBMLicensingSpec
- func (in *IBMLicensingSpec) DeepCopy() *IBMLicensingSpec
- func (in *IBMLicensingSpec) DeepCopyInto(out *IBMLicensingSpec)
- func (spec *IBMLicensingSpec) FillDefaultValues(isOpenshiftCluster bool)
- func (spec *IBMLicensingSpec) GetFullImage() string
- func (spec *IBMLicensingSpec) IsDebug() bool
- func (spec *IBMLicensingSpec) IsIngressEnabled() bool
- func (spec *IBMLicensingSpec) IsMetering() bool
- func (spec *IBMLicensingSpec) IsRouteEnabled() bool
- type IBMLicensingStatus
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 IBMLicensing ¶
type IBMLicensing struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMLicensingSpec `json:"spec,omitempty"` Status IBMLicensingStatus `json:"status,omitempty"` }
IBMLicensing is the Schema for the ibmlicensings API +kubebuilder:subresource:status +kubebuilder:resource:path=ibmlicensings,scope=Cluster
func (*IBMLicensing) DeepCopy ¶
func (in *IBMLicensing) DeepCopy() *IBMLicensing
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensing.
func (*IBMLicensing) DeepCopyInto ¶
func (in *IBMLicensing) DeepCopyInto(out *IBMLicensing)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicensing) DeepCopyObject ¶
func (in *IBMLicensing) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMLicensingIngressOptions ¶
type IBMLicensingIngressOptions struct { // Path after host where API will be available f.e. https://<hostname>:<port>/ibm-licensing-service-instance Path *string `json:"path,omitempty"` // Additional annotations that should include f.e. ingress class if using not default ingress controller Annotations map[string]string `json:"annotations,omitempty"` // TLS Options to enable secure connection TLS []extensionsv1.IngressTLS `json:"tls,omitempty"` // If you use non-default host include it here Host *string `json:"host,omitempty"` }
func (*IBMLicensingIngressOptions) DeepCopy ¶
func (in *IBMLicensingIngressOptions) DeepCopy() *IBMLicensingIngressOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingIngressOptions.
func (*IBMLicensingIngressOptions) DeepCopyInto ¶
func (in *IBMLicensingIngressOptions) DeepCopyInto(out *IBMLicensingIngressOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingList ¶
type IBMLicensingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMLicensing `json:"items"` }
IBMLicensingList contains a list of IBMLicensing
func (*IBMLicensingList) DeepCopy ¶
func (in *IBMLicensingList) DeepCopy() *IBMLicensingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingList.
func (*IBMLicensingList) DeepCopyInto ¶
func (in *IBMLicensingList) DeepCopyInto(out *IBMLicensingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicensingList) DeepCopyObject ¶
func (in *IBMLicensingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 IBMLicensingSecurityContext ¶
type IBMLicensingSecurityContext struct {
RunAsUser int64 `json:"runAsUser"`
}
func (*IBMLicensingSecurityContext) DeepCopy ¶
func (in *IBMLicensingSecurityContext) DeepCopy() *IBMLicensingSecurityContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingSecurityContext.
func (*IBMLicensingSecurityContext) DeepCopyInto ¶
func (in *IBMLicensingSecurityContext) DeepCopyInto(out *IBMLicensingSecurityContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingSpec ¶
type IBMLicensingSpec struct { // Registry from where to pull IBM Licensing Service application ImageRegistry string `json:"imageRegistry,omitempty"` // Docker Image Name for IBM Licensing Service application ImageName string `json:"imageName,omitempty"` // IBM Licensing Service Docker Image Tag ImageTagPostfix string `json:"imageTagPostfix,omitempty"` // Secret name used to store application token, either one that exists, or one that will be created APISecretToken string `json:"apiSecretToken,omitempty"` // Where should data be collected, options: metering, datacollector Datasource string `json:"datasource"` // Enables https access at pod level, httpsCertsSource needed if true HTTPSEnable bool `json:"httpsEnable"` // options: self-signed or custom HTTPSCertsSource string `json:"httpsCertsSource,omitempty"` // Should application pod show additional information, options: DEBUG, INFO LogLevel string `json:"logLevel,omitempty"` // Existing or to be created namespace where application will start. In case metering data collection is used, // should be the same namespace as metering components InstanceNamespace string `json:"instanceNamespace"` // If default SCC user ID fails, you can set runAsUser option to fix that SecurityContext *IBMLicensingSecurityContext `json:"securityContext,omitempty"` // Array of pull secrets which should include existing at InstanceNamespace secret to allow pulling IBM Licensing image // +listType=set ImagePullSecrets []string `json:"imagePullSecrets,omitempty"` // Should Route be created to expose IBM Licensing Service API? (only on OpenShift cluster) RouteEnabled *bool `json:"routeEnabled,omitempty"` // Should Ingress be created to expose IBM Licensing Service API? IngressEnabled *bool `json:"ingressEnabled,omitempty"` // If ingress is enabled, you can set its parameters IngressOptions *IBMLicensingIngressOptions `json:"ingressOptions,omitempty"` // If route is enabled, you can set its parameters RouteOptions *IBMLicensingRouteOptions `json:"routeOptions,omitempty"` }
IBMLicensingSpec defines the desired state of IBMLicensing
func (*IBMLicensingSpec) DeepCopy ¶
func (in *IBMLicensingSpec) DeepCopy() *IBMLicensingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingSpec.
func (*IBMLicensingSpec) DeepCopyInto ¶
func (in *IBMLicensingSpec) DeepCopyInto(out *IBMLicensingSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicensingSpec) FillDefaultValues ¶
func (spec *IBMLicensingSpec) FillDefaultValues(isOpenshiftCluster bool)
func (*IBMLicensingSpec) GetFullImage ¶
func (spec *IBMLicensingSpec) GetFullImage() string
func (*IBMLicensingSpec) IsDebug ¶
func (spec *IBMLicensingSpec) IsDebug() bool
func (*IBMLicensingSpec) IsIngressEnabled ¶
func (spec *IBMLicensingSpec) IsIngressEnabled() bool
func (*IBMLicensingSpec) IsMetering ¶
func (spec *IBMLicensingSpec) IsMetering() bool
func (*IBMLicensingSpec) IsRouteEnabled ¶
func (spec *IBMLicensingSpec) IsRouteEnabled() bool
type IBMLicensingStatus ¶
type IBMLicensingStatus struct { // LicensingPods are the names of the licensing pods // +listType=set LicensingPods []corev1.PodStatus `json:"licensingPods"` }
IBMLicensingStatus defines the observed state of IBMLicensing
func (*IBMLicensingStatus) DeepCopy ¶
func (in *IBMLicensingStatus) DeepCopy() *IBMLicensingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingStatus.
func (*IBMLicensingStatus) DeepCopyInto ¶
func (in *IBMLicensingStatus) DeepCopyInto(out *IBMLicensingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.