v1alpha1

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 12 Imported by: 4

Documentation

Overview

+kubebuilder:object:generate=true +k8s:deepcopy-gen=package,register

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ClaimLabels

type ClaimLabels struct {
	UserDefinedLabels `json:",inline" yaml:",inline" protobuf:"bytes,1,opt,name=userDefinedLabels"`
	// Selector defines the selector criterias
	// +kubebuilder:validation:Optional
	Selector *metav1.LabelSelector `json:"selector,omitempty" yaml:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"`
}

+k8s:openapi-gen=true

func (*ClaimLabels) DeepCopy

func (in *ClaimLabels) DeepCopy() *ClaimLabels

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

func (*ClaimLabels) DeepCopyInto

func (in *ClaimLabels) DeepCopyInto(out *ClaimLabels)

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

func (*ClaimLabels) Descriptor

func (*ClaimLabels) Descriptor() ([]byte, []int)

func (*ClaimLabels) GetLabelSelector

func (r *ClaimLabels) GetLabelSelector() (labels.Selector, error)

GetLabelSelector returns a labels selector based on the label selector

func (*ClaimLabels) GetSelectorLabels

func (r *ClaimLabels) GetSelectorLabels() map[string]string

GetSelectorLabels returns a map with a copy of the selector labels

func (*ClaimLabels) GetUserDefinedLabels

func (r *ClaimLabels) GetUserDefinedLabels() map[string]string

GetUserDefinedLabels returns a map with a copy of the user defined labels

func (*ClaimLabels) Marshal

func (m *ClaimLabels) Marshal() (dAtA []byte, err error)

func (*ClaimLabels) MarshalTo

func (m *ClaimLabels) MarshalTo(dAtA []byte) (int, error)

func (*ClaimLabels) MarshalToSizedBuffer

func (m *ClaimLabels) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClaimLabels) ProtoMessage

func (*ClaimLabels) ProtoMessage()

func (*ClaimLabels) Reset

func (m *ClaimLabels) Reset()

func (*ClaimLabels) Size

func (m *ClaimLabels) Size() (n int)

func (*ClaimLabels) String

func (this *ClaimLabels) String() string

func (*ClaimLabels) Unmarshal

func (m *ClaimLabels) Unmarshal(dAtA []byte) error

func (*ClaimLabels) XXX_DiscardUnknown

func (m *ClaimLabels) XXX_DiscardUnknown()

func (*ClaimLabels) XXX_Marshal

func (m *ClaimLabels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClaimLabels) XXX_Merge

func (m *ClaimLabels) XXX_Merge(src proto.Message)

func (*ClaimLabels) XXX_Size

func (m *ClaimLabels) XXX_Size() int

func (*ClaimLabels) XXX_Unmarshal

func (m *ClaimLabels) XXX_Unmarshal(b []byte) error

type OwnerReference

type OwnerReference struct {
	Group     string `json:"group" yaml:"group" protobuf:"bytes,1,opt,name=group"`
	Version   string `json:"version" yaml:"version" protobuf:"bytes,2,opt,name=version"`
	Kind      string `json:"kind" yaml:"kind" protobuf:"bytes,3,opt,name=kind"`
	Namespace string `json:"namespace" yaml:"namespace" protobuf:"bytes,4,opt,name=namespace"`
	Name      string `json:"name" yaml:"name" protobuf:"bytes,5,opt,name=name"`
}

+k8s:openapi-gen=true

func GetOwnerReference

func GetOwnerReference(obj client.Object) *OwnerReference

func (*OwnerReference) DeepCopy

func (in *OwnerReference) DeepCopy() *OwnerReference

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

func (*OwnerReference) DeepCopyInto

func (in *OwnerReference) DeepCopyInto(out *OwnerReference)

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

func (*OwnerReference) Descriptor

func (*OwnerReference) Descriptor() ([]byte, []int)

func (*OwnerReference) Marshal

func (m *OwnerReference) Marshal() (dAtA []byte, err error)

func (*OwnerReference) MarshalTo

func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error)

func (*OwnerReference) MarshalToSizedBuffer

func (m *OwnerReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OwnerReference) ProtoMessage

func (*OwnerReference) ProtoMessage()

func (*OwnerReference) Reset

func (m *OwnerReference) Reset()

func (*OwnerReference) Size

func (m *OwnerReference) Size() (n int)

func (*OwnerReference) String

func (this *OwnerReference) String() string

func (*OwnerReference) Unmarshal

func (m *OwnerReference) Unmarshal(dAtA []byte) error

func (*OwnerReference) XXX_DiscardUnknown

func (m *OwnerReference) XXX_DiscardUnknown()

func (*OwnerReference) XXX_Marshal

func (m *OwnerReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OwnerReference) XXX_Merge

func (m *OwnerReference) XXX_Merge(src proto.Message)

func (*OwnerReference) XXX_Size

func (m *OwnerReference) XXX_Size() int

func (*OwnerReference) XXX_Unmarshal

func (m *OwnerReference) XXX_Unmarshal(b []byte) error

type UserDefinedLabels

type UserDefinedLabels struct {
	// Labels as user defined labels
	// +optional
	Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty" protobuf:"bytes,1,rep,name=labels"`
}

+k8s:openapi-gen=true UserDefinedLabels define metadata to the resource.

func (*UserDefinedLabels) DeepCopy

func (in *UserDefinedLabels) DeepCopy() *UserDefinedLabels

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

func (*UserDefinedLabels) DeepCopyInto

func (in *UserDefinedLabels) DeepCopyInto(out *UserDefinedLabels)

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

func (*UserDefinedLabels) Descriptor

func (*UserDefinedLabels) Descriptor() ([]byte, []int)

func (*UserDefinedLabels) GetUserDefinedLabels

func (r *UserDefinedLabels) GetUserDefinedLabels() map[string]string

GetUserDefinedLabels returns a map with a copy of the user defined labels

func (*UserDefinedLabels) Marshal

func (m *UserDefinedLabels) Marshal() (dAtA []byte, err error)

func (*UserDefinedLabels) MarshalTo

func (m *UserDefinedLabels) MarshalTo(dAtA []byte) (int, error)

func (*UserDefinedLabels) MarshalToSizedBuffer

func (m *UserDefinedLabels) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserDefinedLabels) ProtoMessage

func (*UserDefinedLabels) ProtoMessage()

func (*UserDefinedLabels) Reset

func (m *UserDefinedLabels) Reset()

func (*UserDefinedLabels) Size

func (m *UserDefinedLabels) Size() (n int)

func (*UserDefinedLabels) String

func (this *UserDefinedLabels) String() string

func (*UserDefinedLabels) Unmarshal

func (m *UserDefinedLabels) Unmarshal(dAtA []byte) error

func (*UserDefinedLabels) XXX_DiscardUnknown

func (m *UserDefinedLabels) XXX_DiscardUnknown()

func (*UserDefinedLabels) XXX_Marshal

func (m *UserDefinedLabels) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserDefinedLabels) XXX_Merge

func (m *UserDefinedLabels) XXX_Merge(src proto.Message)

func (*UserDefinedLabels) XXX_Size

func (m *UserDefinedLabels) XXX_Size() int

func (*UserDefinedLabels) XXX_Unmarshal

func (m *UserDefinedLabels) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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