Documentation ¶
Index ¶
- type TagFilter
- func (*TagFilter) Descriptor() ([]byte, []int)
- func (this *TagFilter) Equal(that interface{}) bool
- func (m *TagFilter) GetKey() string
- func (m *TagFilter) GetKvPair() *TagFilter_KvPair
- func (m *TagFilter) GetSpec() isTagFilter_Spec
- func (*TagFilter) ProtoMessage()
- func (m *TagFilter) Reset()
- func (m *TagFilter) String() string
- func (m *TagFilter) XXX_DiscardUnknown()
- func (m *TagFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TagFilter) XXX_Merge(src proto.Message)
- func (*TagFilter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *TagFilter) XXX_Size() int
- func (m *TagFilter) XXX_Unmarshal(b []byte) error
- type TagFilter_Key
- type TagFilter_KvPair
- func (*TagFilter_KvPair) Descriptor() ([]byte, []int)
- func (this *TagFilter_KvPair) Equal(that interface{}) bool
- func (m *TagFilter_KvPair) GetKey() string
- func (m *TagFilter_KvPair) GetValue() string
- func (*TagFilter_KvPair) ProtoMessage()
- func (m *TagFilter_KvPair) Reset()
- func (m *TagFilter_KvPair) String() string
- func (m *TagFilter_KvPair) XXX_DiscardUnknown()
- func (m *TagFilter_KvPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TagFilter_KvPair) XXX_Merge(src proto.Message)
- func (m *TagFilter_KvPair) XXX_Size() int
- func (m *TagFilter_KvPair) XXX_Unmarshal(b []byte) error
- type TagFilter_KvPair_
- type UpstreamSpec
- func (*UpstreamSpec) Descriptor() ([]byte, []int)
- func (this *UpstreamSpec) Equal(that interface{}) bool
- func (m *UpstreamSpec) GetFilters() []*TagFilter
- func (m *UpstreamSpec) GetPort() uint32
- func (m *UpstreamSpec) GetPublicIp() bool
- func (m *UpstreamSpec) GetRegion() string
- func (m *UpstreamSpec) GetRoleArns() []string
- func (m *UpstreamSpec) GetSecretRef() *core.ResourceRef
- func (*UpstreamSpec) ProtoMessage()
- func (m *UpstreamSpec) Reset()
- func (m *UpstreamSpec) String() string
- func (m *UpstreamSpec) XXX_DiscardUnknown()
- func (m *UpstreamSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpstreamSpec) XXX_Merge(src proto.Message)
- func (m *UpstreamSpec) XXX_Size() int
- func (m *UpstreamSpec) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TagFilter ¶
type TagFilter struct { // Types that are valid to be assigned to Spec: // *TagFilter_Key // *TagFilter_KvPair_ Spec isTagFilter_Spec `protobuf_oneof:"spec"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TagFilter) Descriptor ¶
func (*TagFilter) GetKvPair ¶
func (m *TagFilter) GetKvPair() *TagFilter_KvPair
func (*TagFilter) ProtoMessage ¶
func (*TagFilter) ProtoMessage()
func (*TagFilter) XXX_DiscardUnknown ¶
func (m *TagFilter) XXX_DiscardUnknown()
func (*TagFilter) XXX_Marshal ¶
func (*TagFilter) XXX_OneofFuncs ¶
func (*TagFilter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*TagFilter) XXX_Unmarshal ¶
type TagFilter_Key ¶
type TagFilter_Key struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"`
}
func (*TagFilter_Key) Equal ¶
func (this *TagFilter_Key) Equal(that interface{}) bool
type TagFilter_KvPair ¶
type TagFilter_KvPair struct { // keys are not case-sensitive, as with AWS Condition Keys Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // values are case-sensitive Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TagFilter_KvPair) Descriptor ¶
func (*TagFilter_KvPair) Descriptor() ([]byte, []int)
func (*TagFilter_KvPair) Equal ¶
func (this *TagFilter_KvPair) Equal(that interface{}) bool
func (*TagFilter_KvPair) GetKey ¶
func (m *TagFilter_KvPair) GetKey() string
func (*TagFilter_KvPair) GetValue ¶
func (m *TagFilter_KvPair) GetValue() string
func (*TagFilter_KvPair) ProtoMessage ¶
func (*TagFilter_KvPair) ProtoMessage()
func (*TagFilter_KvPair) Reset ¶
func (m *TagFilter_KvPair) Reset()
func (*TagFilter_KvPair) String ¶
func (m *TagFilter_KvPair) String() string
func (*TagFilter_KvPair) XXX_DiscardUnknown ¶
func (m *TagFilter_KvPair) XXX_DiscardUnknown()
func (*TagFilter_KvPair) XXX_Marshal ¶
func (m *TagFilter_KvPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TagFilter_KvPair) XXX_Merge ¶
func (m *TagFilter_KvPair) XXX_Merge(src proto.Message)
func (*TagFilter_KvPair) XXX_Size ¶
func (m *TagFilter_KvPair) XXX_Size() int
func (*TagFilter_KvPair) XXX_Unmarshal ¶
func (m *TagFilter_KvPair) XXX_Unmarshal(b []byte) error
type TagFilter_KvPair_ ¶
type TagFilter_KvPair_ struct {
KvPair *TagFilter_KvPair `protobuf:"bytes,2,opt,name=kv_pair,json=kvPair,proto3,oneof"`
}
func (*TagFilter_KvPair_) Equal ¶
func (this *TagFilter_KvPair_) Equal(that interface{}) bool
type UpstreamSpec ¶
type UpstreamSpec struct { // The AWS Region where the desired EC2 instances exist Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // Optional, if not set, Gloo will try to use the default AWS secret specified by environment variables. // If a secret is not provided, the environment must specify both the AWS access key and secret. // The environment variables used to indicate the AWS account can be: // - for the access key: "AWS_ACCESS_KEY_ID" or "AWS_ACCESS_KEY" // - for the secret: "AWS_SECRET_ACCESS_KEY" or "AWS_SECRET_KEY" // If set, 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> // “` // Gloo will create an EC2 API client with this credential. You may choose to use a credential with limited access // in conjunction with a list of Roles, specified by their Amazon Resource Number (ARN). SecretRef *core.ResourceRef `protobuf:"bytes,2,opt,name=secret_ref,json=secretRef,proto3" json:"secret_ref,omitempty"` // Optional, list of Amazon Resource Numbers (ARNs) referring to IAM Roles that should be assumed when the Upstream // queries for eligible EC2 instances. // If provided, Gloo will create an EC2 API client with the provided roles. If not provided, Gloo will not assume // any roles. RoleArns []string `protobuf:"bytes,6,rep,name=role_arns,json=roleArns,proto3" json:"role_arns,omitempty"` // List of tag filters for selecting instances // An instance must match all the filters in order to be selected // Filter keys are not case-sensitive Filters []*TagFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` // If set, will use the EC2 public IP address. Defaults to the private IP address. PublicIp bool `protobuf:"varint,4,opt,name=public_ip,json=publicIp,proto3" json:"public_ip,omitempty"` // If set, will use this port on EC2 instances. Defaults to port 80. Port uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) Descriptor ¶
func (*UpstreamSpec) Descriptor() ([]byte, []int)
func (*UpstreamSpec) Equal ¶
func (this *UpstreamSpec) Equal(that interface{}) bool
func (*UpstreamSpec) GetFilters ¶
func (m *UpstreamSpec) GetFilters() []*TagFilter
func (*UpstreamSpec) GetPort ¶
func (m *UpstreamSpec) GetPort() uint32
func (*UpstreamSpec) GetPublicIp ¶
func (m *UpstreamSpec) GetPublicIp() bool
func (*UpstreamSpec) GetRegion ¶
func (m *UpstreamSpec) GetRegion() string
func (*UpstreamSpec) GetRoleArns ¶
func (m *UpstreamSpec) GetRoleArns() []string
func (*UpstreamSpec) GetSecretRef ¶
func (m *UpstreamSpec) GetSecretRef() *core.ResourceRef
func (*UpstreamSpec) ProtoMessage ¶
func (*UpstreamSpec) ProtoMessage()
func (*UpstreamSpec) Reset ¶
func (m *UpstreamSpec) Reset()
func (*UpstreamSpec) String ¶
func (m *UpstreamSpec) String() string
func (*UpstreamSpec) XXX_DiscardUnknown ¶
func (m *UpstreamSpec) XXX_DiscardUnknown()
func (*UpstreamSpec) XXX_Marshal ¶
func (m *UpstreamSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpstreamSpec) XXX_Merge ¶
func (m *UpstreamSpec) XXX_Merge(src proto.Message)
func (*UpstreamSpec) XXX_Size ¶
func (m *UpstreamSpec) XXX_Size() int
func (*UpstreamSpec) XXX_Unmarshal ¶
func (m *UpstreamSpec) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.