Documentation
¶
Index ¶
- Variables
- type ConfigWritebackPath
- func (*ConfigWritebackPath) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigWritebackPath) GetDisplayName() string
- func (x *ConfigWritebackPath) GetDisplayPath() string
- func (*ConfigWritebackPath) ProtoMessage()
- func (x *ConfigWritebackPath) ProtoReflect() protoreflect.Message
- func (x *ConfigWritebackPath) Reset()
- func (x *ConfigWritebackPath) String() string
- func (m *ConfigWritebackPath) Validate() error
- func (m *ConfigWritebackPath) ValidateAll() error
- type ConfigWritebackPathMultiError
- type ConfigWritebackPathValidationError
- func (e ConfigWritebackPathValidationError) Cause() error
- func (e ConfigWritebackPathValidationError) Error() string
- func (e ConfigWritebackPathValidationError) ErrorName() string
- func (e ConfigWritebackPathValidationError) Field() string
- func (e ConfigWritebackPathValidationError) Key() bool
- func (e ConfigWritebackPathValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_prodvana_config_writeback_writeback_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConfigWritebackPath ¶
type ConfigWritebackPath struct { DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // short, user-readable name of what this config is. May contain spaces. DisplayPath string `protobuf:"bytes,2,opt,name=display_path,json=displayPath,proto3" json:"display_path,omitempty"` // will be HTTP if apiserver is configured with a http display path, otherwise will be a git ssh/local path // contains filtered or unexported fields }
func (*ConfigWritebackPath) Descriptor
deprecated
func (*ConfigWritebackPath) Descriptor() ([]byte, []int)
Deprecated: Use ConfigWritebackPath.ProtoReflect.Descriptor instead.
func (*ConfigWritebackPath) GetDisplayName ¶
func (x *ConfigWritebackPath) GetDisplayName() string
func (*ConfigWritebackPath) GetDisplayPath ¶
func (x *ConfigWritebackPath) GetDisplayPath() string
func (*ConfigWritebackPath) ProtoMessage ¶
func (*ConfigWritebackPath) ProtoMessage()
func (*ConfigWritebackPath) ProtoReflect ¶
func (x *ConfigWritebackPath) ProtoReflect() protoreflect.Message
func (*ConfigWritebackPath) Reset ¶
func (x *ConfigWritebackPath) Reset()
func (*ConfigWritebackPath) String ¶
func (x *ConfigWritebackPath) String() string
func (*ConfigWritebackPath) Validate ¶
func (m *ConfigWritebackPath) Validate() error
Validate checks the field values on ConfigWritebackPath 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 (*ConfigWritebackPath) ValidateAll ¶
func (m *ConfigWritebackPath) ValidateAll() error
ValidateAll checks the field values on ConfigWritebackPath 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 ConfigWritebackPathMultiError, or nil if none found.
type ConfigWritebackPathMultiError ¶
type ConfigWritebackPathMultiError []error
ConfigWritebackPathMultiError is an error wrapping multiple validation errors returned by ConfigWritebackPath.ValidateAll() if the designated constraints aren't met.
func (ConfigWritebackPathMultiError) AllErrors ¶
func (m ConfigWritebackPathMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigWritebackPathMultiError) Error ¶
func (m ConfigWritebackPathMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfigWritebackPathValidationError ¶
type ConfigWritebackPathValidationError struct {
// contains filtered or unexported fields
}
ConfigWritebackPathValidationError is the validation error returned by ConfigWritebackPath.Validate if the designated constraints aren't met.
func (ConfigWritebackPathValidationError) Cause ¶
func (e ConfigWritebackPathValidationError) Cause() error
Cause function returns cause value.
func (ConfigWritebackPathValidationError) Error ¶
func (e ConfigWritebackPathValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigWritebackPathValidationError) ErrorName ¶
func (e ConfigWritebackPathValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigWritebackPathValidationError) Field ¶
func (e ConfigWritebackPathValidationError) Field() string
Field function returns field value.
func (ConfigWritebackPathValidationError) Key ¶
func (e ConfigWritebackPathValidationError) Key() bool
Key function returns key value.
func (ConfigWritebackPathValidationError) Reason ¶
func (e ConfigWritebackPathValidationError) Reason() string
Reason function returns reason value.