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]( [checknothing]( [reportnothing]( [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:


It has these top-level messages:




This section is empty.


var (
	ErrInvalidLengthConfig = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowConfig   = fmt.Errorf("proto: integer overflow")


This section is empty.


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) Descriptor() ([]byte, []int)

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (this *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

Source Files