aws

package
v1.6.0-beta13 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSLambdaConfig added in v0.19.2

type AWSLambdaConfig struct {
	// Types that are valid to be assigned to CredentialsFetcher:
	//	*AWSLambdaConfig_UseDefaultCredentials
	//	*AWSLambdaConfig_ServiceAccountCredentials_
	CredentialsFetcher   isAWSLambdaConfig_CredentialsFetcher `protobuf_oneof:"credentials_fetcher"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

func (*AWSLambdaConfig) Descriptor added in v0.19.2

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

func (*AWSLambdaConfig) Equal added in v1.5.0

func (this *AWSLambdaConfig) Equal(that interface{}) bool

func (*AWSLambdaConfig) GetCredentialsFetcher added in v1.5.0

func (m *AWSLambdaConfig) GetCredentialsFetcher() isAWSLambdaConfig_CredentialsFetcher

func (*AWSLambdaConfig) GetServiceAccountCredentials added in v1.5.0

func (m *AWSLambdaConfig) GetServiceAccountCredentials() *AWSLambdaConfig_ServiceAccountCredentials

func (*AWSLambdaConfig) GetUseDefaultCredentials added in v0.19.2

func (m *AWSLambdaConfig) GetUseDefaultCredentials() *types.BoolValue

func (*AWSLambdaConfig) Hash added in v1.2.13

func (m *AWSLambdaConfig) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*AWSLambdaConfig) ProtoMessage added in v0.19.2

func (*AWSLambdaConfig) ProtoMessage()

func (*AWSLambdaConfig) Reset added in v0.19.2

func (m *AWSLambdaConfig) Reset()

func (*AWSLambdaConfig) String added in v0.19.2

func (m *AWSLambdaConfig) String() string

func (*AWSLambdaConfig) XXX_DiscardUnknown added in v0.19.2

func (m *AWSLambdaConfig) XXX_DiscardUnknown()

func (*AWSLambdaConfig) XXX_Marshal added in v0.19.2

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

func (*AWSLambdaConfig) XXX_Merge added in v0.19.2

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

func (*AWSLambdaConfig) XXX_OneofWrappers added in v1.5.0

func (*AWSLambdaConfig) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*AWSLambdaConfig) XXX_Size added in v0.19.2

func (m *AWSLambdaConfig) XXX_Size() int

func (*AWSLambdaConfig) XXX_Unmarshal added in v0.19.2

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

type AWSLambdaConfig_ServiceAccountCredentials added in v1.5.0

type AWSLambdaConfig_ServiceAccountCredentials struct {
	// The name of the envoy cluster which represents the desired aws sts endpoint
	Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// The full uri of the aws sts endpoint
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
	// timeout for the request
	Timeout              *types.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

In order to specify the aws sts endpoint, both the cluster and uri must be set. This is due to an envoy limitation which cannot infer the host or path from the cluster, and therefore must be explicitly specified via the uri

func (*AWSLambdaConfig_ServiceAccountCredentials) Descriptor added in v1.5.0

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

func (*AWSLambdaConfig_ServiceAccountCredentials) Equal added in v1.5.0

func (this *AWSLambdaConfig_ServiceAccountCredentials) Equal(that interface{}) bool

func (*AWSLambdaConfig_ServiceAccountCredentials) GetCluster added in v1.5.0

func (*AWSLambdaConfig_ServiceAccountCredentials) GetTimeout added in v1.5.0

func (*AWSLambdaConfig_ServiceAccountCredentials) GetUri added in v1.5.0

func (*AWSLambdaConfig_ServiceAccountCredentials) Hash added in v1.5.0

Hash function

func (*AWSLambdaConfig_ServiceAccountCredentials) ProtoMessage added in v1.5.0

func (*AWSLambdaConfig_ServiceAccountCredentials) Reset added in v1.5.0

func (*AWSLambdaConfig_ServiceAccountCredentials) String added in v1.5.0

func (*AWSLambdaConfig_ServiceAccountCredentials) XXX_DiscardUnknown added in v1.5.0

func (m *AWSLambdaConfig_ServiceAccountCredentials) XXX_DiscardUnknown()

func (*AWSLambdaConfig_ServiceAccountCredentials) XXX_Marshal added in v1.5.0

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

func (*AWSLambdaConfig_ServiceAccountCredentials) XXX_Merge added in v1.5.0

func (*AWSLambdaConfig_ServiceAccountCredentials) XXX_Size added in v1.5.0

func (*AWSLambdaConfig_ServiceAccountCredentials) XXX_Unmarshal added in v1.5.0

type AWSLambdaConfig_ServiceAccountCredentials_ added in v1.5.0

type AWSLambdaConfig_ServiceAccountCredentials_ struct {
	ServiceAccountCredentials *AWSLambdaConfig_ServiceAccountCredentials `` /* 144-byte string literal not displayed */
}

func (*AWSLambdaConfig_ServiceAccountCredentials_) Equal added in v1.5.0

func (this *AWSLambdaConfig_ServiceAccountCredentials_) Equal(that interface{}) bool

type AWSLambdaConfig_UseDefaultCredentials added in v1.5.0

type AWSLambdaConfig_UseDefaultCredentials struct {
	UseDefaultCredentials *types.BoolValue `` /* 132-byte string literal not displayed */
}

func (*AWSLambdaConfig_UseDefaultCredentials) Equal added in v1.5.0

func (this *AWSLambdaConfig_UseDefaultCredentials) Equal(that interface{}) bool

type AWSLambdaPerRoute added in v0.19.2

type AWSLambdaPerRoute struct {
	// The name of the function
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The qualifier of the function (defaults to $LATEST if not specified)
	Qualifier string `protobuf:"bytes,2,opt,name=qualifier,proto3" json:"qualifier,omitempty"`
	// Invocation type - async or regular.
	Async bool `protobuf:"varint,3,opt,name=async,proto3" json:"async,omitempty"`
	// Optional default body if the body is empty. By default on default
	// body is used if the body empty, and an empty body will be sent upstream.
	EmptyBodyOverride    *types.StringValue `protobuf:"bytes,4,opt,name=empty_body_override,json=emptyBodyOverride,proto3" json:"empty_body_override,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

AWS Lambda contains the configuration necessary to perform transform regular http calls to AWS Lambda invocations.

func (*AWSLambdaPerRoute) Descriptor added in v0.19.2

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

func (*AWSLambdaPerRoute) Equal added in v1.5.0

func (this *AWSLambdaPerRoute) Equal(that interface{}) bool

func (*AWSLambdaPerRoute) GetAsync added in v0.19.2

func (m *AWSLambdaPerRoute) GetAsync() bool

func (*AWSLambdaPerRoute) GetEmptyBodyOverride added in v0.19.2

func (m *AWSLambdaPerRoute) GetEmptyBodyOverride() *types.StringValue

func (*AWSLambdaPerRoute) GetName added in v0.19.2

func (m *AWSLambdaPerRoute) GetName() string

func (*AWSLambdaPerRoute) GetQualifier added in v0.19.2

func (m *AWSLambdaPerRoute) GetQualifier() string

func (*AWSLambdaPerRoute) Hash added in v1.2.13

func (m *AWSLambdaPerRoute) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*AWSLambdaPerRoute) ProtoMessage added in v0.19.2

