aws

package
v0.0.0-...-5a6645a Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSLambdaConfig

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

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

func (*AWSLambdaConfig) GetUseDefaultCredentials

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

func (*AWSLambdaConfig) ProtoMessage

func (*AWSLambdaConfig) ProtoMessage()

func (*AWSLambdaConfig) Reset

func (m *AWSLambdaConfig) Reset()

func (*AWSLambdaConfig) String

func (m *AWSLambdaConfig) String() string

func (*AWSLambdaConfig) XXX_DiscardUnknown

func (m *AWSLambdaConfig) XXX_DiscardUnknown()

func (*AWSLambdaConfig) XXX_Marshal

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

func (*AWSLambdaConfig) XXX_Merge

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

func (*AWSLambdaConfig) XXX_Size

func (m *AWSLambdaConfig) XXX_Size() int

func (*AWSLambdaConfig) XXX_Unmarshal

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

type AWSLambdaPerRoute

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

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

func (*AWSLambdaPerRoute) GetAsync

func (m *AWSLambdaPerRoute) GetAsync() bool

func (*AWSLambdaPerRoute) GetEmptyBodyOverride

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

func (*AWSLambdaPerRoute) GetName

func (m *AWSLambdaPerRoute) GetName() string

func (*AWSLambdaPerRoute) GetQualifier

func (m *AWSLambdaPerRoute) GetQualifier() string

func (*AWSLambdaPerRoute) ProtoMessage

func (*AWSLambdaPerRoute) ProtoMessage()

func (*AWSLambdaPerRoute) Reset

func (m *AWSLambdaPerRoute) Reset()

func (*AWSLambdaPerRoute) String

func (m *AWSLambdaPerRoute) String() string

func (*AWSLambdaPerRoute) XXX_DiscardUnknown

func (m *AWSLambdaPerRoute) XXX_DiscardUnknown()

func (*AWSLambdaPerRoute) XXX_Marshal

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

func (*AWSLambdaPerRoute) XXX_Merge

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

func (*AWSLambdaPerRoute) XXX_Size

func (m *AWSLambdaPerRoute) XXX_Size() int

func (*AWSLambdaPerRoute) XXX_Unmarshal

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

type AWSLambdaProtocolExtension

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

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

func (*AWSLambdaProtocolExtension) GetAccessKey

func (m *AWSLambdaProtocolExtension) GetAccessKey() string

func (*AWSLambdaProtocolExtension) GetHost

func (m *AWSLambdaProtocolExtension) GetHost() string

func (*AWSLambdaProtocolExtension) GetRegion

func (m *AWSLambdaProtocolExtension) GetRegion() string

func (*AWSLambdaProtocolExtension) GetSecretKey

func (m *AWSLambdaProtocolExtension) GetSecretKey() string

func (*AWSLambdaProtocolExtension) ProtoMessage

func (*AWSLambdaProtocolExtension) ProtoMessage()

func (*AWSLambdaProtocolExtension) Reset

func (m *AWSLambdaProtocolExtension) Reset()

func (*AWSLambdaProtocolExtension) String

func (m *AWSLambdaProtocolExtension) String() string

func (*AWSLambdaProtocolExtension) XXX_DiscardUnknown

func (m *AWSLambdaProtocolExtension) XXX_DiscardUnknown()

func (*AWSLambdaProtocolExtension) XXX_Marshal

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

func (*AWSLambdaProtocolExtension) XXX_Merge

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

func (*AWSLambdaProtocolExtension) XXX_Size

func (m *AWSLambdaProtocolExtension) XXX_Size() int

func (*AWSLambdaProtocolExtension) XXX_Unmarshal

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