Documentation ¶
Index ¶
- Variables
- type DumpState
- func (*DumpState) Descriptor() ([]byte, []int)deprecated
- func (x *DumpState) GetEntities() []*EntityDumpState
- func (*DumpState) ProtoMessage()
- func (x *DumpState) ProtoReflect() protoreflect.Message
- func (x *DumpState) Reset()
- func (x *DumpState) String() string
- func (m *DumpState) Validate() error
- func (m *DumpState) ValidateAll() error
- type DumpStateMultiError
- type DumpStateValidationError
- type EntityDumpState
- func (*EntityDumpState) Descriptor() ([]byte, []int)deprecated
- func (x *EntityDumpState) GetAbsent() bool
- func (x *EntityDumpState) GetAnnotations() *model.Annotations
- func (x *EntityDumpState) GetChildStates() []*EntityDumpState_ChildState
- func (x *EntityDumpState) GetControl() *model.ControlState
- func (x *EntityDumpState) GetDeleted() bool
- func (x *EntityDumpState) GetDesiredState() *anypb.Any
- func (x *EntityDumpState) GetFetchedState() *anypb.Any
- func (x *EntityDumpState) GetId() *model.Identifier
- func (x *EntityDumpState) GetIoState() *EntityDumpState_IOState
- func (x *EntityDumpState) GetLastManagerUpdateTimestamp() *timestamppb.Timestamp
- func (x *EntityDumpState) GetLogs() []*model.DebugLog
- func (x *EntityDumpState) GetObserver() bool
- func (x *EntityDumpState) GetSimpleStatus() model.SimpleStatus
- func (x *EntityDumpState) GetStale() bool
- func (x *EntityDumpState) GetStatus() model.Status
- func (x *EntityDumpState) GetTargetState() *anypb.Any
- func (*EntityDumpState) ProtoMessage()
- func (x *EntityDumpState) ProtoReflect() protoreflect.Message
- func (x *EntityDumpState) Reset()
- func (x *EntityDumpState) String() string
- func (m *EntityDumpState) Validate() error
- func (m *EntityDumpState) ValidateAll() error
- type EntityDumpStateMultiError
- type EntityDumpStateValidationError
- func (e EntityDumpStateValidationError) Cause() error
- func (e EntityDumpStateValidationError) Error() string
- func (e EntityDumpStateValidationError) ErrorName() string
- func (e EntityDumpStateValidationError) Field() string
- func (e EntityDumpStateValidationError) Key() bool
- func (e EntityDumpStateValidationError) Reason() string
- type EntityDumpState_ChildState
- func (*EntityDumpState_ChildState) Descriptor() ([]byte, []int)deprecated
- func (x *EntityDumpState_ChildState) GetId() *model.Identifier
- func (x *EntityDumpState_ChildState) GetStatus() model.Status
- func (*EntityDumpState_ChildState) ProtoMessage()
- func (x *EntityDumpState_ChildState) ProtoReflect() protoreflect.Message
- func (x *EntityDumpState_ChildState) Reset()
- func (x *EntityDumpState_ChildState) String() string
- func (m *EntityDumpState_ChildState) Validate() error
- func (m *EntityDumpState_ChildState) ValidateAll() error
- type EntityDumpState_ChildStateMultiError
- type EntityDumpState_ChildStateValidationError
- func (e EntityDumpState_ChildStateValidationError) Cause() error
- func (e EntityDumpState_ChildStateValidationError) Error() string
- func (e EntityDumpState_ChildStateValidationError) ErrorName() string
- func (e EntityDumpState_ChildStateValidationError) Field() string
- func (e EntityDumpState_ChildStateValidationError) Key() bool
- func (e EntityDumpState_ChildStateValidationError) Reason() string
- type EntityDumpState_IOState
- func (*EntityDumpState_IOState) Descriptor() ([]byte, []int)deprecated
- func (x *EntityDumpState_IOState) GetExpectedNextApplyTimestamp() *timestamppb.Timestamp
- func (x *EntityDumpState_IOState) GetLastAppliedTimestamp() *timestamppb.Timestamp
- func (x *EntityDumpState_IOState) GetLastFetchedTimestamp() *timestamppb.Timestamp
- func (*EntityDumpState_IOState) ProtoMessage()
- func (x *EntityDumpState_IOState) ProtoReflect() protoreflect.Message
- func (x *EntityDumpState_IOState) Reset()
- func (x *EntityDumpState_IOState) String() string
- func (m *EntityDumpState_IOState) Validate() error
- func (m *EntityDumpState_IOState) ValidateAll() error
- type EntityDumpState_IOStateMultiError
- type EntityDumpState_IOStateValidationError
- func (e EntityDumpState_IOStateValidationError) Cause() error
- func (e EntityDumpState_IOStateValidationError) Error() string
- func (e EntityDumpState_IOStateValidationError) ErrorName() string
- func (e EntityDumpState_IOStateValidationError) Field() string
- func (e EntityDumpState_IOStateValidationError) Key() bool
- func (e EntityDumpState_IOStateValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_prodvana_desired_state_debug_debug_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DumpState ¶
type DumpState struct { Entities []*EntityDumpState `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
func (*DumpState) Descriptor
deprecated
func (*DumpState) GetEntities ¶
func (x *DumpState) GetEntities() []*EntityDumpState
func (*DumpState) ProtoMessage ¶
func (*DumpState) ProtoMessage()
func (*DumpState) ProtoReflect ¶
func (x *DumpState) ProtoReflect() protoreflect.Message
func (*DumpState) Validate ¶
Validate checks the field values on DumpState with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DumpState) ValidateAll ¶
ValidateAll checks the field values on DumpState with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DumpStateMultiError, or nil if none found.
type DumpStateMultiError ¶
type DumpStateMultiError []error
DumpStateMultiError is an error wrapping multiple validation errors returned by DumpState.ValidateAll() if the designated constraints aren't met.
func (DumpStateMultiError) AllErrors ¶
func (m DumpStateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DumpStateMultiError) Error ¶
func (m DumpStateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DumpStateValidationError ¶
type DumpStateValidationError struct {
// contains filtered or unexported fields
}
DumpStateValidationError is the validation error returned by DumpState.Validate if the designated constraints aren't met.
func (DumpStateValidationError) Cause ¶
func (e DumpStateValidationError) Cause() error
Cause function returns cause value.
func (DumpStateValidationError) Error ¶
func (e DumpStateValidationError) Error() string
Error satisfies the builtin error interface
func (DumpStateValidationError) ErrorName ¶
func (e DumpStateValidationError) ErrorName() string
ErrorName returns error name.
func (DumpStateValidationError) Field ¶
func (e DumpStateValidationError) Field() string
Field function returns field value.
func (DumpStateValidationError) Key ¶
func (e DumpStateValidationError) Key() bool
Key function returns key value.
func (DumpStateValidationError) Reason ¶
func (e DumpStateValidationError) Reason() string
Reason function returns reason value.
type EntityDumpState ¶
type EntityDumpState struct { Id *model.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` LastManagerUpdateTimestamp *timestamppb.Timestamp `` /* 143-byte string literal not displayed */ Annotations *model.Annotations `protobuf:"bytes,3,opt,name=annotations,proto3" json:"annotations,omitempty"` Status model.Status `protobuf:"varint,4,opt,name=status,proto3,enum=prodvana.desired_state.model.Status" json:"status,omitempty"` SimpleStatus model.SimpleStatus `` /* 146-byte string literal not displayed */ Control *model.ControlState `protobuf:"bytes,5,opt,name=control,proto3" json:"control,omitempty"` IoState *EntityDumpState_IOState `protobuf:"bytes,6,opt,name=io_state,json=ioState,proto3" json:"io_state,omitempty"` Logs []*model.DebugLog `protobuf:"bytes,7,rep,name=logs,proto3" json:"logs,omitempty"` DesiredState *anypb.Any `protobuf:"bytes,8,opt,name=desired_state,json=desiredState,proto3" json:"desired_state,omitempty"` FetchedState *anypb.Any `protobuf:"bytes,9,opt,name=fetched_state,json=fetchedState,proto3" json:"fetched_state,omitempty"` TargetState *anypb.Any `protobuf:"bytes,12,opt,name=target_state,json=targetState,proto3" json:"target_state,omitempty"` ChildStates []*EntityDumpState_ChildState `protobuf:"bytes,10,rep,name=child_states,json=childStates,proto3" json:"child_states,omitempty"` Absent bool `protobuf:"varint,13,opt,name=absent,proto3" json:"absent,omitempty"` Deleted bool `protobuf:"varint,14,opt,name=deleted,proto3" json:"deleted,omitempty"` Observer bool `protobuf:"varint,15,opt,name=observer,proto3" json:"observer,omitempty"` Stale bool `protobuf:"varint,16,opt,name=stale,proto3" json:"stale,omitempty"` // contains filtered or unexported fields }
func (*EntityDumpState) Descriptor
deprecated
func (*EntityDumpState) Descriptor() ([]byte, []int)
Deprecated: Use EntityDumpState.ProtoReflect.Descriptor instead.
func (*EntityDumpState) GetAbsent ¶ added in v0.3.34
func (x *EntityDumpState) GetAbsent() bool
func (*EntityDumpState) GetAnnotations ¶
func (x *EntityDumpState) GetAnnotations() *model.Annotations
func (*EntityDumpState) GetChildStates ¶
func (x *EntityDumpState) GetChildStates() []*EntityDumpState_ChildState
func (*EntityDumpState) GetControl ¶
func (x *EntityDumpState) GetControl() *model.ControlState
func (*EntityDumpState) GetDeleted ¶ added in v0.3.34
func (x *EntityDumpState) GetDeleted() bool
func (*EntityDumpState) GetDesiredState ¶
func (x *EntityDumpState) GetDesiredState() *anypb.Any
func (*EntityDumpState) GetFetchedState ¶
func (x *EntityDumpState) GetFetchedState() *anypb.Any
func (*EntityDumpState) GetId ¶
func (x *EntityDumpState) GetId() *model.Identifier
func (*EntityDumpState) GetIoState ¶
func (x *EntityDumpState) GetIoState() *EntityDumpState_IOState
func (*EntityDumpState) GetLastManagerUpdateTimestamp ¶
func (x *EntityDumpState) GetLastManagerUpdateTimestamp() *timestamppb.Timestamp
func (*EntityDumpState) GetLogs ¶
func (x *EntityDumpState) GetLogs() []*model.DebugLog
func (*EntityDumpState) GetObserver ¶ added in v0.3.34
func (x *EntityDumpState) GetObserver() bool
func (*EntityDumpState) GetSimpleStatus ¶
func (x *EntityDumpState) GetSimpleStatus() model.SimpleStatus
func (*EntityDumpState) GetStale ¶ added in v0.3.34
func (x *EntityDumpState) GetStale() bool
func (*EntityDumpState) GetStatus ¶
func (x *EntityDumpState) GetStatus() model.Status
func (*EntityDumpState) GetTargetState ¶
func (x *EntityDumpState) GetTargetState() *anypb.Any
func (*EntityDumpState) ProtoMessage ¶
func (*EntityDumpState) ProtoMessage()
func (*EntityDumpState) ProtoReflect ¶
func (x *EntityDumpState) ProtoReflect() protoreflect.Message
func (*EntityDumpState) Reset ¶
func (x *EntityDumpState) Reset()
func (*EntityDumpState) String ¶
func (x *EntityDumpState) String() string
func (*EntityDumpState) Validate ¶
func (m *EntityDumpState) Validate() error
Validate checks the field values on EntityDumpState with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EntityDumpState) ValidateAll ¶
func (m *EntityDumpState) ValidateAll() error
ValidateAll checks the field values on EntityDumpState with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntityDumpStateMultiError, or nil if none found.
type EntityDumpStateMultiError ¶
type EntityDumpStateMultiError []error
EntityDumpStateMultiError is an error wrapping multiple validation errors returned by EntityDumpState.ValidateAll() if the designated constraints aren't met.
func (EntityDumpStateMultiError) AllErrors ¶
func (m EntityDumpStateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntityDumpStateMultiError) Error ¶
func (m EntityDumpStateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntityDumpStateValidationError ¶
type EntityDumpStateValidationError struct {
// contains filtered or unexported fields
}
EntityDumpStateValidationError is the validation error returned by EntityDumpState.Validate if the designated constraints aren't met.
func (EntityDumpStateValidationError) Cause ¶
func (e EntityDumpStateValidationError) Cause() error
Cause function returns cause value.
func (EntityDumpStateValidationError) Error ¶
func (e EntityDumpStateValidationError) Error() string
Error satisfies the builtin error interface
func (EntityDumpStateValidationError) ErrorName ¶
func (e EntityDumpStateValidationError) ErrorName() string
ErrorName returns error name.
func (EntityDumpStateValidationError) Field ¶
func (e EntityDumpStateValidationError) Field() string
Field function returns field value.
func (EntityDumpStateValidationError) Key ¶
func (e EntityDumpStateValidationError) Key() bool
Key function returns key value.
func (EntityDumpStateValidationError) Reason ¶
func (e EntityDumpStateValidationError) Reason() string
Reason function returns reason value.
type EntityDumpState_ChildState ¶
type EntityDumpState_ChildState struct { Id *model.Identifier `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Status model.Status `protobuf:"varint,2,opt,name=status,proto3,enum=prodvana.desired_state.model.Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*EntityDumpState_ChildState) Descriptor
deprecated
func (*EntityDumpState_ChildState) Descriptor() ([]byte, []int)
Deprecated: Use EntityDumpState_ChildState.ProtoReflect.Descriptor instead.
func (*EntityDumpState_ChildState) GetId ¶
func (x *EntityDumpState_ChildState) GetId() *model.Identifier
func (*EntityDumpState_ChildState) GetStatus ¶
func (x *EntityDumpState_ChildState) GetStatus() model.Status
func (*EntityDumpState_ChildState) ProtoMessage ¶
func (*EntityDumpState_ChildState) ProtoMessage()
func (*EntityDumpState_ChildState) ProtoReflect ¶
func (x *EntityDumpState_ChildState) ProtoReflect() protoreflect.Message
func (*EntityDumpState_ChildState) Reset ¶
func (x *EntityDumpState_ChildState) Reset()
func (*EntityDumpState_ChildState) String ¶
func (x *EntityDumpState_ChildState) String() string
func (*EntityDumpState_ChildState) Validate ¶
func (m *EntityDumpState_ChildState) Validate() error
Validate checks the field values on EntityDumpState_ChildState with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EntityDumpState_ChildState) ValidateAll ¶
func (m *EntityDumpState_ChildState) ValidateAll() error
ValidateAll checks the field values on EntityDumpState_ChildState with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntityDumpState_ChildStateMultiError, or nil if none found.
type EntityDumpState_ChildStateMultiError ¶
type EntityDumpState_ChildStateMultiError []error
EntityDumpState_ChildStateMultiError is an error wrapping multiple validation errors returned by EntityDumpState_ChildState.ValidateAll() if the designated constraints aren't met.
func (EntityDumpState_ChildStateMultiError) AllErrors ¶
func (m EntityDumpState_ChildStateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntityDumpState_ChildStateMultiError) Error ¶
func (m EntityDumpState_ChildStateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntityDumpState_ChildStateValidationError ¶
type EntityDumpState_ChildStateValidationError struct {
// contains filtered or unexported fields
}
EntityDumpState_ChildStateValidationError is the validation error returned by EntityDumpState_ChildState.Validate if the designated constraints aren't met.
func (EntityDumpState_ChildStateValidationError) Cause ¶
func (e EntityDumpState_ChildStateValidationError) Cause() error
Cause function returns cause value.
func (EntityDumpState_ChildStateValidationError) Error ¶
func (e EntityDumpState_ChildStateValidationError) Error() string
Error satisfies the builtin error interface
func (EntityDumpState_ChildStateValidationError) ErrorName ¶
func (e EntityDumpState_ChildStateValidationError) ErrorName() string
ErrorName returns error name.
func (EntityDumpState_ChildStateValidationError) Field ¶
func (e EntityDumpState_ChildStateValidationError) Field() string
Field function returns field value.
func (EntityDumpState_ChildStateValidationError) Key ¶
func (e EntityDumpState_ChildStateValidationError) Key() bool
Key function returns key value.
func (EntityDumpState_ChildStateValidationError) Reason ¶
func (e EntityDumpState_ChildStateValidationError) Reason() string
Reason function returns reason value.
type EntityDumpState_IOState ¶
type EntityDumpState_IOState struct { LastFetchedTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_fetched_timestamp,json=lastFetchedTimestamp,proto3" json:"last_fetched_timestamp,omitempty"` LastAppliedTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_applied_timestamp,json=lastAppliedTimestamp,proto3" json:"last_applied_timestamp,omitempty"` ExpectedNextApplyTimestamp *timestamppb.Timestamp `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*EntityDumpState_IOState) Descriptor
deprecated
func (*EntityDumpState_IOState) Descriptor() ([]byte, []int)
Deprecated: Use EntityDumpState_IOState.ProtoReflect.Descriptor instead.
func (*EntityDumpState_IOState) GetExpectedNextApplyTimestamp ¶ added in v0.3.35
func (x *EntityDumpState_IOState) GetExpectedNextApplyTimestamp() *timestamppb.Timestamp
func (*EntityDumpState_IOState) GetLastAppliedTimestamp ¶
func (x *EntityDumpState_IOState) GetLastAppliedTimestamp() *timestamppb.Timestamp
func (*EntityDumpState_IOState) GetLastFetchedTimestamp ¶
func (x *EntityDumpState_IOState) GetLastFetchedTimestamp() *timestamppb.Timestamp
func (*EntityDumpState_IOState) ProtoMessage ¶
func (*EntityDumpState_IOState) ProtoMessage()
func (*EntityDumpState_IOState) ProtoReflect ¶
func (x *EntityDumpState_IOState) ProtoReflect() protoreflect.Message
func (*EntityDumpState_IOState) Reset ¶
func (x *EntityDumpState_IOState) Reset()
func (*EntityDumpState_IOState) String ¶
func (x *EntityDumpState_IOState) String() string
func (*EntityDumpState_IOState) Validate ¶
func (m *EntityDumpState_IOState) Validate() error
Validate checks the field values on EntityDumpState_IOState with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EntityDumpState_IOState) ValidateAll ¶
func (m *EntityDumpState_IOState) ValidateAll() error
ValidateAll checks the field values on EntityDumpState_IOState with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntityDumpState_IOStateMultiError, or nil if none found.
type EntityDumpState_IOStateMultiError ¶
type EntityDumpState_IOStateMultiError []error
EntityDumpState_IOStateMultiError is an error wrapping multiple validation errors returned by EntityDumpState_IOState.ValidateAll() if the designated constraints aren't met.
func (EntityDumpState_IOStateMultiError) AllErrors ¶
func (m EntityDumpState_IOStateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntityDumpState_IOStateMultiError) Error ¶
func (m EntityDumpState_IOStateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntityDumpState_IOStateValidationError ¶
type EntityDumpState_IOStateValidationError struct {
// contains filtered or unexported fields
}
EntityDumpState_IOStateValidationError is the validation error returned by EntityDumpState_IOState.Validate if the designated constraints aren't met.
func (EntityDumpState_IOStateValidationError) Cause ¶
func (e EntityDumpState_IOStateValidationError) Cause() error
Cause function returns cause value.
func (EntityDumpState_IOStateValidationError) Error ¶
func (e EntityDumpState_IOStateValidationError) Error() string
Error satisfies the builtin error interface
func (EntityDumpState_IOStateValidationError) ErrorName ¶
func (e EntityDumpState_IOStateValidationError) ErrorName() string
ErrorName returns error name.
func (EntityDumpState_IOStateValidationError) Field ¶
func (e EntityDumpState_IOStateValidationError) Field() string
Field function returns field value.
func (EntityDumpState_IOStateValidationError) Key ¶
func (e EntityDumpState_IOStateValidationError) Key() bool
Key function returns key value.
func (EntityDumpState_IOStateValidationError) Reason ¶
func (e EntityDumpState_IOStateValidationError) Reason() string
Reason function returns reason value.