func (*AWSLambdaPerRoute) ProtoMessage()

func (*AWSLambdaPerRoute) Reset added in v0.19.2

func (m *AWSLambdaPerRoute) Reset()

func (*AWSLambdaPerRoute) String added in v0.19.2

func (m *AWSLambdaPerRoute) String() string

func (*AWSLambdaPerRoute) XXX_DiscardUnknown added in v0.19.2

func (m *AWSLambdaPerRoute) XXX_DiscardUnknown()

func (*AWSLambdaPerRoute) XXX_Marshal added in v0.19.2

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

func (*AWSLambdaPerRoute) XXX_Merge added in v0.19.2

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

func (*AWSLambdaPerRoute) XXX_Size added in v0.19.2

func (m *AWSLambdaPerRoute) XXX_Size() int

func (*AWSLambdaPerRoute) XXX_Unmarshal added in v0.19.2

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

type AWSLambdaProtocolExtension added in v0.19.2

type AWSLambdaProtocolExtension struct {
	// The host header for AWS this cluster
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// The region for this cluster
	Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
	// The access_key for AWS this cluster
	AccessKey string `protobuf:"bytes,3,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
	// The secret_key for AWS this cluster
	SecretKey string `protobuf:"bytes,4,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
	// The session_token for AWS this cluster
	SessionToken string `protobuf:"bytes,5,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
	// The role_arn to use when generating credentials for the mounted projected SA token
	RoleArn              string   `protobuf:"bytes,6,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AWSLambdaProtocolExtension) Descriptor added in v0.19.2

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

func (*AWSLambdaProtocolExtension) Equal added in v1.5.0

func (this *AWSLambdaProtocolExtension) Equal(that interface{}) bool

func (*AWSLambdaProtocolExtension) GetAccessKey added in v0.19.2

func (m *AWSLambdaProtocolExtension) GetAccessKey() string

func (*AWSLambdaProtocolExtension) GetHost added in v0.19.2

func (m *AWSLambdaProtocolExtension) GetHost() string

func (*AWSLambdaProtocolExtension) GetRegion added in v0.19.2

func (m *AWSLambdaProtocolExtension) GetRegion() string

func (*AWSLambdaProtocolExtension) GetRoleArn added in v1.5.0

func (m *AWSLambdaProtocolExtension) GetRoleArn() string

func (*AWSLambdaProtocolExtension) GetSecretKey added in v0.19.2

func (m *AWSLambdaProtocolExtension) GetSecretKey() string

func (*AWSLambdaProtocolExtension) GetSessionToken added in v1.5.0

func (m *AWSLambdaProtocolExtension) GetSessionToken() string

func (*AWSLambdaProtocolExtension) Hash added in v1.2.13

func (m *AWSLambdaProtocolExtension) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*AWSLambdaProtocolExtension) ProtoMessage added in v0.19.2

func (*AWSLambdaProtocolExtension) ProtoMessage()

func (*AWSLambdaProtocolExtension) Reset added in v0.19.2

func (m *AWSLambdaProtocolExtension) Reset()

func (*AWSLambdaProtocolExtension) String added in v0.19.2

func (m *AWSLambdaProtocolExtension) String() string

func (*AWSLambdaProtocolExtension) XXX_DiscardUnknown added in v0.19.2

func (m *AWSLambdaProtocolExtension) XXX_DiscardUnknown()

func (*AWSLambdaProtocolExtension) XXX_Marshal added in v0.19.2

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

func (*AWSLambdaProtocolExtension) XXX_Merge added in v0.19.2

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

func (*AWSLambdaProtocolExtension) XXX_Size added in v0.19.2

func (m *AWSLambdaProtocolExtension) XXX_Size() int

func (*AWSLambdaProtocolExtension) XXX_Unmarshal added in v0.19.2

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

Jump to

Keyboard shortcuts

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