aws

package
v1.5.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 19 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 {
	// Use AWS default credentials chain to get credentials.
	// This will search environment variables, ECS metadata and instance metadata
	// to get the credentials. credentials will be rotated automatically.
	//
	// If credentials are provided on the cluster (using the
	// AWSLambdaProtocolExtension), it will override these credentials. This
	// defaults to false, but may change in the future to true.
	UseDefaultCredentials *types.BoolValue `` /* 126-byte string literal not displayed */
	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) 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_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 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) 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"`
	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) 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) GetSecretKey added in v0.19.2

func (m *AWSLambdaProtocolExtension) GetSecretKey() 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