Documentation ¶
Overview ¶
Package config is a generated protocol buffer package.
The `bypass` adapter makes it possible to connect to gRPC based remote adapters using the compiled-in adapter model.
This adapter supports the following templates: [metric](https://istio.io/docs/reference/config/template/metric/). [checknothing](https://istio.io/docs/reference/config/template/checknothing/). [reportnothing](https://istio.io/docs/reference/config/template/reportnothing/). [quota](https://istio.io/docs/reference/config/template/quota/).
Example configuration: ``` # sessionBased indicates whether the client should use the Infrastructure API of the backend # to create sessions. If set to true, the bypass adapter will first create a session. sessionBased: false
# backendAddress is the remote adapter service backend address. backendAddress: localhost:4567
# params is base64 encoded Any proto that should be passed to the remote backend as # configuration. params: RGFuJ3MgVG9vbHMgYXJlIGNvb2wh... ```
It is generated from these files:
mixer/adapter/bypass/config/config.proto
It has these top-level messages:
Params
Index ¶
- Variables
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (this *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConfig = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct { // The backend address for the remote policy backend. BackendAddress string `protobuf:"bytes,1,opt,name=backend_address,json=backendAddress,proto3" json:"backend_address,omitempty"` // The actual config parameters to send to the remote backend. Params *google_protobuf1.Any `protobuf:"bytes,2,opt,name=params" json:"params,omitempty"` // Indicates whether the protocol is session based or not. SessionBased bool `protobuf:"varint,3,opt,name=session_based,json=sessionBased,proto3" json:"session_based,omitempty"` }
Configuration format for the Bypass adapter.
func (*Params) Descriptor ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()