k8s_io_api_coordination_v1beta1

package
v0.0.0-...-432f642 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

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 Lease

type Lease struct {
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Specification of the Lease.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
	// +optional
	Spec *LeaseSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
}

Lease defines a lease concept.

func (*Lease) Descriptor

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

func (*Lease) Equal

func (this *Lease) Equal(that interface{}) bool

func (*Lease) GetMetadata

func (m *Lease) GetMetadata() *v1.ObjectMeta

func (*Lease) GetSpec

func (m *Lease) GetSpec() *LeaseSpec

func (*Lease) GoString

func (this *Lease) GoString() string

func (*Lease) Marshal

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

func (*Lease) MarshalTo

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

func (*Lease) MarshalToSizedBuffer

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

func (*Lease) ProtoMessage

func (*Lease) ProtoMessage()

func (*Lease) Reset

func (m *Lease) Reset()

func (*Lease) Size

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

func (*Lease) String

func (this *Lease) String() string

func (*Lease) Unmarshal

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

func (*Lease) XXX_DiscardUnknown

func (m *Lease) XXX_DiscardUnknown()

func (*Lease) XXX_Marshal

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

func (*Lease) XXX_Merge

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

func (*Lease) XXX_Size

func (m *Lease) XXX_Size() int

func (*Lease) XXX_Unmarshal

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

type LeaseList

type LeaseList struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Items is a list of schema objects.
	Items []*Lease `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
}

LeaseList is a list of Lease objects.

func (*LeaseList) Descriptor

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

func (*LeaseList) Equal

func (this *LeaseList) Equal(that interface{}) bool

func (*LeaseList) GetItems

func (m *LeaseList) GetItems() []*Lease

func (*LeaseList) GetMetadata

func (m *LeaseList) GetMetadata() *v1.ListMeta

func (*LeaseList) GoString

func (this *LeaseList) GoString() string

func (*LeaseList) Marshal

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

func (*LeaseList) MarshalTo

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

func (*LeaseList) MarshalToSizedBuffer

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

func (*LeaseList) ProtoMessage

func (*LeaseList) ProtoMessage()

func (*LeaseList) Reset

func (m *LeaseList) Reset()

func (*LeaseList) Size

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

func (*LeaseList) String

func (this *LeaseList) String() string

func (*LeaseList) Unmarshal

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

func (*LeaseList) XXX_DiscardUnknown

func (m *LeaseList) XXX_DiscardUnknown()

func (*LeaseList) XXX_Marshal

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

func (*LeaseList) XXX_Merge

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

func (*LeaseList) XXX_Size

func (m *LeaseList) XXX_Size() int

func (*LeaseList) XXX_Unmarshal

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

type LeaseSpec

type LeaseSpec struct {
	// holderIdentity contains the identity of the holder of a current lease.
	// +optional
	HolderIdentity string `protobuf:"bytes,1,opt,name=holderIdentity" json:"holderIdentity"`
	// leaseDurationSeconds is a duration that candidates for a lease need
	// to wait to force acquire it. This is measure against time of last
	// observed RenewTime.
	// +optional
	LeaseDurationSeconds int32 `protobuf:"varint,2,opt,name=leaseDurationSeconds" json:"leaseDurationSeconds"`
	// acquireTime is a time when the current lease was acquired.
	// +optional
	AcquireTime *v1.MicroTime `protobuf:"bytes,3,opt,name=acquireTime" json:"acquireTime,omitempty"`
	// renewTime is a time when the current holder of a lease has last
	// updated the lease.
	// +optional
	RenewTime *v1.MicroTime `protobuf:"bytes,4,opt,name=renewTime" json:"renewTime,omitempty"`
	// leaseTransitions is the number of transitions of a lease between
	// holders.
	// +optional
	LeaseTransitions int32 `protobuf:"varint,5,opt,name=leaseTransitions" json:"leaseTransitions"`
}

LeaseSpec is a specification of a Lease.

func (*LeaseSpec) Descriptor

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

func (*LeaseSpec) Equal

func (this *LeaseSpec) Equal(that interface{}) bool

func (*LeaseSpec) GetAcquireTime

func (m *LeaseSpec) GetAcquireTime() *v1.MicroTime

func (*LeaseSpec) GetHolderIdentity

func (m *LeaseSpec) GetHolderIdentity() string

func (*LeaseSpec) GetLeaseDurationSeconds

func (m *LeaseSpec) GetLeaseDurationSeconds() int32

func (*LeaseSpec) GetLeaseTransitions

func (m *LeaseSpec) GetLeaseTransitions() int32

func (*LeaseSpec) GetRenewTime

func (m *LeaseSpec) GetRenewTime() *v1.MicroTime

func (*LeaseSpec) GoString

func (this *LeaseSpec) GoString() string

func (*LeaseSpec) Marshal

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

func (*LeaseSpec) MarshalTo

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

func (*LeaseSpec) MarshalToSizedBuffer

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

func (*LeaseSpec) ProtoMessage

func (*LeaseSpec) ProtoMessage()

func (*LeaseSpec) Reset

func (m *LeaseSpec) Reset()

func (*LeaseSpec) Size

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

func (*LeaseSpec) String

func (this *LeaseSpec) String() string

func (*LeaseSpec) Unmarshal

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

func (*LeaseSpec) XXX_DiscardUnknown

func (m *LeaseSpec) XXX_DiscardUnknown()

func (*LeaseSpec) XXX_Marshal

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

func (*LeaseSpec) XXX_Merge

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

func (*LeaseSpec) XXX_Size

func (m *LeaseSpec) XXX_Size() int

func (*LeaseSpec) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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