v1

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the operator v1 API group +kubebuilder:object:generate=true +groupName=operator.ibm.com

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

View Source
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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingDefinitionCondition.

func (*IBMLicensingDefinitionCondition) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingDefinitionConditionMetadata.

func (*IBMLicensingDefinitionConditionMetadata) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingDefinitionList.

func (*IBMLicensingDefinitionList) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingDefinitionSpec.

func (*IBMLicensingDefinitionSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMLicensingDefinitionStatus.

func (*IBMLicensingDefinitionStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL