config

package
v0.0.0-...-fd5c82b Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_test_config_mock_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConfigPair

type ConfigPair struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigPair) Descriptor deprecated

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

Deprecated: Use ConfigPair.ProtoReflect.Descriptor instead.

func (*ConfigPair) GetKey

func (x *ConfigPair) GetKey() string

func (*ConfigPair) GetValue

func (x *ConfigPair) GetValue() string

func (*ConfigPair) ProtoMessage

func (*ConfigPair) ProtoMessage()

func (*ConfigPair) ProtoReflect

func (x *ConfigPair) ProtoReflect() protoreflect.Message

func (*ConfigPair) Reset

func (x *ConfigPair) Reset()

func (*ConfigPair) String

func (x *ConfigPair) String() string

type MockConfig

type MockConfig struct {
	Key   string        `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Pairs []*ConfigPair `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty"`
	// contains filtered or unexported fields
}

func (*MockConfig) Descriptor deprecated

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

Deprecated: Use MockConfig.ProtoReflect.Descriptor instead.

func (*MockConfig) GetKey

func (x *MockConfig) GetKey() string

func (*MockConfig) GetPairs

func (x *MockConfig) GetPairs() []*ConfigPair

func (*MockConfig) ProtoMessage

func (*MockConfig) ProtoMessage()

func (*MockConfig) ProtoReflect

func (x *MockConfig) ProtoReflect() protoreflect.Message

func (*MockConfig) Reset

func (x *MockConfig) Reset()

func (*MockConfig) String

func (x *MockConfig) String() string

Jump to

Keyboard shortcuts

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