config_writeback

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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

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

Cause function returns cause value.

func (ConfigWritebackPathValidationError) Error

Error satisfies the builtin error interface

func (ConfigWritebackPathValidationError) ErrorName

ErrorName returns error name.

func (ConfigWritebackPathValidationError) Field

Field function returns field value.

func (ConfigWritebackPathValidationError) Key

Key function returns key value.

func (ConfigWritebackPathValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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