Documentation
¶
Index ¶
- func RegisterPrefixRangeAllocatorServer(s *grpc.Server, srv PrefixRangeAllocatorServer)
- type IpRange
- func (*IpRange) Descriptor() ([]byte, []int)
- func (m *IpRange) GetIdentifier() *RangeIdentifier
- func (m *IpRange) GetPrefix() *ipprovider.IpPrefix
- func (*IpRange) ProtoMessage()
- func (m *IpRange) Reset()
- func (m *IpRange) String() string
- func (m *IpRange) Validate() error
- func (m *IpRange) XXX_DiscardUnknown()
- func (m *IpRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IpRange) XXX_Merge(src proto.Message)
- func (m *IpRange) XXX_Size() int
- func (m *IpRange) XXX_Unmarshal(b []byte) error
- type PrefixRangeAllocatorClient
- type PrefixRangeAllocatorServer
- type RangeIdentifier
- func (*RangeIdentifier) Descriptor() ([]byte, []int)
- func (m *RangeIdentifier) GetConnectivityDomain() string
- func (m *RangeIdentifier) GetFqdn() string
- func (*RangeIdentifier) ProtoMessage()
- func (m *RangeIdentifier) Reset()
- func (m *RangeIdentifier) String() string
- func (m *RangeIdentifier) Validate() error
- func (m *RangeIdentifier) XXX_DiscardUnknown()
- func (m *RangeIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RangeIdentifier) XXX_Merge(src proto.Message)
- func (m *RangeIdentifier) XXX_Size() int
- func (m *RangeIdentifier) XXX_Unmarshal(b []byte) error
- type UnimplementedPrefixRangeAllocatorServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPrefixRangeAllocatorServer ¶
func RegisterPrefixRangeAllocatorServer(s *grpc.Server, srv PrefixRangeAllocatorServer)
Types ¶
type IpRange ¶
type IpRange struct {
Identifier *RangeIdentifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
Prefix *ipprovider.IpPrefix `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*IpRange) Descriptor ¶
func (*IpRange) GetIdentifier ¶
func (m *IpRange) GetIdentifier() *RangeIdentifier
func (*IpRange) GetPrefix ¶
func (m *IpRange) GetPrefix() *ipprovider.IpPrefix
func (*IpRange) ProtoMessage ¶
func (*IpRange) ProtoMessage()
func (*IpRange) XXX_DiscardUnknown ¶
func (m *IpRange) XXX_DiscardUnknown()
func (*IpRange) XXX_Marshal ¶
func (*IpRange) XXX_Unmarshal ¶
type PrefixRangeAllocatorClient ¶
type PrefixRangeAllocatorClient interface {
AssignRange(ctx context.Context, in *IpRange, opts ...grpc.CallOption) (*ipprovider.Empty, error)
UnassignRange(ctx context.Context, in *IpRange, opts ...grpc.CallOption) (*ipprovider.Empty, error)
}
PrefixRangeAllocatorClient is the client API for PrefixRangeAllocator service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPrefixRangeAllocatorClient ¶
func NewPrefixRangeAllocatorClient(cc *grpc.ClientConn) PrefixRangeAllocatorClient
type PrefixRangeAllocatorServer ¶
type PrefixRangeAllocatorServer interface {
AssignRange(context.Context, *IpRange) (*ipprovider.Empty, error)
UnassignRange(context.Context, *IpRange) (*ipprovider.Empty, error)
}
PrefixRangeAllocatorServer is the server API for PrefixRangeAllocator service.
type RangeIdentifier ¶
type RangeIdentifier struct {
Fqdn string `protobuf:"bytes,1,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
ConnectivityDomain string `protobuf:"bytes,3,opt,name=connectivity_domain,json=connectivityDomain,proto3" json:"connectivity_domain,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*RangeIdentifier) Descriptor ¶
func (*RangeIdentifier) Descriptor() ([]byte, []int)
func (*RangeIdentifier) GetConnectivityDomain ¶
func (m *RangeIdentifier) GetConnectivityDomain() string
func (*RangeIdentifier) GetFqdn ¶
func (m *RangeIdentifier) GetFqdn() string
func (*RangeIdentifier) ProtoMessage ¶
func (*RangeIdentifier) ProtoMessage()
func (*RangeIdentifier) Reset ¶
func (m *RangeIdentifier) Reset()
func (*RangeIdentifier) String ¶
func (m *RangeIdentifier) String() string
func (*RangeIdentifier) Validate ¶
func (m *RangeIdentifier) Validate() error
func (*RangeIdentifier) XXX_DiscardUnknown ¶
func (m *RangeIdentifier) XXX_DiscardUnknown()
func (*RangeIdentifier) XXX_Marshal ¶
func (m *RangeIdentifier) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RangeIdentifier) XXX_Merge ¶
func (m *RangeIdentifier) XXX_Merge(src proto.Message)
func (*RangeIdentifier) XXX_Size ¶
func (m *RangeIdentifier) XXX_Size() int
func (*RangeIdentifier) XXX_Unmarshal ¶
func (m *RangeIdentifier) XXX_Unmarshal(b []byte) error
type UnimplementedPrefixRangeAllocatorServer ¶
type UnimplementedPrefixRangeAllocatorServer struct {
}
UnimplementedPrefixRangeAllocatorServer can be embedded to have forward compatible implementations.
func (*UnimplementedPrefixRangeAllocatorServer) AssignRange ¶
func (*UnimplementedPrefixRangeAllocatorServer) AssignRange(ctx context.Context, req *IpRange) (*ipprovider.Empty, error)
func (*UnimplementedPrefixRangeAllocatorServer) UnassignRange ¶
func (*UnimplementedPrefixRangeAllocatorServer) UnassignRange(ctx context.Context, req *IpRange) (*ipprovider.Empty, error)
Click to show internal directories.
Click to hide internal directories.