Documentation ¶
Index ¶
- Variables
- type Assets
- func (*Assets) Descriptor() ([]byte, []int)deprecated
- func (m *Assets) GetProvider() isAssets_Provider
- func (x *Assets) GetS3() *Assets_S3Provider
- func (*Assets) ProtoMessage()
- func (x *Assets) ProtoReflect() protoreflect.Message
- func (x *Assets) Reset()
- func (x *Assets) String() string
- func (m *Assets) Validate() error
- func (m *Assets) ValidateAll() error
- type AssetsMultiError
- type AssetsValidationError
- type Assets_S3
- type Assets_S3Provider
- func (*Assets_S3Provider) Descriptor() ([]byte, []int)deprecated
- func (x *Assets_S3Provider) GetBucket() string
- func (x *Assets_S3Provider) GetKey() string
- func (x *Assets_S3Provider) GetRegion() string
- func (*Assets_S3Provider) ProtoMessage()
- func (x *Assets_S3Provider) ProtoReflect() protoreflect.Message
- func (x *Assets_S3Provider) Reset()
- func (x *Assets_S3Provider) String() string
- func (m *Assets_S3Provider) Validate() error
- func (m *Assets_S3Provider) ValidateAll() error
- type Assets_S3ProviderMultiError
- type Assets_S3ProviderValidationError
- func (e Assets_S3ProviderValidationError) Cause() error
- func (e Assets_S3ProviderValidationError) Error() string
- func (e Assets_S3ProviderValidationError) ErrorName() string
- func (e Assets_S3ProviderValidationError) Field() string
- func (e Assets_S3ProviderValidationError) Key() bool
- func (e Assets_S3ProviderValidationError) Reason() string
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetExtends() []string
- func (x *Config) GetGateway() *GatewayOptions
- func (x *Config) GetModules() []*Module
- func (x *Config) GetResolvers() []*Resolver
- func (x *Config) GetServices() []*Service
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- func (m *Config) Validate() error
- func (m *Config) ValidateAll() error
- type ConfigMultiError
- type ConfigValidationError
- type GatewayOptions
- func (*GatewayOptions) Descriptor() ([]byte, []int)deprecated
- func (x *GatewayOptions) GetAccesslog() *v1.Config
- func (x *GatewayOptions) GetAssets() *Assets
- func (x *GatewayOptions) GetEnablePprof() bool
- func (x *GatewayOptions) GetJsonGrpcLoopbackListener() *Listener
- func (x *GatewayOptions) GetListener() *Listener
- func (x *GatewayOptions) GetLogger() *Logger
- func (x *GatewayOptions) GetMaxResponseSizeBytes() uint32
- func (x *GatewayOptions) GetMiddleware() []*Middleware
- func (x *GatewayOptions) GetSecureCookies() *wrapperspb.BoolValue
- func (x *GatewayOptions) GetStats() *Stats
- func (x *GatewayOptions) GetTimeouts() *Timeouts
- func (*GatewayOptions) ProtoMessage()
- func (x *GatewayOptions) ProtoReflect() protoreflect.Message
- func (x *GatewayOptions) Reset()
- func (x *GatewayOptions) String() string
- func (m *GatewayOptions) Validate() error
- func (m *GatewayOptions) ValidateAll() error
- type GatewayOptionsMultiError
- type GatewayOptionsValidationError
- func (e GatewayOptionsValidationError) Cause() error
- func (e GatewayOptionsValidationError) Error() string
- func (e GatewayOptionsValidationError) ErrorName() string
- func (e GatewayOptionsValidationError) Field() string
- func (e GatewayOptionsValidationError) Key() bool
- func (e GatewayOptionsValidationError) Reason() string
- type Listener
- func (*Listener) Descriptor() ([]byte, []int)deprecated
- func (m *Listener) GetSocket() isListener_Socket
- func (x *Listener) GetTcp() *TCPSocket
- func (*Listener) ProtoMessage()
- func (x *Listener) ProtoReflect() protoreflect.Message
- func (x *Listener) Reset()
- func (x *Listener) String() string
- func (m *Listener) Validate() error
- func (m *Listener) ValidateAll() error
- type ListenerMultiError
- type ListenerValidationError
- type Listener_Tcp
- type Logger
- func (*Logger) Descriptor() ([]byte, []int)deprecated
- func (m *Logger) GetFormat() isLogger_Format
- func (x *Logger) GetLevel() Logger_Level
- func (x *Logger) GetNamespace() string
- func (x *Logger) GetPretty() bool
- func (*Logger) ProtoMessage()
- func (x *Logger) ProtoReflect() protoreflect.Message
- func (x *Logger) Reset()
- func (x *Logger) String() string
- func (m *Logger) Validate() error
- func (m *Logger) ValidateAll() error
- type LoggerMultiError
- type LoggerValidationError
- type Logger_Level
- func (Logger_Level) Descriptor() protoreflect.EnumDescriptor
- func (x Logger_Level) Enum() *Logger_Level
- func (Logger_Level) EnumDescriptor() ([]byte, []int)deprecated
- func (x Logger_Level) Number() protoreflect.EnumNumber
- func (x Logger_Level) String() string
- func (Logger_Level) Type() protoreflect.EnumType
- type Logger_Pretty
- type Middleware
- func (*Middleware) Descriptor() ([]byte, []int)deprecated
- func (x *Middleware) GetName() string
- func (x *Middleware) GetTypedConfig() *anypb.Any
- func (*Middleware) ProtoMessage()
- func (x *Middleware) ProtoReflect() protoreflect.Message
- func (x *Middleware) Reset()
- func (x *Middleware) String() string
- func (m *Middleware) Validate() error
- func (m *Middleware) ValidateAll() error
- type MiddlewareMultiError
- type MiddlewareValidationError
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetName() string
- func (x *Module) GetTypedConfig() *anypb.Any
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- func (m *Module) Validate() error
- func (m *Module) ValidateAll() error
- type ModuleMultiError
- type ModuleValidationError
- type Resolver
- func (*Resolver) Descriptor() ([]byte, []int)deprecated
- func (x *Resolver) GetName() string
- func (x *Resolver) GetTypedConfig() *anypb.Any
- func (*Resolver) ProtoMessage()
- func (x *Resolver) ProtoReflect() protoreflect.Message
- func (x *Resolver) Reset()
- func (x *Resolver) String() string
- func (m *Resolver) Validate() error
- func (m *Resolver) ValidateAll() error
- type ResolverMultiError
- type ResolverValidationError
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetName() string
- func (x *Service) GetTypedConfig() *anypb.Any
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- func (m *Service) Validate() error
- func (m *Service) ValidateAll() error
- type ServiceMultiError
- type ServiceValidationError
- type Stats
- func (*Stats) Descriptor() ([]byte, []int)deprecated
- func (x *Stats) GetFlushInterval() *durationpb.Duration
- func (x *Stats) GetGoRuntimeStats() *Stats_GoRuntimeStats
- func (x *Stats) GetLogReporter() *Stats_LogReporter
- func (x *Stats) GetPrefix() string
- func (x *Stats) GetPrometheusReporter() *Stats_PrometheusReporter
- func (m *Stats) GetReporter() isStats_Reporter
- func (x *Stats) GetStatsdReporter() *Stats_StatsdReporter
- func (*Stats) ProtoMessage()
- func (x *Stats) ProtoReflect() protoreflect.Message
- func (x *Stats) Reset()
- func (x *Stats) String() string
- func (m *Stats) Validate() error
- func (m *Stats) ValidateAll() error
- type StatsMultiError
- type StatsValidationError
- type Stats_GoRuntimeStats
- func (*Stats_GoRuntimeStats) Descriptor() ([]byte, []int)deprecated
- func (x *Stats_GoRuntimeStats) GetCollectionInterval() *durationpb.Duration
- func (*Stats_GoRuntimeStats) ProtoMessage()
- func (x *Stats_GoRuntimeStats) ProtoReflect() protoreflect.Message
- func (x *Stats_GoRuntimeStats) Reset()
- func (x *Stats_GoRuntimeStats) String() string
- func (m *Stats_GoRuntimeStats) Validate() error
- func (m *Stats_GoRuntimeStats) ValidateAll() error
- type Stats_GoRuntimeStatsMultiError
- type Stats_GoRuntimeStatsValidationError
- func (e Stats_GoRuntimeStatsValidationError) Cause() error
- func (e Stats_GoRuntimeStatsValidationError) Error() string
- func (e Stats_GoRuntimeStatsValidationError) ErrorName() string
- func (e Stats_GoRuntimeStatsValidationError) Field() string
- func (e Stats_GoRuntimeStatsValidationError) Key() bool
- func (e Stats_GoRuntimeStatsValidationError) Reason() string
- type Stats_LogReporter
- func (*Stats_LogReporter) Descriptor() ([]byte, []int)deprecated
- func (*Stats_LogReporter) ProtoMessage()
- func (x *Stats_LogReporter) ProtoReflect() protoreflect.Message
- func (x *Stats_LogReporter) Reset()
- func (x *Stats_LogReporter) String() string
- func (m *Stats_LogReporter) Validate() error
- func (m *Stats_LogReporter) ValidateAll() error
- type Stats_LogReporterMultiError
- type Stats_LogReporterValidationError
- func (e Stats_LogReporterValidationError) Cause() error
- func (e Stats_LogReporterValidationError) Error() string
- func (e Stats_LogReporterValidationError) ErrorName() string
- func (e Stats_LogReporterValidationError) Field() string
- func (e Stats_LogReporterValidationError) Key() bool
- func (e Stats_LogReporterValidationError) Reason() string
- type Stats_LogReporter_
- type Stats_PrometheusReporter
- func (*Stats_PrometheusReporter) Descriptor() ([]byte, []int)deprecated
- func (x *Stats_PrometheusReporter) GetHandlerPath() string
- func (*Stats_PrometheusReporter) ProtoMessage()
- func (x *Stats_PrometheusReporter) ProtoReflect() protoreflect.Message
- func (x *Stats_PrometheusReporter) Reset()
- func (x *Stats_PrometheusReporter) String() string
- func (m *Stats_PrometheusReporter) Validate() error
- func (m *Stats_PrometheusReporter) ValidateAll() error
- type Stats_PrometheusReporterMultiError
- type Stats_PrometheusReporterValidationError
- func (e Stats_PrometheusReporterValidationError) Cause() error
- func (e Stats_PrometheusReporterValidationError) Error() string
- func (e Stats_PrometheusReporterValidationError) ErrorName() string
- func (e Stats_PrometheusReporterValidationError) Field() string
- func (e Stats_PrometheusReporterValidationError) Key() bool
- func (e Stats_PrometheusReporterValidationError) Reason() string
- type Stats_PrometheusReporter_
- type Stats_StatsdReporter
- func (*Stats_StatsdReporter) Descriptor() ([]byte, []int)deprecated
- func (x *Stats_StatsdReporter) GetAddress() string
- func (x *Stats_StatsdReporter) GetPointTags() *Stats_StatsdReporter_PointTags
- func (m *Stats_StatsdReporter) GetTagMode() isStats_StatsdReporter_TagMode
- func (*Stats_StatsdReporter) ProtoMessage()
- func (x *Stats_StatsdReporter) ProtoReflect() protoreflect.Message
- func (x *Stats_StatsdReporter) Reset()
- func (x *Stats_StatsdReporter) String() string
- func (m *Stats_StatsdReporter) Validate() error
- func (m *Stats_StatsdReporter) ValidateAll() error
- type Stats_StatsdReporterMultiError
- type Stats_StatsdReporterValidationError
- func (e Stats_StatsdReporterValidationError) Cause() error
- func (e Stats_StatsdReporterValidationError) Error() string
- func (e Stats_StatsdReporterValidationError) ErrorName() string
- func (e Stats_StatsdReporterValidationError) Field() string
- func (e Stats_StatsdReporterValidationError) Key() bool
- func (e Stats_StatsdReporterValidationError) Reason() string
- type Stats_StatsdReporter_
- type Stats_StatsdReporter_PointTags
- func (*Stats_StatsdReporter_PointTags) Descriptor() ([]byte, []int)deprecated
- func (x *Stats_StatsdReporter_PointTags) GetSeparator() string
- func (*Stats_StatsdReporter_PointTags) ProtoMessage()
- func (x *Stats_StatsdReporter_PointTags) ProtoReflect() protoreflect.Message
- func (x *Stats_StatsdReporter_PointTags) Reset()
- func (x *Stats_StatsdReporter_PointTags) String() string
- func (m *Stats_StatsdReporter_PointTags) Validate() error
- func (m *Stats_StatsdReporter_PointTags) ValidateAll() error
- type Stats_StatsdReporter_PointTagsMultiError
- type Stats_StatsdReporter_PointTagsValidationError
- func (e Stats_StatsdReporter_PointTagsValidationError) Cause() error
- func (e Stats_StatsdReporter_PointTagsValidationError) Error() string
- func (e Stats_StatsdReporter_PointTagsValidationError) ErrorName() string
- func (e Stats_StatsdReporter_PointTagsValidationError) Field() string
- func (e Stats_StatsdReporter_PointTagsValidationError) Key() bool
- func (e Stats_StatsdReporter_PointTagsValidationError) Reason() string
- type Stats_StatsdReporter_PointTags_
- type TCPSocket
- func (*TCPSocket) Descriptor() ([]byte, []int)deprecated
- func (x *TCPSocket) GetAddress() string
- func (x *TCPSocket) GetPort() uint32
- func (x *TCPSocket) GetSecure() bool
- func (*TCPSocket) ProtoMessage()
- func (x *TCPSocket) ProtoReflect() protoreflect.Message
- func (x *TCPSocket) Reset()
- func (x *TCPSocket) String() string
- func (m *TCPSocket) Validate() error
- func (m *TCPSocket) ValidateAll() error
- type TCPSocketMultiError
- type TCPSocketValidationError
- type Timeouts
- func (*Timeouts) Descriptor() ([]byte, []int)deprecated
- func (x *Timeouts) GetDefault() *durationpb.Duration
- func (x *Timeouts) GetOverrides() []*Timeouts_Entry
- func (*Timeouts) ProtoMessage()
- func (x *Timeouts) ProtoReflect() protoreflect.Message
- func (x *Timeouts) Reset()
- func (x *Timeouts) String() string
- func (m *Timeouts) Validate() error
- func (m *Timeouts) ValidateAll() error
- type TimeoutsMultiError
- type TimeoutsValidationError
- type Timeouts_Entry
- func (*Timeouts_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Timeouts_Entry) GetMethod() string
- func (x *Timeouts_Entry) GetService() string
- func (x *Timeouts_Entry) GetTimeout() *durationpb.Duration
- func (*Timeouts_Entry) ProtoMessage()
- func (x *Timeouts_Entry) ProtoReflect() protoreflect.Message
- func (x *Timeouts_Entry) Reset()
- func (x *Timeouts_Entry) String() string
- func (m *Timeouts_Entry) Validate() error
- func (m *Timeouts_Entry) ValidateAll() error
- type Timeouts_EntryMultiError
- type Timeouts_EntryValidationError
- func (e Timeouts_EntryValidationError) Cause() error
- func (e Timeouts_EntryValidationError) Error() string
- func (e Timeouts_EntryValidationError) ErrorName() string
- func (e Timeouts_EntryValidationError) Field() string
- func (e Timeouts_EntryValidationError) Key() bool
- func (e Timeouts_EntryValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( Logger_Level_name = map[int32]string{ 0: "UNSPECIFIED", 1: "DEBUG", 2: "INFO", 3: "WARN", 4: "ERROR", 5: "PANIC", 6: "FATAL", } Logger_Level_value = map[string]int32{ "UNSPECIFIED": 0, "DEBUG": 1, "INFO": 2, "WARN": 3, "ERROR": 4, "PANIC": 5, "FATAL": 6, } )
Enum value maps for Logger_Level.
var File_config_gateway_v1_gateway_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Assets ¶
type Assets struct { // Types that are assignable to Provider: // // *Assets_S3 Provider isAssets_Provider `protobuf_oneof:"provider"` // contains filtered or unexported fields }
Assets configuration provide a passthrough host for frontend static assets. This is useful if you dont have the ability to enable sticky sessions or a blue/green deploy system in place.
func (*Assets) Descriptor
deprecated
func (*Assets) GetProvider ¶
func (m *Assets) GetProvider() isAssets_Provider
func (*Assets) GetS3 ¶
func (x *Assets) GetS3() *Assets_S3Provider
func (*Assets) ProtoMessage ¶
func (*Assets) ProtoMessage()
func (*Assets) ProtoReflect ¶
func (x *Assets) ProtoReflect() protoreflect.Message
func (*Assets) Validate ¶
Validate checks the field values on Assets 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 (*Assets) ValidateAll ¶
ValidateAll checks the field values on Assets 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 AssetsMultiError, or nil if none found.
type AssetsMultiError ¶
type AssetsMultiError []error
AssetsMultiError is an error wrapping multiple validation errors returned by Assets.ValidateAll() if the designated constraints aren't met.
func (AssetsMultiError) AllErrors ¶
func (m AssetsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AssetsMultiError) Error ¶
func (m AssetsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AssetsValidationError ¶
type AssetsValidationError struct {
// contains filtered or unexported fields
}
AssetsValidationError is the validation error returned by Assets.Validate if the designated constraints aren't met.
func (AssetsValidationError) Cause ¶
func (e AssetsValidationError) Cause() error
Cause function returns cause value.
func (AssetsValidationError) Error ¶
func (e AssetsValidationError) Error() string
Error satisfies the builtin error interface
func (AssetsValidationError) ErrorName ¶
func (e AssetsValidationError) ErrorName() string
ErrorName returns error name.
func (AssetsValidationError) Field ¶
func (e AssetsValidationError) Field() string
Field function returns field value.
func (AssetsValidationError) Key ¶
func (e AssetsValidationError) Key() bool
Key function returns key value.
func (AssetsValidationError) Reason ¶
func (e AssetsValidationError) Reason() string
Reason function returns reason value.
type Assets_S3 ¶
type Assets_S3 struct {
S3 *Assets_S3Provider `protobuf:"bytes,1,opt,name=s3,proto3,oneof"`
}
type Assets_S3Provider ¶
type Assets_S3Provider struct { Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` // key is the path to clutchs frontend static assets in the configured bucket Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
To use the S3Provider you must have the AWS service configured
func (*Assets_S3Provider) Descriptor
deprecated
func (*Assets_S3Provider) Descriptor() ([]byte, []int)
Deprecated: Use Assets_S3Provider.ProtoReflect.Descriptor instead.
func (*Assets_S3Provider) GetBucket ¶
func (x *Assets_S3Provider) GetBucket() string
func (*Assets_S3Provider) GetKey ¶
func (x *Assets_S3Provider) GetKey() string
func (*Assets_S3Provider) GetRegion ¶
func (x *Assets_S3Provider) GetRegion() string
func (*Assets_S3Provider) ProtoMessage ¶
func (*Assets_S3Provider) ProtoMessage()
func (*Assets_S3Provider) ProtoReflect ¶
func (x *Assets_S3Provider) ProtoReflect() protoreflect.Message
func (*Assets_S3Provider) Reset ¶
func (x *Assets_S3Provider) Reset()
func (*Assets_S3Provider) String ¶
func (x *Assets_S3Provider) String() string
func (*Assets_S3Provider) Validate ¶
func (m *Assets_S3Provider) Validate() error
Validate checks the field values on Assets_S3Provider 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 (*Assets_S3Provider) ValidateAll ¶
func (m *Assets_S3Provider) ValidateAll() error
ValidateAll checks the field values on Assets_S3Provider 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 Assets_S3ProviderMultiError, or nil if none found.
type Assets_S3ProviderMultiError ¶
type Assets_S3ProviderMultiError []error
Assets_S3ProviderMultiError is an error wrapping multiple validation errors returned by Assets_S3Provider.ValidateAll() if the designated constraints aren't met.
func (Assets_S3ProviderMultiError) AllErrors ¶
func (m Assets_S3ProviderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Assets_S3ProviderMultiError) Error ¶
func (m Assets_S3ProviderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Assets_S3ProviderValidationError ¶
type Assets_S3ProviderValidationError struct {
// contains filtered or unexported fields
}
Assets_S3ProviderValidationError is the validation error returned by Assets_S3Provider.Validate if the designated constraints aren't met.
func (Assets_S3ProviderValidationError) Cause ¶
func (e Assets_S3ProviderValidationError) Cause() error
Cause function returns cause value.
func (Assets_S3ProviderValidationError) Error ¶
func (e Assets_S3ProviderValidationError) Error() string
Error satisfies the builtin error interface
func (Assets_S3ProviderValidationError) ErrorName ¶
func (e Assets_S3ProviderValidationError) ErrorName() string
ErrorName returns error name.
func (Assets_S3ProviderValidationError) Field ¶
func (e Assets_S3ProviderValidationError) Field() string
Field function returns field value.
func (Assets_S3ProviderValidationError) Key ¶
func (e Assets_S3ProviderValidationError) Key() bool
Key function returns key value.
func (Assets_S3ProviderValidationError) Reason ¶
func (e Assets_S3ProviderValidationError) Reason() string
Reason function returns reason value.
type Config ¶
type Config struct { Gateway *GatewayOptions `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"` Services []*Service `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` Resolvers []*Resolver `protobuf:"bytes,3,rep,name=resolvers,proto3" json:"resolvers,omitempty"` Modules []*Module `protobuf:"bytes,4,rep,name=modules,proto3" json:"modules,omitempty"` // External config files to extend and compose into a consolidated config Extends []string `protobuf:"bytes,5,rep,name=extends,proto3" json:"extends,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetExtends ¶
func (*Config) GetGateway ¶
func (x *Config) GetGateway() *GatewayOptions
func (*Config) GetModules ¶
func (*Config) GetResolvers ¶
func (*Config) GetServices ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
func (*Config) Validate ¶
Validate checks the field values on Config 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 (*Config) ValidateAll ¶
ValidateAll checks the field values on Config 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 ConfigMultiError, or nil if none found.
type ConfigMultiError ¶
type ConfigMultiError []error
ConfigMultiError is an error wrapping multiple validation errors returned by Config.ValidateAll() if the designated constraints aren't met.
func (ConfigMultiError) AllErrors ¶
func (m ConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfigMultiError) Error ¶
func (m ConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfigValidationError ¶
type ConfigValidationError struct {
// contains filtered or unexported fields
}
ConfigValidationError is the validation error returned by Config.Validate if the designated constraints aren't met.
func (ConfigValidationError) Cause ¶
func (e ConfigValidationError) Cause() error
Cause function returns cause value.
func (ConfigValidationError) Error ¶
func (e ConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ConfigValidationError) ErrorName ¶
func (e ConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ConfigValidationError) Field ¶
func (e ConfigValidationError) Field() string
Field function returns field value.
func (ConfigValidationError) Key ¶
func (e ConfigValidationError) Key() bool
Key function returns key value.
func (ConfigValidationError) Reason ¶
func (e ConfigValidationError) Reason() string
Reason function returns reason value.
type GatewayOptions ¶
type GatewayOptions struct { Listener *Listener `protobuf:"bytes,1,opt,name=listener,proto3" json:"listener,omitempty"` JsonGrpcLoopbackListener *Listener `` /* 137-byte string literal not displayed */ Logger *Logger `protobuf:"bytes,3,opt,name=logger,proto3" json:"logger,omitempty"` Stats *Stats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"` Timeouts *Timeouts `protobuf:"bytes,5,opt,name=timeouts,proto3" json:"timeouts,omitempty"` Middleware []*Middleware `protobuf:"bytes,6,rep,name=middleware,proto3" json:"middleware,omitempty"` Assets *Assets `protobuf:"bytes,7,opt,name=assets,proto3" json:"assets,omitempty"` EnablePprof bool `protobuf:"varint,8,opt,name=enable_pprof,json=enablePprof,proto3" json:"enable_pprof,omitempty"` Accesslog *v1.Config `protobuf:"bytes,9,opt,name=accesslog,proto3" json:"accesslog,omitempty"` // Maximum allowed size of a gRPC response (before transcoding to JSON). Defaults to 4MB (i.e. 4194304 bytes). MaxResponseSizeBytes uint32 `` /* 127-byte string literal not displayed */ // Whether or not cookies should be sent with the 'Secure' flag. Default value is true. SecureCookies *wrapperspb.BoolValue `protobuf:"bytes,11,opt,name=secure_cookies,json=secureCookies,proto3" json:"secure_cookies,omitempty"` // contains filtered or unexported fields }
func (*GatewayOptions) Descriptor
deprecated
func (*GatewayOptions) Descriptor() ([]byte, []int)
Deprecated: Use GatewayOptions.ProtoReflect.Descriptor instead.
func (*GatewayOptions) GetAccesslog ¶
func (x *GatewayOptions) GetAccesslog() *v1.Config
func (*GatewayOptions) GetAssets ¶
func (x *GatewayOptions) GetAssets() *Assets
func (*GatewayOptions) GetEnablePprof ¶
func (x *GatewayOptions) GetEnablePprof() bool
func (*GatewayOptions) GetJsonGrpcLoopbackListener ¶
func (x *GatewayOptions) GetJsonGrpcLoopbackListener() *Listener
func (*GatewayOptions) GetListener ¶
func (x *GatewayOptions) GetListener() *Listener
func (*GatewayOptions) GetLogger ¶
func (x *GatewayOptions) GetLogger() *Logger
func (*GatewayOptions) GetMaxResponseSizeBytes ¶
func (x *GatewayOptions) GetMaxResponseSizeBytes() uint32
func (*GatewayOptions) GetMiddleware ¶
func (x *GatewayOptions) GetMiddleware() []*Middleware
func (*GatewayOptions) GetSecureCookies ¶
func (x *GatewayOptions) GetSecureCookies() *wrapperspb.BoolValue
func (*GatewayOptions) GetStats ¶
func (x *GatewayOptions) GetStats() *Stats
func (*GatewayOptions) GetTimeouts ¶
func (x *GatewayOptions) GetTimeouts() *Timeouts
func (*GatewayOptions) ProtoMessage ¶
func (*GatewayOptions) ProtoMessage()
func (*GatewayOptions) ProtoReflect ¶
func (x *GatewayOptions) ProtoReflect() protoreflect.Message
func (*GatewayOptions) Reset ¶
func (x *GatewayOptions) Reset()
func (*GatewayOptions) String ¶
func (x *GatewayOptions) String() string
func (*GatewayOptions) Validate ¶
func (m *GatewayOptions) Validate() error
Validate checks the field values on GatewayOptions 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 (*GatewayOptions) ValidateAll ¶
func (m *GatewayOptions) ValidateAll() error
ValidateAll checks the field values on GatewayOptions 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 GatewayOptionsMultiError, or nil if none found.
type GatewayOptionsMultiError ¶
type GatewayOptionsMultiError []error
GatewayOptionsMultiError is an error wrapping multiple validation errors returned by GatewayOptions.ValidateAll() if the designated constraints aren't met.
func (GatewayOptionsMultiError) AllErrors ¶
func (m GatewayOptionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayOptionsMultiError) Error ¶
func (m GatewayOptionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GatewayOptionsValidationError ¶
type GatewayOptionsValidationError struct {
// contains filtered or unexported fields
}
GatewayOptionsValidationError is the validation error returned by GatewayOptions.Validate if the designated constraints aren't met.
func (GatewayOptionsValidationError) Cause ¶
func (e GatewayOptionsValidationError) Cause() error
Cause function returns cause value.
func (GatewayOptionsValidationError) Error ¶
func (e GatewayOptionsValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayOptionsValidationError) ErrorName ¶
func (e GatewayOptionsValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayOptionsValidationError) Field ¶
func (e GatewayOptionsValidationError) Field() string
Field function returns field value.
func (GatewayOptionsValidationError) Key ¶
func (e GatewayOptionsValidationError) Key() bool
Key function returns key value.
func (GatewayOptionsValidationError) Reason ¶
func (e GatewayOptionsValidationError) Reason() string
Reason function returns reason value.
type Listener ¶
type Listener struct { // Types that are assignable to Socket: // // *Listener_Tcp Socket isListener_Socket `protobuf_oneof:"socket"` // contains filtered or unexported fields }
func (*Listener) Descriptor
deprecated
func (*Listener) ProtoMessage ¶
func (*Listener) ProtoMessage()
func (*Listener) ProtoReflect ¶
func (x *Listener) ProtoReflect() protoreflect.Message
func (*Listener) Validate ¶
Validate checks the field values on Listener 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 (*Listener) ValidateAll ¶
ValidateAll checks the field values on Listener 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 ListenerMultiError, or nil if none found.
type ListenerMultiError ¶
type ListenerMultiError []error
ListenerMultiError is an error wrapping multiple validation errors returned by Listener.ValidateAll() if the designated constraints aren't met.
func (ListenerMultiError) AllErrors ¶
func (m ListenerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListenerMultiError) Error ¶
func (m ListenerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListenerValidationError ¶
type ListenerValidationError struct {
// contains filtered or unexported fields
}
ListenerValidationError is the validation error returned by Listener.Validate if the designated constraints aren't met.
func (ListenerValidationError) Cause ¶
func (e ListenerValidationError) Cause() error
Cause function returns cause value.
func (ListenerValidationError) Error ¶
func (e ListenerValidationError) Error() string
Error satisfies the builtin error interface
func (ListenerValidationError) ErrorName ¶
func (e ListenerValidationError) ErrorName() string
ErrorName returns error name.
func (ListenerValidationError) Field ¶
func (e ListenerValidationError) Field() string
Field function returns field value.
func (ListenerValidationError) Key ¶
func (e ListenerValidationError) Key() bool
Key function returns key value.
func (ListenerValidationError) Reason ¶
func (e ListenerValidationError) Reason() string
Reason function returns reason value.
type Listener_Tcp ¶
type Listener_Tcp struct {
Tcp *TCPSocket `protobuf:"bytes,1,opt,name=tcp,proto3,oneof"`
}
type Logger ¶
type Logger struct { Level Logger_Level `protobuf:"varint,1,opt,name=level,proto3,enum=datalift.config.gateway.v1.Logger_Level" json:"level,omitempty"` // Types that are assignable to Format: // // *Logger_Pretty Format isLogger_Format `protobuf_oneof:"format"` // Namespace will set a zap.Namespace for your logging fields to be nested in. // https://pkg.go.dev/go.uber.org/zap?utm_source=godoc#Namespace Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"` // contains filtered or unexported fields }
func (*Logger) Descriptor
deprecated
func (*Logger) GetLevel ¶
func (x *Logger) GetLevel() Logger_Level
func (*Logger) GetNamespace ¶
func (*Logger) ProtoMessage ¶
func (*Logger) ProtoMessage()
func (*Logger) ProtoReflect ¶
func (x *Logger) ProtoReflect() protoreflect.Message
func (*Logger) Validate ¶
Validate checks the field values on Logger 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 (*Logger) ValidateAll ¶
ValidateAll checks the field values on Logger 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 LoggerMultiError, or nil if none found.
type LoggerMultiError ¶
type LoggerMultiError []error
LoggerMultiError is an error wrapping multiple validation errors returned by Logger.ValidateAll() if the designated constraints aren't met.
func (LoggerMultiError) AllErrors ¶
func (m LoggerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoggerMultiError) Error ¶
func (m LoggerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoggerValidationError ¶
type LoggerValidationError struct {
// contains filtered or unexported fields
}
LoggerValidationError is the validation error returned by Logger.Validate if the designated constraints aren't met.
func (LoggerValidationError) Cause ¶
func (e LoggerValidationError) Cause() error
Cause function returns cause value.
func (LoggerValidationError) Error ¶
func (e LoggerValidationError) Error() string
Error satisfies the builtin error interface
func (LoggerValidationError) ErrorName ¶
func (e LoggerValidationError) ErrorName() string
ErrorName returns error name.
func (LoggerValidationError) Field ¶
func (e LoggerValidationError) Field() string
Field function returns field value.
func (LoggerValidationError) Key ¶
func (e LoggerValidationError) Key() bool
Key function returns key value.
func (LoggerValidationError) Reason ¶
func (e LoggerValidationError) Reason() string
Reason function returns reason value.
type Logger_Level ¶
type Logger_Level int32
const ( Logger_UNSPECIFIED Logger_Level = 0 Logger_DEBUG Logger_Level = 1 Logger_INFO Logger_Level = 2 Logger_WARN Logger_Level = 3 Logger_ERROR Logger_Level = 4 Logger_PANIC Logger_Level = 5 Logger_FATAL Logger_Level = 6 )
func (Logger_Level) Descriptor ¶
func (Logger_Level) Descriptor() protoreflect.EnumDescriptor
func (Logger_Level) Enum ¶
func (x Logger_Level) Enum() *Logger_Level
func (Logger_Level) EnumDescriptor
deprecated
func (Logger_Level) EnumDescriptor() ([]byte, []int)
Deprecated: Use Logger_Level.Descriptor instead.
func (Logger_Level) Number ¶
func (x Logger_Level) Number() protoreflect.EnumNumber
func (Logger_Level) String ¶
func (x Logger_Level) String() string
func (Logger_Level) Type ¶
func (Logger_Level) Type() protoreflect.EnumType
type Logger_Pretty ¶
type Logger_Pretty struct {
Pretty bool `protobuf:"varint,2,opt,name=pretty,proto3,oneof"`
}
type Middleware ¶
type Middleware struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` TypedConfig *anypb.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` // contains filtered or unexported fields }
func (*Middleware) Descriptor
deprecated
func (*Middleware) Descriptor() ([]byte, []int)
Deprecated: Use Middleware.ProtoReflect.Descriptor instead.
func (*Middleware) GetName ¶
func (x *Middleware) GetName() string
func (*Middleware) GetTypedConfig ¶
func (x *Middleware) GetTypedConfig() *anypb.Any
func (*Middleware) ProtoMessage ¶
func (*Middleware) ProtoMessage()
func (*Middleware) ProtoReflect ¶
func (x *Middleware) ProtoReflect() protoreflect.Message
func (*Middleware) Reset ¶
func (x *Middleware) Reset()
func (*Middleware) String ¶
func (x *Middleware) String() string
func (*Middleware) Validate ¶
func (m *Middleware) Validate() error
Validate checks the field values on Middleware 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 (*Middleware) ValidateAll ¶
func (m *Middleware) ValidateAll() error
ValidateAll checks the field values on Middleware 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 MiddlewareMultiError, or nil if none found.
type MiddlewareMultiError ¶
type MiddlewareMultiError []error
MiddlewareMultiError is an error wrapping multiple validation errors returned by Middleware.ValidateAll() if the designated constraints aren't met.
func (MiddlewareMultiError) AllErrors ¶
func (m MiddlewareMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MiddlewareMultiError) Error ¶
func (m MiddlewareMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MiddlewareValidationError ¶
type MiddlewareValidationError struct {
// contains filtered or unexported fields
}
MiddlewareValidationError is the validation error returned by Middleware.Validate if the designated constraints aren't met.
func (MiddlewareValidationError) Cause ¶
func (e MiddlewareValidationError) Cause() error
Cause function returns cause value.
func (MiddlewareValidationError) Error ¶
func (e MiddlewareValidationError) Error() string
Error satisfies the builtin error interface
func (MiddlewareValidationError) ErrorName ¶
func (e MiddlewareValidationError) ErrorName() string
ErrorName returns error name.
func (MiddlewareValidationError) Field ¶
func (e MiddlewareValidationError) Field() string
Field function returns field value.
func (MiddlewareValidationError) Key ¶
func (e MiddlewareValidationError) Key() bool
Key function returns key value.
func (MiddlewareValidationError) Reason ¶
func (e MiddlewareValidationError) Reason() string
Reason function returns reason value.
type Module ¶
type Module struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` TypedConfig *anypb.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` // contains filtered or unexported fields }
func (*Module) Descriptor
deprecated
func (*Module) GetTypedConfig ¶
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
func (*Module) Validate ¶
Validate checks the field values on Module 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 (*Module) ValidateAll ¶
ValidateAll checks the field values on Module 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 ModuleMultiError, or nil if none found.
type ModuleMultiError ¶
type ModuleMultiError []error
ModuleMultiError is an error wrapping multiple validation errors returned by Module.ValidateAll() if the designated constraints aren't met.
func (ModuleMultiError) AllErrors ¶
func (m ModuleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ModuleMultiError) Error ¶
func (m ModuleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ModuleValidationError ¶
type ModuleValidationError struct {
// contains filtered or unexported fields
}
ModuleValidationError is the validation error returned by Module.Validate if the designated constraints aren't met.
func (ModuleValidationError) Cause ¶
func (e ModuleValidationError) Cause() error
Cause function returns cause value.
func (ModuleValidationError) Error ¶
func (e ModuleValidationError) Error() string
Error satisfies the builtin error interface
func (ModuleValidationError) ErrorName ¶
func (e ModuleValidationError) ErrorName() string
ErrorName returns error name.
func (ModuleValidationError) Field ¶
func (e ModuleValidationError) Field() string
Field function returns field value.
func (ModuleValidationError) Key ¶
func (e ModuleValidationError) Key() bool
Key function returns key value.
func (ModuleValidationError) Reason ¶
func (e ModuleValidationError) Reason() string
Reason function returns reason value.
type Resolver ¶
type Resolver struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` TypedConfig *anypb.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` // contains filtered or unexported fields }
func (*Resolver) Descriptor
deprecated
func (*Resolver) GetTypedConfig ¶
func (*Resolver) ProtoMessage ¶
func (*Resolver) ProtoMessage()
func (*Resolver) ProtoReflect ¶
func (x *Resolver) ProtoReflect() protoreflect.Message
func (*Resolver) Validate ¶
Validate checks the field values on Resolver 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 (*Resolver) ValidateAll ¶
ValidateAll checks the field values on Resolver 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 ResolverMultiError, or nil if none found.
type ResolverMultiError ¶
type ResolverMultiError []error
ResolverMultiError is an error wrapping multiple validation errors returned by Resolver.ValidateAll() if the designated constraints aren't met.
func (ResolverMultiError) AllErrors ¶
func (m ResolverMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ResolverMultiError) Error ¶
func (m ResolverMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ResolverValidationError ¶
type ResolverValidationError struct {
// contains filtered or unexported fields
}
ResolverValidationError is the validation error returned by Resolver.Validate if the designated constraints aren't met.
func (ResolverValidationError) Cause ¶
func (e ResolverValidationError) Cause() error
Cause function returns cause value.
func (ResolverValidationError) Error ¶
func (e ResolverValidationError) Error() string
Error satisfies the builtin error interface
func (ResolverValidationError) ErrorName ¶
func (e ResolverValidationError) ErrorName() string
ErrorName returns error name.
func (ResolverValidationError) Field ¶
func (e ResolverValidationError) Field() string
Field function returns field value.
func (ResolverValidationError) Key ¶
func (e ResolverValidationError) Key() bool
Key function returns key value.
func (ResolverValidationError) Reason ¶
func (e ResolverValidationError) Reason() string
Reason function returns reason value.
type Service ¶
type Service struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` TypedConfig *anypb.Any `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetTypedConfig ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
func (*Service) Validate ¶
Validate checks the field values on Service 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 (*Service) ValidateAll ¶
ValidateAll checks the field values on Service 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 ServiceMultiError, or nil if none found.
type ServiceMultiError ¶
type ServiceMultiError []error
ServiceMultiError is an error wrapping multiple validation errors returned by Service.ValidateAll() if the designated constraints aren't met.
func (ServiceMultiError) AllErrors ¶
func (m ServiceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceMultiError) Error ¶
func (m ServiceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceValidationError ¶
type ServiceValidationError struct {
// contains filtered or unexported fields
}
ServiceValidationError is the validation error returned by Service.Validate if the designated constraints aren't met.
func (ServiceValidationError) Cause ¶
func (e ServiceValidationError) Cause() error
Cause function returns cause value.
func (ServiceValidationError) Error ¶
func (e ServiceValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceValidationError) ErrorName ¶
func (e ServiceValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceValidationError) Field ¶
func (e ServiceValidationError) Field() string
Field function returns field value.
func (ServiceValidationError) Key ¶
func (e ServiceValidationError) Key() bool
Key function returns key value.
func (ServiceValidationError) Reason ¶
func (e ServiceValidationError) Reason() string
Reason function returns reason value.
type Stats ¶
type Stats struct { // Counters, gauges and histograms (i.e. everything except timers) are buffered at the specified interval. FlushInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=flush_interval,json=flushInterval,proto3" json:"flush_interval,omitempty"` // The reporter to emit stats. If none specified, then stats will not be reported. // // Types that are assignable to Reporter: // // *Stats_LogReporter_ // *Stats_StatsdReporter_ // *Stats_PrometheusReporter_ Reporter isStats_Reporter `protobuf_oneof:"reporter"` // Collect go runtime stats, this is disabled by default. GoRuntimeStats *Stats_GoRuntimeStats `protobuf:"bytes,4,opt,name=go_runtime_stats,json=goRuntimeStats,proto3" json:"go_runtime_stats,omitempty"` // the prefix for the stats. If none specified, the default is "clutch" Prefix string `protobuf:"bytes,6,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*Stats) Descriptor
deprecated
func (*Stats) GetFlushInterval ¶
func (x *Stats) GetFlushInterval() *durationpb.Duration
func (*Stats) GetGoRuntimeStats ¶
func (x *Stats) GetGoRuntimeStats() *Stats_GoRuntimeStats
func (*Stats) GetLogReporter ¶
func (x *Stats) GetLogReporter() *Stats_LogReporter
func (*Stats) GetPrometheusReporter ¶
func (x *Stats) GetPrometheusReporter() *Stats_PrometheusReporter
func (*Stats) GetReporter ¶
func (m *Stats) GetReporter() isStats_Reporter
func (*Stats) GetStatsdReporter ¶
func (x *Stats) GetStatsdReporter() *Stats_StatsdReporter
func (*Stats) ProtoMessage ¶
func (*Stats) ProtoMessage()
func (*Stats) ProtoReflect ¶
func (x *Stats) ProtoReflect() protoreflect.Message
func (*Stats) Validate ¶
Validate checks the field values on Stats 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 (*Stats) ValidateAll ¶
ValidateAll checks the field values on Stats 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 StatsMultiError, or nil if none found.
type StatsMultiError ¶
type StatsMultiError []error
StatsMultiError is an error wrapping multiple validation errors returned by Stats.ValidateAll() if the designated constraints aren't met.
func (StatsMultiError) AllErrors ¶
func (m StatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StatsMultiError) Error ¶
func (m StatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StatsValidationError ¶
type StatsValidationError struct {
// contains filtered or unexported fields
}
StatsValidationError is the validation error returned by Stats.Validate if the designated constraints aren't met.
func (StatsValidationError) Cause ¶
func (e StatsValidationError) Cause() error
Cause function returns cause value.
func (StatsValidationError) Error ¶
func (e StatsValidationError) Error() string
Error satisfies the builtin error interface
func (StatsValidationError) ErrorName ¶
func (e StatsValidationError) ErrorName() string
ErrorName returns error name.
func (StatsValidationError) Field ¶
func (e StatsValidationError) Field() string
Field function returns field value.
func (StatsValidationError) Key ¶
func (e StatsValidationError) Key() bool
Key function returns key value.
func (StatsValidationError) Reason ¶
func (e StatsValidationError) Reason() string
Reason function returns reason value.
type Stats_GoRuntimeStats ¶
type Stats_GoRuntimeStats struct { // Collection interval defaults to 10 seconds CollectionInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=collection_interval,json=collectionInterval,proto3" json:"collection_interval,omitempty"` // contains filtered or unexported fields }
func (*Stats_GoRuntimeStats) Descriptor
deprecated
func (*Stats_GoRuntimeStats) Descriptor() ([]byte, []int)
Deprecated: Use Stats_GoRuntimeStats.ProtoReflect.Descriptor instead.
func (*Stats_GoRuntimeStats) GetCollectionInterval ¶
func (x *Stats_GoRuntimeStats) GetCollectionInterval() *durationpb.Duration
func (*Stats_GoRuntimeStats) ProtoMessage ¶
func (*Stats_GoRuntimeStats) ProtoMessage()
func (*Stats_GoRuntimeStats) ProtoReflect ¶
func (x *Stats_GoRuntimeStats) ProtoReflect() protoreflect.Message
func (*Stats_GoRuntimeStats) Reset ¶
func (x *Stats_GoRuntimeStats) Reset()
func (*Stats_GoRuntimeStats) String ¶
func (x *Stats_GoRuntimeStats) String() string
func (*Stats_GoRuntimeStats) Validate ¶
func (m *Stats_GoRuntimeStats) Validate() error
Validate checks the field values on Stats_GoRuntimeStats 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 (*Stats_GoRuntimeStats) ValidateAll ¶
func (m *Stats_GoRuntimeStats) ValidateAll() error
ValidateAll checks the field values on Stats_GoRuntimeStats 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 Stats_GoRuntimeStatsMultiError, or nil if none found.
type Stats_GoRuntimeStatsMultiError ¶
type Stats_GoRuntimeStatsMultiError []error
Stats_GoRuntimeStatsMultiError is an error wrapping multiple validation errors returned by Stats_GoRuntimeStats.ValidateAll() if the designated constraints aren't met.
func (Stats_GoRuntimeStatsMultiError) AllErrors ¶
func (m Stats_GoRuntimeStatsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Stats_GoRuntimeStatsMultiError) Error ¶
func (m Stats_GoRuntimeStatsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Stats_GoRuntimeStatsValidationError ¶
type Stats_GoRuntimeStatsValidationError struct {
// contains filtered or unexported fields
}
Stats_GoRuntimeStatsValidationError is the validation error returned by Stats_GoRuntimeStats.Validate if the designated constraints aren't met.
func (Stats_GoRuntimeStatsValidationError) Cause ¶
func (e Stats_GoRuntimeStatsValidationError) Cause() error
Cause function returns cause value.
func (Stats_GoRuntimeStatsValidationError) Error ¶
func (e Stats_GoRuntimeStatsValidationError) Error() string
Error satisfies the builtin error interface
func (Stats_GoRuntimeStatsValidationError) ErrorName ¶
func (e Stats_GoRuntimeStatsValidationError) ErrorName() string
ErrorName returns error name.
func (Stats_GoRuntimeStatsValidationError) Field ¶
func (e Stats_GoRuntimeStatsValidationError) Field() string
Field function returns field value.
func (Stats_GoRuntimeStatsValidationError) Key ¶
func (e Stats_GoRuntimeStatsValidationError) Key() bool
Key function returns key value.
func (Stats_GoRuntimeStatsValidationError) Reason ¶
func (e Stats_GoRuntimeStatsValidationError) Reason() string
Reason function returns reason value.
type Stats_LogReporter ¶
type Stats_LogReporter struct {
// contains filtered or unexported fields
}
func (*Stats_LogReporter) Descriptor
deprecated
func (*Stats_LogReporter) Descriptor() ([]byte, []int)
Deprecated: Use Stats_LogReporter.ProtoReflect.Descriptor instead.
func (*Stats_LogReporter) ProtoMessage ¶
func (*Stats_LogReporter) ProtoMessage()
func (*Stats_LogReporter) ProtoReflect ¶
func (x *Stats_LogReporter) ProtoReflect() protoreflect.Message
func (*Stats_LogReporter) Reset ¶
func (x *Stats_LogReporter) Reset()
func (*Stats_LogReporter) String ¶
func (x *Stats_LogReporter) String() string
func (*Stats_LogReporter) Validate ¶
func (m *Stats_LogReporter) Validate() error
Validate checks the field values on Stats_LogReporter 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 (*Stats_LogReporter) ValidateAll ¶
func (m *Stats_LogReporter) ValidateAll() error
ValidateAll checks the field values on Stats_LogReporter 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 Stats_LogReporterMultiError, or nil if none found.
type Stats_LogReporterMultiError ¶
type Stats_LogReporterMultiError []error
Stats_LogReporterMultiError is an error wrapping multiple validation errors returned by Stats_LogReporter.ValidateAll() if the designated constraints aren't met.
func (Stats_LogReporterMultiError) AllErrors ¶
func (m Stats_LogReporterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Stats_LogReporterMultiError) Error ¶
func (m Stats_LogReporterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Stats_LogReporterValidationError ¶
type Stats_LogReporterValidationError struct {
// contains filtered or unexported fields
}
Stats_LogReporterValidationError is the validation error returned by Stats_LogReporter.Validate if the designated constraints aren't met.
func (Stats_LogReporterValidationError) Cause ¶
func (e Stats_LogReporterValidationError) Cause() error
Cause function returns cause value.
func (Stats_LogReporterValidationError) Error ¶
func (e Stats_LogReporterValidationError) Error() string
Error satisfies the builtin error interface
func (Stats_LogReporterValidationError) ErrorName ¶
func (e Stats_LogReporterValidationError) ErrorName() string
ErrorName returns error name.
func (Stats_LogReporterValidationError) Field ¶
func (e Stats_LogReporterValidationError) Field() string
Field function returns field value.
func (Stats_LogReporterValidationError) Key ¶
func (e Stats_LogReporterValidationError) Key() bool
Key function returns key value.
func (Stats_LogReporterValidationError) Reason ¶
func (e Stats_LogReporterValidationError) Reason() string
Reason function returns reason value.
type Stats_LogReporter_ ¶
type Stats_LogReporter_ struct {
LogReporter *Stats_LogReporter `protobuf:"bytes,2,opt,name=log_reporter,json=logReporter,proto3,oneof"`
}
type Stats_PrometheusReporter ¶
type Stats_PrometheusReporter struct { HandlerPath string `protobuf:"bytes,1,opt,name=handler_path,json=handlerPath,proto3" json:"handler_path,omitempty"` // contains filtered or unexported fields }
func (*Stats_PrometheusReporter) Descriptor
deprecated
func (*Stats_PrometheusReporter) Descriptor() ([]byte, []int)
Deprecated: Use Stats_PrometheusReporter.ProtoReflect.Descriptor instead.
func (*Stats_PrometheusReporter) GetHandlerPath ¶
func (x *Stats_PrometheusReporter) GetHandlerPath() string
func (*Stats_PrometheusReporter) ProtoMessage ¶
func (*Stats_PrometheusReporter) ProtoMessage()
func (*Stats_PrometheusReporter) ProtoReflect ¶
func (x *Stats_PrometheusReporter) ProtoReflect() protoreflect.Message
func (*Stats_PrometheusReporter) Reset ¶
func (x *Stats_PrometheusReporter) Reset()
func (*Stats_PrometheusReporter) String ¶
func (x *Stats_PrometheusReporter) String() string
func (*Stats_PrometheusReporter) Validate ¶
func (m *Stats_PrometheusReporter) Validate() error
Validate checks the field values on Stats_PrometheusReporter 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 (*Stats_PrometheusReporter) ValidateAll ¶
func (m *Stats_PrometheusReporter) ValidateAll() error
ValidateAll checks the field values on Stats_PrometheusReporter 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 Stats_PrometheusReporterMultiError, or nil if none found.
type Stats_PrometheusReporterMultiError ¶
type Stats_PrometheusReporterMultiError []error
Stats_PrometheusReporterMultiError is an error wrapping multiple validation errors returned by Stats_PrometheusReporter.ValidateAll() if the designated constraints aren't met.
func (Stats_PrometheusReporterMultiError) AllErrors ¶
func (m Stats_PrometheusReporterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Stats_PrometheusReporterMultiError) Error ¶
func (m Stats_PrometheusReporterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Stats_PrometheusReporterValidationError ¶
type Stats_PrometheusReporterValidationError struct {
// contains filtered or unexported fields
}
Stats_PrometheusReporterValidationError is the validation error returned by Stats_PrometheusReporter.Validate if the designated constraints aren't met.
func (Stats_PrometheusReporterValidationError) Cause ¶
func (e Stats_PrometheusReporterValidationError) Cause() error
Cause function returns cause value.
func (Stats_PrometheusReporterValidationError) Error ¶
func (e Stats_PrometheusReporterValidationError) Error() string
Error satisfies the builtin error interface
func (Stats_PrometheusReporterValidationError) ErrorName ¶
func (e Stats_PrometheusReporterValidationError) ErrorName() string
ErrorName returns error name.
func (Stats_PrometheusReporterValidationError) Field ¶
func (e Stats_PrometheusReporterValidationError) Field() string
Field function returns field value.
func (Stats_PrometheusReporterValidationError) Key ¶
func (e Stats_PrometheusReporterValidationError) Key() bool
Key function returns key value.
func (Stats_PrometheusReporterValidationError) Reason ¶
func (e Stats_PrometheusReporterValidationError) Reason() string
Reason function returns reason value.
type Stats_PrometheusReporter_ ¶
type Stats_PrometheusReporter_ struct {
PrometheusReporter *Stats_PrometheusReporter `protobuf:"bytes,5,opt,name=prometheus_reporter,json=prometheusReporter,proto3,oneof"`
}
type Stats_StatsdReporter ¶
type Stats_StatsdReporter struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Types that are assignable to TagMode: // // *Stats_StatsdReporter_PointTags_ TagMode isStats_StatsdReporter_TagMode `protobuf_oneof:"tag_mode"` // contains filtered or unexported fields }
func (*Stats_StatsdReporter) Descriptor
deprecated
func (*Stats_StatsdReporter) Descriptor() ([]byte, []int)
Deprecated: Use Stats_StatsdReporter.ProtoReflect.Descriptor instead.
func (*Stats_StatsdReporter) GetAddress ¶
func (x *Stats_StatsdReporter) GetAddress() string
func (*Stats_StatsdReporter) GetPointTags ¶
func (x *Stats_StatsdReporter) GetPointTags() *Stats_StatsdReporter_PointTags
func (*Stats_StatsdReporter) GetTagMode ¶
func (m *Stats_StatsdReporter) GetTagMode() isStats_StatsdReporter_TagMode
func (*Stats_StatsdReporter) ProtoMessage ¶
func (*Stats_StatsdReporter) ProtoMessage()
func (*Stats_StatsdReporter) ProtoReflect ¶
func (x *Stats_StatsdReporter) ProtoReflect() protoreflect.Message
func (*Stats_StatsdReporter) Reset ¶
func (x *Stats_StatsdReporter) Reset()
func (*Stats_StatsdReporter) String ¶
func (x *Stats_StatsdReporter) String() string
func (*Stats_StatsdReporter) Validate ¶
func (m *Stats_StatsdReporter) Validate() error
Validate checks the field values on Stats_StatsdReporter 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 (*Stats_StatsdReporter) ValidateAll ¶
func (m *Stats_StatsdReporter) ValidateAll() error
ValidateAll checks the field values on Stats_StatsdReporter 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 Stats_StatsdReporterMultiError, or nil if none found.
type Stats_StatsdReporterMultiError ¶
type Stats_StatsdReporterMultiError []error
Stats_StatsdReporterMultiError is an error wrapping multiple validation errors returned by Stats_StatsdReporter.ValidateAll() if the designated constraints aren't met.
func (Stats_StatsdReporterMultiError) AllErrors ¶
func (m Stats_StatsdReporterMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Stats_StatsdReporterMultiError) Error ¶
func (m Stats_StatsdReporterMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Stats_StatsdReporterValidationError ¶
type Stats_StatsdReporterValidationError struct {
// contains filtered or unexported fields
}
Stats_StatsdReporterValidationError is the validation error returned by Stats_StatsdReporter.Validate if the designated constraints aren't met.
func (Stats_StatsdReporterValidationError) Cause ¶
func (e Stats_StatsdReporterValidationError) Cause() error
Cause function returns cause value.
func (Stats_StatsdReporterValidationError) Error ¶
func (e Stats_StatsdReporterValidationError) Error() string
Error satisfies the builtin error interface
func (Stats_StatsdReporterValidationError) ErrorName ¶
func (e Stats_StatsdReporterValidationError) ErrorName() string
ErrorName returns error name.
func (Stats_StatsdReporterValidationError) Field ¶
func (e Stats_StatsdReporterValidationError) Field() string
Field function returns field value.
func (Stats_StatsdReporterValidationError) Key ¶
func (e Stats_StatsdReporterValidationError) Key() bool
Key function returns key value.
func (Stats_StatsdReporterValidationError) Reason ¶
func (e Stats_StatsdReporterValidationError) Reason() string
Reason function returns reason value.
type Stats_StatsdReporter_ ¶
type Stats_StatsdReporter_ struct {
StatsdReporter *Stats_StatsdReporter `protobuf:"bytes,3,opt,name=statsd_reporter,json=statsdReporter,proto3,oneof"`
}
type Stats_StatsdReporter_PointTags ¶
type Stats_StatsdReporter_PointTags struct { Separator string `protobuf:"bytes,1,opt,name=separator,proto3" json:"separator,omitempty"` // contains filtered or unexported fields }
func (*Stats_StatsdReporter_PointTags) Descriptor
deprecated
func (*Stats_StatsdReporter_PointTags) Descriptor() ([]byte, []int)
Deprecated: Use Stats_StatsdReporter_PointTags.ProtoReflect.Descriptor instead.
func (*Stats_StatsdReporter_PointTags) GetSeparator ¶
func (x *Stats_StatsdReporter_PointTags) GetSeparator() string
func (*Stats_StatsdReporter_PointTags) ProtoMessage ¶
func (*Stats_StatsdReporter_PointTags) ProtoMessage()
func (*Stats_StatsdReporter_PointTags) ProtoReflect ¶
func (x *Stats_StatsdReporter_PointTags) ProtoReflect() protoreflect.Message
func (*Stats_StatsdReporter_PointTags) Reset ¶
func (x *Stats_StatsdReporter_PointTags) Reset()
func (*Stats_StatsdReporter_PointTags) String ¶
func (x *Stats_StatsdReporter_PointTags) String() string
func (*Stats_StatsdReporter_PointTags) Validate ¶
func (m *Stats_StatsdReporter_PointTags) Validate() error
Validate checks the field values on Stats_StatsdReporter_PointTags 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 (*Stats_StatsdReporter_PointTags) ValidateAll ¶
func (m *Stats_StatsdReporter_PointTags) ValidateAll() error
ValidateAll checks the field values on Stats_StatsdReporter_PointTags 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 Stats_StatsdReporter_PointTagsMultiError, or nil if none found.
type Stats_StatsdReporter_PointTagsMultiError ¶
type Stats_StatsdReporter_PointTagsMultiError []error
Stats_StatsdReporter_PointTagsMultiError is an error wrapping multiple validation errors returned by Stats_StatsdReporter_PointTags.ValidateAll() if the designated constraints aren't met.
func (Stats_StatsdReporter_PointTagsMultiError) AllErrors ¶
func (m Stats_StatsdReporter_PointTagsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Stats_StatsdReporter_PointTagsMultiError) Error ¶
func (m Stats_StatsdReporter_PointTagsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Stats_StatsdReporter_PointTagsValidationError ¶
type Stats_StatsdReporter_PointTagsValidationError struct {
// contains filtered or unexported fields
}
Stats_StatsdReporter_PointTagsValidationError is the validation error returned by Stats_StatsdReporter_PointTags.Validate if the designated constraints aren't met.
func (Stats_StatsdReporter_PointTagsValidationError) Cause ¶
func (e Stats_StatsdReporter_PointTagsValidationError) Cause() error
Cause function returns cause value.
func (Stats_StatsdReporter_PointTagsValidationError) Error ¶
func (e Stats_StatsdReporter_PointTagsValidationError) Error() string
Error satisfies the builtin error interface
func (Stats_StatsdReporter_PointTagsValidationError) ErrorName ¶
func (e Stats_StatsdReporter_PointTagsValidationError) ErrorName() string
ErrorName returns error name.
func (Stats_StatsdReporter_PointTagsValidationError) Field ¶
func (e Stats_StatsdReporter_PointTagsValidationError) Field() string
Field function returns field value.
func (Stats_StatsdReporter_PointTagsValidationError) Key ¶
func (e Stats_StatsdReporter_PointTagsValidationError) Key() bool
Key function returns key value.
func (Stats_StatsdReporter_PointTagsValidationError) Reason ¶
func (e Stats_StatsdReporter_PointTagsValidationError) Reason() string
Reason function returns reason value.
type Stats_StatsdReporter_PointTags_ ¶
type Stats_StatsdReporter_PointTags_ struct {
PointTags *Stats_StatsdReporter_PointTags `protobuf:"bytes,2,opt,name=point_tags,json=pointTags,proto3,oneof"`
}
type TCPSocket ¶
type TCPSocket struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` Secure bool `protobuf:"varint,3,opt,name=secure,proto3" json:"secure,omitempty"` // contains filtered or unexported fields }
func (*TCPSocket) Descriptor
deprecated
func (*TCPSocket) GetAddress ¶
func (*TCPSocket) ProtoMessage ¶
func (*TCPSocket) ProtoMessage()
func (*TCPSocket) ProtoReflect ¶
func (x *TCPSocket) ProtoReflect() protoreflect.Message
func (*TCPSocket) Validate ¶
Validate checks the field values on TCPSocket 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 (*TCPSocket) ValidateAll ¶
ValidateAll checks the field values on TCPSocket 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 TCPSocketMultiError, or nil if none found.
type TCPSocketMultiError ¶
type TCPSocketMultiError []error
TCPSocketMultiError is an error wrapping multiple validation errors returned by TCPSocket.ValidateAll() if the designated constraints aren't met.
func (TCPSocketMultiError) AllErrors ¶
func (m TCPSocketMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TCPSocketMultiError) Error ¶
func (m TCPSocketMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TCPSocketValidationError ¶
type TCPSocketValidationError struct {
// contains filtered or unexported fields
}
TCPSocketValidationError is the validation error returned by TCPSocket.Validate if the designated constraints aren't met.
func (TCPSocketValidationError) Cause ¶
func (e TCPSocketValidationError) Cause() error
Cause function returns cause value.
func (TCPSocketValidationError) Error ¶
func (e TCPSocketValidationError) Error() string
Error satisfies the builtin error interface
func (TCPSocketValidationError) ErrorName ¶
func (e TCPSocketValidationError) ErrorName() string
ErrorName returns error name.
func (TCPSocketValidationError) Field ¶
func (e TCPSocketValidationError) Field() string
Field function returns field value.
func (TCPSocketValidationError) Key ¶
func (e TCPSocketValidationError) Key() bool
Key function returns key value.
func (TCPSocketValidationError) Reason ¶
func (e TCPSocketValidationError) Reason() string
Reason function returns reason value.
type Timeouts ¶
type Timeouts struct { // Default timeout to apply to all requests. Default *durationpb.Duration `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"` Overrides []*Timeouts_Entry `protobuf:"bytes,2,rep,name=overrides,proto3" json:"overrides,omitempty"` // contains filtered or unexported fields }
func (*Timeouts) Descriptor
deprecated
func (*Timeouts) GetDefault ¶
func (x *Timeouts) GetDefault() *durationpb.Duration
func (*Timeouts) GetOverrides ¶
func (x *Timeouts) GetOverrides() []*Timeouts_Entry
func (*Timeouts) ProtoMessage ¶
func (*Timeouts) ProtoMessage()
func (*Timeouts) ProtoReflect ¶
func (x *Timeouts) ProtoReflect() protoreflect.Message
func (*Timeouts) Validate ¶
Validate checks the field values on Timeouts 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 (*Timeouts) ValidateAll ¶
ValidateAll checks the field values on Timeouts 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 TimeoutsMultiError, or nil if none found.
type TimeoutsMultiError ¶
type TimeoutsMultiError []error
TimeoutsMultiError is an error wrapping multiple validation errors returned by Timeouts.ValidateAll() if the designated constraints aren't met.
func (TimeoutsMultiError) AllErrors ¶
func (m TimeoutsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimeoutsMultiError) Error ¶
func (m TimeoutsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimeoutsValidationError ¶
type TimeoutsValidationError struct {
// contains filtered or unexported fields
}
TimeoutsValidationError is the validation error returned by Timeouts.Validate if the designated constraints aren't met.
func (TimeoutsValidationError) Cause ¶
func (e TimeoutsValidationError) Cause() error
Cause function returns cause value.
func (TimeoutsValidationError) Error ¶
func (e TimeoutsValidationError) Error() string
Error satisfies the builtin error interface
func (TimeoutsValidationError) ErrorName ¶
func (e TimeoutsValidationError) ErrorName() string
ErrorName returns error name.
func (TimeoutsValidationError) Field ¶
func (e TimeoutsValidationError) Field() string
Field function returns field value.
func (TimeoutsValidationError) Key ¶
func (e TimeoutsValidationError) Key() bool
Key function returns key value.
func (TimeoutsValidationError) Reason ¶
func (e TimeoutsValidationError) Reason() string
Reason function returns reason value.
type Timeouts_Entry ¶
type Timeouts_Entry struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*Timeouts_Entry) Descriptor
deprecated
func (*Timeouts_Entry) Descriptor() ([]byte, []int)
Deprecated: Use Timeouts_Entry.ProtoReflect.Descriptor instead.
func (*Timeouts_Entry) GetMethod ¶
func (x *Timeouts_Entry) GetMethod() string
func (*Timeouts_Entry) GetService ¶
func (x *Timeouts_Entry) GetService() string
func (*Timeouts_Entry) GetTimeout ¶
func (x *Timeouts_Entry) GetTimeout() *durationpb.Duration
func (*Timeouts_Entry) ProtoMessage ¶
func (*Timeouts_Entry) ProtoMessage()
func (*Timeouts_Entry) ProtoReflect ¶
func (x *Timeouts_Entry) ProtoReflect() protoreflect.Message
func (*Timeouts_Entry) Reset ¶
func (x *Timeouts_Entry) Reset()
func (*Timeouts_Entry) String ¶
func (x *Timeouts_Entry) String() string
func (*Timeouts_Entry) Validate ¶
func (m *Timeouts_Entry) Validate() error
Validate checks the field values on Timeouts_Entry 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 (*Timeouts_Entry) ValidateAll ¶
func (m *Timeouts_Entry) ValidateAll() error
ValidateAll checks the field values on Timeouts_Entry 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 Timeouts_EntryMultiError, or nil if none found.
type Timeouts_EntryMultiError ¶
type Timeouts_EntryMultiError []error
Timeouts_EntryMultiError is an error wrapping multiple validation errors returned by Timeouts_Entry.ValidateAll() if the designated constraints aren't met.
func (Timeouts_EntryMultiError) AllErrors ¶
func (m Timeouts_EntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Timeouts_EntryMultiError) Error ¶
func (m Timeouts_EntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Timeouts_EntryValidationError ¶
type Timeouts_EntryValidationError struct {
// contains filtered or unexported fields
}
Timeouts_EntryValidationError is the validation error returned by Timeouts_Entry.Validate if the designated constraints aren't met.
func (Timeouts_EntryValidationError) Cause ¶
func (e Timeouts_EntryValidationError) Cause() error
Cause function returns cause value.
func (Timeouts_EntryValidationError) Error ¶
func (e Timeouts_EntryValidationError) Error() string
Error satisfies the builtin error interface
func (Timeouts_EntryValidationError) ErrorName ¶
func (e Timeouts_EntryValidationError) ErrorName() string
ErrorName returns error name.
func (Timeouts_EntryValidationError) Field ¶
func (e Timeouts_EntryValidationError) Field() string
Field function returns field value.
func (Timeouts_EntryValidationError) Key ¶
func (e Timeouts_EntryValidationError) Key() bool
Key function returns key value.
func (Timeouts_EntryValidationError) Reason ¶
func (e Timeouts_EntryValidationError) Reason() string
Reason function returns reason value.