debug

package
v0.3.42 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use DumpState.ProtoReflect.Descriptor instead.

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) Reset

func (x *DumpState) Reset()

func (*DumpState) String

func (x *DumpState) String() string

func (*DumpState) Validate

func (m *DumpState) Validate() error

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

func (m *DumpState) ValidateAll() error

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

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

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

Cause function returns cause value.

func (EntityDumpStateValidationError) Error

Error satisfies the builtin error interface

func (EntityDumpStateValidationError) ErrorName

func (e EntityDumpStateValidationError) ErrorName() string

ErrorName returns error name.

func (EntityDumpStateValidationError) Field

Field function returns field value.

func (EntityDumpStateValidationError) Key

Key function returns key value.

func (EntityDumpStateValidationError) Reason

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 (*EntityDumpState_ChildState) GetStatus

func (x *EntityDumpState_ChildState) GetStatus() model.Status

func (*EntityDumpState_ChildState) ProtoMessage

func (*EntityDumpState_ChildState) ProtoMessage()

func (*EntityDumpState_ChildState) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (EntityDumpState_ChildStateMultiError) Error

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

Cause function returns cause value.

func (EntityDumpState_ChildStateValidationError) Error

Error satisfies the builtin error interface

func (EntityDumpState_ChildStateValidationError) ErrorName

ErrorName returns error name.

func (EntityDumpState_ChildStateValidationError) Field

Field function returns field value.

func (EntityDumpState_ChildStateValidationError) Key

Key function returns key value.

func (EntityDumpState_ChildStateValidationError) Reason

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

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

Cause function returns cause value.

func (EntityDumpState_IOStateValidationError) Error

Error satisfies the builtin error interface

func (EntityDumpState_IOStateValidationError) ErrorName

ErrorName returns error name.

func (EntityDumpState_IOStateValidationError) Field

Field function returns field value.

func (EntityDumpState_IOStateValidationError) Key

Key function returns key value.

func (EntityDumpState_IOStateValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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