Documentation ¶
Index ¶
- Variables
- type UpstreamSpec
- func (m *UpstreamSpec) Clone() proto.Message
- func (*UpstreamSpec) Descriptor() ([]byte, []int)deprecated
- func (m *UpstreamSpec) Equal(that interface{}) bool
- func (x *UpstreamSpec) GetAudience() string
- func (x *UpstreamSpec) GetHost() string
- func (m *UpstreamSpec) Hash(hasher hash.Hash64) (uint64, error)deprecated
- func (m *UpstreamSpec) HashUnique(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 ¶
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_enterprise_options_gcp_gcp_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type UpstreamSpec ¶
type UpstreamSpec struct { // Required. host of the GCP service to be connected to Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` // Optional override for the audience used to fetch the token from the GCP metadata server. // By default it will use the URL of the service Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"` // contains filtered or unexported fields }
Enterprise-only: Configuration to enable GCP authentication for upstreams.
func (*UpstreamSpec) Descriptor
deprecated
func (*UpstreamSpec) Descriptor() ([]byte, []int)
Deprecated: Use UpstreamSpec.ProtoReflect.Descriptor instead.
func (*UpstreamSpec) GetAudience ¶
func (x *UpstreamSpec) GetAudience() string
func (*UpstreamSpec) GetHost ¶
func (x *UpstreamSpec) GetHost() string
func (*UpstreamSpec) Hash
deprecated
func (m *UpstreamSpec) Hash(hasher hash.Hash64) (uint64, error)
Hash function
Deprecated: due to hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions. Prefer the HashUnique function instead.
func (*UpstreamSpec) HashUnique ¶
func (m *UpstreamSpec) HashUnique(hasher hash.Hash64) (uint64, error)
HashUnique function generates a hash of the object that is unique to the object by hashing field name and value pairs. Replaces Hash due to original hashing implemention only using field values. The omission of the field name in the hash calculation can lead to hash collisions.
func (*UpstreamSpec) ProtoMessage ¶
func (*UpstreamSpec) ProtoMessage()
func (*UpstreamSpec) ProtoReflect ¶
func (x *UpstreamSpec) ProtoReflect() protoreflect.Message
func (*UpstreamSpec) Reset ¶
func (x *UpstreamSpec) Reset()
func (*UpstreamSpec) String ¶
func (x *UpstreamSpec) String() string
Click to show internal directories.
Click to hide internal directories.