v2alpha

package
v0.0.0-...-113c6ea Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package v2alpha is a generated protocol buffer package.

It is generated from these files:

envoy/config/grpc_credential/v2alpha/file_based_metadata.proto

It has these top-level messages:

FileBasedMetadataConfig

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthFileBasedMetadata = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowFileBasedMetadata   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type FileBasedMetadataConfig

type FileBasedMetadataConfig struct {
	// Location or inline data of secret to use for authentication of the Google gRPC connection
	// this secret will be attached to a header of the gRPC connection
	SecretData *envoy_api_v2_core.DataSource `protobuf:"bytes,1,opt,name=secret_data,json=secretData" json:"secret_data,omitempty"`
	// Metadata header key to use for sending the secret data
	// if no header key is set, "authorization" header will be used
	HeaderKey string `protobuf:"bytes,2,opt,name=header_key,json=headerKey,proto3" json:"header_key,omitempty"`
	// Prefix to prepend to the secret in the metadata header
	// if no prefix is set, the default is to use no prefix
	HeaderPrefix string `protobuf:"bytes,3,opt,name=header_prefix,json=headerPrefix,proto3" json:"header_prefix,omitempty"`
}

func (*FileBasedMetadataConfig) Descriptor

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

func (*FileBasedMetadataConfig) GetHeaderKey

func (m *FileBasedMetadataConfig) GetHeaderKey() string

func (*FileBasedMetadataConfig) GetHeaderPrefix

func (m *FileBasedMetadataConfig) GetHeaderPrefix() string

func (*FileBasedMetadataConfig) GetSecretData

func (*FileBasedMetadataConfig) Marshal

func (m *FileBasedMetadataConfig) Marshal() (dAtA []byte, err error)

func (*FileBasedMetadataConfig) MarshalTo

func (m *FileBasedMetadataConfig) MarshalTo(dAtA []byte) (int, error)

func (*FileBasedMetadataConfig) ProtoMessage

func (*FileBasedMetadataConfig) ProtoMessage()

func (*FileBasedMetadataConfig) Reset

func (m *FileBasedMetadataConfig) Reset()

func (*FileBasedMetadataConfig) Size

func (m *FileBasedMetadataConfig) Size() (n int)

func (*FileBasedMetadataConfig) String

func (m *FileBasedMetadataConfig) String() string

func (*FileBasedMetadataConfig) Unmarshal

func (m *FileBasedMetadataConfig) Unmarshal(dAtA []byte) error

func (*FileBasedMetadataConfig) Validate

func (m *FileBasedMetadataConfig) Validate() error

Validate checks the field values on FileBasedMetadataConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FileBasedMetadataConfigValidationError

type FileBasedMetadataConfigValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

FileBasedMetadataConfigValidationError is the validation error returned by FileBasedMetadataConfig.Validate if the designated constraints aren't met.

func (FileBasedMetadataConfigValidationError) Error

Error satisfies the builtin error interface

Jump to

Keyboard shortcuts

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