config

package
v0.0.0-...-1215b3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package config is a generated protocol buffer package.

config for auth adapter

It is generated from these files:

mixer/adapter/auth/config/config.proto

It has these top-level messages:

Params

Index

Constants

This section is empty.

Variables

View Source
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 {
	// test token
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// URL for the config store. It is used to initiate a new Store instance.
	// Following are some examples of the config store URL:
	// * "k8s://"
	// * "fs:///tmp/testdata/configroot"
	ConfigStoreUrl string `protobuf:"bytes,2,opt,name=config_store_url,json=configStoreUrl,proto3" json:"config_store_url,omitempty"`
	// Redis connection string <hostname>:<port number>
	// ex) localhost:6379
	RedisServerUrl string `protobuf:"bytes,3,opt,name=redis_server_url,json=redisServerUrl,proto3" json:"redis_server_url,omitempty"`
	// Maximum number of idle connections to redis
	// Default is 10 connections per every CPU as reported by runtime.NumCPU.
	ConnectionPoolSize int64 `protobuf:"varint,4,opt,name=connection_pool_size,json=connectionPoolSize,proto3" json:"connection_pool_size,omitempty"`
}

config for auth adapter

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetConfigStoreUrl

func (m *Params) GetConfigStoreUrl() string

func (*Params) GetConnectionPoolSize

func (m *Params) GetConnectionPoolSize() int64

func (*Params) GetRedisServerUrl

func (m *Params) GetRedisServerUrl() string

func (*Params) GetToken

func (m *Params) GetToken() string

func (*Params) GoString

func (this *Params) GoString() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL