Documentation ¶
Overview ¶
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-json-shim. DO NOT EDIT.
Code generated by protoc-gen-deepcopy. DO NOT EDIT.
Code generated by protoc-json-shim. DO NOT EDIT.
Index ¶
- Constants
- Variables
- type Namespace
- func (in *Namespace) DeepCopy() *Namespace
- func (in *Namespace) DeepCopyInterface() interface{}
- func (in *Namespace) DeepCopyInto(out *Namespace)
- func (*Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *Namespace) GetDescription() string
- func (msg *Namespace) MarshalBinary() ([]byte, error)
- func (this *Namespace) MarshalJSON() ([]byte, error)
- func (*Namespace) ProtoMessage()
- func (x *Namespace) ProtoReflect() protoreflect.Message
- func (x *Namespace) Reset()
- func (x *Namespace) String() string
- func (msg *Namespace) UnmarshalBinary(b []byte) error
- func (this *Namespace) UnmarshalJSON(b []byte) error
- type Partition
- func (in *Partition) DeepCopy() *Partition
- func (in *Partition) DeepCopyInterface() interface{}
- func (in *Partition) DeepCopyInto(out *Partition)
- func (*Partition) Descriptor() ([]byte, []int)deprecated
- func (x *Partition) GetDescription() string
- func (msg *Partition) MarshalBinary() ([]byte, error)
- func (this *Partition) MarshalJSON() ([]byte, error)
- func (*Partition) ProtoMessage()
- func (x *Partition) ProtoReflect() protoreflect.Message
- func (x *Partition) Reset()
- func (x *Partition) String() string
- func (msg *Partition) UnmarshalBinary(b []byte) error
- func (this *Partition) UnmarshalJSON(b []byte) error
Constants ¶
const ( GroupName = "tenancy" Version = "v2beta1" NamespaceKind = "Namespace" PartitionKind = "Partition" )
Variables ¶
var ( NamespaceMarshaler = &protojson.MarshalOptions{} NamespaceUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )
var ( PartitionMarshaler = &protojson.MarshalOptions{} PartitionUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )
var ( NamespaceType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: NamespaceKind, } PartitionType = &pbresource.Type{ Group: GroupName, GroupVersion: Version, Kind: PartitionKind, } )
var File_pbtenancy_v2beta1_namespace_proto protoreflect.FileDescriptor
var File_pbtenancy_v2beta1_partition_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct { // Description is where the user puts any information they want // about the namespace. It is not used internally. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
The name of the Namespace is in the outer Resource.ID.Name. It must be unique within a partition and must be a DNS hostname. There are also other reserved names that may not be used.
func (*Namespace) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. Required by controller-gen.
func (*Namespace) DeepCopyInterface ¶
func (in *Namespace) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Namespace. Required by controller-gen.
func (*Namespace) DeepCopyInto ¶
DeepCopyInto supports using Namespace within kubernetes types, where deepcopy-gen is used.
func (*Namespace) Descriptor
deprecated
func (*Namespace) GetDescription ¶
func (*Namespace) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Namespace) MarshalJSON ¶
MarshalJSON is a custom marshaler for Namespace
func (*Namespace) ProtoMessage ¶
func (*Namespace) ProtoMessage()
func (*Namespace) ProtoReflect ¶
func (x *Namespace) ProtoReflect() protoreflect.Message
func (*Namespace) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*Namespace) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Namespace
type Partition ¶
type Partition struct { // Optional user provided description. It is not used internally. Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
The name of the partition (enterprise only) is in the outer Resource.ID.Name. It must be unique within a cluster and must be a DNS hostname. There are also other reserved names that may not be used.
func (*Partition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Partition. Required by controller-gen.
func (*Partition) DeepCopyInterface ¶
func (in *Partition) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Partition. Required by controller-gen.
func (*Partition) DeepCopyInto ¶
DeepCopyInto supports using Partition within kubernetes types, where deepcopy-gen is used.
func (*Partition) Descriptor
deprecated
func (*Partition) GetDescription ¶
func (*Partition) MarshalBinary ¶
MarshalBinary implements encoding.BinaryMarshaler
func (*Partition) MarshalJSON ¶
MarshalJSON is a custom marshaler for Partition
func (*Partition) ProtoMessage ¶
func (*Partition) ProtoMessage()
func (*Partition) ProtoReflect ¶
func (x *Partition) ProtoReflect() protoreflect.Message
func (*Partition) UnmarshalBinary ¶
UnmarshalBinary implements encoding.BinaryUnmarshaler
func (*Partition) UnmarshalJSON ¶
UnmarshalJSON is a custom unmarshaler for Partition