Documentation ¶
Index ¶
- Variables
- type AdjtimeStatusSpec
- func (*AdjtimeStatusSpec) Descriptor() ([]byte, []int)deprecated
- func (x *AdjtimeStatusSpec) GetConstant() int64
- func (x *AdjtimeStatusSpec) GetEstError() *durationpb.Duration
- func (x *AdjtimeStatusSpec) GetFrequencyAdjustmentRatio() float64
- func (x *AdjtimeStatusSpec) GetMaxError() *durationpb.Duration
- func (x *AdjtimeStatusSpec) GetOffset() *durationpb.Duration
- func (x *AdjtimeStatusSpec) GetState() string
- func (x *AdjtimeStatusSpec) GetStatus() string
- func (x *AdjtimeStatusSpec) GetSyncStatus() bool
- func (m *AdjtimeStatusSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *AdjtimeStatusSpec) MarshalToVT(dAtA []byte) (int, error)
- func (m *AdjtimeStatusSpec) MarshalVT() (dAtA []byte, err error)
- func (*AdjtimeStatusSpec) ProtoMessage()
- func (x *AdjtimeStatusSpec) ProtoReflect() protoreflect.Message
- func (x *AdjtimeStatusSpec) Reset()
- func (m *AdjtimeStatusSpec) SizeVT() (n int)
- func (x *AdjtimeStatusSpec) String() string
- func (m *AdjtimeStatusSpec) UnmarshalVT(dAtA []byte) error
- type StatusSpec
- func (*StatusSpec) Descriptor() ([]byte, []int)deprecated
- func (x *StatusSpec) GetEpoch() int64
- func (x *StatusSpec) GetSyncDisabled() bool
- func (x *StatusSpec) GetSynced() bool
- func (m *StatusSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *StatusSpec) MarshalToVT(dAtA []byte) (int, error)
- func (m *StatusSpec) MarshalVT() (dAtA []byte, err error)
- func (*StatusSpec) ProtoMessage()
- func (x *StatusSpec) ProtoReflect() protoreflect.Message
- func (x *StatusSpec) Reset()
- func (m *StatusSpec) SizeVT() (n int)
- func (x *StatusSpec) String() string
- func (m *StatusSpec) UnmarshalVT(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_resource_definitions_time_time_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AdjtimeStatusSpec ¶ added in v1.6.0
type AdjtimeStatusSpec struct { Offset *durationpb.Duration `protobuf:"bytes,1,opt,name=offset,proto3" json:"offset,omitempty"` FrequencyAdjustmentRatio float64 `` /* 137-byte string literal not displayed */ MaxError *durationpb.Duration `protobuf:"bytes,3,opt,name=max_error,json=maxError,proto3" json:"max_error,omitempty"` EstError *durationpb.Duration `protobuf:"bytes,4,opt,name=est_error,json=estError,proto3" json:"est_error,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` Constant int64 `protobuf:"varint,6,opt,name=constant,proto3" json:"constant,omitempty"` SyncStatus bool `protobuf:"varint,7,opt,name=sync_status,json=syncStatus,proto3" json:"sync_status,omitempty"` State string `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
AdjtimeStatusSpec describes Linux internal adjtime state.
func (*AdjtimeStatusSpec) Descriptor
deprecated
added in
v1.6.0
func (*AdjtimeStatusSpec) Descriptor() ([]byte, []int)
Deprecated: Use AdjtimeStatusSpec.ProtoReflect.Descriptor instead.
func (*AdjtimeStatusSpec) GetConstant ¶ added in v1.6.0
func (x *AdjtimeStatusSpec) GetConstant() int64
func (*AdjtimeStatusSpec) GetEstError ¶ added in v1.6.0
func (x *AdjtimeStatusSpec) GetEstError() *durationpb.Duration
func (*AdjtimeStatusSpec) GetFrequencyAdjustmentRatio ¶ added in v1.6.0
func (x *AdjtimeStatusSpec) GetFrequencyAdjustmentRatio() float64
func (*AdjtimeStatusSpec) GetMaxError ¶ added in v1.6.0
func (x *AdjtimeStatusSpec) GetMaxError() *durationpb.Duration
func (*AdjtimeStatusSpec) GetOffset ¶ added in v1.6.0
func (x *AdjtimeStatusSpec) GetOffset() *durationpb.Duration
func (*AdjtimeStatusSpec) GetState ¶ added in v1.6.0
func (x *AdjtimeStatusSpec) GetState() string
func (*AdjtimeStatusSpec) GetStatus ¶ added in v1.6.0
func (x *AdjtimeStatusSpec) GetStatus() string
func (*AdjtimeStatusSpec) GetSyncStatus ¶ added in v1.6.0
func (x *AdjtimeStatusSpec) GetSyncStatus() bool
func (*AdjtimeStatusSpec) MarshalToSizedBufferVT ¶ added in v1.6.0
func (m *AdjtimeStatusSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*AdjtimeStatusSpec) MarshalToVT ¶ added in v1.6.0
func (m *AdjtimeStatusSpec) MarshalToVT(dAtA []byte) (int, error)
func (*AdjtimeStatusSpec) MarshalVT ¶ added in v1.6.0
func (m *AdjtimeStatusSpec) MarshalVT() (dAtA []byte, err error)
func (*AdjtimeStatusSpec) ProtoMessage ¶ added in v1.6.0
func (*AdjtimeStatusSpec) ProtoMessage()
func (*AdjtimeStatusSpec) ProtoReflect ¶ added in v1.6.0
func (x *AdjtimeStatusSpec) ProtoReflect() protoreflect.Message
func (*AdjtimeStatusSpec) Reset ¶ added in v1.6.0
func (x *AdjtimeStatusSpec) Reset()
func (*AdjtimeStatusSpec) SizeVT ¶ added in v1.6.0
func (m *AdjtimeStatusSpec) SizeVT() (n int)
func (*AdjtimeStatusSpec) String ¶ added in v1.6.0
func (x *AdjtimeStatusSpec) String() string
func (*AdjtimeStatusSpec) UnmarshalVT ¶ added in v1.6.0
func (m *AdjtimeStatusSpec) UnmarshalVT(dAtA []byte) error
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
Click to show internal directories.
Click to hide internal directories.