Documentation ¶
Overview ¶
Package proto contains the Go generated files for the protocol buffer files.
Index ¶
- Variables
- func RegisterImportServer(s *grpc.Server, srv ImportServer)
- type Close
- func (*Close) Descriptor() ([]byte, []int)
- func (*Close) ProtoMessage()
- func (m *Close) Reset()
- func (m *Close) String() string
- func (m *Close) XXX_DiscardUnknown()
- func (m *Close) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Close) XXX_Merge(src proto.Message)
- func (m *Close) XXX_Size() int
- func (m *Close) XXX_Unmarshal(b []byte) error
- type Close_Request
- func (*Close_Request) Descriptor() ([]byte, []int)
- func (m *Close_Request) GetInstanceId() uint64
- func (*Close_Request) ProtoMessage()
- func (m *Close_Request) Reset()
- func (m *Close_Request) String() string
- func (m *Close_Request) XXX_DiscardUnknown()
- func (m *Close_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Close_Request) XXX_Merge(src proto.Message)
- func (m *Close_Request) XXX_Size() int
- func (m *Close_Request) XXX_Unmarshal(b []byte) error
- type Configure
- func (*Configure) Descriptor() ([]byte, []int)
- func (*Configure) ProtoMessage()
- func (m *Configure) Reset()
- func (m *Configure) String() string
- func (m *Configure) XXX_DiscardUnknown()
- func (m *Configure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Configure) XXX_Merge(src proto.Message)
- func (m *Configure) XXX_Size() int
- func (m *Configure) XXX_Unmarshal(b []byte) error
- type Configure_Request
- func (*Configure_Request) Descriptor() ([]byte, []int)
- func (m *Configure_Request) GetConfig() *Value
- func (*Configure_Request) ProtoMessage()
- func (m *Configure_Request) Reset()
- func (m *Configure_Request) String() string
- func (m *Configure_Request) XXX_DiscardUnknown()
- func (m *Configure_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Configure_Request) XXX_Merge(src proto.Message)
- func (m *Configure_Request) XXX_Size() int
- func (m *Configure_Request) XXX_Unmarshal(b []byte) error
- type Configure_Response
- func (*Configure_Response) Descriptor() ([]byte, []int)
- func (m *Configure_Response) GetInstanceId() uint64
- func (*Configure_Response) ProtoMessage()
- func (m *Configure_Response) Reset()
- func (m *Configure_Response) String() string
- func (m *Configure_Response) XXX_DiscardUnknown()
- func (m *Configure_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Configure_Response) XXX_Merge(src proto.Message)
- func (m *Configure_Response) XXX_Size() int
- func (m *Configure_Response) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type Get
- func (*Get) Descriptor() ([]byte, []int)
- func (*Get) ProtoMessage()
- func (m *Get) Reset()
- func (m *Get) String() string
- func (m *Get) XXX_DiscardUnknown()
- func (m *Get) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Get) XXX_Merge(src proto.Message)
- func (m *Get) XXX_Size() int
- func (m *Get) XXX_Unmarshal(b []byte) error
- type Get_MultiRequest
- func (*Get_MultiRequest) Descriptor() ([]byte, []int)
- func (m *Get_MultiRequest) GetRequests() []*Get_Request
- func (*Get_MultiRequest) ProtoMessage()
- func (m *Get_MultiRequest) Reset()
- func (m *Get_MultiRequest) String() string
- func (m *Get_MultiRequest) XXX_DiscardUnknown()
- func (m *Get_MultiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Get_MultiRequest) XXX_Merge(src proto.Message)
- func (m *Get_MultiRequest) XXX_Size() int
- func (m *Get_MultiRequest) XXX_Unmarshal(b []byte) error
- type Get_MultiResponse
- func (*Get_MultiResponse) Descriptor() ([]byte, []int)
- func (m *Get_MultiResponse) GetResponses() []*Get_Response
- func (*Get_MultiResponse) ProtoMessage()
- func (m *Get_MultiResponse) Reset()
- func (m *Get_MultiResponse) String() string
- func (m *Get_MultiResponse) XXX_DiscardUnknown()
- func (m *Get_MultiResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Get_MultiResponse) XXX_Merge(src proto.Message)
- func (m *Get_MultiResponse) XXX_Size() int
- func (m *Get_MultiResponse) XXX_Unmarshal(b []byte) error
- type Get_Request
- func (*Get_Request) Descriptor() ([]byte, []int)
- func (m *Get_Request) GetContext() map[string]*Value
- func (m *Get_Request) GetExecDeadline() uint64
- func (m *Get_Request) GetExecId() uint64
- func (m *Get_Request) GetInstanceId() uint64
- func (m *Get_Request) GetKeyId() uint64
- func (m *Get_Request) GetKeys() []*Get_Request_Key
- func (*Get_Request) ProtoMessage()
- func (m *Get_Request) Reset()
- func (m *Get_Request) String() string
- func (m *Get_Request) XXX_DiscardUnknown()
- func (m *Get_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Get_Request) XXX_Merge(src proto.Message)
- func (m *Get_Request) XXX_Size() int
- func (m *Get_Request) XXX_Unmarshal(b []byte) error
- type Get_Request_Key
- func (*Get_Request_Key) Descriptor() ([]byte, []int)
- func (m *Get_Request_Key) GetArgs() []*Value
- func (m *Get_Request_Key) GetCall() bool
- func (m *Get_Request_Key) GetKey() string
- func (*Get_Request_Key) ProtoMessage()
- func (m *Get_Request_Key) Reset()
- func (m *Get_Request_Key) String() string
- func (m *Get_Request_Key) XXX_DiscardUnknown()
- func (m *Get_Request_Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Get_Request_Key) XXX_Merge(src proto.Message)
- func (m *Get_Request_Key) XXX_Size() int
- func (m *Get_Request_Key) XXX_Unmarshal(b []byte) error
- type Get_Response
- func (*Get_Response) Descriptor() ([]byte, []int)
- func (m *Get_Response) GetCallable() bool
- func (m *Get_Response) GetContext() map[string]*Value
- func (m *Get_Response) GetInstanceId() uint64
- func (m *Get_Response) GetKeyId() uint64
- func (m *Get_Response) GetKeys() []string
- func (m *Get_Response) GetValue() *Value
- func (*Get_Response) ProtoMessage()
- func (m *Get_Response) Reset()
- func (m *Get_Response) String() string
- func (m *Get_Response) XXX_DiscardUnknown()
- func (m *Get_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Get_Response) XXX_Merge(src proto.Message)
- func (m *Get_Response) XXX_Size() int
- func (m *Get_Response) XXX_Unmarshal(b []byte) error
- type ImportClient
- type ImportServer
- type Value
- func (*Value) Descriptor() ([]byte, []int)
- func (m *Value) GetType() Value_Type
- func (m *Value) GetValue() isValue_Value
- func (m *Value) GetValueBool() bool
- func (m *Value) GetValueFloat() float64
- func (m *Value) GetValueInt() int64
- func (m *Value) GetValueList() *Value_List
- func (m *Value) GetValueMap() *Value_Map
- func (m *Value) GetValueString() string
- func (*Value) ProtoMessage()
- func (m *Value) Reset()
- func (m *Value) String() string
- func (m *Value) XXX_DiscardUnknown()
- func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Value) XXX_Merge(src proto.Message)
- func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Value) XXX_Size() int
- func (m *Value) XXX_Unmarshal(b []byte) error
- type Value_KV
- func (*Value_KV) Descriptor() ([]byte, []int)
- func (m *Value_KV) GetKey() *Value
- func (m *Value_KV) GetValue() *Value
- func (*Value_KV) ProtoMessage()
- func (m *Value_KV) Reset()
- func (m *Value_KV) String() string
- func (m *Value_KV) XXX_DiscardUnknown()
- func (m *Value_KV) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Value_KV) XXX_Merge(src proto.Message)
- func (m *Value_KV) XXX_Size() int
- func (m *Value_KV) XXX_Unmarshal(b []byte) error
- type Value_List
- func (*Value_List) Descriptor() ([]byte, []int)
- func (m *Value_List) GetElems() []*Value
- func (*Value_List) ProtoMessage()
- func (m *Value_List) Reset()
- func (m *Value_List) String() string
- func (m *Value_List) XXX_DiscardUnknown()
- func (m *Value_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Value_List) XXX_Merge(src proto.Message)
- func (m *Value_List) XXX_Size() int
- func (m *Value_List) XXX_Unmarshal(b []byte) error
- type Value_Map
- func (*Value_Map) Descriptor() ([]byte, []int)
- func (m *Value_Map) GetElems() []*Value_KV
- func (*Value_Map) ProtoMessage()
- func (m *Value_Map) Reset()
- func (m *Value_Map) String() string
- func (m *Value_Map) XXX_DiscardUnknown()
- func (m *Value_Map) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Value_Map) XXX_Merge(src proto.Message)
- func (m *Value_Map) XXX_Size() int
- func (m *Value_Map) XXX_Unmarshal(b []byte) error
- type Value_Type
- type Value_ValueBool
- type Value_ValueFloat
- type Value_ValueInt
- type Value_ValueList
- type Value_ValueMap
- type Value_ValueString
Constants ¶
This section is empty.
Variables ¶
var Value_Type_name = map[int32]string{
0: "INVALID",
1: "UNDEFINED",
2: "NULL",
3: "BOOL",
4: "INT",
5: "FLOAT",
6: "STRING",
7: "LIST",
8: "MAP",
}
var Value_Type_value = map[string]int32{
"INVALID": 0,
"UNDEFINED": 1,
"NULL": 2,
"BOOL": 3,
"INT": 4,
"FLOAT": 5,
"STRING": 6,
"LIST": 7,
"MAP": 8,
}
Functions ¶
func RegisterImportServer ¶
func RegisterImportServer(s *grpc.Server, srv ImportServer)
Types ¶
type Close ¶
type Close struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Close contains the structures for Close RPC calls.
func (*Close) Descriptor ¶
func (*Close) ProtoMessage ¶
func (*Close) ProtoMessage()
func (*Close) XXX_DiscardUnknown ¶
func (m *Close) XXX_DiscardUnknown()
func (*Close) XXX_Marshal ¶
func (*Close) XXX_Unmarshal ¶
type Close_Request ¶
type Close_Request struct { InstanceId uint64 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Close_Request) Descriptor ¶
func (*Close_Request) Descriptor() ([]byte, []int)
func (*Close_Request) GetInstanceId ¶
func (m *Close_Request) GetInstanceId() uint64
func (*Close_Request) ProtoMessage ¶
func (*Close_Request) ProtoMessage()
func (*Close_Request) Reset ¶
func (m *Close_Request) Reset()
func (*Close_Request) String ¶
func (m *Close_Request) String() string
func (*Close_Request) XXX_DiscardUnknown ¶
func (m *Close_Request) XXX_DiscardUnknown()
func (*Close_Request) XXX_Marshal ¶
func (m *Close_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Close_Request) XXX_Merge ¶
func (dst *Close_Request) XXX_Merge(src proto.Message)
func (*Close_Request) XXX_Size ¶
func (m *Close_Request) XXX_Size() int
func (*Close_Request) XXX_Unmarshal ¶
func (m *Close_Request) XXX_Unmarshal(b []byte) error
type Configure ¶
type Configure struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Configure are the structures for Import.Configure
func (*Configure) Descriptor ¶
func (*Configure) ProtoMessage ¶
func (*Configure) ProtoMessage()
func (*Configure) XXX_DiscardUnknown ¶
func (m *Configure) XXX_DiscardUnknown()
func (*Configure) XXX_Marshal ¶
func (*Configure) XXX_Unmarshal ¶
type Configure_Request ¶
type Configure_Request struct { Config *Value `protobuf:"bytes,3,opt,name=config,proto3" json:"config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Configure_Request) Descriptor ¶
func (*Configure_Request) Descriptor() ([]byte, []int)
func (*Configure_Request) GetConfig ¶
func (m *Configure_Request) GetConfig() *Value
func (*Configure_Request) ProtoMessage ¶
func (*Configure_Request) ProtoMessage()
func (*Configure_Request) Reset ¶
func (m *Configure_Request) Reset()
func (*Configure_Request) String ¶
func (m *Configure_Request) String() string
func (*Configure_Request) XXX_DiscardUnknown ¶
func (m *Configure_Request) XXX_DiscardUnknown()
func (*Configure_Request) XXX_Marshal ¶
func (m *Configure_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Configure_Request) XXX_Merge ¶
func (dst *Configure_Request) XXX_Merge(src proto.Message)
func (*Configure_Request) XXX_Size ¶
func (m *Configure_Request) XXX_Size() int
func (*Configure_Request) XXX_Unmarshal ¶
func (m *Configure_Request) XXX_Unmarshal(b []byte) error
type Configure_Response ¶
type Configure_Response struct { InstanceId uint64 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Configure_Response) Descriptor ¶
func (*Configure_Response) Descriptor() ([]byte, []int)
func (*Configure_Response) GetInstanceId ¶
func (m *Configure_Response) GetInstanceId() uint64
func (*Configure_Response) ProtoMessage ¶
func (*Configure_Response) ProtoMessage()
func (*Configure_Response) Reset ¶
func (m *Configure_Response) Reset()
func (*Configure_Response) String ¶
func (m *Configure_Response) String() string
func (*Configure_Response) XXX_DiscardUnknown ¶
func (m *Configure_Response) XXX_DiscardUnknown()
func (*Configure_Response) XXX_Marshal ¶
func (m *Configure_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Configure_Response) XXX_Merge ¶
func (dst *Configure_Response) XXX_Merge(src proto.Message)
func (*Configure_Response) XXX_Size ¶
func (m *Configure_Response) XXX_Size() int
func (*Configure_Response) XXX_Unmarshal ¶
func (m *Configure_Response) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Empty is just an empty message.
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type Get ¶
type Get struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Get are the structures for an Import.Get.
func (*Get) Descriptor ¶
func (*Get) ProtoMessage ¶
func (*Get) ProtoMessage()
func (*Get) XXX_DiscardUnknown ¶
func (m *Get) XXX_DiscardUnknown()
func (*Get) XXX_Unmarshal ¶
type Get_MultiRequest ¶
type Get_MultiRequest struct { Requests []*Get_Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MultiRequest allows multiple requests in a single Get.
func (*Get_MultiRequest) Descriptor ¶
func (*Get_MultiRequest) Descriptor() ([]byte, []int)
func (*Get_MultiRequest) GetRequests ¶
func (m *Get_MultiRequest) GetRequests() []*Get_Request
func (*Get_MultiRequest) ProtoMessage ¶
func (*Get_MultiRequest) ProtoMessage()
func (*Get_MultiRequest) Reset ¶
func (m *Get_MultiRequest) Reset()
func (*Get_MultiRequest) String ¶
func (m *Get_MultiRequest) String() string
func (*Get_MultiRequest) XXX_DiscardUnknown ¶
func (m *Get_MultiRequest) XXX_DiscardUnknown()
func (*Get_MultiRequest) XXX_Marshal ¶
func (m *Get_MultiRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Get_MultiRequest) XXX_Merge ¶
func (dst *Get_MultiRequest) XXX_Merge(src proto.Message)
func (*Get_MultiRequest) XXX_Size ¶
func (m *Get_MultiRequest) XXX_Size() int
func (*Get_MultiRequest) XXX_Unmarshal ¶
func (m *Get_MultiRequest) XXX_Unmarshal(b []byte) error
type Get_MultiResponse ¶
type Get_MultiResponse struct { Responses []*Get_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MultiResponse allows multiple responses in a single Get.
func (*Get_MultiResponse) Descriptor ¶
func (*Get_MultiResponse) Descriptor() ([]byte, []int)
func (*Get_MultiResponse) GetResponses ¶
func (m *Get_MultiResponse) GetResponses() []*Get_Response
func (*Get_MultiResponse) ProtoMessage ¶
func (*Get_MultiResponse) ProtoMessage()
func (*Get_MultiResponse) Reset ¶
func (m *Get_MultiResponse) Reset()
func (*Get_MultiResponse) String ¶
func (m *Get_MultiResponse) String() string
func (*Get_MultiResponse) XXX_DiscardUnknown ¶
func (m *Get_MultiResponse) XXX_DiscardUnknown()
func (*Get_MultiResponse) XXX_Marshal ¶
func (m *Get_MultiResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Get_MultiResponse) XXX_Merge ¶
func (dst *Get_MultiResponse) XXX_Merge(src proto.Message)
func (*Get_MultiResponse) XXX_Size ¶
func (m *Get_MultiResponse) XXX_Size() int
func (*Get_MultiResponse) XXX_Unmarshal ¶
func (m *Get_MultiResponse) XXX_Unmarshal(b []byte) error
type Get_Request ¶
type Get_Request struct { InstanceId uint64 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` ExecId uint64 `protobuf:"varint,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` ExecDeadline uint64 `protobuf:"varint,3,opt,name=exec_deadline,json=execDeadline,proto3" json:"exec_deadline,omitempty"` Keys []*Get_Request_Key `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"` KeyId uint64 `protobuf:"varint,5,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` Context map[string]*Value `` /* 155-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request is a single request for a Get.
func (*Get_Request) Descriptor ¶
func (*Get_Request) Descriptor() ([]byte, []int)
func (*Get_Request) GetContext ¶ added in v0.3.0
func (m *Get_Request) GetContext() map[string]*Value
func (*Get_Request) GetExecDeadline ¶
func (m *Get_Request) GetExecDeadline() uint64
func (*Get_Request) GetExecId ¶
func (m *Get_Request) GetExecId() uint64
func (*Get_Request) GetInstanceId ¶
func (m *Get_Request) GetInstanceId() uint64
func (*Get_Request) GetKeyId ¶
func (m *Get_Request) GetKeyId() uint64
func (*Get_Request) GetKeys ¶
func (m *Get_Request) GetKeys() []*Get_Request_Key
func (*Get_Request) ProtoMessage ¶
func (*Get_Request) ProtoMessage()
func (*Get_Request) Reset ¶
func (m *Get_Request) Reset()
func (*Get_Request) String ¶
func (m *Get_Request) String() string
func (*Get_Request) XXX_DiscardUnknown ¶
func (m *Get_Request) XXX_DiscardUnknown()
func (*Get_Request) XXX_Marshal ¶
func (m *Get_Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Get_Request) XXX_Merge ¶
func (dst *Get_Request) XXX_Merge(src proto.Message)
func (*Get_Request) XXX_Size ¶
func (m *Get_Request) XXX_Size() int
func (*Get_Request) XXX_Unmarshal ¶
func (m *Get_Request) XXX_Unmarshal(b []byte) error
type Get_Request_Key ¶
type Get_Request_Key struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Args []*Value `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` Call bool `protobuf:"varint,3,opt,name=call,proto3" json:"call,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Get_Request_Key) Descriptor ¶
func (*Get_Request_Key) Descriptor() ([]byte, []int)
func (*Get_Request_Key) GetArgs ¶
func (m *Get_Request_Key) GetArgs() []*Value
func (*Get_Request_Key) GetCall ¶ added in v0.3.1
func (m *Get_Request_Key) GetCall() bool
func (*Get_Request_Key) GetKey ¶
func (m *Get_Request_Key) GetKey() string
func (*Get_Request_Key) ProtoMessage ¶
func (*Get_Request_Key) ProtoMessage()
func (*Get_Request_Key) Reset ¶
func (m *Get_Request_Key) Reset()
func (*Get_Request_Key) String ¶
func (m *Get_Request_Key) String() string
func (*Get_Request_Key) XXX_DiscardUnknown ¶
func (m *Get_Request_Key) XXX_DiscardUnknown()
func (*Get_Request_Key) XXX_Marshal ¶
func (m *Get_Request_Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Get_Request_Key) XXX_Merge ¶
func (dst *Get_Request_Key) XXX_Merge(src proto.Message)
func (*Get_Request_Key) XXX_Size ¶
func (m *Get_Request_Key) XXX_Size() int
func (*Get_Request_Key) XXX_Unmarshal ¶
func (m *Get_Request_Key) XXX_Unmarshal(b []byte) error
type Get_Response ¶
type Get_Response struct { InstanceId uint64 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` KeyId uint64 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` Keys []string `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` Value *Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` Context map[string]*Value `` /* 155-byte string literal not displayed */ Callable bool `protobuf:"varint,6,opt,name=callable,proto3" json:"callable,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response is a single response for a Get.
func (*Get_Response) Descriptor ¶
func (*Get_Response) Descriptor() ([]byte, []int)
func (*Get_Response) GetCallable ¶ added in v0.3.0
func (m *Get_Response) GetCallable() bool
func (*Get_Response) GetContext ¶ added in v0.3.0
func (m *Get_Response) GetContext() map[string]*Value
func (*Get_Response) GetInstanceId ¶
func (m *Get_Response) GetInstanceId() uint64
func (*Get_Response) GetKeyId ¶
func (m *Get_Response) GetKeyId() uint64
func (*Get_Response) GetKeys ¶
func (m *Get_Response) GetKeys() []string
func (*Get_Response) GetValue ¶
func (m *Get_Response) GetValue() *Value
func (*Get_Response) ProtoMessage ¶
func (*Get_Response) ProtoMessage()
func (*Get_Response) Reset ¶
func (m *Get_Response) Reset()
func (*Get_Response) String ¶
func (m *Get_Response) String() string
func (*Get_Response) XXX_DiscardUnknown ¶
func (m *Get_Response) XXX_DiscardUnknown()
func (*Get_Response) XXX_Marshal ¶
func (m *Get_Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Get_Response) XXX_Merge ¶
func (dst *Get_Response) XXX_Merge(src proto.Message)
func (*Get_Response) XXX_Size ¶
func (m *Get_Response) XXX_Size() int
func (*Get_Response) XXX_Unmarshal ¶
func (m *Get_Response) XXX_Unmarshal(b []byte) error
type ImportClient ¶
type ImportClient interface { Configure(ctx context.Context, in *Configure_Request, opts ...grpc.CallOption) (*Configure_Response, error) Get(ctx context.Context, in *Get_MultiRequest, opts ...grpc.CallOption) (*Get_MultiResponse, error) Close(ctx context.Context, in *Close_Request, opts ...grpc.CallOption) (*Empty, error) }
ImportClient is the client API for Import service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewImportClient ¶
func NewImportClient(cc *grpc.ClientConn) ImportClient
type ImportServer ¶
type ImportServer interface { Configure(context.Context, *Configure_Request) (*Configure_Response, error) Get(context.Context, *Get_MultiRequest) (*Get_MultiResponse, error) Close(context.Context, *Close_Request) (*Empty, error) }
ImportServer is the server API for Import service.
type Value ¶
type Value struct { // type is the type of this value Type Value_Type `protobuf:"varint,1,opt,name=type,proto3,enum=hashicorp.sentinel.proto.Value_Type" json:"type,omitempty"` // value is the value only if the type is not UNDEFINED or NULL. // If the value is UNDEFINED or NULL, then the value is known. // // Types that are valid to be assigned to Value: // *Value_ValueBool // *Value_ValueInt // *Value_ValueFloat // *Value_ValueString // *Value_ValueList // *Value_ValueMap Value isValue_Value `protobuf_oneof:"value"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Value represents a Sentinel value.
func (*Value) Descriptor ¶
func (*Value) GetType ¶
func (m *Value) GetType() Value_Type
func (*Value) GetValueBool ¶
func (*Value) GetValueFloat ¶
func (*Value) GetValueInt ¶
func (*Value) GetValueList ¶
func (m *Value) GetValueList() *Value_List
func (*Value) GetValueMap ¶
func (*Value) GetValueString ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) XXX_DiscardUnknown ¶
func (m *Value) XXX_DiscardUnknown()
func (*Value) XXX_Marshal ¶
func (*Value) XXX_OneofFuncs ¶
func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Value) XXX_Unmarshal ¶
type Value_KV ¶
type Value_KV struct { Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Value_KV) Descriptor ¶
func (*Value_KV) ProtoMessage ¶
func (*Value_KV) ProtoMessage()
func (*Value_KV) XXX_DiscardUnknown ¶
func (m *Value_KV) XXX_DiscardUnknown()
func (*Value_KV) XXX_Marshal ¶
func (*Value_KV) XXX_Unmarshal ¶
type Value_List ¶
type Value_List struct { Elems []*Value `protobuf:"bytes,1,rep,name=elems,proto3" json:"elems,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Value_List) Descriptor ¶
func (*Value_List) Descriptor() ([]byte, []int)
func (*Value_List) GetElems ¶
func (m *Value_List) GetElems() []*Value
func (*Value_List) ProtoMessage ¶
func (*Value_List) ProtoMessage()
func (*Value_List) Reset ¶
func (m *Value_List) Reset()
func (*Value_List) String ¶
func (m *Value_List) String() string
func (*Value_List) XXX_DiscardUnknown ¶
func (m *Value_List) XXX_DiscardUnknown()
func (*Value_List) XXX_Marshal ¶
func (m *Value_List) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Value_List) XXX_Merge ¶
func (dst *Value_List) XXX_Merge(src proto.Message)
func (*Value_List) XXX_Size ¶
func (m *Value_List) XXX_Size() int
func (*Value_List) XXX_Unmarshal ¶
func (m *Value_List) XXX_Unmarshal(b []byte) error
type Value_Map ¶
type Value_Map struct { Elems []*Value_KV `protobuf:"bytes,1,rep,name=elems,proto3" json:"elems,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Value_Map) Descriptor ¶
func (*Value_Map) ProtoMessage ¶
func (*Value_Map) ProtoMessage()
func (*Value_Map) XXX_DiscardUnknown ¶
func (m *Value_Map) XXX_DiscardUnknown()
func (*Value_Map) XXX_Marshal ¶
func (*Value_Map) XXX_Unmarshal ¶
type Value_Type ¶
type Value_Type int32
Type is an enum representing the type of the value. This isn't the full set of Sentinel types since some types cannot be sent via Protobufs such as rules or functions.
const ( Value_INVALID Value_Type = 0 Value_UNDEFINED Value_Type = 1 Value_NULL Value_Type = 2 Value_BOOL Value_Type = 3 Value_INT Value_Type = 4 Value_FLOAT Value_Type = 5 Value_STRING Value_Type = 6 Value_LIST Value_Type = 7 Value_MAP Value_Type = 8 )
func (Value_Type) EnumDescriptor ¶
func (Value_Type) EnumDescriptor() ([]byte, []int)
func (Value_Type) String ¶
func (x Value_Type) String() string
type Value_ValueBool ¶
type Value_ValueBool struct {
ValueBool bool `protobuf:"varint,2,opt,name=value_bool,json=valueBool,proto3,oneof"`
}
type Value_ValueFloat ¶
type Value_ValueFloat struct {
ValueFloat float64 `protobuf:"fixed64,4,opt,name=value_float,json=valueFloat,proto3,oneof"`
}
type Value_ValueInt ¶
type Value_ValueInt struct {
ValueInt int64 `protobuf:"varint,3,opt,name=value_int,json=valueInt,proto3,oneof"`
}
type Value_ValueList ¶
type Value_ValueList struct {
ValueList *Value_List `protobuf:"bytes,6,opt,name=value_list,json=valueList,proto3,oneof"`
}
type Value_ValueMap ¶
type Value_ValueMap struct {
ValueMap *Value_Map `protobuf:"bytes,7,opt,name=value_map,json=valueMap,proto3,oneof"`
}
type Value_ValueString ¶
type Value_ValueString struct {
ValueString string `protobuf:"bytes,5,opt,name=value_string,json=valueString,proto3,oneof"`
}