gatewayv1

package
v0.0.0-...-e01fbee Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Assets.ProtoReflect.Descriptor instead.

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) Reset

func (x *Assets) Reset()

func (*Assets) String

func (x *Assets) String() string

func (*Assets) Validate

func (m *Assets) Validate() error

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

func (m *Assets) ValidateAll() error

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

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

Cause function returns cause value.

func (Assets_S3ProviderValidationError) Error

Error satisfies the builtin error interface

func (Assets_S3ProviderValidationError) ErrorName

ErrorName returns error name.

func (Assets_S3ProviderValidationError) Field

Field function returns field value.

func (Assets_S3ProviderValidationError) Key

Key function returns key value.

func (Assets_S3ProviderValidationError) Reason

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 clutch 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) Descriptor() ([]byte, []int)

Deprecated: Use Config.ProtoReflect.Descriptor instead.

func (*Config) GetExtends

func (x *Config) GetExtends() []string

func (*Config) GetGateway

func (x *Config) GetGateway() *GatewayOptions

func (*Config) GetModules

func (x *Config) GetModules() []*Module

func (*Config) GetResolvers

func (x *Config) GetResolvers() []*Resolver

func (*Config) GetServices

func (x *Config) GetServices() []*Service

func (*Config) ProtoMessage

func (*Config) ProtoMessage()

func (*Config) ProtoReflect

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

func (*Config) Reset

func (x *Config) Reset()

func (*Config) String

func (x *Config) String() string

func (*Config) Validate

func (m *Config) Validate() error

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

func (m *Config) ValidateAll() error

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

Cause function returns cause value.

func (GatewayOptionsValidationError) Error

Error satisfies the builtin error interface

func (GatewayOptionsValidationError) ErrorName

func (e GatewayOptionsValidationError) ErrorName() string

ErrorName returns error name.

func (GatewayOptionsValidationError) Field

Field function returns field value.

func (GatewayOptionsValidationError) Key

Key function returns key value.

func (GatewayOptionsValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Listener.ProtoReflect.Descriptor instead.

func (*Listener) GetSocket

func (m *Listener) GetSocket() isListener_Socket

func (*Listener) GetTcp

func (x *Listener) GetTcp() *TCPSocket

func (*Listener) ProtoMessage

func (*Listener) ProtoMessage()

func (*Listener) ProtoReflect

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

func (*Listener) Reset

func (x *Listener) Reset()

func (*Listener) String

func (x *Listener) String() string

func (*Listener) Validate

func (m *Listener) Validate() error

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

func (m *Listener) ValidateAll() error

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=clutch.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) Descriptor() ([]byte, []int)

Deprecated: Use Logger.ProtoReflect.Descriptor instead.

func (*Logger) GetFormat

func (m *Logger) GetFormat() isLogger_Format

func (*Logger) GetLevel

func (x *Logger) GetLevel() Logger_Level

func (*Logger) GetNamespace

func (x *Logger) GetNamespace() string

func (*Logger) GetPretty

func (x *Logger) GetPretty() bool

func (*Logger) ProtoMessage

func (*Logger) ProtoMessage()

func (*Logger) ProtoReflect

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

func (*Logger) Reset

func (x *Logger) Reset()

func (*Logger) String

func (x *Logger) String() string

func (*Logger) Validate

func (m *Logger) Validate() error

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

func (m *Logger) ValidateAll() error

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) 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 (Logger_Level) String

func (x Logger_Level) String() string

func (Logger_Level) Type

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

Error satisfies the builtin error interface

func (MiddlewareValidationError) ErrorName

func (e MiddlewareValidationError) ErrorName() string

ErrorName returns error name.

func (MiddlewareValidationError) Field

Field function returns field value.

func (MiddlewareValidationError) Key

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) Descriptor() ([]byte, []int)

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetName

func (x *Module) GetName() string

func (*Module) GetTypedConfig

func (x *Module) GetTypedConfig() *anypb.Any

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

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

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

func (*Module) Validate

func (m *Module) Validate() error

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

func (m *Module) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Resolver.ProtoReflect.Descriptor instead.

func (*Resolver) GetName

func (x *Resolver) GetName() string

func (*Resolver) GetTypedConfig

func (x *Resolver) GetTypedConfig() *anypb.Any

func (*Resolver) ProtoMessage

func (*Resolver) ProtoMessage()

func (*Resolver) ProtoReflect

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

func (*Resolver) Reset

func (x *Resolver) Reset()

func (*Resolver) String

func (x *Resolver) String() string

func (*Resolver) Validate

