time

package
v1.4.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_resource_definitions_time_time_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type StatusSpec

type StatusSpec struct {
	Synced       bool  `protobuf:"varint,1,opt,name=synced,proto3" json:"synced,omitempty"`
	Epoch        int64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"`
	SyncDisabled bool  `protobuf:"varint,3,opt,name=sync_disabled,json=syncDisabled,proto3" json:"sync_disabled,omitempty"`
	// contains filtered or unexported fields
}

StatusSpec describes time sync state.

func (*StatusSpec) Descriptor deprecated

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

Deprecated: Use StatusSpec.ProtoReflect.Descriptor instead.

func (*StatusSpec) GetEpoch

func (x *StatusSpec) GetEpoch() int64

func (*StatusSpec) GetSyncDisabled

func (x *StatusSpec) GetSyncDisabled() bool

func (*StatusSpec) GetSynced

func (x *StatusSpec) GetSynced() bool

func (*StatusSpec) MarshalToSizedBufferVT

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

func (*StatusSpec) MarshalToVT

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

func (*StatusSpec) MarshalVT

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

func (*StatusSpec) ProtoMessage

func (*StatusSpec) ProtoMessage()

func (*StatusSpec) ProtoReflect

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

func (*StatusSpec) Reset

func (x *StatusSpec) Reset()

func (*StatusSpec) SizeVT

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

func (*StatusSpec) String

func (x *StatusSpec) String() string

func (*StatusSpec) UnmarshalVT

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

Jump to

Keyboard shortcuts

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