Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator.ibm.com v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.ibm.com
Index ¶
- Constants
- Variables
- func CheckOperandEnvVar() error
- type Container
- type Features
- type HTTPSCertsSource
- type IBMLicenseServiceBaseSpec
- type IBMLicenseServiceReporter
- type IBMLicenseServiceReporterList
- type IBMLicenseServiceReporterSpec
- type IBMLicenseServiceReporterStatus
- type IBMLicenseServiceRouteOptions
- type IBMLicensing
- type IBMLicensingFeaturesStatus
- type IBMLicensingIngressOptions
- type IBMLicensingList
- type IBMLicensingMetadata
- type IBMLicensingMetadataCondition
- type IBMLicensingMetadataList
- type IBMLicensingMetadataSpec
- type IBMLicensingMetadataStatus
- type IBMLicensingRouteOptions
- type IBMLicensingSecurityContext
- type IBMLicensingSenderSpec
- type IBMLicensingSpec
- func (in *IBMLicensingSpec) DeepCopy() *IBMLicensingSpec
- func (in *IBMLicensingSpec) DeepCopyInto(out *IBMLicensingSpec)
- func (spec *IBMLicensingSpec) FillDefaultValues(reqLogger logr.Logger, isOCP4CertManager bool, isRouteEnabled bool, ...) error
- func (spec *IBMLicensingSpec) GetDefaultReporterTokenName() string
- func (spec *IBMLicensingSpec) GetHyperThreadingThreadsPerCoreOrNil() *int
- func (spec *IBMLicensingSpec) GetPrometheusQuerySourceURL() string
- func (spec *IBMLicensingSpec) HaveFeatures() bool
- func (spec *IBMLicensingSpec) IsChargebackEnabled() bool
- func (spec *IBMLicensingSpec) IsHyperThreadingEnabled() bool
- func (spec *IBMLicensingSpec) IsIngressEnabled() bool
- func (spec *IBMLicensingSpec) IsMetering() bool
- func (spec *IBMLicensingSpec) IsNamespaceScopeEnabled() bool
- func (spec *IBMLicensingSpec) IsPrometheusQuerySourceEnabled() bool
- func (spec *IBMLicensingSpec) IsRHMPEnabled() bool
- func (spec *IBMLicensingSpec) IsRouteEnabled() bool
- func (spec *IBMLicensingSpec) IsURLBasedAuthEnabled() bool
- func (spec *IBMLicensingSpec) RemoveDefaultSenderParameters() bool
- func (spec *IBMLicensingSpec) SetDefaultSenderParameters() bool
- type IBMLicensingStatus
Constants ¶
const OperandLicensingImageEnvVar = "IBM_LICENSING_IMAGE"
const OperandReporterDatabaseImageEnvVar = "IBM_POSTGRESQL_IMAGE"
const OperandReporterReceiverImageEnvVar = "IBM_LICENSE_SERVICE_REPORTER_IMAGE"
const OperandReporterUIImageEnvVar = "IBM_LICENSE_SERVICE_REPORTER_UI_IMAGE"
const OperandUsageImageEnvVar = "IBM_LICENSING_USAGE_IMAGE"
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "operator.ibm.com", Version: "v1alpha1"} // 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 ¶
func CheckOperandEnvVar ¶
func CheckOperandEnvVar() error
Types ¶
type Container ¶
type Container struct { // IBM Licensing Service docker Image Registry, will override default value and disable IBM_LICENSING_IMAGE env value in operator deployment ImageRegistry string `json:"imageRegistry,omitempty"` // IBM Licensing Service docker Image Name, will override default value and disable IBM_LICENSING_IMAGE env value in operator deployment ImageName string `json:"imageName,omitempty"` // IBM Licensing Service docker Image Tag or Digest, will override default value and disable IBM_LICENSING_IMAGE env value in operator deployment ImageTagPostfix string `json:"imageTagPostfix,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` // +kubebuilder:validation:Enum=Always;IfNotPresent;Never ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,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.
func (*Container) GetFullImage ¶
type Features ¶ added in v1.8.0
type Features struct { // Configure if you have HyperThreading (HT) or Symmetrical Multi-Threading (SMT) enabled // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Hyper Threading",xDescriptors="urn:alm:descriptor:com.tectonic.ui:hidden" // +optional HyperThreading *features.HyperThreading `json:"hyperThreading,omitempty"` // Authorization settings. // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Auth",xDescriptors="urn:alm:descriptor:com.tectonic.ui:hidden" // +optional Auth *features.Auth `json:"auth,omitempty"` // Change prometheus query source settings. // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Prometheus query source settings",xDescriptors="urn:alm:descriptor:com.tectonic.ui:hidden" // +optional PrometheusQuerySource *features.PrometheusQuerySource `json:"prometheusQuerySource,omitempty"` // Special terms, must be granted by IBM Pricing. // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Namespace scope enabled",xDescriptors="urn:alm:descriptor:com.tectonic.ui:hidden" // +optional NamespaceScopeEnabled *bool `json:"nssEnabled,omitempty"` }
func (*Features) DeepCopy ¶ added in v1.8.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Features.
func (*Features) DeepCopyInto ¶ added in v1.8.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPSCertsSource ¶
type HTTPSCertsSource string
HTTPSCertsSource describes how certificate is set in available APIs
const ( // OcpCertsSource means application will use cert manager OcpCertsSource HTTPSCertsSource = "ocp" // SelfSignedCertsSource means application will create certificate by itself and use it SelfSignedCertsSource HTTPSCertsSource = "self-signed" // CustomCertsSource means application will use certificate created by user CustomCertsSource HTTPSCertsSource = "custom" )
type IBMLicenseServiceBaseSpec ¶
type IBMLicenseServiceBaseSpec struct { // Should application pod show additional information, options: DEBUG, INFO, VERBOSE // +kubebuilder:validation:Enum=DEBUG;INFO;VERBOSE LogLevel string `json:"logLevel,omitempty"` // Secret name used to store application token, either one that exists, or one that will be created APISecretToken string `json:"apiSecretToken,omitempty"` // Array of pull secrets which should include existing at InstanceNamespace secret to allow pulling IBM Licensing image ImagePullSecrets []string `json:"imagePullSecrets,omitempty"` // options: self-signed or custom // +kubebuilder:validation:Enum=self-signed;custom;ocp HTTPSCertsSource HTTPSCertsSource `json:"httpsCertsSource,omitempty"` // Route parameters RouteOptions *IBMLicenseServiceRouteOptions `json:"routeOptions,omitempty"` // Version Version string `json:"version,omitempty"` }
func (*IBMLicenseServiceBaseSpec) DeepCopy ¶
func (in *IBMLicenseServiceBaseSpec) DeepCopy() *IBMLicenseServiceBaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicenseServiceBaseSpec.
func (*IBMLicenseServiceBaseSpec) DeepCopyInto ¶
func (in *IBMLicenseServiceBaseSpec) DeepCopyInto(out *IBMLicenseServiceBaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicenseServiceBaseSpec) IsDebug ¶ added in v1.10.0
func (spec *IBMLicenseServiceBaseSpec) IsDebug() bool
func (*IBMLicenseServiceBaseSpec) IsVerbose ¶ added in v1.10.0
func (spec *IBMLicenseServiceBaseSpec) IsVerbose() bool
type IBMLicenseServiceReporter ¶
type IBMLicenseServiceReporter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMLicenseServiceReporterSpec `json:"spec,omitempty"` Status IBMLicenseServiceReporterStatus `json:"status,omitempty"` }
IBMLicenseServiceReporter is the Schema for the ibmlicenseservicereporters API. Documentation For additional details regarding install parameters check: https://ibm.biz/icpfs39install. License By installing this product you accept the license terms https://ibm.biz/icpfs39license. +kubebuilder:subresource:status +kubebuilder:resource:path=ibmlicenseservicereporters,scope=Namespaced
func (*IBMLicenseServiceReporter) DeepCopy ¶
func (in *IBMLicenseServiceReporter) DeepCopy() *IBMLicenseServiceReporter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicenseServiceReporter.
func (*IBMLicenseServiceReporter) DeepCopyInto ¶
func (in *IBMLicenseServiceReporter) DeepCopyInto(out *IBMLicenseServiceReporter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicenseServiceReporter) DeepCopyObject ¶
func (in *IBMLicenseServiceReporter) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMLicenseServiceReporterList ¶
type IBMLicenseServiceReporterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMLicenseServiceReporter `json:"items"` }
IBMLicenseServiceReporterList contains a list of IBMLicenseServiceReporter
func (*IBMLicenseServiceReporterList) DeepCopy ¶
func (in *IBMLicenseServiceReporterList) DeepCopy() *IBMLicenseServiceReporterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicenseServiceReporterList.
func (*IBMLicenseServiceReporterList) DeepCopyInto ¶
func (in *IBMLicenseServiceReporterList) DeepCopyInto(out *IBMLicenseServiceReporterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicenseServiceReporterList) DeepCopyObject ¶
func (in *IBMLicenseServiceReporterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMLicenseServiceReporterSpec ¶
type IBMLicenseServiceReporterSpec struct { // Environment variable setting // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Environment variable setting",xDescriptors="urn:alm:descriptor:com.tectonic.ui:hidden" // +optional EnvVariable map[string]string `json:"envVariable,omitempty"` // Receiver Settings ReceiverContainer Container `json:"receiverContainer,omitempty"` // Receiver Settings ReporterUIContainer Container `json:"reporterUIContainer,omitempty"` // Database Settings DatabaseContainer Container `json:"databaseContainer,omitempty"` // Common Parameters for operator IBMLicenseServiceBaseSpec `json:",inline"` // Storage class used by database to provide persistency StorageClass string `json:"storageClass,omitempty"` // Persistent Volume Claim Capacity Capacity resource.Quantity `json:"capacity,omitempty" protobuf:"bytes,2,opt,name=capacity"` }
IBMLicenseServiceReporterSpec defines the desired state of IBMLicenseServiceReporter
func (*IBMLicenseServiceReporterSpec) DeepCopy ¶
func (in *IBMLicenseServiceReporterSpec) DeepCopy() *IBMLicenseServiceReporterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicenseServiceReporterSpec.
func (*IBMLicenseServiceReporterSpec) DeepCopyInto ¶
func (in *IBMLicenseServiceReporterSpec) DeepCopyInto(out *IBMLicenseServiceReporterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicenseServiceReporterSpec) FillDefaultValues ¶
func (spec *IBMLicenseServiceReporterSpec) FillDefaultValues(reqLogger logr.Logger, r client_reader.Reader) error
type IBMLicenseServiceReporterStatus ¶
type IBMLicenseServiceReporterStatus 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 LicensingReporterPods []corev1.PodStatus `json:"LicensingReporterPods"` }
IBMLicenseServiceReporterStatus defines the observed state of IBMLicenseServiceReporter
func (*IBMLicenseServiceReporterStatus) DeepCopy ¶
func (in *IBMLicenseServiceReporterStatus) DeepCopy() *IBMLicenseServiceReporterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicenseServiceReporterStatus.
func (*IBMLicenseServiceReporterStatus) DeepCopyInto ¶
func (in *IBMLicenseServiceReporterStatus) DeepCopyInto(out *IBMLicenseServiceReporterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicenseServiceRouteOptions ¶
func (*IBMLicenseServiceRouteOptions) DeepCopy ¶
func (in *IBMLicenseServiceRouteOptions) DeepCopy() *IBMLicenseServiceRouteOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicenseServiceRouteOptions.
func (*IBMLicenseServiceRouteOptions) DeepCopyInto ¶
func (in *IBMLicenseServiceRouteOptions) DeepCopyInto(out *IBMLicenseServiceRouteOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensing ¶
type IBMLicensing struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMLicensingSpec `json:"spec,omitempty"` Status IBMLicensingStatus `json:"status,omitempty"` }
IBM License Service is the Schema for the ibmlicensings API. Documentation For additional details regarding install parameters check: https://ibm.biz/icpfs39install. License By installing this product you accept the license terms https://ibm.biz/icpfs39license. +kubebuilder:printcolumn:name="Pod Phase",type=string,JSONPath=`.status..phase` +kubebuilder:subresource:status +kubebuilder:resource:path=ibmlicensings,scope=Cluster +operator-sdk:csv:customresourcedefinitions:displayName="IBM License Service" +operator-sdk:csv:customresourcedefinitions:resources={{Service,v1,},{Pod,v1,}} +operator-sdk:csv:customresourcedefinitions:resources={{Deployment,v1,},{Secret,v1,}} +operator-sdk:csv:customresourcedefinitions:resources={{Route,v1,},{ServiceAccount,v1,}} +operator-sdk:csv:customresourcedefinitions:resources={{ClusterRole,v1,},{ClusterRoleBinding,v1,}} +operator-sdk:csv:customresourcedefinitions:resources={{Role,v1,},{RoleBinding,v1,}} +operator-sdk:csv:customresourcedefinitions:resources={{ReplicaSets,v1,},{Ingresses,v1beta1,}} +operator-sdk:csv:customresourcedefinitions:resources={{status,v1alpha1,},{configmaps,v1,}} +operator-sdk:csv:customresourcedefinitions:resources={{ibmlicensings,v1alpha1,},{ibmlicenseservicereporters,v1alpha1},{ibmlicensingmetadatas,v1alpha1}}
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 IBMLicensingFeaturesStatus ¶ added in v1.12.0
type IBMLicensingFeaturesStatus struct {
RHMPEnabled *bool `json:"rhmpEnabled,omitempty"`
}
func (*IBMLicensingFeaturesStatus) DeepCopy ¶ added in v1.12.0
func (in *IBMLicensingFeaturesStatus) DeepCopy() *IBMLicensingFeaturesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingFeaturesStatus.
func (*IBMLicensingFeaturesStatus) DeepCopyInto ¶ added in v1.12.0
func (in *IBMLicensingFeaturesStatus) DeepCopyInto(out *IBMLicensingFeaturesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingIngressOptions ¶
type IBMLicensingIngressOptions struct { // Path after host where API will be available f.e. https://<hostname>:<port>/ibm-licensing-service-instance // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Path",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional Path *string `json:"path,omitempty"` // Additional annotations that should include f.e. ingress class if using not default ingress controller // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Annotations",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional Annotations map[string]string `json:"annotations,omitempty"` // TLS Options to enable secure connection // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="TLS",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional TLS []networkingv1.IngressTLS `json:"tls,omitempty"` // If you use non-default host include it here // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Host",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional 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 IBMLicensingMetadata ¶ added in v1.7.0
type IBMLicensingMetadata struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMLicensingMetadataSpec `json:"spec,omitempty"` Status IBMLicensingMetadataStatus `json:"status,omitempty"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object IBMLicensingMetadata is the schema for IBM License Service. Thanks to IBMLicensingMetadata, you can track the license usage of Virtual Processor Core (VPC) metric by Pods that are managed by automation, for which licensing annotations are not defined at the time of deployment, such as the open source OpenLiberty. / For more information, see documentation: https://ibm.biz/icpfs39install. License: By installing this product you accept the license terms. For more information about the license, see https://ibm.biz/icpfs39license. +kubebuilder:subresource:status +kubebuilder:resource:path=ibmlicensingmetadatas,scope=Namespaced +kubebuilder:deprecatedversion
func (*IBMLicensingMetadata) DeepCopy ¶ added in v1.7.0
func (in *IBMLicensingMetadata) DeepCopy() *IBMLicensingMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingMetadata.
func (*IBMLicensingMetadata) DeepCopyInto ¶ added in v1.7.0
func (in *IBMLicensingMetadata) DeepCopyInto(out *IBMLicensingMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicensingMetadata) DeepCopyObject ¶ added in v1.7.0
func (in *IBMLicensingMetadata) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMLicensingMetadataCondition ¶ added in v1.7.0
type IBMLicensingMetadataCondition struct { // List of annotations used for matching pod Annotation map[string]string `json:"annotation"` }
func (*IBMLicensingMetadataCondition) DeepCopy ¶ added in v1.7.0
func (in *IBMLicensingMetadataCondition) DeepCopy() *IBMLicensingMetadataCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingMetadataCondition.
func (*IBMLicensingMetadataCondition) DeepCopyInto ¶ added in v1.7.0
func (in *IBMLicensingMetadataCondition) DeepCopyInto(out *IBMLicensingMetadataCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingMetadataList ¶ added in v1.7.0
type IBMLicensingMetadataList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMLicensingMetadata `json:"items"` }
IBMLicensingMetadataList contains a list of IBMLicensingMetadata
func (*IBMLicensingMetadataList) DeepCopy ¶ added in v1.7.0
func (in *IBMLicensingMetadataList) DeepCopy() *IBMLicensingMetadataList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingMetadataList.
func (*IBMLicensingMetadataList) DeepCopyInto ¶ added in v1.7.0
func (in *IBMLicensingMetadataList) DeepCopyInto(out *IBMLicensingMetadataList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicensingMetadataList) DeepCopyObject ¶ added in v1.7.0
func (in *IBMLicensingMetadataList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMLicensingMetadataSpec ¶ added in v1.7.0
type IBMLicensingMetadataSpec struct { Condition IBMLicensingMetadataCondition `json:"condition"` // List of annotations that matched pod would be extended Extend map[string]string `json:"extend"` }
IBMLicensingMetadataSpec defines the desired state of IBMLicensingMetadata
func (*IBMLicensingMetadataSpec) DeepCopy ¶ added in v1.7.0
func (in *IBMLicensingMetadataSpec) DeepCopy() *IBMLicensingMetadataSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingMetadataSpec.
func (*IBMLicensingMetadataSpec) DeepCopyInto ¶ added in v1.7.0
func (in *IBMLicensingMetadataSpec) DeepCopyInto(out *IBMLicensingMetadataSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingMetadataStatus ¶ added in v1.7.0
type IBMLicensingMetadataStatus struct { }
IBMLicensingMetadataStatus defines the observed state of IBMLicensingMetadata
func (*IBMLicensingMetadataStatus) DeepCopy ¶ added in v1.7.0
func (in *IBMLicensingMetadataStatus) DeepCopy() *IBMLicensingMetadataStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingMetadataStatus.
func (*IBMLicensingMetadataStatus) DeepCopyInto ¶ added in v1.7.0
func (in *IBMLicensingMetadataStatus) DeepCopyInto(out *IBMLicensingMetadataStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingRouteOptions ¶
type IBMLicensingRouteOptions struct { // TLS Config // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="TLS Config",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional TLS *routev1.TLSConfig `json:"tls,omitempty"` }
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 IBMLicensingSenderSpec ¶
type IBMLicensingSenderSpec struct { // URL for License Service Reporter receiver that collects and aggregate multi cluster licensing data. // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Reporter URL",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional ReporterURL string `json:"reporterURL,omitempty"` // License Service Reporter authentication token, provided by secret that you need to create in instance namespace // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Reporter Secret Token",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional ReporterSecretToken string `json:"reporterSecretToken,omitempty"` // What is the name of this reporting cluster in multi-cluster system. If not provided, CLUSTER_ID will be used as CLUSTER_NAME at Operand level // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Cluster Name",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional ClusterName string `json:"clusterName,omitempty"` // Unique ID of reporting cluster // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Cluster ID",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional ClusterID string `json:"clusterID,omitempty"` }
func (*IBMLicensingSenderSpec) DeepCopy ¶
func (in *IBMLicensingSenderSpec) DeepCopy() *IBMLicensingSenderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingSenderSpec.
func (*IBMLicensingSenderSpec) DeepCopyInto ¶
func (in *IBMLicensingSenderSpec) DeepCopyInto(out *IBMLicensingSenderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingSpec ¶
type IBMLicensingSpec struct { // Environment variable setting // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Environment variable setting",xDescriptors="urn:alm:descriptor:com.tectonic.ui:hidden" // +optional EnvVariable map[string]string `json:"envVariable,omitempty"` // Container Settings // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Container Settings",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional Container `json:",inline"` // Common Parameters for Operator // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Common Parameters",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional IBMLicenseServiceBaseSpec `json:",inline"` // Where should data be collected, options: metering, datacollector // +kubebuilder:validation:Enum=metering;datacollector // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Datasource",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" Datasource string `json:"datasource"` // Enables https access at pod level, httpsCertsSource needed if true // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="HTTPS Enable",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" HTTPSEnable bool `json:"httpsEnable"` // 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 // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Instance Namespace",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" InstanceNamespace string `json:"instanceNamespace,omitempty"` // If default SCC user ID fails, you can set runAsUser option to fix that // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Security Context",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional SecurityContext *IBMLicensingSecurityContext `json:"securityContext,omitempty"` // Should Route be created to expose IBM Licensing Service API? (only on OpenShift cluster) // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Route Enabled",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional RouteEnabled *bool `json:"routeEnabled,omitempty"` // Is Red Hat Marketplace enabled // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="RHMP Enabled",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional RHMPEnabled *bool `json:"rhmpEnabled,omitempty"` // Should collect usage based metrics? // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Usage Enabled",xDescriptors="urn:alm:descriptor:com.tectonic.ui:hidden" // +optional UsageEnabled bool `json:"usageEnabled,omitempty"` // Usage Container Settings // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Usage Container Settings",xDescriptors="urn:alm:descriptor:com.tectonic.ui:hidden" // +optional UsageContainer Container `json:"usageContainer,omitempty"` // Consider updating to enable chargeback feature // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Chargeback Enabled",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional ChargebackEnabled *bool `json:"chargebackEnabled,omitempty"` // Chargeback data retention period in days. Default value is 62 days. // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Chargeback Retention Period in days",xDescriptors="urn:alm:descriptor:com.tectonic.ui:number" // +optional ChargebackRetentionPeriod *int `json:"chargebackRetentionPeriod,omitempty"` // Should Ingress be created to expose IBM Licensing Service API? // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Ingress Enabled",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional IngressEnabled *bool `json:"ingressEnabled,omitempty"` // If ingress is enabled, you can set its parameters // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Ingress Options",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional IngressOptions *IBMLicensingIngressOptions `json:"ingressOptions,omitempty"` // Sender configuration, set if you have multi-cluster environment from which you collect data // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Sender",xDescriptors="urn:alm:descriptor:com.tectonic.ui:text" // +optional Sender *IBMLicensingSenderSpec `json:"sender,omitempty"` // Set additional features under this field // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Features" // +optional Features *Features `json:"features,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 (*IBMLicensingSpec) GetDefaultReporterTokenName ¶
func (spec *IBMLicensingSpec) GetDefaultReporterTokenName() string
func (*IBMLicensingSpec) GetHyperThreadingThreadsPerCoreOrNil ¶ added in v1.8.0
func (spec *IBMLicensingSpec) GetHyperThreadingThreadsPerCoreOrNil() *int
func (*IBMLicensingSpec) GetPrometheusQuerySourceURL ¶ added in v1.15.0
func (spec *IBMLicensingSpec) GetPrometheusQuerySourceURL() string
func (*IBMLicensingSpec) HaveFeatures ¶ added in v1.8.0
func (spec *IBMLicensingSpec) HaveFeatures() bool
func (*IBMLicensingSpec) IsChargebackEnabled ¶
func (spec *IBMLicensingSpec) IsChargebackEnabled() bool
func (*IBMLicensingSpec) IsHyperThreadingEnabled ¶ added in v1.8.0
func (spec *IBMLicensingSpec) IsHyperThreadingEnabled() bool
func (*IBMLicensingSpec) IsIngressEnabled ¶
func (spec *IBMLicensingSpec) IsIngressEnabled() bool
func (*IBMLicensingSpec) IsMetering ¶
func (spec *IBMLicensingSpec) IsMetering() bool
func (*IBMLicensingSpec) IsNamespaceScopeEnabled ¶ added in v1.11.0
func (spec *IBMLicensingSpec) IsNamespaceScopeEnabled() bool
func (*IBMLicensingSpec) IsPrometheusQuerySourceEnabled ¶ added in v1.15.0
func (spec *IBMLicensingSpec) IsPrometheusQuerySourceEnabled() bool
func (*IBMLicensingSpec) IsRHMPEnabled ¶
func (spec *IBMLicensingSpec) IsRHMPEnabled() bool
func (*IBMLicensingSpec) IsRouteEnabled ¶
func (spec *IBMLicensingSpec) IsRouteEnabled() bool
func (*IBMLicensingSpec) IsURLBasedAuthEnabled ¶ added in v1.11.0
func (spec *IBMLicensingSpec) IsURLBasedAuthEnabled() bool
func (*IBMLicensingSpec) RemoveDefaultSenderParameters ¶
func (spec *IBMLicensingSpec) RemoveDefaultSenderParameters() bool
func (*IBMLicensingSpec) SetDefaultSenderParameters ¶
func (spec *IBMLicensingSpec) SetDefaultSenderParameters() bool
type IBMLicensingStatus ¶
type IBMLicensingStatus struct { // The status of IBM License Service Pods. LicensingPods []corev1.PodStatus `json:"licensingPods,omitempty"` Features IBMLicensingFeaturesStatus `json:"features,omitempty"` }
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.