Documentation ¶
Overview ¶
Package admin is a generated protocol buffer package.
It is generated from these files:
namespace.proto placement.proto
It has these top-level messages:
NamespaceGetResponse NamespaceAddRequest PlacementInitRequest PlacementGetResponse PlacementAddRequest
Index ¶
- Variables
- type NamespaceAddRequest
- func (*NamespaceAddRequest) Descriptor() ([]byte, []int)
- func (m *NamespaceAddRequest) GetName() string
- func (m *NamespaceAddRequest) GetOptions() *namespace.NamespaceOptions
- func (m *NamespaceAddRequest) Marshal() (dAtA []byte, err error)
- func (m *NamespaceAddRequest) MarshalTo(dAtA []byte) (int, error)
- func (*NamespaceAddRequest) ProtoMessage()
- func (m *NamespaceAddRequest) Reset()
- func (m *NamespaceAddRequest) Size() (n int)
- func (m *NamespaceAddRequest) String() string
- func (m *NamespaceAddRequest) Unmarshal(dAtA []byte) error
- type NamespaceGetResponse
- func (*NamespaceGetResponse) Descriptor() ([]byte, []int)
- func (m *NamespaceGetResponse) GetRegistry() *namespace.Registry
- func (m *NamespaceGetResponse) Marshal() (dAtA []byte, err error)
- func (m *NamespaceGetResponse) MarshalTo(dAtA []byte) (int, error)
- func (*NamespaceGetResponse) ProtoMessage()
- func (m *NamespaceGetResponse) Reset()
- func (m *NamespaceGetResponse) Size() (n int)
- func (m *NamespaceGetResponse) String() string
- func (m *NamespaceGetResponse) Unmarshal(dAtA []byte) error
- type PlacementAddRequest
- func (*PlacementAddRequest) Descriptor() ([]byte, []int)
- func (m *PlacementAddRequest) GetInstances() []*placementpb.Instance
- func (m *PlacementAddRequest) Marshal() (dAtA []byte, err error)
- func (m *PlacementAddRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PlacementAddRequest) ProtoMessage()
- func (m *PlacementAddRequest) Reset()
- func (m *PlacementAddRequest) Size() (n int)
- func (m *PlacementAddRequest) String() string
- func (m *PlacementAddRequest) Unmarshal(dAtA []byte) error
- type PlacementGetResponse
- func (*PlacementGetResponse) Descriptor() ([]byte, []int)
- func (m *PlacementGetResponse) GetPlacement() *placementpb.Placement
- func (m *PlacementGetResponse) GetVersion() int32
- func (m *PlacementGetResponse) Marshal() (dAtA []byte, err error)
- func (m *PlacementGetResponse) MarshalTo(dAtA []byte) (int, error)
- func (*PlacementGetResponse) ProtoMessage()
- func (m *PlacementGetResponse) Reset()
- func (m *PlacementGetResponse) Size() (n int)
- func (m *PlacementGetResponse) String() string
- func (m *PlacementGetResponse) Unmarshal(dAtA []byte) error
- type PlacementInitRequest
- func (*PlacementInitRequest) Descriptor() ([]byte, []int)
- func (m *PlacementInitRequest) GetInstances() []*placementpb.Instance
- func (m *PlacementInitRequest) GetNumShards() int32
- func (m *PlacementInitRequest) GetReplicationFactor() int32
- func (m *PlacementInitRequest) Marshal() (dAtA []byte, err error)
- func (m *PlacementInitRequest) MarshalTo(dAtA []byte) (int, error)
- func (*PlacementInitRequest) ProtoMessage()
- func (m *PlacementInitRequest) Reset()
- func (m *PlacementInitRequest) Size() (n int)
- func (m *PlacementInitRequest) String() string
- func (m *PlacementInitRequest) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthNamespace = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowNamespace = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthPlacement = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPlacement = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type NamespaceAddRequest ¶
type NamespaceAddRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Options *namespace.NamespaceOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` }
func (*NamespaceAddRequest) Descriptor ¶
func (*NamespaceAddRequest) Descriptor() ([]byte, []int)
func (*NamespaceAddRequest) GetName ¶
func (m *NamespaceAddRequest) GetName() string
func (*NamespaceAddRequest) GetOptions ¶
func (m *NamespaceAddRequest) GetOptions() *namespace.NamespaceOptions
func (*NamespaceAddRequest) Marshal ¶
func (m *NamespaceAddRequest) Marshal() (dAtA []byte, err error)
func (*NamespaceAddRequest) MarshalTo ¶
func (m *NamespaceAddRequest) MarshalTo(dAtA []byte) (int, error)
func (*NamespaceAddRequest) ProtoMessage ¶
func (*NamespaceAddRequest) ProtoMessage()
func (*NamespaceAddRequest) Reset ¶
func (m *NamespaceAddRequest) Reset()
func (*NamespaceAddRequest) Size ¶
func (m *NamespaceAddRequest) Size() (n int)
func (*NamespaceAddRequest) String ¶
func (m *NamespaceAddRequest) String() string
func (*NamespaceAddRequest) Unmarshal ¶
func (m *NamespaceAddRequest) Unmarshal(dAtA []byte) error
type NamespaceGetResponse ¶
type NamespaceGetResponse struct {
Registry *namespace.Registry `protobuf:"bytes,1,opt,name=registry" json:"registry,omitempty"`
}
func (*NamespaceGetResponse) Descriptor ¶
func (*NamespaceGetResponse) Descriptor() ([]byte, []int)
func (*NamespaceGetResponse) GetRegistry ¶
func (m *NamespaceGetResponse) GetRegistry() *namespace.Registry
func (*NamespaceGetResponse) Marshal ¶
func (m *NamespaceGetResponse) Marshal() (dAtA []byte, err error)
func (*NamespaceGetResponse) MarshalTo ¶
func (m *NamespaceGetResponse) MarshalTo(dAtA []byte) (int, error)
func (*NamespaceGetResponse) ProtoMessage ¶
func (*NamespaceGetResponse) ProtoMessage()
func (*NamespaceGetResponse) Reset ¶
func (m *NamespaceGetResponse) Reset()
func (*NamespaceGetResponse) Size ¶
func (m *NamespaceGetResponse) Size() (n int)
func (*NamespaceGetResponse) String ¶
func (m *NamespaceGetResponse) String() string
func (*NamespaceGetResponse) Unmarshal ¶
func (m *NamespaceGetResponse) Unmarshal(dAtA []byte) error
type PlacementAddRequest ¶
type PlacementAddRequest struct {
Instances []*placementpb.Instance `protobuf:"bytes,1,rep,name=instances" json:"instances,omitempty"`
}
func (*PlacementAddRequest) Descriptor ¶
func (*PlacementAddRequest) Descriptor() ([]byte, []int)
func (*PlacementAddRequest) GetInstances ¶
func (m *PlacementAddRequest) GetInstances() []*placementpb.Instance
func (*PlacementAddRequest) Marshal ¶
func (m *PlacementAddRequest) Marshal() (dAtA []byte, err error)
func (*PlacementAddRequest) MarshalTo ¶
func (m *PlacementAddRequest) MarshalTo(dAtA []byte) (int, error)
func (*PlacementAddRequest) ProtoMessage ¶
func (*PlacementAddRequest) ProtoMessage()
func (*PlacementAddRequest) Reset ¶
func (m *PlacementAddRequest) Reset()
func (*PlacementAddRequest) Size ¶
func (m *PlacementAddRequest) Size() (n int)
func (*PlacementAddRequest) String ¶
func (m *PlacementAddRequest) String() string
func (*PlacementAddRequest) Unmarshal ¶
func (m *PlacementAddRequest) Unmarshal(dAtA []byte) error
type PlacementGetResponse ¶
type PlacementGetResponse struct { Placement *placementpb.Placement `protobuf:"bytes,1,opt,name=placement" json:"placement,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` }
func (*PlacementGetResponse) Descriptor ¶
func (*PlacementGetResponse) Descriptor() ([]byte, []int)
func (*PlacementGetResponse) GetPlacement ¶
func (m *PlacementGetResponse) GetPlacement() *placementpb.Placement
func (*PlacementGetResponse) GetVersion ¶
func (m *PlacementGetResponse) GetVersion() int32
func (*PlacementGetResponse) Marshal ¶
func (m *PlacementGetResponse) Marshal() (dAtA []byte, err error)
func (*PlacementGetResponse) MarshalTo ¶
func (m *PlacementGetResponse) MarshalTo(dAtA []byte) (int, error)
func (*PlacementGetResponse) ProtoMessage ¶
func (*PlacementGetResponse) ProtoMessage()
func (*PlacementGetResponse) Reset ¶
func (m *PlacementGetResponse) Reset()
func (*PlacementGetResponse) Size ¶
func (m *PlacementGetResponse) Size() (n int)
func (*PlacementGetResponse) String ¶
func (m *PlacementGetResponse) String() string
func (*PlacementGetResponse) Unmarshal ¶
func (m *PlacementGetResponse) Unmarshal(dAtA []byte) error
type PlacementInitRequest ¶
type PlacementInitRequest struct { Instances []*placementpb.Instance `protobuf:"bytes,1,rep,name=instances" json:"instances,omitempty"` NumShards int32 `protobuf:"varint,2,opt,name=num_shards,json=numShards,proto3" json:"num_shards,omitempty"` ReplicationFactor int32 `protobuf:"varint,3,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"` }
func (*PlacementInitRequest) Descriptor ¶
func (*PlacementInitRequest) Descriptor() ([]byte, []int)
func (*PlacementInitRequest) GetInstances ¶
func (m *PlacementInitRequest) GetInstances() []*placementpb.Instance
func (*PlacementInitRequest) GetNumShards ¶
func (m *PlacementInitRequest) GetNumShards() int32
func (*PlacementInitRequest) GetReplicationFactor ¶
func (m *PlacementInitRequest) GetReplicationFactor() int32
func (*PlacementInitRequest) Marshal ¶
func (m *PlacementInitRequest) Marshal() (dAtA []byte, err error)
func (*PlacementInitRequest) MarshalTo ¶
func (m *PlacementInitRequest) MarshalTo(dAtA []byte) (int, error)
func (*PlacementInitRequest) ProtoMessage ¶
func (*PlacementInitRequest) ProtoMessage()
func (*PlacementInitRequest) Reset ¶
func (m *PlacementInitRequest) Reset()
func (*PlacementInitRequest) Size ¶
func (m *PlacementInitRequest) Size() (n int)
func (*PlacementInitRequest) String ¶
func (m *PlacementInitRequest) String() string
func (*PlacementInitRequest) Unmarshal ¶
func (m *PlacementInitRequest) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.