Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAgentManagerServer(s grpc.ServiceRegistrar, srv AgentManagerServer)
- type AgentManagerClient
- type AgentManagerServer
- type BoolList
- type BoolValue
- func (*BoolValue) Descriptor() ([]byte, []int)deprecated
- func (x *BoolValue) GetDistribution() isBoolValue_Distribution
- func (x *BoolValue) GetList() *BoolList
- func (x *BoolValue) GetValue() bool
- func (*BoolValue) ProtoMessage()
- func (x *BoolValue) ProtoReflect() protoreflect.Message
- func (x *BoolValue) Reset()
- func (x *BoolValue) String() string
- type BoolValue_List
- type Config
- func (*Config) Descriptor() ([]byte, []int)deprecated
- func (x *Config) GetCert() []byte
- func (x *Config) GetClientType() Config_ClientType
- func (x *Config) GetCredentials() *Credentials
- func (x *Config) GetCustom() *anypb.Any
- func (x *Config) GetDisableEof() bool
- func (x *Config) GetDisableSync() bool
- func (x *Config) GetEnableDelay() bool
- func (x *Config) GetFixed() *FixedGenerator
- func (x *Config) GetGenerator() isConfig_Generator
- func (x *Config) GetPort() int32
- func (x *Config) GetRandom() *RandomGenerator
- func (x *Config) GetSeed() int64deprecated
- func (x *Config) GetTarget() string
- func (x *Config) GetTunnelAddr() string
- func (x *Config) GetTunnelCrt() string
- func (x *Config) GetValues() []*Valuedeprecated
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (x *Config) Reset()
- func (x *Config) String() string
- type Config_ClientType
- func (Config_ClientType) Descriptor() protoreflect.EnumDescriptor
- func (x Config_ClientType) Enum() *Config_ClientType
- func (Config_ClientType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Config_ClientType) Number() protoreflect.EnumNumber
- func (x Config_ClientType) String() string
- func (Config_ClientType) Type() protoreflect.EnumType
- type Config_Custom
- type Config_Fixed
- type Config_Random
- type Configuration
- type Credentials
- func (*Credentials) Descriptor() ([]byte, []int)deprecated
- func (x *Credentials) GetPassword() string
- func (x *Credentials) GetUsername() string
- func (*Credentials) ProtoMessage()
- func (x *Credentials) ProtoReflect() protoreflect.Message
- func (x *Credentials) Reset()
- func (x *Credentials) String() string
- type DeleteValue
- type DoubleList
- type DoubleRange
- func (*DoubleRange) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleRange) GetDeltaMax() float64
- func (x *DoubleRange) GetDeltaMin() float64
- func (x *DoubleRange) GetMaximum() float64
- func (x *DoubleRange) GetMinimum() float64
- func (*DoubleRange) ProtoMessage()
- func (x *DoubleRange) ProtoReflect() protoreflect.Message
- func (x *DoubleRange) Reset()
- func (x *DoubleRange) String() string
- type DoubleValue
- func (*DoubleValue) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleValue) GetDistribution() isDoubleValue_Distribution
- func (x *DoubleValue) GetList() *DoubleList
- func (x *DoubleValue) GetRange() *DoubleRange
- func (x *DoubleValue) GetValue() float64
- func (*DoubleValue) ProtoMessage()
- func (x *DoubleValue) ProtoReflect() protoreflect.Message
- func (x *DoubleValue) Reset()
- func (x *DoubleValue) String() string
- type DoubleValue_List
- type DoubleValue_Range
- type FixedGenerator
- func (*FixedGenerator) Descriptor() ([]byte, []int)deprecated
- func (x *FixedGenerator) GetResponses() []*gnmi.SubscribeResponse
- func (*FixedGenerator) ProtoMessage()
- func (x *FixedGenerator) ProtoReflect() protoreflect.Message
- func (x *FixedGenerator) Reset()
- func (x *FixedGenerator) String() string
- type IntList
- type IntRange
- func (*IntRange) Descriptor() ([]byte, []int)deprecated
- func (x *IntRange) GetDeltaMax() int64
- func (x *IntRange) GetDeltaMin() int64
- func (x *IntRange) GetMaximum() int64
- func (x *IntRange) GetMinimum() int64
- func (*IntRange) ProtoMessage()
- func (x *IntRange) ProtoReflect() protoreflect.Message
- func (x *IntRange) Reset()
- func (x *IntRange) String() string
- type IntValue
- func (*IntValue) Descriptor() ([]byte, []int)deprecated
- func (x *IntValue) GetDistribution() isIntValue_Distribution
- func (x *IntValue) GetList() *IntList
- func (x *IntValue) GetRange() *IntRange
- func (x *IntValue) GetValue() int64
- func (*IntValue) ProtoMessage()
- func (x *IntValue) ProtoReflect() protoreflect.Message
- func (x *IntValue) Reset()
- func (x *IntValue) String() string
- type IntValue_List
- type IntValue_Range
- type RandomGenerator
- func (*RandomGenerator) Descriptor() ([]byte, []int)deprecated
- func (x *RandomGenerator) GetSeed() int64
- func (x *RandomGenerator) GetValues() []*Value
- func (*RandomGenerator) ProtoMessage()
- func (x *RandomGenerator) ProtoReflect() protoreflect.Message
- func (x *RandomGenerator) Reset()
- func (x *RandomGenerator) String() string
- type State
- type StringList
- type StringListValue
- func (*StringListValue) Descriptor() ([]byte, []int)deprecated
- func (x *StringListValue) GetDistribution() isStringListValue_Distribution
- func (x *StringListValue) GetList() *StringList
- func (x *StringListValue) GetValue() []string
- func (*StringListValue) ProtoMessage()
- func (x *StringListValue) ProtoReflect() protoreflect.Message
- func (x *StringListValue) Reset()
- func (x *StringListValue) String() string
- type StringListValue_List
- type StringValue
- func (*StringValue) Descriptor() ([]byte, []int)deprecated
- func (x *StringValue) GetDistribution() isStringValue_Distribution
- func (x *StringValue) GetList() *StringList
- func (x *StringValue) GetValue() string
- func (*StringValue) ProtoMessage()
- func (x *StringValue) ProtoReflect() protoreflect.Message
- func (x *StringValue) Reset()
- func (x *StringValue) String() string
- type StringValue_List
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)deprecated
- func (x *Timestamp) GetDeltaMax() int64
- func (x *Timestamp) GetDeltaMin() int64
- func (x *Timestamp) GetTimestamp() int64
- func (*Timestamp) ProtoMessage()
- func (x *Timestamp) ProtoReflect() protoreflect.Message
- func (x *Timestamp) Reset()
- func (x *Timestamp) String() string
- type UintList
- type UintRange
- func (*UintRange) Descriptor() ([]byte, []int)deprecated
- func (x *UintRange) GetDeltaMax() int64
- func (x *UintRange) GetDeltaMin() int64
- func (x *UintRange) GetMaximum() uint64
- func (x *UintRange) GetMinimum() uint64
- func (*UintRange) ProtoMessage()
- func (x *UintRange) ProtoReflect() protoreflect.Message
- func (x *UintRange) Reset()
- func (x *UintRange) String() string
- type UintValue
- func (*UintValue) Descriptor() ([]byte, []int)deprecated
- func (x *UintValue) GetDistribution() isUintValue_Distribution
- func (x *UintValue) GetList() *UintList
- func (x *UintValue) GetRange() *UintRange
- func (x *UintValue) GetValue() uint64
- func (*UintValue) ProtoMessage()
- func (x *UintValue) ProtoReflect() protoreflect.Message
- func (x *UintValue) Reset()
- func (x *UintValue) String() string
- type UintValue_List
- type UintValue_Range
- type UnimplementedAgentManagerServer
- type UnsafeAgentManagerServer
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBoolValue() *BoolValue
- func (x *Value) GetDelete() *DeleteValue
- func (x *Value) GetDoubleValue() *DoubleValue
- func (x *Value) GetIntValue() *IntValue
- func (x *Value) GetPath() []string
- func (x *Value) GetRepeat() int32
- func (x *Value) GetSeed() int64
- func (x *Value) GetStringListValue() *StringListValue
- func (x *Value) GetStringValue() *StringValue
- func (x *Value) GetSync() uint64
- func (x *Value) GetTimestamp() *Timestamp
- func (x *Value) GetUintValue() *UintValue
- func (x *Value) GetValue() isValue_Value
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_BoolValue
- type Value_Delete
- type Value_DoubleValue
- type Value_IntValue
- type Value_StringListValue
- type Value_StringValue
- type Value_Sync
- type Value_UintValue
Constants ¶
const ( AgentManager_Add_FullMethodName = "/gnmi.fake.AgentManager/Add" AgentManager_Remove_FullMethodName = "/gnmi.fake.AgentManager/Remove" AgentManager_Status_FullMethodName = "/gnmi.fake.AgentManager/Status" )
Variables ¶
var ( State_name = map[int32]string{ 0: "STOPPED", 1: "INIT", 2: "RUNNING", } State_value = map[string]int32{ "STOPPED": 0, "INIT": 1, "RUNNING": 2, } )
Enum value maps for State.
var ( Config_ClientType_name = map[int32]string{ 0: "GRPC", 1: "STUBBY", 2: "GRPC_GNMI", 3: "GRPC_GNMI_PROD", } Config_ClientType_value = map[string]int32{ "GRPC": 0, "STUBBY": 1, "GRPC_GNMI": 2, "GRPC_GNMI_PROD": 3, } )
Enum value maps for Config_ClientType.
var AgentManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gnmi.fake.AgentManager", HandlerType: (*AgentManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Add", Handler: _AgentManager_Add_Handler, }, { MethodName: "Remove", Handler: _AgentManager_Remove_Handler, }, { MethodName: "Status", Handler: _AgentManager_Status_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "github.com/openconfig/gnmi/testing/fake/proto/fake.proto", }
AgentManager_ServiceDesc is the grpc.ServiceDesc for AgentManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_github_com_openconfig_gnmi_testing_fake_proto_fake_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentManagerServer ¶
func RegisterAgentManagerServer(s grpc.ServiceRegistrar, srv AgentManagerServer)
Types ¶
type AgentManagerClient ¶
type AgentManagerClient interface { Add(ctx context.Context, in *Config, opts ...grpc.CallOption) (*Config, error) Remove(ctx context.Context, in *Config, opts ...grpc.CallOption) (*Config, error) Status(ctx context.Context, in *Config, opts ...grpc.CallOption) (*Config, error) }
AgentManagerClient is the client API for AgentManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAgentManagerClient ¶
func NewAgentManagerClient(cc grpc.ClientConnInterface) AgentManagerClient
type AgentManagerServer ¶
type AgentManagerServer interface { Add(context.Context, *Config) (*Config, error) Remove(context.Context, *Config) (*Config, error) Status(context.Context, *Config) (*Config, error) }
AgentManagerServer is the server API for AgentManager service. All implementations should embed UnimplementedAgentManagerServer for forward compatibility.
type BoolList ¶
type BoolList struct { Options []bool `protobuf:"varint,1,rep,packed,name=options,proto3" json:"options,omitempty"` Random bool `protobuf:"varint,2,opt,name=random,proto3" json:"random,omitempty"` // contains filtered or unexported fields }
func (*BoolList) Descriptor
deprecated
func (*BoolList) GetOptions ¶
func (*BoolList) ProtoMessage ¶
func (*BoolList) ProtoMessage()
func (*BoolList) ProtoReflect ¶
func (x *BoolList) ProtoReflect() protoreflect.Message
type BoolValue ¶
type BoolValue struct { Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // Types that are valid to be assigned to Distribution: // // *BoolValue_List Distribution isBoolValue_Distribution `protobuf_oneof:"distribution"` // contains filtered or unexported fields }
func (*BoolValue) Descriptor
deprecated
func (*BoolValue) GetDistribution ¶
func (x *BoolValue) GetDistribution() isBoolValue_Distribution
func (*BoolValue) ProtoMessage ¶
func (*BoolValue) ProtoMessage()
func (*BoolValue) ProtoReflect ¶
func (x *BoolValue) ProtoReflect() protoreflect.Message
type BoolValue_List ¶
type BoolValue_List struct {
List *BoolList `protobuf:"bytes,2,opt,name=list,proto3,oneof"`
}
type Config ¶
type Config struct { Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // Deprecated: Marked as deprecated in github.com/openconfig/gnmi/testing/fake/proto/fake.proto. Seed int64 `protobuf:"varint,6,opt,name=seed,proto3" json:"seed,omitempty"` // Deprecated: Marked as deprecated in github.com/openconfig/gnmi/testing/fake/proto/fake.proto. Values []*Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` DisableSync bool `protobuf:"varint,4,opt,name=disable_sync,json=disableSync,proto3" json:"disable_sync,omitempty"` ClientType Config_ClientType `protobuf:"varint,5,opt,name=client_type,json=clientType,proto3,enum=gnmi.fake.Config_ClientType" json:"client_type,omitempty"` DisableEof bool `protobuf:"varint,7,opt,name=disable_eof,json=disableEof,proto3" json:"disable_eof,omitempty"` Credentials *Credentials `protobuf:"bytes,8,opt,name=credentials,proto3" json:"credentials,omitempty"` Cert []byte `protobuf:"bytes,9,opt,name=cert,proto3" json:"cert,omitempty"` EnableDelay bool `protobuf:"varint,10,opt,name=enable_delay,json=enableDelay,proto3" json:"enable_delay,omitempty"` // Types that are valid to be assigned to Generator: // // *Config_Custom // *Config_Random // *Config_Fixed Generator isConfig_Generator `protobuf_oneof:"generator"` TunnelAddr string `protobuf:"bytes,11,opt,name=tunnel_addr,json=tunnelAddr,proto3" json:"tunnel_addr,omitempty"` TunnelCrt string `protobuf:"bytes,12,opt,name=tunnel_crt,json=tunnelCrt,proto3" json:"tunnel_crt,omitempty"` // contains filtered or unexported fields }
func (*Config) Descriptor
deprecated
func (*Config) GetClientType ¶
func (x *Config) GetClientType() Config_ClientType
func (*Config) GetCredentials ¶
func (x *Config) GetCredentials() *Credentials
func (*Config) GetDisableEof ¶
func (*Config) GetDisableSync ¶
func (*Config) GetEnableDelay ¶
func (*Config) GetFixed ¶
func (x *Config) GetFixed() *FixedGenerator
func (*Config) GetGenerator ¶
func (x *Config) GetGenerator() isConfig_Generator
func (*Config) GetRandom ¶
func (x *Config) GetRandom() *RandomGenerator
func (*Config) GetTunnelAddr ¶
func (*Config) GetTunnelCrt ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
type Config_ClientType ¶
type Config_ClientType int32
const ( Config_GRPC Config_ClientType = 0 Config_STUBBY Config_ClientType = 1 Config_GRPC_GNMI Config_ClientType = 2 Config_GRPC_GNMI_PROD Config_ClientType = 3 )
func (Config_ClientType) Descriptor ¶
func (Config_ClientType) Descriptor() protoreflect.EnumDescriptor
func (Config_ClientType) Enum ¶
func (x Config_ClientType) Enum() *Config_ClientType
func (Config_ClientType) EnumDescriptor
deprecated
func (Config_ClientType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Config_ClientType.Descriptor instead.
func (Config_ClientType) Number ¶
func (x Config_ClientType) Number() protoreflect.EnumNumber
func (Config_ClientType) String ¶
func (x Config_ClientType) String() string
func (Config_ClientType) Type ¶
func (Config_ClientType) Type() protoreflect.EnumType
type Config_Custom ¶
type Config_Fixed ¶
type Config_Fixed struct {
Fixed *FixedGenerator `protobuf:"bytes,102,opt,name=fixed,proto3,oneof"`
}
type Config_Random ¶
type Config_Random struct {
Random *RandomGenerator `protobuf:"bytes,101,opt,name=random,proto3,oneof"`
}
type Configuration ¶
type Configuration struct { Config []*Config `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetConfig ¶
func (x *Configuration) GetConfig() []*Config
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type Credentials ¶
type Credentials struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*Credentials) Descriptor
deprecated
func (*Credentials) Descriptor() ([]byte, []int)
Deprecated: Use Credentials.ProtoReflect.Descriptor instead.
func (*Credentials) GetPassword ¶
func (x *Credentials) GetPassword() string
func (*Credentials) GetUsername ¶
func (x *Credentials) GetUsername() string
func (*Credentials) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) ProtoReflect ¶
func (x *Credentials) ProtoReflect() protoreflect.Message
func (*Credentials) Reset ¶
func (x *Credentials) Reset()
func (*Credentials) String ¶
func (x *Credentials) String() string
type DeleteValue ¶
type DeleteValue struct {
// contains filtered or unexported fields
}
func (*DeleteValue) Descriptor
deprecated
func (*DeleteValue) Descriptor() ([]byte, []int)
Deprecated: Use DeleteValue.ProtoReflect.Descriptor instead.
func (*DeleteValue) ProtoMessage ¶
func (*DeleteValue) ProtoMessage()
func (*DeleteValue) ProtoReflect ¶
func (x *DeleteValue) ProtoReflect() protoreflect.Message
func (*DeleteValue) Reset ¶
func (x *DeleteValue) Reset()
func (*DeleteValue) String ¶
func (x *DeleteValue) String() string
type DoubleList ¶
type DoubleList struct { Options []float64 `protobuf:"fixed64,1,rep,packed,name=options,proto3" json:"options,omitempty"` Random bool `protobuf:"varint,2,opt,name=random,proto3" json:"random,omitempty"` // contains filtered or unexported fields }
func (*DoubleList) Descriptor
deprecated
func (*DoubleList) Descriptor() ([]byte, []int)
Deprecated: Use DoubleList.ProtoReflect.Descriptor instead.
func (*DoubleList) GetOptions ¶
func (x *DoubleList) GetOptions() []float64
func (*DoubleList) GetRandom ¶
func (x *DoubleList) GetRandom() bool
func (*DoubleList) ProtoMessage ¶
func (*DoubleList) ProtoMessage()
func (*DoubleList) ProtoReflect ¶
func (x *DoubleList) ProtoReflect() protoreflect.Message
func (*DoubleList) Reset ¶
func (x *DoubleList) Reset()
func (*DoubleList) String ¶
func (x *DoubleList) String() string
type DoubleRange ¶
type DoubleRange struct { Minimum float64 `protobuf:"fixed64,1,opt,name=minimum,proto3" json:"minimum,omitempty"` Maximum float64 `protobuf:"fixed64,2,opt,name=maximum,proto3" json:"maximum,omitempty"` DeltaMin float64 `protobuf:"fixed64,3,opt,name=delta_min,json=deltaMin,proto3" json:"delta_min,omitempty"` DeltaMax float64 `protobuf:"fixed64,4,opt,name=delta_max,json=deltaMax,proto3" json:"delta_max,omitempty"` // contains filtered or unexported fields }
func (*DoubleRange) Descriptor
deprecated
func (*DoubleRange) Descriptor() ([]byte, []int)
Deprecated: Use DoubleRange.ProtoReflect.Descriptor instead.
func (*DoubleRange) GetDeltaMax ¶
func (x *DoubleRange) GetDeltaMax() float64
func (*DoubleRange) GetDeltaMin ¶
func (x *DoubleRange) GetDeltaMin() float64
func (*DoubleRange) GetMaximum ¶
func (x *DoubleRange) GetMaximum() float64
func (*DoubleRange) GetMinimum ¶
func (x *DoubleRange) GetMinimum() float64
func (*DoubleRange) ProtoMessage ¶
func (*DoubleRange) ProtoMessage()
func (*DoubleRange) ProtoReflect ¶
func (x *DoubleRange) ProtoReflect() protoreflect.Message
func (*DoubleRange) Reset ¶
func (x *DoubleRange) Reset()
func (*DoubleRange) String ¶
func (x *DoubleRange) String() string
type DoubleValue ¶
type DoubleValue struct { Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"` // Types that are valid to be assigned to Distribution: // // *DoubleValue_Range // *DoubleValue_List Distribution isDoubleValue_Distribution `protobuf_oneof:"distribution"` // contains filtered or unexported fields }
func (*DoubleValue) Descriptor
deprecated
func (*DoubleValue) Descriptor() ([]byte, []int)
Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead.
func (*DoubleValue) GetDistribution ¶
func (x *DoubleValue) GetDistribution() isDoubleValue_Distribution
func (*DoubleValue) GetList ¶
func (x *DoubleValue) GetList() *DoubleList
func (*DoubleValue) GetRange ¶
func (x *DoubleValue) GetRange() *DoubleRange
func (*DoubleValue) GetValue ¶
func (x *DoubleValue) GetValue() float64
func (*DoubleValue) ProtoMessage ¶
func (*DoubleValue) ProtoMessage()
func (*DoubleValue) ProtoReflect ¶
func (x *DoubleValue) ProtoReflect() protoreflect.Message
func (*DoubleValue) Reset ¶
func (x *DoubleValue) Reset()
func (*DoubleValue) String ¶
func (x *DoubleValue) String() string
type DoubleValue_List ¶
type DoubleValue_List struct {
List *DoubleList `protobuf:"bytes,3,opt,name=list,proto3,oneof"`
}
type DoubleValue_Range ¶
type DoubleValue_Range struct {
Range *DoubleRange `protobuf:"bytes,2,opt,name=range,proto3,oneof"`
}
type FixedGenerator ¶
type FixedGenerator struct { Responses []*gnmi.SubscribeResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
func (*FixedGenerator) Descriptor
deprecated
func (*FixedGenerator) Descriptor() ([]byte, []int)
Deprecated: Use FixedGenerator.ProtoReflect.Descriptor instead.
func (*FixedGenerator) GetResponses ¶
func (x *FixedGenerator) GetResponses() []*gnmi.SubscribeResponse
func (*FixedGenerator) ProtoMessage ¶
func (*FixedGenerator) ProtoMessage()
func (*FixedGenerator) ProtoReflect ¶
func (x *FixedGenerator) ProtoReflect() protoreflect.Message
func (*FixedGenerator) Reset ¶
func (x *FixedGenerator) Reset()
func (*FixedGenerator) String ¶
func (x *FixedGenerator) String() string
type IntList ¶
type IntList struct { Options []int64 `protobuf:"varint,1,rep,packed,name=options,proto3" json:"options,omitempty"` Random bool `protobuf:"varint,2,opt,name=random,proto3" json:"random,omitempty"` // contains filtered or unexported fields }
func (*IntList) Descriptor
deprecated
func (*IntList) GetOptions ¶
func (*IntList) ProtoMessage ¶
func (*IntList) ProtoMessage()
func (*IntList) ProtoReflect ¶
func (x *IntList) ProtoReflect() protoreflect.Message
type IntRange ¶
type IntRange struct { Minimum int64 `protobuf:"varint,1,opt,name=minimum,proto3" json:"minimum,omitempty"` Maximum int64 `protobuf:"varint,2,opt,name=maximum,proto3" json:"maximum,omitempty"` DeltaMin int64 `protobuf:"varint,3,opt,name=delta_min,json=deltaMin,proto3" json:"delta_min,omitempty"` DeltaMax int64 `protobuf:"varint,4,opt,name=delta_max,json=deltaMax,proto3" json:"delta_max,omitempty"` // contains filtered or unexported fields }
func (*IntRange) Descriptor
deprecated
func (*IntRange) GetDeltaMax ¶
func (*IntRange) GetDeltaMin ¶
func (*IntRange) GetMaximum ¶
func (*IntRange) GetMinimum ¶
func (*IntRange) ProtoMessage ¶
func (*IntRange) ProtoMessage()
func (*IntRange) ProtoReflect ¶
func (x *IntRange) ProtoReflect() protoreflect.Message
type IntValue ¶
type IntValue struct { Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // Types that are valid to be assigned to Distribution: // // *IntValue_Range // *IntValue_List Distribution isIntValue_Distribution `protobuf_oneof:"distribution"` // contains filtered or unexported fields }
func (*IntValue) Descriptor
deprecated
func (*IntValue) GetDistribution ¶
func (x *IntValue) GetDistribution() isIntValue_Distribution
func (*IntValue) ProtoMessage ¶
func (*IntValue) ProtoMessage()
func (*IntValue) ProtoReflect ¶
func (x *IntValue) ProtoReflect() protoreflect.Message
type IntValue_List ¶
type IntValue_List struct {
List *IntList `protobuf:"bytes,3,opt,name=list,proto3,oneof"`
}
type IntValue_Range ¶
type IntValue_Range struct {
Range *IntRange `protobuf:"bytes,2,opt,name=range,proto3,oneof"`
}
type RandomGenerator ¶
type RandomGenerator struct { Seed int64 `protobuf:"varint,1,opt,name=seed,proto3" json:"seed,omitempty"` Values []*Value `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*RandomGenerator) Descriptor
deprecated
func (*RandomGenerator) Descriptor() ([]byte, []int)
Deprecated: Use RandomGenerator.ProtoReflect.Descriptor instead.
func (*RandomGenerator) GetSeed ¶
func (x *RandomGenerator) GetSeed() int64
func (*RandomGenerator) GetValues ¶
func (x *RandomGenerator) GetValues() []*Value
func (*RandomGenerator) ProtoMessage ¶
func (*RandomGenerator) ProtoMessage()
func (*RandomGenerator) ProtoReflect ¶
func (x *RandomGenerator) ProtoReflect() protoreflect.Message
func (*RandomGenerator) Reset ¶
func (x *RandomGenerator) Reset()
func (*RandomGenerator) String ¶
func (x *RandomGenerator) String() string
type State ¶
type State int32
func (State) Descriptor ¶
func (State) Descriptor() protoreflect.EnumDescriptor
func (State) EnumDescriptor
deprecated
func (State) Number ¶
func (x State) Number() protoreflect.EnumNumber
func (State) Type ¶
func (State) Type() protoreflect.EnumType
type StringList ¶
type StringList struct { Options []string `protobuf:"bytes,1,rep,name=options,proto3" json:"options,omitempty"` Random bool `protobuf:"varint,2,opt,name=random,proto3" json:"random,omitempty"` // contains filtered or unexported fields }
func (*StringList) Descriptor
deprecated
func (*StringList) Descriptor() ([]byte, []int)
Deprecated: Use StringList.ProtoReflect.Descriptor instead.
func (*StringList) GetOptions ¶
func (x *StringList) GetOptions() []string
func (*StringList) GetRandom ¶
func (x *StringList) GetRandom() bool
func (*StringList) ProtoMessage ¶
func (*StringList) ProtoMessage()
func (*StringList) ProtoReflect ¶
func (x *StringList) ProtoReflect() protoreflect.Message
func (*StringList) Reset ¶
func (x *StringList) Reset()
func (*StringList) String ¶
func (x *StringList) String() string
type StringListValue ¶
type StringListValue struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // Types that are valid to be assigned to Distribution: // // *StringListValue_List Distribution isStringListValue_Distribution `protobuf_oneof:"distribution"` // contains filtered or unexported fields }
func (*StringListValue) Descriptor
deprecated
func (*StringListValue) Descriptor() ([]byte, []int)
Deprecated: Use StringListValue.ProtoReflect.Descriptor instead.
func (*StringListValue) GetDistribution ¶
func (x *StringListValue) GetDistribution() isStringListValue_Distribution
func (*StringListValue) GetList ¶
func (x *StringListValue) GetList() *StringList
func (*StringListValue) GetValue ¶
func (x *StringListValue) GetValue() []string
func (*StringListValue) ProtoMessage ¶
func (*StringListValue) ProtoMessage()
func (*StringListValue) ProtoReflect ¶
func (x *StringListValue) ProtoReflect() protoreflect.Message
func (*StringListValue) Reset ¶
func (x *StringListValue) Reset()
func (*StringListValue) String ¶
func (x *StringListValue) String() string
type StringListValue_List ¶
type StringListValue_List struct {
List *StringList `protobuf:"bytes,2,opt,name=list,proto3,oneof"`
}
type StringValue ¶
type StringValue struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Types that are valid to be assigned to Distribution: // // *StringValue_List Distribution isStringValue_Distribution `protobuf_oneof:"distribution"` // contains filtered or unexported fields }
func (*StringValue) Descriptor
deprecated
func (*StringValue) Descriptor() ([]byte, []int)
Deprecated: Use StringValue.ProtoReflect.Descriptor instead.
func (*StringValue) GetDistribution ¶
func (x *StringValue) GetDistribution() isStringValue_Distribution
func (*StringValue) GetList ¶
func (x *StringValue) GetList() *StringList
func (*StringValue) GetValue ¶
func (x *StringValue) GetValue() string
func (*StringValue) ProtoMessage ¶
func (*StringValue) ProtoMessage()
func (*StringValue) ProtoReflect ¶
func (x *StringValue) ProtoReflect() protoreflect.Message
func (*StringValue) Reset ¶
func (x *StringValue) Reset()
func (*StringValue) String ¶
func (x *StringValue) String() string
type StringValue_List ¶
type StringValue_List struct {
List *StringList `protobuf:"bytes,2,opt,name=list,proto3,oneof"`
}
type Timestamp ¶
type Timestamp struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` DeltaMin int64 `protobuf:"varint,2,opt,name=delta_min,json=deltaMin,proto3" json:"delta_min,omitempty"` DeltaMax int64 `protobuf:"varint,3,opt,name=delta_max,json=deltaMax,proto3" json:"delta_max,omitempty"` // contains filtered or unexported fields }
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetDeltaMax ¶
func (*Timestamp) GetDeltaMin ¶
func (*Timestamp) GetTimestamp ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
type UintList ¶
type UintList struct { Options []uint64 `protobuf:"varint,1,rep,packed,name=options,proto3" json:"options,omitempty"` Random bool `protobuf:"varint,2,opt,name=random,proto3" json:"random,omitempty"` // contains filtered or unexported fields }
func (*UintList) Descriptor
deprecated
func (*UintList) GetOptions ¶
func (*UintList) ProtoMessage ¶
func (*UintList) ProtoMessage()
func (*UintList) ProtoReflect ¶
func (x *UintList) ProtoReflect() protoreflect.Message
type UintRange ¶
type UintRange struct { Minimum uint64 `protobuf:"varint,1,opt,name=minimum,proto3" json:"minimum,omitempty"` Maximum uint64 `protobuf:"varint,2,opt,name=maximum,proto3" json:"maximum,omitempty"` DeltaMin int64 `protobuf:"varint,3,opt,name=delta_min,json=deltaMin,proto3" json:"delta_min,omitempty"` DeltaMax int64 `protobuf:"varint,4,opt,name=delta_max,json=deltaMax,proto3" json:"delta_max,omitempty"` // contains filtered or unexported fields }
func (*UintRange) Descriptor
deprecated
func (*UintRange) GetDeltaMax ¶
func (*UintRange) GetDeltaMin ¶
func (*UintRange) GetMaximum ¶
func (*UintRange) GetMinimum ¶
func (*UintRange) ProtoMessage ¶
func (*UintRange) ProtoMessage()
func (*UintRange) ProtoReflect ¶
func (x *UintRange) ProtoReflect() protoreflect.Message
type UintValue ¶
type UintValue struct { Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // Types that are valid to be assigned to Distribution: // // *UintValue_Range // *UintValue_List Distribution isUintValue_Distribution `protobuf_oneof:"distribution"` // contains filtered or unexported fields }
func (*UintValue) Descriptor
deprecated
func (*UintValue) GetDistribution ¶
func (x *UintValue) GetDistribution() isUintValue_Distribution
func (*UintValue) ProtoMessage ¶
func (*UintValue) ProtoMessage()
func (*UintValue) ProtoReflect ¶
func (x *UintValue) ProtoReflect() protoreflect.Message
type UintValue_List ¶
type UintValue_List struct {
List *UintList `protobuf:"bytes,3,opt,name=list,proto3,oneof"`
}
type UintValue_Range ¶
type UintValue_Range struct {
Range *UintRange `protobuf:"bytes,2,opt,name=range,proto3,oneof"`
}
type UnimplementedAgentManagerServer ¶
type UnimplementedAgentManagerServer struct{}
UnimplementedAgentManagerServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnsafeAgentManagerServer ¶
type UnsafeAgentManagerServer interface {
// contains filtered or unexported methods
}
UnsafeAgentManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentManagerServer will result in compilation errors.
type Value ¶
type Value struct { Path []string `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"` Timestamp *Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Repeat int32 `protobuf:"varint,6,opt,name=repeat,proto3" json:"repeat,omitempty"` Seed int64 `protobuf:"varint,7,opt,name=seed,proto3" json:"seed,omitempty"` // Types that are valid to be assigned to Value: // // *Value_IntValue // *Value_DoubleValue // *Value_StringValue // *Value_Sync // *Value_Delete // *Value_BoolValue // *Value_UintValue // *Value_StringListValue Value isValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func (*Value) Descriptor
deprecated
func (*Value) GetBoolValue ¶
func (*Value) GetDelete ¶
func (x *Value) GetDelete() *DeleteValue
func (*Value) GetDoubleValue ¶
func (x *Value) GetDoubleValue() *DoubleValue
func (*Value) GetIntValue ¶
func (*Value) GetStringListValue ¶
func (x *Value) GetStringListValue() *StringListValue
func (*Value) GetStringValue ¶
func (x *Value) GetStringValue() *StringValue
func (*Value) GetTimestamp ¶
func (*Value) GetUintValue ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Value_BoolValue ¶
type Value_BoolValue struct {
BoolValue *BoolValue `protobuf:"bytes,105,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Value_Delete ¶
type Value_Delete struct {
Delete *DeleteValue `protobuf:"bytes,104,opt,name=delete,proto3,oneof"`
}
type Value_DoubleValue ¶
type Value_DoubleValue struct {
DoubleValue *DoubleValue `protobuf:"bytes,101,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type Value_IntValue ¶
type Value_IntValue struct {
IntValue *IntValue `protobuf:"bytes,100,opt,name=int_value,json=intValue,proto3,oneof"`
}
type Value_StringListValue ¶
type Value_StringListValue struct {
StringListValue *StringListValue `protobuf:"bytes,107,opt,name=string_list_value,json=stringListValue,proto3,oneof"`
}
type Value_StringValue ¶
type Value_StringValue struct {
StringValue *StringValue `protobuf:"bytes,102,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Value_Sync ¶
type Value_Sync struct {
Sync uint64 `protobuf:"varint,103,opt,name=sync,proto3,oneof"`
}
type Value_UintValue ¶
type Value_UintValue struct {
UintValue *UintValue `protobuf:"bytes,106,opt,name=uint_value,json=uintValue,proto3,oneof"`
}