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.
Index ¶
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"`
}
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.