package v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/grpc_credential/v2alpha"

Index

Variables

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

Types

type AwsIamConfig

type AwsIamConfig struct {
	// The `service namespace
	// <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#genref-aws-service-namespaces>`_
	// of the Grpc endpoint.
	//
	// Example: appmesh
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	// The `region <https://docs.aws.amazon.com/general/latest/gr/rande.html>`_ hosting the Grpc
	// endpoint. If unspecified, the extension will use the value in the ``AWS_REGION`` environment
	// variable.
	//
	// Example: us-west-2
	Region               string   `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AwsIamConfig) Descriptor

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

func (*AwsIamConfig) GetRegion

func (m *AwsIamConfig) GetRegion() string

func (*AwsIamConfig) GetServiceName

func (m *AwsIamConfig) GetServiceName() string

func (*AwsIamConfig) Marshal

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

func (*AwsIamConfig) MarshalTo

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

func (*AwsIamConfig) ProtoMessage

func (*AwsIamConfig) ProtoMessage()

func (*AwsIamConfig) Reset

func (m *AwsIamConfig) Reset()

func (*AwsIamConfig) Size

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

func (*AwsIamConfig) String

func (m *AwsIamConfig) String() string

func (*AwsIamConfig) Unmarshal

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

func (*AwsIamConfig) Validate

func (m *AwsIamConfig) Validate() error

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

func (*AwsIamConfig) XXX_DiscardUnknown

func (m *AwsIamConfig) XXX_DiscardUnknown()

func (*AwsIamConfig) XXX_Marshal

func (m *AwsIamConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AwsIamConfig) XXX_Merge

func (m *AwsIamConfig) XXX_Merge(src proto.Message)

func (*AwsIamConfig) XXX_Size

func (m *AwsIamConfig) XXX_Size() int

func (*AwsIamConfig) XXX_Unmarshal

func (m *AwsIamConfig) XXX_Unmarshal(b []byte) error

type AwsIamConfigValidationError

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

AwsIamConfigValidationError is the validation error returned by AwsIamConfig.Validate if the designated constraints aren't met.

func (AwsIamConfigValidationError) Cause

Cause function returns cause value.

func (AwsIamConfigValidationError) Error

Error satisfies the builtin error interface

func (AwsIamConfigValidationError) ErrorName

func (e AwsIamConfigValidationError) ErrorName() string

ErrorName returns error name.

func (AwsIamConfigValidationError) Field

Field function returns field value.

func (AwsIamConfigValidationError) Key

Key function returns key value.

func (AwsIamConfigValidationError) Reason

Reason function returns reason value.

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 *core.DataSource `protobuf:"bytes,1,opt,name=secret_data,json=secretData,proto3" 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 (m *FileBasedMetadataConfig) GetSecretData() *core.DataSource

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.

func (*FileBasedMetadataConfig) XXX_DiscardUnknown

func (m *FileBasedMetadataConfig) XXX_DiscardUnknown()

func (*FileBasedMetadataConfig) XXX_Marshal

func (m *FileBasedMetadataConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FileBasedMetadataConfig) XXX_Merge

func (m *FileBasedMetadataConfig) XXX_Merge(src proto.Message)

func (*FileBasedMetadataConfig) XXX_Size

func (m *FileBasedMetadataConfig) XXX_Size() int

func (*FileBasedMetadataConfig) XXX_Unmarshal

func (m *FileBasedMetadataConfig) XXX_Unmarshal(b []byte) error

type FileBasedMetadataConfigValidationError

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

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

func (FileBasedMetadataConfigValidationError) Cause

Cause function returns cause value.

func (FileBasedMetadataConfigValidationError) Error

Error satisfies the builtin error interface

func (FileBasedMetadataConfigValidationError) ErrorName

ErrorName returns error name.

func (FileBasedMetadataConfigValidationError) Field

Field function returns field value.

func (FileBasedMetadataConfigValidationError) Key

Key function returns key value.

func (FileBasedMetadataConfigValidationError) Reason

Reason function returns reason value.

Source Files

aws_iam.pb.go aws_iam.pb.validate.go file_based_metadata.pb.go file_based_metadata.pb.validate.go

Version
v0.8.6
Published
Aug 13, 2019
Platform
darwin/amd64
Imports
16 packages
Last checked
32 minutes ago

Tools for package owners.