metav1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_meta_v1_meta_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ObjectMeta

type ObjectMeta struct {

	// we make a rule such that name of the object must be set to something instead of nothing
	Name        string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Labels      map[string]string `` /* 153-byte string literal not displayed */
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// we make a rule such that the resource version must be set to something instead of nothing
	ResourceVersion  string                 `protobuf:"bytes,4,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"`
	CreatedTimestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_timestamp,json=createdTimestamp,proto3" json:"created_timestamp,omitempty"`
	Uid              string                 `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectMeta) CloneMessageVT

func (m *ObjectMeta) CloneMessageVT() proto.Message

func (*ObjectMeta) CloneVT

func (m *ObjectMeta) CloneVT() *ObjectMeta

func (*ObjectMeta) Descriptor deprecated

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

Deprecated: Use ObjectMeta.ProtoReflect.Descriptor instead.

func (*ObjectMeta) EqualMessageVT

func (this *ObjectMeta) EqualMessageVT(thatMsg proto.Message) bool

func (*ObjectMeta) EqualVT

func (this *ObjectMeta) EqualVT(that *ObjectMeta) bool

func (*ObjectMeta) GetAnnotations

func (x *ObjectMeta) GetAnnotations() map[string]string

func (*ObjectMeta) GetCreatedTimestamp

func (x *ObjectMeta) GetCreatedTimestamp() *timestamppb.Timestamp

func (*ObjectMeta) GetLabels

func (x *ObjectMeta) GetLabels() map[string]string

func (*ObjectMeta) GetName

func (x *ObjectMeta) GetName() string

func (*ObjectMeta) GetResourceVersion

func (x *ObjectMeta) GetResourceVersion() string

func (*ObjectMeta) GetUid

func (x *ObjectMeta) GetUid() string

func (*ObjectMeta) MarshalToSizedBufferVT

func (m *ObjectMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ObjectMeta) MarshalToSizedBufferVTStrict

func (m *ObjectMeta) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*ObjectMeta) MarshalToVT

func (m *ObjectMeta) MarshalToVT(dAtA []byte) (int, error)

func (*ObjectMeta) MarshalToVTStrict

func (m *ObjectMeta) MarshalToVTStrict(dAtA []byte) (int, error)

func (*ObjectMeta) MarshalVT

func (m *ObjectMeta) MarshalVT() (dAtA []byte, err error)

func (*ObjectMeta) MarshalVTStrict

func (m *ObjectMeta) MarshalVTStrict() (dAtA []byte, err error)

func (*ObjectMeta) ProtoMessage

func (*ObjectMeta) ProtoMessage()

func (*ObjectMeta) ProtoReflect

func (x *ObjectMeta) ProtoReflect() protoreflect.Message

func (*ObjectMeta) Reset

func (x *ObjectMeta) Reset()

func (*ObjectMeta) SizeVT

func (m *ObjectMeta) SizeVT() (n int)

func (*ObjectMeta) String

func (x *ObjectMeta) String() string

func (*ObjectMeta) UnmarshalVT

func (m *ObjectMeta) UnmarshalVT(dAtA []byte) error

func (*ObjectMeta) UnmarshalVTUnsafe

func (m *ObjectMeta) UnmarshalVTUnsafe(dAtA []byte) error

type TypeMeta

type TypeMeta struct {
	Kind       string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	ApiVersion string `protobuf:"bytes,2,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

func (*TypeMeta) CloneMessageVT

func (m *TypeMeta) CloneMessageVT() proto.Message

func (*TypeMeta) CloneVT

func (m *TypeMeta) CloneVT() *TypeMeta

func (*TypeMeta) Descriptor deprecated

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

Deprecated: Use TypeMeta.ProtoReflect.Descriptor instead.

func (*TypeMeta) EqualMessageVT

func (this *TypeMeta) EqualMessageVT(thatMsg proto.Message) bool

func (*TypeMeta) EqualVT

func (this *TypeMeta) EqualVT(that *TypeMeta) bool

func (*TypeMeta) GetApiVersion

func (x *TypeMeta) GetApiVersion() string

func (*TypeMeta) GetKind

func (x *TypeMeta) GetKind() string

func (*TypeMeta) MarshalToSizedBufferVT

func (m *TypeMeta) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TypeMeta) MarshalToSizedBufferVTStrict

func (m *TypeMeta) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error)

func (*TypeMeta) MarshalToVT

func (m *TypeMeta) MarshalToVT(dAtA []byte) (int, error)

func (*TypeMeta) MarshalToVTStrict

func (m *TypeMeta) MarshalToVTStrict(dAtA []byte) (int, error)

func (*TypeMeta) MarshalVT

func (m *TypeMeta) MarshalVT() (dAtA []byte, err error)

func (*TypeMeta) MarshalVTStrict

func (m *TypeMeta) MarshalVTStrict() (dAtA []byte, err error)

func (*TypeMeta) ProtoMessage

func (*TypeMeta) ProtoMessage()

func (*TypeMeta) ProtoReflect

func (x *TypeMeta) ProtoReflect() protoreflect.Message

func (*TypeMeta) Reset

func (x *TypeMeta) Reset()

func (*TypeMeta) SizeVT

func (m *TypeMeta) SizeVT() (n int)

func (*TypeMeta) String

func (x *TypeMeta) String() string

func (*TypeMeta) UnmarshalVT

func (m *TypeMeta) UnmarshalVT(dAtA []byte) error

func (*TypeMeta) UnmarshalVTUnsafe

func (m *TypeMeta) UnmarshalVTUnsafe(dAtA []byte) error

Jump to

Keyboard shortcuts

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