Versions in this module Expand all Collapse all v1 v1.2.2 Jan 12, 2022 Changes in this version + var ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") + type Lease struct + Metadata *v1.ObjectMeta + Spec *LeaseSpec + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Lease) Descriptor() ([]byte, []int) + func (*Lease) ProtoMessage() + func (m *Lease) GetMetadata() *v1.ObjectMeta + func (m *Lease) GetSpec() *LeaseSpec + func (m *Lease) Marshal() (dAtA []byte, err error) + func (m *Lease) MarshalTo(dAtA []byte) (int, error) + func (m *Lease) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Lease) Reset() + func (m *Lease) Size() (n int) + func (m *Lease) String() string + func (m *Lease) Unmarshal(dAtA []byte) error + func (m *Lease) XXX_DiscardUnknown() + func (m *Lease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Lease) XXX_Merge(src proto.Message) + func (m *Lease) XXX_Size() int + func (m *Lease) XXX_Unmarshal(b []byte) error + type LeaseList struct + Items []*Lease + Metadata *v1.ListMeta + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LeaseList) Descriptor() ([]byte, []int) + func (*LeaseList) ProtoMessage() + func (m *LeaseList) GetItems() []*Lease + func (m *LeaseList) GetMetadata() *v1.ListMeta + func (m *LeaseList) Marshal() (dAtA []byte, err error) + func (m *LeaseList) MarshalTo(dAtA []byte) (int, error) + func (m *LeaseList) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LeaseList) Reset() + func (m *LeaseList) Size() (n int) + func (m *LeaseList) String() string + func (m *LeaseList) Unmarshal(dAtA []byte) error + func (m *LeaseList) XXX_DiscardUnknown() + func (m *LeaseList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LeaseList) XXX_Merge(src proto.Message) + func (m *LeaseList) XXX_Size() int + func (m *LeaseList) XXX_Unmarshal(b []byte) error + type LeaseSpec struct + AcquireTime *v1.MicroTime + HolderIdentity *string + LeaseDurationSeconds *int32 + LeaseTransitions *int32 + RenewTime *v1.MicroTime + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LeaseSpec) Descriptor() ([]byte, []int) + func (*LeaseSpec) ProtoMessage() + func (m *LeaseSpec) GetAcquireTime() *v1.MicroTime + func (m *LeaseSpec) GetHolderIdentity() string + func (m *LeaseSpec) GetLeaseDurationSeconds() int32 + func (m *LeaseSpec) GetLeaseTransitions() int32 + func (m *LeaseSpec) GetRenewTime() *v1.MicroTime + func (m *LeaseSpec) Marshal() (dAtA []byte, err error) + func (m *LeaseSpec) MarshalTo(dAtA []byte) (int, error) + func (m *LeaseSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LeaseSpec) Reset() + func (m *LeaseSpec) Size() (n int) + func (m *LeaseSpec) String() string + func (m *LeaseSpec) Unmarshal(dAtA []byte) error + func (m *LeaseSpec) XXX_DiscardUnknown() + func (m *LeaseSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LeaseSpec) XXX_Merge(src proto.Message) + func (m *LeaseSpec) XXX_Size() int + func (m *LeaseSpec) XXX_Unmarshal(b []byte) error