Documentation ¶
Index ¶
- Variables
- type DestinationSpec
- func (m *DestinationSpec) Clone() proto.Message
- func (*DestinationSpec) Descriptor() ([]byte, []int)deprecated
- func (m *DestinationSpec) Equal(that interface{}) bool
- func (x *DestinationSpec) GetInvocationStyle() DestinationSpec_InvocationStyle
- func (x *DestinationSpec) GetLogicalName() string
- func (x *DestinationSpec) GetResponseTransformation() bool
- func (m *DestinationSpec) Hash(hasher hash.Hash64) (uint64, error)
- func (*DestinationSpec) ProtoMessage()
- func (x *DestinationSpec) ProtoReflect() protoreflect.Message
- func (x *DestinationSpec) Reset()
- func (x *DestinationSpec) String() string
- type DestinationSpec_InvocationStyle
- func (DestinationSpec_InvocationStyle) Descriptor() protoreflect.EnumDescriptor
- func (x DestinationSpec_InvocationStyle) Enum() *DestinationSpec_InvocationStyle
- func (DestinationSpec_InvocationStyle) EnumDescriptor() ([]byte, []int)deprecated
- func (x DestinationSpec_InvocationStyle) Number() protoreflect.EnumNumber
- func (x DestinationSpec_InvocationStyle) String() string
- func (DestinationSpec_InvocationStyle) Type() protoreflect.EnumType
- type LambdaFunctionSpec
- func (m *LambdaFunctionSpec) Clone() proto.Message
- func (*LambdaFunctionSpec) Descriptor() ([]byte, []int)deprecated
- func (m *LambdaFunctionSpec) Equal(that interface{}) bool
- func (x *LambdaFunctionSpec) GetLambdaFunctionName() string
- func (x *LambdaFunctionSpec) GetLogicalName() string
- func (x *LambdaFunctionSpec) GetQualifier() string
- func (m *LambdaFunctionSpec) Hash(hasher hash.Hash64) (uint64, error)
- func (*LambdaFunctionSpec) ProtoMessage()
- func (x *LambdaFunctionSpec) ProtoReflect() protoreflect.Message
- func (x *LambdaFunctionSpec) Reset()
- func (x *LambdaFunctionSpec) String() string
- type UpstreamSpec
- func (m *UpstreamSpec) Clone() proto.Message
- func (*UpstreamSpec) Descriptor() ([]byte, []int)deprecated
- func (m *UpstreamSpec) Equal(that interface{}) bool
- func (x *UpstreamSpec) GetLambdaFunctions() []*LambdaFunctionSpec
- func (x *UpstreamSpec) GetRegion() string
- func (x *UpstreamSpec) GetRoleArn() string
- func (x *UpstreamSpec) GetSecretRef() *core.ResourceRef
- func (m *UpstreamSpec) Hash(hasher hash.Hash64) (uint64, error)
- func (*UpstreamSpec) ProtoMessage()
- func (x *UpstreamSpec) ProtoReflect() protoreflect.Message
- func (x *UpstreamSpec) Reset()
- func (x *UpstreamSpec) String() string
Constants ¶
This section is empty.
Variables ¶
var ( DestinationSpec_InvocationStyle_name = map[int32]string{ 0: "SYNC", 1: "ASYNC", } DestinationSpec_InvocationStyle_value = map[string]int32{ "SYNC": 0, "ASYNC": 1, } )
Enum value maps for DestinationSpec_InvocationStyle.
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_aws_aws_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DestinationSpec ¶
type DestinationSpec struct { // The Logical Name of the LambdaFunctionSpec to be invoked. LogicalName string `protobuf:"bytes,1,opt,name=logical_name,json=logicalName,proto3" json:"logical_name,omitempty"` // Can be either Sync or Async. InvocationStyle DestinationSpec_InvocationStyle `` /* 169-byte string literal not displayed */ // de-jsonify response bodies returned from aws lambda ResponseTransformation bool `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
Each Lambda Function Spec contains data necessary for Gloo to invoke Lambda functions
func (*DestinationSpec) Clone ¶ added in v1.8.24
func (m *DestinationSpec) Clone() proto.Message
Clone function
func (*DestinationSpec) Descriptor
deprecated
func (*DestinationSpec) Descriptor() ([]byte, []int)
Deprecated: Use DestinationSpec.ProtoReflect.Descriptor instead.
func (*DestinationSpec) Equal ¶
func (m *DestinationSpec) Equal(that interface{}) bool
Equal function
func (*DestinationSpec) GetInvocationStyle ¶
func (x *DestinationSpec) GetInvocationStyle() DestinationSpec_InvocationStyle
func (*DestinationSpec) GetLogicalName ¶
func (x *DestinationSpec) GetLogicalName() string
func (*DestinationSpec) GetResponseTransformation ¶
func (x *DestinationSpec) GetResponseTransformation() bool
func (*DestinationSpec) Hash ¶ added in v1.2.13
func (m *DestinationSpec) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*DestinationSpec) ProtoMessage ¶
func (*DestinationSpec) ProtoMessage()
func (*DestinationSpec) ProtoReflect ¶ added in v1.6.0
func (x *DestinationSpec) ProtoReflect() protoreflect.Message
func (*DestinationSpec) Reset ¶
func (x *DestinationSpec) Reset()
func (*DestinationSpec) String ¶
func (x *DestinationSpec) String() string
type DestinationSpec_InvocationStyle ¶
type DestinationSpec_InvocationStyle int32
const ( DestinationSpec_SYNC DestinationSpec_InvocationStyle = 0 DestinationSpec_ASYNC DestinationSpec_InvocationStyle = 1 )
func (DestinationSpec_InvocationStyle) Descriptor ¶ added in v1.6.0
func (DestinationSpec_InvocationStyle) Descriptor() protoreflect.EnumDescriptor
func (DestinationSpec_InvocationStyle) Enum ¶ added in v1.6.0
func (x DestinationSpec_InvocationStyle) Enum() *DestinationSpec_InvocationStyle
func (DestinationSpec_InvocationStyle) EnumDescriptor
deprecated
func (DestinationSpec_InvocationStyle) EnumDescriptor() ([]byte, []int)
Deprecated: Use DestinationSpec_InvocationStyle.Descriptor instead.
func (DestinationSpec_InvocationStyle) Number ¶ added in v1.6.0
func (x DestinationSpec_InvocationStyle) Number() protoreflect.EnumNumber
func (DestinationSpec_InvocationStyle) String ¶
func (x DestinationSpec_InvocationStyle) String() string
func (DestinationSpec_InvocationStyle) Type ¶ added in v1.6.0
func (DestinationSpec_InvocationStyle) Type() protoreflect.EnumType
type LambdaFunctionSpec ¶
type LambdaFunctionSpec struct { // the logical name gloo should associate with this function. if left empty, it will default to // lambda_function_name+qualifier LogicalName string `protobuf:"bytes,1,opt,name=logical_name,json=logicalName,proto3" json:"logical_name,omitempty"` // The Name of the Lambda Function as it appears in the AWS Lambda Portal LambdaFunctionName string `protobuf:"bytes,2,opt,name=lambda_function_name,json=lambdaFunctionName,proto3" json:"lambda_function_name,omitempty"` // The Qualifier for the Lambda Function. Qualifiers act as a kind of version // for Lambda Functions. See https://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html for more info. Qualifier string `protobuf:"bytes,3,opt,name=qualifier,proto3" json:"qualifier,omitempty"` // contains filtered or unexported fields }
Each Lambda Function Spec contains data necessary for Gloo to invoke Lambda functions: - name of the function - qualifier for the function
func (*LambdaFunctionSpec) Clone ¶ added in v1.8.24
func (m *LambdaFunctionSpec) Clone() proto.Message
Clone function
func (*LambdaFunctionSpec) Descriptor
deprecated
func (*LambdaFunctionSpec) Descriptor() ([]byte, []int)
Deprecated: Use LambdaFunctionSpec.ProtoReflect.Descriptor instead.
func (*LambdaFunctionSpec) Equal ¶
func (m *LambdaFunctionSpec) Equal(that interface{}) bool
Equal function
func (*LambdaFunctionSpec) GetLambdaFunctionName ¶
func (x *LambdaFunctionSpec) GetLambdaFunctionName() string
func (*LambdaFunctionSpec) GetLogicalName ¶
func (x *LambdaFunctionSpec) GetLogicalName() string
func (*LambdaFunctionSpec) GetQualifier ¶
func (x *LambdaFunctionSpec) GetQualifier() string
func (*LambdaFunctionSpec) Hash ¶ added in v1.2.13
func (m *LambdaFunctionSpec) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*LambdaFunctionSpec) ProtoMessage ¶
func (*LambdaFunctionSpec) ProtoMessage()
func (*LambdaFunctionSpec) ProtoReflect ¶ added in v1.6.0
func (x *LambdaFunctionSpec) ProtoReflect() protoreflect.Message
func (*LambdaFunctionSpec) Reset ¶
func (x *LambdaFunctionSpec) Reset()
func (*LambdaFunctionSpec) String ¶
func (x *LambdaFunctionSpec) String() string
type UpstreamSpec ¶
type UpstreamSpec struct { // The AWS Region where the desired Lambda Functions exist Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // A [Gloo Secret Ref](https://gloo.solo.io/introduction/concepts/#Secrets) to an AWS Secret // AWS Secrets can be created with `glooctl secret create aws ...` // If the secret is created manually, it must conform to the following structure: // “` // access_key: <aws access key> // secret_key: <aws secret key> // session_token: <(optional) aws session token> // “` SecretRef *core.ResourceRef `protobuf:"bytes,2,opt,name=secret_ref,json=secretRef,proto3" json:"secret_ref,omitempty"` // The list of Lambda Functions contained within this region. // This list will be automatically populated by Gloo if discovery is enabled for AWS Lambda Functions LambdaFunctions []*LambdaFunctionSpec `protobuf:"bytes,3,rep,name=lambda_functions,json=lambdaFunctions,proto3" json:"lambda_functions,omitempty"` // (Optional): role_arn to use when assuming a role for a given request via STS. // If set this role_arn will override the value found in AWS_ROLE_ARN // This option will only be respected if STS credentials are enabled. // To enable STS credential fetching see Settings.Gloo.AwsOptions in settings.proto. RoleArn string `protobuf:"bytes,4,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"` // contains filtered or unexported fields }
Upstream Spec for AWS Lambda Upstreams AWS Upstreams represent a collection of Lambda Functions for a particular AWS Account (IAM Role or User account) in a particular region
func (*UpstreamSpec) Clone ¶ added in v1.8.24
func (m *UpstreamSpec) Clone() proto.Message
Clone function
func (*UpstreamSpec) Descriptor
deprecated
func (*UpstreamSpec) Descriptor() ([]byte, []int)
Deprecated: Use UpstreamSpec.ProtoReflect.Descriptor instead.
func (*UpstreamSpec) GetLambdaFunctions ¶
func (x *UpstreamSpec) GetLambdaFunctions() []*LambdaFunctionSpec
func (*UpstreamSpec) GetRegion ¶
func (x *UpstreamSpec) GetRegion() string
func (*UpstreamSpec) GetRoleArn ¶ added in v1.5.0
func (x *UpstreamSpec) GetRoleArn() string
func (*UpstreamSpec) GetSecretRef ¶
func (x *UpstreamSpec) GetSecretRef() *core.ResourceRef
func (*UpstreamSpec) Hash ¶ added in v1.2.13
func (m *UpstreamSpec) Hash(hasher hash.Hash64) (uint64, error)
Hash function
func (*UpstreamSpec) ProtoMessage ¶
func (*UpstreamSpec) ProtoMessage()
func (*UpstreamSpec) ProtoReflect ¶ added in v1.6.0
func (x *UpstreamSpec) ProtoReflect() protoreflect.Message
func (*UpstreamSpec) Reset ¶
func (x *UpstreamSpec) Reset()
func (*UpstreamSpec) String ¶
func (x *UpstreamSpec) String() string