Documentation ¶
Index ¶
- Variables
- type LabelDefinition
- func (*LabelDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *LabelDefinition) GetLabel() string
- func (x *LabelDefinition) GetValue() string
- func (*LabelDefinition) ProtoMessage()
- func (x *LabelDefinition) ProtoReflect() protoreflect.Message
- func (x *LabelDefinition) Reset()
- func (x *LabelDefinition) String() string
- func (m *LabelDefinition) Validate() error
- func (m *LabelDefinition) ValidateAll() error
- type LabelDefinitionMultiError
- type LabelDefinitionValidationError
- func (e LabelDefinitionValidationError) Cause() error
- func (e LabelDefinitionValidationError) Error() string
- func (e LabelDefinitionValidationError) ErrorName() string
- func (e LabelDefinitionValidationError) Field() string
- func (e LabelDefinitionValidationError) Key() bool
- func (e LabelDefinitionValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_prodvana_labels_labels_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type LabelDefinition ¶
type LabelDefinition struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*LabelDefinition) Descriptor
deprecated
func (*LabelDefinition) Descriptor() ([]byte, []int)
Deprecated: Use LabelDefinition.ProtoReflect.Descriptor instead.
func (*LabelDefinition) GetLabel ¶
func (x *LabelDefinition) GetLabel() string
func (*LabelDefinition) GetValue ¶
func (x *LabelDefinition) GetValue() string
func (*LabelDefinition) ProtoMessage ¶
func (*LabelDefinition) ProtoMessage()
func (*LabelDefinition) ProtoReflect ¶
func (x *LabelDefinition) ProtoReflect() protoreflect.Message
func (*LabelDefinition) Reset ¶
func (x *LabelDefinition) Reset()
func (*LabelDefinition) String ¶
func (x *LabelDefinition) String() string
func (*LabelDefinition) Validate ¶
func (m *LabelDefinition) Validate() error
Validate checks the field values on LabelDefinition 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 (*LabelDefinition) ValidateAll ¶
func (m *LabelDefinition) ValidateAll() error
ValidateAll checks the field values on LabelDefinition 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 LabelDefinitionMultiError, or nil if none found.
type LabelDefinitionMultiError ¶
type LabelDefinitionMultiError []error
LabelDefinitionMultiError is an error wrapping multiple validation errors returned by LabelDefinition.ValidateAll() if the designated constraints aren't met.
func (LabelDefinitionMultiError) AllErrors ¶
func (m LabelDefinitionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LabelDefinitionMultiError) Error ¶
func (m LabelDefinitionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LabelDefinitionValidationError ¶
type LabelDefinitionValidationError struct {
// contains filtered or unexported fields
}
LabelDefinitionValidationError is the validation error returned by LabelDefinition.Validate if the designated constraints aren't met.
func (LabelDefinitionValidationError) Cause ¶
func (e LabelDefinitionValidationError) Cause() error
Cause function returns cause value.
func (LabelDefinitionValidationError) Error ¶
func (e LabelDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (LabelDefinitionValidationError) ErrorName ¶
func (e LabelDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (LabelDefinitionValidationError) Field ¶
func (e LabelDefinitionValidationError) Field() string
Field function returns field value.
func (LabelDefinitionValidationError) Key ¶
func (e LabelDefinitionValidationError) Key() bool
Key function returns key value.
func (LabelDefinitionValidationError) Reason ¶
func (e LabelDefinitionValidationError) Reason() string
Reason function returns reason value.