package envoy_extensions_matching_common_inputs_environment_variable_v3
import "github.com/envoyproxy/go-control-plane/envoy/extensions/matching/common_inputs/environment_variable/v3"
Index ¶
- Variables
- type Config
- func (*Config) Descriptor() ([]byte, []int)
- func (x *Config) GetName() string
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- func (m *Config) Validate() error
- type ConfigValidationError
Variables ¶
var File_envoy_extensions_matching_common_inputs_environment_variable_v3_input_proto protoreflect.FileDescriptor
Types ¶
type Config ¶
type Config struct { // Name of the environment variable to read from. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Reads an environment variable to provide an input for matching.
func (*Config) Descriptor ¶
Deprecated: Use Config.ProtoReflect.Descriptor instead.
func (*Config) GetName ¶
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 (*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, an error is returned.
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.
Source Files ¶
input.pb.go input.pb.validate.go
- Version
- v0.9.9
- Published
- May 21, 2021
- Platform
- windows/amd64
- Imports
- 18 packages
- Last checked
- 48 minutes ago –
Tools for package owners.