Documentation ¶
Index ¶
- Variables
- type ExternalObject
- func (*ExternalObject) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalObject) GetDebugEvents() []*runtimes.DebugEvent
- func (x *ExternalObject) GetExternalLinks() []*common_config.ExternalLink
- func (x *ExternalObject) GetMessage() string
- func (x *ExternalObject) GetName() string
- func (x *ExternalObject) GetObjectType() string
- func (x *ExternalObject) GetStatus() ExternalObject_Status
- func (x *ExternalObject) GetVersions() []*ExternalObjectVersion
- func (*ExternalObject) ProtoMessage()
- func (x *ExternalObject) ProtoReflect() protoreflect.Message
- func (x *ExternalObject) Reset()
- func (x *ExternalObject) String() string
- func (m *ExternalObject) Validate() error
- func (m *ExternalObject) ValidateAll() error
- type ExternalObjectMultiError
- type ExternalObjectValidationError
- func (e ExternalObjectValidationError) Cause() error
- func (e ExternalObjectValidationError) Error() string
- func (e ExternalObjectValidationError) ErrorName() string
- func (e ExternalObjectValidationError) Field() string
- func (e ExternalObjectValidationError) Key() bool
- func (e ExternalObjectValidationError) Reason() string
- type ExternalObjectVersion
- func (*ExternalObjectVersion) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalObjectVersion) GetActive() bool
- func (x *ExternalObjectVersion) GetAvailableReplicas() int32
- func (x *ExternalObjectVersion) GetDrifted() bool
- func (x *ExternalObjectVersion) GetReplicas() int32
- func (x *ExternalObjectVersion) GetTargetReplicas() int32
- func (x *ExternalObjectVersion) GetVersion() string
- func (*ExternalObjectVersion) ProtoMessage()
- func (x *ExternalObjectVersion) ProtoReflect() protoreflect.Message
- func (x *ExternalObjectVersion) Reset()
- func (x *ExternalObjectVersion) String() string
- func (m *ExternalObjectVersion) Validate() error
- func (m *ExternalObjectVersion) ValidateAll() error
- type ExternalObjectVersionMultiError
- type ExternalObjectVersionValidationError
- func (e ExternalObjectVersionValidationError) Cause() error
- func (e ExternalObjectVersionValidationError) Error() string
- func (e ExternalObjectVersionValidationError) ErrorName() string
- func (e ExternalObjectVersionValidationError) Field() string
- func (e ExternalObjectVersionValidationError) Key() bool
- func (e ExternalObjectVersionValidationError) Reason() string
- type ExternalObject_Status
- func (ExternalObject_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ExternalObject_Status) Enum() *ExternalObject_Status
- func (ExternalObject_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExternalObject_Status) Number() protoreflect.EnumNumber
- func (x ExternalObject_Status) String() string
- func (ExternalObject_Status) Type() protoreflect.EnumType
- type FetchMode
- type FetchOutput
- func (*FetchOutput) Descriptor() ([]byte, []int)deprecated
- func (x *FetchOutput) GetObjects() []*ExternalObject
- func (*FetchOutput) ProtoMessage()
- func (x *FetchOutput) ProtoReflect() protoreflect.Message
- func (x *FetchOutput) Reset()
- func (x *FetchOutput) String() string
- func (m *FetchOutput) Validate() error
- func (m *FetchOutput) ValidateAll() error
- type FetchOutputMultiError
- type FetchOutputValidationError
- func (e FetchOutputValidationError) Cause() error
- func (e FetchOutputValidationError) Error() string
- func (e FetchOutputValidationError) ErrorName() string
- func (e FetchOutputValidationError) Field() string
- func (e FetchOutputValidationError) Key() bool
- func (e FetchOutputValidationError) Reason() string
- type GetInfoOutput
- func (*GetInfoOutput) Descriptor() ([]byte, []int)deprecated
- func (x *GetInfoOutput) GetOutputs() []*OutputContent
- func (*GetInfoOutput) ProtoMessage()
- func (x *GetInfoOutput) ProtoReflect() protoreflect.Message
- func (x *GetInfoOutput) Reset()
- func (x *GetInfoOutput) String() string
- func (m *GetInfoOutput) Validate() error
- func (m *GetInfoOutput) ValidateAll() error
- type GetInfoOutputMultiError
- type GetInfoOutputValidationError
- func (e GetInfoOutputValidationError) Cause() error
- func (e GetInfoOutputValidationError) Error() string
- func (e GetInfoOutputValidationError) ErrorName() string
- func (e GetInfoOutputValidationError) Field() string
- func (e GetInfoOutputValidationError) Key() bool
- func (e GetInfoOutputValidationError) Reason() string
- type OutputContent
- func (*OutputContent) Descriptor() ([]byte, []int)deprecated
- func (x *OutputContent) GetName() string
- func (x *OutputContent) GetText() string
- func (*OutputContent) ProtoMessage()
- func (x *OutputContent) ProtoReflect() protoreflect.Message
- func (x *OutputContent) Reset()
- func (x *OutputContent) String() string
- func (m *OutputContent) Validate() error
- func (m *OutputContent) ValidateAll() error
- type OutputContentMultiError
- type OutputContentValidationError
- func (e OutputContentValidationError) Cause() error
- func (e OutputContentValidationError) Error() string
- func (e OutputContentValidationError) ErrorName() string
- func (e OutputContentValidationError) Field() string
- func (e OutputContentValidationError) Key() bool
- func (e OutputContentValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( FetchMode_name = map[int32]string{ 0: "UNKNOWN_FETCH_MODE", 1: "EXIT_CODE", 2: "STRUCTURED_OUTPUT", } FetchMode_value = map[string]int32{ "UNKNOWN_FETCH_MODE": 0, "EXIT_CODE": 1, "STRUCTURED_OUTPUT": 2, } )
Enum value maps for FetchMode.
var ( ExternalObject_Status_name = map[int32]string{ 0: "PENDING", 1: "SUCCEEDED", 2: "FAILED", } ExternalObject_Status_value = map[string]int32{ "PENDING": 0, "SUCCEEDED": 1, "FAILED": 2, } )
Enum value maps for ExternalObject_Status.
var File_prodvana_runtimes_extensions_fetch_proto protoreflect.FileDescriptor
var File_prodvana_runtimes_extensions_get_info_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ExternalObject ¶ added in v0.3.3
type ExternalObject struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ObjectType string `protobuf:"bytes,2,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"` Versions []*ExternalObjectVersion `protobuf:"bytes,3,rep,name=versions,proto3" json:"versions,omitempty"` Status ExternalObject_Status `protobuf:"varint,4,opt,name=status,proto3,enum=prodvana.runtimes.extensions.ExternalObject_Status" json:"status,omitempty"` ExternalLinks []*common_config.ExternalLink `protobuf:"bytes,5,rep,name=external_links,json=externalLinks,proto3" json:"external_links,omitempty"` Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` // freeform message explaining the status, for example, error message DebugEvents []*runtimes.DebugEvent `protobuf:"bytes,7,rep,name=debug_events,json=debugEvents,proto3" json:"debug_events,omitempty"` // contains filtered or unexported fields }
func (*ExternalObject) Descriptor
deprecated
added in
v0.3.3
func (*ExternalObject) Descriptor() ([]byte, []int)
Deprecated: Use ExternalObject.ProtoReflect.Descriptor instead.
func (*ExternalObject) GetDebugEvents ¶ added in v0.3.20
func (x *ExternalObject) GetDebugEvents() []*runtimes.DebugEvent
func (*ExternalObject) GetExternalLinks ¶ added in v0.3.7
func (x *ExternalObject) GetExternalLinks() []*common_config.ExternalLink
func (*ExternalObject) GetMessage ¶ added in v0.3.19
func (x *ExternalObject) GetMessage() string
func (*ExternalObject) GetName ¶ added in v0.3.3
func (x *ExternalObject) GetName() string
func (*ExternalObject) GetObjectType ¶ added in v0.3.3
func (x *ExternalObject) GetObjectType() string
func (*ExternalObject) GetStatus ¶ added in v0.3.3
func (x *ExternalObject) GetStatus() ExternalObject_Status
func (*ExternalObject) GetVersions ¶ added in v0.3.3
func (x *ExternalObject) GetVersions() []*ExternalObjectVersion
func (*ExternalObject) ProtoMessage ¶ added in v0.3.3
func (*ExternalObject) ProtoMessage()
func (*ExternalObject) ProtoReflect ¶ added in v0.3.3
func (x *ExternalObject) ProtoReflect() protoreflect.Message
func (*ExternalObject) Reset ¶ added in v0.3.3
func (x *ExternalObject) Reset()
func (*ExternalObject) String ¶ added in v0.3.3
func (x *ExternalObject) String() string
func (*ExternalObject) Validate ¶ added in v0.3.3
func (m *ExternalObject) Validate() error
Validate checks the field values on ExternalObject 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 (*ExternalObject) ValidateAll ¶ added in v0.3.3
func (m *ExternalObject) ValidateAll() error
ValidateAll checks the field values on ExternalObject 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 ExternalObjectMultiError, or nil if none found.
type ExternalObjectMultiError ¶ added in v0.3.3
type ExternalObjectMultiError []error
ExternalObjectMultiError is an error wrapping multiple validation errors returned by ExternalObject.ValidateAll() if the designated constraints aren't met.
func (ExternalObjectMultiError) AllErrors ¶ added in v0.3.3
func (m ExternalObjectMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExternalObjectMultiError) Error ¶ added in v0.3.3
func (m ExternalObjectMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExternalObjectValidationError ¶ added in v0.3.3
type ExternalObjectValidationError struct {
// contains filtered or unexported fields
}
ExternalObjectValidationError is the validation error returned by ExternalObject.Validate if the designated constraints aren't met.
func (ExternalObjectValidationError) Cause ¶ added in v0.3.3
func (e ExternalObjectValidationError) Cause() error
Cause function returns cause value.
func (ExternalObjectValidationError) Error ¶ added in v0.3.3
func (e ExternalObjectValidationError) Error() string
Error satisfies the builtin error interface
func (ExternalObjectValidationError) ErrorName ¶ added in v0.3.3
func (e ExternalObjectValidationError) ErrorName() string
ErrorName returns error name.
func (ExternalObjectValidationError) Field ¶ added in v0.3.3
func (e ExternalObjectValidationError) Field() string
Field function returns field value.
func (ExternalObjectValidationError) Key ¶ added in v0.3.3
func (e ExternalObjectValidationError) Key() bool
Key function returns key value.
func (ExternalObjectValidationError) Reason ¶ added in v0.3.3
func (e ExternalObjectValidationError) Reason() string
Reason function returns reason value.
type ExternalObjectVersion ¶ added in v0.3.3
type ExternalObjectVersion struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Replicas int32 `protobuf:"varint,2,opt,name=replicas,proto3" json:"replicas,omitempty"` // Created/running replicas, can be in any state AvailableReplicas int32 `protobuf:"varint,5,opt,name=available_replicas,json=availableReplicas,proto3" json:"available_replicas,omitempty"` // Replicas which have passed healthchecks for required duration. TargetReplicas int32 `protobuf:"varint,6,opt,name=target_replicas,json=targetReplicas,proto3" json:"target_replicas,omitempty"` // How many replicas are supposed to be spun up, if known Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` Drifted bool `protobuf:"varint,4,opt,name=drifted,proto3" json:"drifted,omitempty"` // next tag: 7 // contains filtered or unexported fields }
func (*ExternalObjectVersion) Descriptor
deprecated
added in
v0.3.3
func (*ExternalObjectVersion) Descriptor() ([]byte, []int)
Deprecated: Use ExternalObjectVersion.ProtoReflect.Descriptor instead.
func (*ExternalObjectVersion) GetActive ¶ added in v0.3.3
func (x *ExternalObjectVersion) GetActive() bool
func (*ExternalObjectVersion) GetAvailableReplicas ¶ added in v0.3.6
func (x *ExternalObjectVersion) GetAvailableReplicas() int32
func (*ExternalObjectVersion) GetDrifted ¶ added in v0.3.3
func (x *ExternalObjectVersion) GetDrifted() bool
func (*ExternalObjectVersion) GetReplicas ¶ added in v0.3.3
func (x *ExternalObjectVersion) GetReplicas() int32
func (*ExternalObjectVersion) GetTargetReplicas ¶ added in v0.3.6
func (x *ExternalObjectVersion) GetTargetReplicas() int32
func (*ExternalObjectVersion) GetVersion ¶ added in v0.3.3
func (x *ExternalObjectVersion) GetVersion() string
func (*ExternalObjectVersion) ProtoMessage ¶ added in v0.3.3
func (*ExternalObjectVersion) ProtoMessage()
func (*ExternalObjectVersion) ProtoReflect ¶ added in v0.3.3
func (x *ExternalObjectVersion) ProtoReflect() protoreflect.Message
func (*ExternalObjectVersion) Reset ¶ added in v0.3.3
func (x *ExternalObjectVersion) Reset()
func (*ExternalObjectVersion) String ¶ added in v0.3.3
func (x *ExternalObjectVersion) String() string
func (*ExternalObjectVersion) Validate ¶ added in v0.3.3
func (m *ExternalObjectVersion) Validate() error
Validate checks the field values on ExternalObjectVersion 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 (*ExternalObjectVersion) ValidateAll ¶ added in v0.3.3
func (m *ExternalObjectVersion) ValidateAll() error
ValidateAll checks the field values on ExternalObjectVersion 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 ExternalObjectVersionMultiError, or nil if none found.
type ExternalObjectVersionMultiError ¶ added in v0.3.3
type ExternalObjectVersionMultiError []error
ExternalObjectVersionMultiError is an error wrapping multiple validation errors returned by ExternalObjectVersion.ValidateAll() if the designated constraints aren't met.
func (ExternalObjectVersionMultiError) AllErrors ¶ added in v0.3.3
func (m ExternalObjectVersionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ExternalObjectVersionMultiError) Error ¶ added in v0.3.3
func (m ExternalObjectVersionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ExternalObjectVersionValidationError ¶ added in v0.3.3
type ExternalObjectVersionValidationError struct {
// contains filtered or unexported fields
}
ExternalObjectVersionValidationError is the validation error returned by ExternalObjectVersion.Validate if the designated constraints aren't met.
func (ExternalObjectVersionValidationError) Cause ¶ added in v0.3.3
func (e ExternalObjectVersionValidationError) Cause() error
Cause function returns cause value.
func (ExternalObjectVersionValidationError) Error ¶ added in v0.3.3
func (e ExternalObjectVersionValidationError) Error() string
Error satisfies the builtin error interface
func (ExternalObjectVersionValidationError) ErrorName ¶ added in v0.3.3
func (e ExternalObjectVersionValidationError) ErrorName() string
ErrorName returns error name.
func (ExternalObjectVersionValidationError) Field ¶ added in v0.3.3
func (e ExternalObjectVersionValidationError) Field() string
Field function returns field value.
func (ExternalObjectVersionValidationError) Key ¶ added in v0.3.3
func (e ExternalObjectVersionValidationError) Key() bool
Key function returns key value.
func (ExternalObjectVersionValidationError) Reason ¶ added in v0.3.3
func (e ExternalObjectVersionValidationError) Reason() string
Reason function returns reason value.
type ExternalObject_Status ¶ added in v0.3.3
type ExternalObject_Status int32
const ( ExternalObject_PENDING ExternalObject_Status = 0 ExternalObject_SUCCEEDED ExternalObject_Status = 1 ExternalObject_FAILED ExternalObject_Status = 2 )
func (ExternalObject_Status) Descriptor ¶ added in v0.3.3
func (ExternalObject_Status) Descriptor() protoreflect.EnumDescriptor
func (ExternalObject_Status) Enum ¶ added in v0.3.3
func (x ExternalObject_Status) Enum() *ExternalObject_Status
func (ExternalObject_Status) EnumDescriptor
deprecated
added in
v0.3.3
func (ExternalObject_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExternalObject_Status.Descriptor instead.
func (ExternalObject_Status) Number ¶ added in v0.3.3
func (x ExternalObject_Status) Number() protoreflect.EnumNumber
func (ExternalObject_Status) String ¶ added in v0.3.3
func (x ExternalObject_Status) String() string
func (ExternalObject_Status) Type ¶ added in v0.3.3
func (ExternalObject_Status) Type() protoreflect.EnumType
type FetchMode ¶ added in v0.3.3
type FetchMode int32
func (FetchMode) Descriptor ¶ added in v0.3.3
func (FetchMode) Descriptor() protoreflect.EnumDescriptor
func (FetchMode) EnumDescriptor
deprecated
added in
v0.3.3
func (FetchMode) Number ¶ added in v0.3.3
func (x FetchMode) Number() protoreflect.EnumNumber
func (FetchMode) Type ¶ added in v0.3.3
func (FetchMode) Type() protoreflect.EnumType
type FetchOutput ¶ added in v0.3.3
type FetchOutput struct { Objects []*ExternalObject `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"` // contains filtered or unexported fields }
output format for the fetch command, in json format optional. Fetch commands can choose to implement the output, or exit 0 or 2.
func (*FetchOutput) Descriptor
deprecated
added in
v0.3.3
func (*FetchOutput) Descriptor() ([]byte, []int)
Deprecated: Use FetchOutput.ProtoReflect.Descriptor instead.
func (*FetchOutput) GetObjects ¶ added in v0.3.3
func (x *FetchOutput) GetObjects() []*ExternalObject
func (*FetchOutput) ProtoMessage ¶ added in v0.3.3
func (*FetchOutput) ProtoMessage()
func (*FetchOutput) ProtoReflect ¶ added in v0.3.3
func (x *FetchOutput) ProtoReflect() protoreflect.Message
func (*FetchOutput) Reset ¶ added in v0.3.3
func (x *FetchOutput) Reset()
func (*FetchOutput) String ¶ added in v0.3.3
func (x *FetchOutput) String() string
func (*FetchOutput) Validate ¶ added in v0.3.3
func (m *FetchOutput) Validate() error
Validate checks the field values on FetchOutput 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 (*FetchOutput) ValidateAll ¶ added in v0.3.3
func (m *FetchOutput) ValidateAll() error
ValidateAll checks the field values on FetchOutput 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 FetchOutputMultiError, or nil if none found.
type FetchOutputMultiError ¶ added in v0.3.3
type FetchOutputMultiError []error
FetchOutputMultiError is an error wrapping multiple validation errors returned by FetchOutput.ValidateAll() if the designated constraints aren't met.
func (FetchOutputMultiError) AllErrors ¶ added in v0.3.3
func (m FetchOutputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FetchOutputMultiError) Error ¶ added in v0.3.3
func (m FetchOutputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FetchOutputValidationError ¶ added in v0.3.3
type FetchOutputValidationError struct {
// contains filtered or unexported fields
}
FetchOutputValidationError is the validation error returned by FetchOutput.Validate if the designated constraints aren't met.
func (FetchOutputValidationError) Cause ¶ added in v0.3.3
func (e FetchOutputValidationError) Cause() error
Cause function returns cause value.
func (FetchOutputValidationError) Error ¶ added in v0.3.3
func (e FetchOutputValidationError) Error() string
Error satisfies the builtin error interface
func (FetchOutputValidationError) ErrorName ¶ added in v0.3.3
func (e FetchOutputValidationError) ErrorName() string
ErrorName returns error name.
func (FetchOutputValidationError) Field ¶ added in v0.3.3
func (e FetchOutputValidationError) Field() string
Field function returns field value.
func (FetchOutputValidationError) Key ¶ added in v0.3.3
func (e FetchOutputValidationError) Key() bool
Key function returns key value.
func (FetchOutputValidationError) Reason ¶ added in v0.3.3
func (e FetchOutputValidationError) Reason() string
Reason function returns reason value.
type GetInfoOutput ¶ added in v0.2.16
type GetInfoOutput struct { Outputs []*OutputContent `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"` // contains filtered or unexported fields }
output format for the get_info command, in json format
func (*GetInfoOutput) Descriptor
deprecated
added in
v0.2.16
func (*GetInfoOutput) Descriptor() ([]byte, []int)
Deprecated: Use GetInfoOutput.ProtoReflect.Descriptor instead.
func (*GetInfoOutput) GetOutputs ¶ added in v0.2.16
func (x *GetInfoOutput) GetOutputs() []*OutputContent
func (*GetInfoOutput) ProtoMessage ¶ added in v0.2.16
func (*GetInfoOutput) ProtoMessage()
func (*GetInfoOutput) ProtoReflect ¶ added in v0.2.16
func (x *GetInfoOutput) ProtoReflect() protoreflect.Message
func (*GetInfoOutput) Reset ¶ added in v0.2.16
func (x *GetInfoOutput) Reset()
func (*GetInfoOutput) String ¶ added in v0.2.16
func (x *GetInfoOutput) String() string
func (*GetInfoOutput) Validate ¶ added in v0.2.16
func (m *GetInfoOutput) Validate() error
Validate checks the field values on GetInfoOutput 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 (*GetInfoOutput) ValidateAll ¶ added in v0.2.16
func (m *GetInfoOutput) ValidateAll() error
ValidateAll checks the field values on GetInfoOutput 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 GetInfoOutputMultiError, or nil if none found.
type GetInfoOutputMultiError ¶ added in v0.2.16
type GetInfoOutputMultiError []error
GetInfoOutputMultiError is an error wrapping multiple validation errors returned by GetInfoOutput.ValidateAll() if the designated constraints aren't met.
func (GetInfoOutputMultiError) AllErrors ¶ added in v0.2.16
func (m GetInfoOutputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetInfoOutputMultiError) Error ¶ added in v0.2.16
func (m GetInfoOutputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetInfoOutputValidationError ¶ added in v0.2.16
type GetInfoOutputValidationError struct {
// contains filtered or unexported fields
}
GetInfoOutputValidationError is the validation error returned by GetInfoOutput.Validate if the designated constraints aren't met.
func (GetInfoOutputValidationError) Cause ¶ added in v0.2.16
func (e GetInfoOutputValidationError) Cause() error
Cause function returns cause value.
func (GetInfoOutputValidationError) Error ¶ added in v0.2.16
func (e GetInfoOutputValidationError) Error() string
Error satisfies the builtin error interface
func (GetInfoOutputValidationError) ErrorName ¶ added in v0.2.16
func (e GetInfoOutputValidationError) ErrorName() string
ErrorName returns error name.
func (GetInfoOutputValidationError) Field ¶ added in v0.2.16
func (e GetInfoOutputValidationError) Field() string
Field function returns field value.
func (GetInfoOutputValidationError) Key ¶ added in v0.2.16
func (e GetInfoOutputValidationError) Key() bool
Key function returns key value.
func (GetInfoOutputValidationError) Reason ¶ added in v0.2.16
func (e GetInfoOutputValidationError) Reason() string
Reason function returns reason value.
type OutputContent ¶
type OutputContent struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*OutputContent) Descriptor
deprecated
func (*OutputContent) Descriptor() ([]byte, []int)
Deprecated: Use OutputContent.ProtoReflect.Descriptor instead.
func (*OutputContent) GetName ¶
func (x *OutputContent) GetName() string
func (*OutputContent) GetText ¶
func (x *OutputContent) GetText() string
func (*OutputContent) ProtoMessage ¶
func (*OutputContent) ProtoMessage()
func (*OutputContent) ProtoReflect ¶
func (x *OutputContent) ProtoReflect() protoreflect.Message
func (*OutputContent) Reset ¶
func (x *OutputContent) Reset()
func (*OutputContent) String ¶
func (x *OutputContent) String() string
func (*OutputContent) Validate ¶
func (m *OutputContent) Validate() error
Validate checks the field values on OutputContent 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 (*OutputContent) ValidateAll ¶
func (m *OutputContent) ValidateAll() error
ValidateAll checks the field values on OutputContent 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 OutputContentMultiError, or nil if none found.
type OutputContentMultiError ¶
type OutputContentMultiError []error
OutputContentMultiError is an error wrapping multiple validation errors returned by OutputContent.ValidateAll() if the designated constraints aren't met.
func (OutputContentMultiError) AllErrors ¶
func (m OutputContentMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OutputContentMultiError) Error ¶
func (m OutputContentMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OutputContentValidationError ¶
type OutputContentValidationError struct {
// contains filtered or unexported fields
}
OutputContentValidationError is the validation error returned by OutputContent.Validate if the designated constraints aren't met.
func (OutputContentValidationError) Cause ¶
func (e OutputContentValidationError) Cause() error
Cause function returns cause value.
func (OutputContentValidationError) Error ¶
func (e OutputContentValidationError) Error() string
Error satisfies the builtin error interface
func (OutputContentValidationError) ErrorName ¶
func (e OutputContentValidationError) ErrorName() string
ErrorName returns error name.
func (OutputContentValidationError) Field ¶
func (e OutputContentValidationError) Field() string
Field function returns field value.
func (OutputContentValidationError) Key ¶
func (e OutputContentValidationError) Key() bool
Key function returns key value.
func (OutputContentValidationError) Reason ¶
func (e OutputContentValidationError) Reason() string
Reason function returns reason value.