Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the operator v1 API group +kubebuilder:object:generate=true +groupName=operator.ibm.com
Copyright 2022 IBM Corporation ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 IBM Corporation ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- type IBMLicensingDefinition
- type IBMLicensingDefinitionCondition
- type IBMLicensingDefinitionConditionMetadata
- type IBMLicensingDefinitionList
- type IBMLicensingDefinitionSpec
- type IBMLicensingDefinitionStatus
- type IBMLicensingQuerySource
- type IBMLicensingQuerySourceList
- type IBMLicensingQuerySourceSpec
- type IBMLicensingQuerySourceStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "operator.ibm.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 IBMLicensingDefinition ¶
type IBMLicensingDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMLicensingDefinitionSpec `json:"spec,omitempty"` Status IBMLicensingDefinitionStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object IBMLicensingDefinition is the schema for IBM License Service. +operator-sdk:csv:customresourcedefinitions:displayName="IBM Licensing Definition" +kubebuilder:resource:path=ibmlicensingdefinitions,scope=Namespaced +kubebuilder:subresource:status
func (*IBMLicensingDefinition) DeepCopy ¶
func (in *IBMLicensingDefinition) DeepCopy() *IBMLicensingDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingDefinition.
func (*IBMLicensingDefinition) DeepCopyInto ¶
func (in *IBMLicensingDefinition) DeepCopyInto(out *IBMLicensingDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicensingDefinition) DeepCopyObject ¶
func (in *IBMLicensingDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMLicensingDefinitionCondition ¶
type IBMLicensingDefinitionCondition struct {
Metadata IBMLicensingDefinitionConditionMetadata `json:"metadata,omitempty"`
}
func (*IBMLicensingDefinitionCondition) DeepCopy ¶
func (in *IBMLicensingDefinitionCondition) DeepCopy() *IBMLicensingDefinitionCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingDefinitionCondition.
func (*IBMLicensingDefinitionCondition) DeepCopyInto ¶
func (in *IBMLicensingDefinitionCondition) DeepCopyInto(out *IBMLicensingDefinitionCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingDefinitionConditionMetadata ¶
type IBMLicensingDefinitionConditionMetadata struct { // List of annotations used for matching pod Annotations map[string]string `json:"annotations,omitempty"` // List of labels used for matching pod Labels map[string]string `json:"labels,omitempty"` }
func (*IBMLicensingDefinitionConditionMetadata) DeepCopy ¶
func (in *IBMLicensingDefinitionConditionMetadata) DeepCopy() *IBMLicensingDefinitionConditionMetadata
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingDefinitionConditionMetadata.
func (*IBMLicensingDefinitionConditionMetadata) DeepCopyInto ¶
func (in *IBMLicensingDefinitionConditionMetadata) DeepCopyInto(out *IBMLicensingDefinitionConditionMetadata)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingDefinitionList ¶
type IBMLicensingDefinitionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMLicensingDefinition `json:"items"` }
IBMLicensingDefinitionList contains a list of IBMLicensingDefinition
func (*IBMLicensingDefinitionList) DeepCopy ¶
func (in *IBMLicensingDefinitionList) DeepCopy() *IBMLicensingDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingDefinitionList.
func (*IBMLicensingDefinitionList) DeepCopyInto ¶
func (in *IBMLicensingDefinitionList) DeepCopyInto(out *IBMLicensingDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicensingDefinitionList) DeepCopyObject ¶
func (in *IBMLicensingDefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMLicensingDefinitionSpec ¶
type IBMLicensingDefinitionSpec struct { // Action of Custom Resource // +kubebuilder:validation:Enum=modifyOriginal;cloneModify Action string `json:"action"` // Condition used to match pods Condition IBMLicensingDefinitionCondition `json:"condition"` // Scope of Custom Resource // +kubebuilder:validation:Enum=cluster Scope string `json:"scope"` // List of annotations that matched pod would be extended Set map[string]string `json:"set"` }
IBMLicensingDefinitionSpec defines the desired state of IBMLicensingDefinition
func (*IBMLicensingDefinitionSpec) DeepCopy ¶
func (in *IBMLicensingDefinitionSpec) DeepCopy() *IBMLicensingDefinitionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingDefinitionSpec.
func (*IBMLicensingDefinitionSpec) DeepCopyInto ¶
func (in *IBMLicensingDefinitionSpec) DeepCopyInto(out *IBMLicensingDefinitionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingDefinitionStatus ¶
type IBMLicensingDefinitionStatus struct { }
IBMLicensingDefinitionStatus defines the observed state of IBMLicensingDefinition
func (*IBMLicensingDefinitionStatus) DeepCopy ¶
func (in *IBMLicensingDefinitionStatus) DeepCopy() *IBMLicensingDefinitionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingDefinitionStatus.
func (*IBMLicensingDefinitionStatus) DeepCopyInto ¶
func (in *IBMLicensingDefinitionStatus) DeepCopyInto(out *IBMLicensingDefinitionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingQuerySource ¶ added in v1.15.0
type IBMLicensingQuerySource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IBMLicensingQuerySourceSpec `json:"spec,omitempty"` Status IBMLicensingQuerySourceStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object IBMLicensingQuerySource is the schema for IBM License Service. +operator-sdk:csv:customresourcedefinitions:displayName="IBM Licensing Query Source" +kubebuilder:resource:path=ibmlicensingquerysources,scope=Namespaced +kubebuilder:subresource:status
func (*IBMLicensingQuerySource) DeepCopy ¶ added in v1.15.0
func (in *IBMLicensingQuerySource) DeepCopy() *IBMLicensingQuerySource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingQuerySource.
func (*IBMLicensingQuerySource) DeepCopyInto ¶ added in v1.15.0
func (in *IBMLicensingQuerySource) DeepCopyInto(out *IBMLicensingQuerySource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicensingQuerySource) DeepCopyObject ¶ added in v1.15.0
func (in *IBMLicensingQuerySource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMLicensingQuerySourceList ¶ added in v1.15.0
type IBMLicensingQuerySourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IBMLicensingQuerySource `json:"items"` }
IBMLicensingQuerySourceList contains a list of IBMLicensingQuerySource
func (*IBMLicensingQuerySourceList) DeepCopy ¶ added in v1.15.0
func (in *IBMLicensingQuerySourceList) DeepCopy() *IBMLicensingQuerySourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingQuerySourceList.
func (*IBMLicensingQuerySourceList) DeepCopyInto ¶ added in v1.15.0
func (in *IBMLicensingQuerySourceList) DeepCopyInto(out *IBMLicensingQuerySourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IBMLicensingQuerySourceList) DeepCopyObject ¶ added in v1.15.0
func (in *IBMLicensingQuerySourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IBMLicensingQuerySourceSpec ¶ added in v1.15.0
type IBMLicensingQuerySourceSpec struct { // Policy on how should newly queried data be aggregated to previous data (defaults to MAX) // +kubebuilder:validation:Enum=MAX;ADD AggregationPolicy string `json:"aggregationPolicy,omitempty"` // What query should be send to prometheuses to get the licensing usage Query string `json:"query"` // Product and cloudpak annotations mapping the query to licensing usage Annotations map[string]string `json:"annotations"` }
IBMLicensingQuerySourceSpec defines the desired state of IBMLicensingQuerySource
func (*IBMLicensingQuerySourceSpec) DeepCopy ¶ added in v1.15.0
func (in *IBMLicensingQuerySourceSpec) DeepCopy() *IBMLicensingQuerySourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingQuerySourceSpec.
func (*IBMLicensingQuerySourceSpec) DeepCopyInto ¶ added in v1.15.0
func (in *IBMLicensingQuerySourceSpec) DeepCopyInto(out *IBMLicensingQuerySourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IBMLicensingQuerySourceStatus ¶ added in v1.15.0
type IBMLicensingQuerySourceStatus struct { }
IBMLicensingQuerySourceStatus defines the observed state of IBMLicensingQuerySource
func (*IBMLicensingQuerySourceStatus) DeepCopy ¶ added in v1.15.0
func (in *IBMLicensingQuerySourceStatus) DeepCopy() *IBMLicensingQuerySourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingQuerySourceStatus.
func (*IBMLicensingQuerySourceStatus) DeepCopyInto ¶ added in v1.15.0
func (in *IBMLicensingQuerySourceStatus) DeepCopyInto(out *IBMLicensingQuerySourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.