v1alpha1

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupApi = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Object

type Object interface {
	proto.Message
	GetMetadata() *ObjectMetadata
}

type ObjectMetadata

type ObjectMetadata struct {
	Id                   string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Annotations          map[string]string `` /* 163-byte string literal not displayed */
	Labels               map[string]string `` /* 153-byte string literal not displayed */
	Generation           int64             `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
	CreatedAt            int64             `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	DeletedAt            int64             `protobuf:"varint,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ObjectMetadata) Descriptor

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

func (*ObjectMetadata) GetAnnotations

func (m *ObjectMetadata) GetAnnotations() map[string]string

func (*ObjectMetadata) GetCreatedAt

func (m *ObjectMetadata) GetCreatedAt() int64

func (*ObjectMetadata) GetDeletedAt

func (m *ObjectMetadata) GetDeletedAt() int64

func (*ObjectMetadata) GetGeneration

func (m *ObjectMetadata) GetGeneration() int64

func (*ObjectMetadata) GetId

func (m *ObjectMetadata) GetId() string

func (*ObjectMetadata) GetLabels

func (m *ObjectMetadata) GetLabels() map[string]string

func (*ObjectMetadata) Marshal

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

func (*ObjectMetadata) MarshalTo

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

func (*ObjectMetadata) MarshalToSizedBuffer

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

func (*ObjectMetadata) ProtoMessage

func (*ObjectMetadata) ProtoMessage()

func (*ObjectMetadata) Reset

func (m *ObjectMetadata) Reset()

func (*ObjectMetadata) Size

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

func (*ObjectMetadata) String

func (this *ObjectMetadata) String() string

func (*ObjectMetadata) Unmarshal

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

func (*ObjectMetadata) XXX_DiscardUnknown

func (m *ObjectMetadata) XXX_DiscardUnknown()

func (*ObjectMetadata) XXX_Marshal

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

func (*ObjectMetadata) XXX_Merge

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

func (*ObjectMetadata) XXX_Size

func (m *ObjectMetadata) XXX_Size() int

func (*ObjectMetadata) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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