func (m *Resolver) Validate() error

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

func (m *Resolver) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetTypedConfig

func (x *Service) GetTypedConfig() *anypb.Any

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

func (*Service) Validate

func (m *Service) Validate() error

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

func (m *Service) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use Stats.ProtoReflect.Descriptor instead.

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) GetPrefix

func (x *Stats) GetPrefix() string

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) Reset

func (x *Stats) Reset()

func (*Stats) String

func (x *Stats) String() string

func (*Stats) Validate

func (m *Stats) Validate() error

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

func (m *Stats) ValidateAll() error

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

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

Cause function returns cause value.

func (Stats_GoRuntimeStatsValidationError) Error

Error satisfies the builtin error interface

func (Stats_GoRuntimeStatsValidationError) ErrorName

ErrorName returns error name.

func (Stats_GoRuntimeStatsValidationError) Field

Field function returns field value.

func (Stats_GoRuntimeStatsValidationError) Key

Key function returns key value.

func (Stats_GoRuntimeStatsValidationError) Reason

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

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

Cause function returns cause value.

func (Stats_LogReporterValidationError) Error

Error satisfies the builtin error interface

func (Stats_LogReporterValidationError) ErrorName

ErrorName returns error name.

func (Stats_LogReporterValidationError) Field

Field function returns field value.

func (Stats_LogReporterValidationError) Key

Key function returns key value.

func (Stats_LogReporterValidationError) Reason

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

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

Cause function returns cause value.

func (Stats_PrometheusReporterValidationError) Error

Error satisfies the builtin error interface

func (Stats_PrometheusReporterValidationError) ErrorName

ErrorName returns error name.

func (Stats_PrometheusReporterValidationError) Field

Field function returns field value.

func (Stats_PrometheusReporterValidationError) Key

Key function returns key value.

func (Stats_PrometheusReporterValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (Stats_StatsdReporterValidationError) Error

Error satisfies the builtin error interface

func (Stats_StatsdReporterValidationError) ErrorName

ErrorName returns error name.

func (Stats_StatsdReporterValidationError) Field

Field function returns field value.

func (Stats_StatsdReporterValidationError) Key

Key function returns key value.

func (Stats_StatsdReporterValidationError) Reason

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 (*Stats_StatsdReporter_PointTags) Reset

func (x *Stats_StatsdReporter_PointTags) Reset()

func (*Stats_StatsdReporter_PointTags) 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

AllErrors returns a list of validation violation errors.

func (Stats_StatsdReporter_PointTagsMultiError) Error

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

Cause function returns cause value.

func (Stats_StatsdReporter_PointTagsValidationError) Error

Error satisfies the builtin error interface

func (Stats_StatsdReporter_PointTagsValidationError) ErrorName

ErrorName returns error name.

func (Stats_StatsdReporter_PointTagsValidationError) Field

Field function returns field value.

func (Stats_StatsdReporter_PointTagsValidationError) Key

Key function returns key value.

func (Stats_StatsdReporter_PointTagsValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use TCPSocket.ProtoReflect.Descriptor instead.

func (*TCPSocket) GetAddress

func (x *TCPSocket) GetAddress() string

func (*TCPSocket) GetPort

func (x *TCPSocket) GetPort() uint32

func (*TCPSocket) GetSecure

func (x *TCPSocket) GetSecure() bool

func (*TCPSocket) ProtoMessage

func (*TCPSocket) ProtoMessage()

func (*TCPSocket) ProtoReflect

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

func (*TCPSocket) Reset

func (x *TCPSocket) Reset()

func (*TCPSocket) String

func (x *TCPSocket) String() string

func (*TCPSocket) Validate

func (m *TCPSocket) Validate() error

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

func (m *TCPSocket) ValidateAll() error

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

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) Descriptor() ([]byte, []int)

Deprecated: Use Timeouts.ProtoReflect.Descriptor instead.

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) Reset

func (x *Timeouts) Reset()

func (*Timeouts) String

func (x *Timeouts) String() string

func (*Timeouts) Validate

func (m *Timeouts) Validate() error

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

func (m *Timeouts) ValidateAll() error

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

Cause function returns cause value.

func (Timeouts_EntryValidationError) Error

Error satisfies the builtin error interface

func (Timeouts_EntryValidationError) ErrorName

func (e Timeouts_EntryValidationError) ErrorName() string

ErrorName returns error name.

func (Timeouts_EntryValidationError) Field

Field function returns field value.

func (Timeouts_EntryValidationError) Key

Key function returns key value.

func (Timeouts_EntryValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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