config

package
v0.0.0-...-5d338f1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

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")
	ErrUnexpectedEndOfGroupConfig = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Params

type Params struct {
	// deployed ocs address
	OcsAddress string `protobuf:"bytes,1,opt,name=ocs_address,json=ocsAddress,proto3" json:"ocs_address,omitempty"`
	// units to request (could be a few values divided by comma)
	RequestUnits string `protobuf:"bytes,2,opt,name=request_units,json=requestUnits,proto3" json:"request_units,omitempty"`
	// units used for update request sent
	UnitsUntilUpdate string `protobuf:"bytes,3,opt,name=units_until_update,json=unitsUntilUpdate,proto3" json:"units_until_update,omitempty"`
}

config for ocsadapter

func (*Params) Descriptor

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

func (*Params) Equal

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

func (*Params) GetOcsAddress

func (m *Params) GetOcsAddress() string

func (*Params) GetRequestUnits

func (m *Params) GetRequestUnits() string

func (*Params) GetUnitsUntilUpdate

func (m *Params) GetUnitsUntilUpdate() 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) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(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

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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