v1

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_c1_connector_wrapper_v1_connector_wrapper_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ServerConfig

type ServerConfig struct {
	Credential        *v1.Credential         `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"`
	RateLimiterConfig *v11.RateLimiterConfig `protobuf:"bytes,2,opt,name=rate_limiter_config,json=rateLimiterConfig,proto3" json:"rate_limiter_config,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerConfig) Descriptor deprecated

func (*ServerConfig) Descriptor() ([]byte, []int)

Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.

func (*ServerConfig) GetCredential

func (x *ServerConfig) GetCredential() *v1.Credential

func (*ServerConfig) GetRateLimiterConfig

func (x *ServerConfig) GetRateLimiterConfig() *v11.RateLimiterConfig

func (*ServerConfig) ProtoMessage

func (*ServerConfig) ProtoMessage()

func (*ServerConfig) ProtoReflect

func (x *ServerConfig) ProtoReflect() protoreflect.Message

func (*ServerConfig) Reset

func (x *ServerConfig) Reset()

func (*ServerConfig) String

func (x *ServerConfig) String() string

func (*ServerConfig) Validate

func (m *ServerConfig) Validate() error

Validate checks the field values on ServerConfig 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 (*ServerConfig) ValidateAll

func (m *ServerConfig) ValidateAll() error

ValidateAll checks the field values on ServerConfig 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 ServerConfigMultiError, or nil if none found.

type ServerConfigMultiError

type ServerConfigMultiError []error

ServerConfigMultiError is an error wrapping multiple validation errors returned by ServerConfig.ValidateAll() if the designated constraints aren't met.

func (ServerConfigMultiError) AllErrors

func (m ServerConfigMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ServerConfigMultiError) Error

func (m ServerConfigMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ServerConfigValidationError

type ServerConfigValidationError struct {
	// contains filtered or unexported fields
}

ServerConfigValidationError is the validation error returned by ServerConfig.Validate if the designated constraints aren't met.

func (ServerConfigValidationError) Cause

Cause function returns cause value.

func (ServerConfigValidationError) Error

Error satisfies the builtin error interface

func (ServerConfigValidationError) ErrorName

func (e ServerConfigValidationError) ErrorName() string

ErrorName returns error name.

func (ServerConfigValidationError) Field

Field function returns field value.

func (ServerConfigValidationError) Key

Key function returns key value.

func (ServerConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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