Documentation ¶
Index ¶
- func RegisterNetworkServer(s *grpc.Server, srv NetworkServer)
- type AddRouteRequest
- func (*AddRouteRequest) Descriptor() ([]byte, []int)
- func (m *AddRouteRequest) GetCIDR() string
- func (m *AddRouteRequest) GetTarget() string
- func (*AddRouteRequest) ProtoMessage()
- func (m *AddRouteRequest) Reset()
- func (m *AddRouteRequest) String() string
- func (m *AddRouteRequest) XXX_DiscardUnknown()
- func (m *AddRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AddRouteRequest) XXX_Merge(src proto.Message)
- func (m *AddRouteRequest) XXX_Size() int
- func (m *AddRouteRequest) XXX_Unmarshal(b []byte) error
- type AllocateIPRequest
- func (*AllocateIPRequest) Descriptor() ([]byte, []int)
- func (m *AllocateIPRequest) GetID() string
- func (m *AllocateIPRequest) GetNode() string
- func (m *AllocateIPRequest) GetSubnetCIDR() string
- func (*AllocateIPRequest) ProtoMessage()
- func (m *AllocateIPRequest) Reset()
- func (m *AllocateIPRequest) String() string
- func (m *AllocateIPRequest) XXX_DiscardUnknown()
- func (m *AllocateIPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AllocateIPRequest) XXX_Merge(src proto.Message)
- func (m *AllocateIPRequest) XXX_Size() int
- func (m *AllocateIPRequest) XXX_Unmarshal(b []byte) error
- type AllocateIPResponse
- func (*AllocateIPResponse) Descriptor() ([]byte, []int)
- func (m *AllocateIPResponse) GetIP() string
- func (m *AllocateIPResponse) GetNode() string
- func (*AllocateIPResponse) ProtoMessage()
- func (m *AllocateIPResponse) Reset()
- func (m *AllocateIPResponse) String() string
- func (m *AllocateIPResponse) XXX_DiscardUnknown()
- func (m *AllocateIPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AllocateIPResponse) XXX_Merge(src proto.Message)
- func (m *AllocateIPResponse) XXX_Size() int
- func (m *AllocateIPResponse) XXX_Unmarshal(b []byte) error
- type AllocateSubnetRequest
- func (*AllocateSubnetRequest) Descriptor() ([]byte, []int)
- func (m *AllocateSubnetRequest) GetNode() string
- func (*AllocateSubnetRequest) ProtoMessage()
- func (m *AllocateSubnetRequest) Reset()
- func (m *AllocateSubnetRequest) String() string
- func (m *AllocateSubnetRequest) XXX_DiscardUnknown()
- func (m *AllocateSubnetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AllocateSubnetRequest) XXX_Merge(src proto.Message)
- func (m *AllocateSubnetRequest) XXX_Size() int
- func (m *AllocateSubnetRequest) XXX_Unmarshal(b []byte) error
- type AllocateSubnetResponse
- func (*AllocateSubnetResponse) Descriptor() ([]byte, []int)
- func (m *AllocateSubnetResponse) GetNode() string
- func (m *AllocateSubnetResponse) GetSubnetCIDR() string
- func (*AllocateSubnetResponse) ProtoMessage()
- func (m *AllocateSubnetResponse) Reset()
- func (m *AllocateSubnetResponse) String() string
- func (m *AllocateSubnetResponse) XXX_DiscardUnknown()
- func (m *AllocateSubnetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AllocateSubnetResponse) XXX_Merge(src proto.Message)
- func (m *AllocateSubnetResponse) XXX_Size() int
- func (m *AllocateSubnetResponse) XXX_Unmarshal(b []byte) error
- type ConfigureRequest
- func (*ConfigureRequest) Descriptor() ([]byte, []int)
- func (m *ConfigureRequest) GetSubnet() *Subnet
- func (*ConfigureRequest) ProtoMessage()
- func (m *ConfigureRequest) Reset()
- func (m *ConfigureRequest) String() string
- func (m *ConfigureRequest) XXX_DiscardUnknown()
- func (m *ConfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfigureRequest) XXX_Merge(src proto.Message)
- func (m *ConfigureRequest) XXX_Size() int
- func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error
- type DeallocateSubnetRequest
- func (*DeallocateSubnetRequest) Descriptor() ([]byte, []int)
- func (m *DeallocateSubnetRequest) GetNode() string
- func (m *DeallocateSubnetRequest) GetSubnetCIDR() string
- func (*DeallocateSubnetRequest) ProtoMessage()
- func (m *DeallocateSubnetRequest) Reset()
- func (m *DeallocateSubnetRequest) String() string
- func (m *DeallocateSubnetRequest) XXX_DiscardUnknown()
- func (m *DeallocateSubnetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeallocateSubnetRequest) XXX_Merge(src proto.Message)
- func (m *DeallocateSubnetRequest) XXX_Size() int
- func (m *DeallocateSubnetRequest) XXX_Unmarshal(b []byte) error
- type DeleteRouteRequest
- func (*DeleteRouteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRouteRequest) GetCIDR() string
- func (m *DeleteRouteRequest) GetTarget() string
- func (*DeleteRouteRequest) ProtoMessage()
- func (m *DeleteRouteRequest) Reset()
- func (m *DeleteRouteRequest) String() string
- func (m *DeleteRouteRequest) XXX_DiscardUnknown()
- func (m *DeleteRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteRouteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRouteRequest) XXX_Size() int
- func (m *DeleteRouteRequest) XXX_Unmarshal(b []byte) error
- type GetIPRequest
- func (*GetIPRequest) Descriptor() ([]byte, []int)
- func (m *GetIPRequest) GetID() string
- func (m *GetIPRequest) GetNode() string
- func (*GetIPRequest) ProtoMessage()
- func (m *GetIPRequest) Reset()
- func (m *GetIPRequest) String() string
- func (m *GetIPRequest) XXX_DiscardUnknown()
- func (m *GetIPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetIPRequest) XXX_Merge(src proto.Message)
- func (m *GetIPRequest) XXX_Size() int
- func (m *GetIPRequest) XXX_Unmarshal(b []byte) error
- type GetIPResponse
- func (*GetIPResponse) Descriptor() ([]byte, []int)
- func (m *GetIPResponse) GetIP() string
- func (*GetIPResponse) ProtoMessage()
- func (m *GetIPResponse) Reset()
- func (m *GetIPResponse) String() string
- func (m *GetIPResponse) XXX_DiscardUnknown()
- func (m *GetIPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetIPResponse) XXX_Merge(src proto.Message)
- func (m *GetIPResponse) XXX_Size() int
- func (m *GetIPResponse) XXX_Unmarshal(b []byte) error
- type GetSubnetRequest
- func (*GetSubnetRequest) Descriptor() ([]byte, []int)
- func (m *GetSubnetRequest) GetNode() string
- func (*GetSubnetRequest) ProtoMessage()
- func (m *GetSubnetRequest) Reset()
- func (m *GetSubnetRequest) String() string
- func (m *GetSubnetRequest) XXX_DiscardUnknown()
- func (m *GetSubnetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetSubnetRequest) XXX_Merge(src proto.Message)
- func (m *GetSubnetRequest) XXX_Size() int
- func (m *GetSubnetRequest) XXX_Unmarshal(b []byte) error
- type GetSubnetResponse
- func (*GetSubnetResponse) Descriptor() ([]byte, []int)
- func (m *GetSubnetResponse) GetSubnetCIDR() string
- func (*GetSubnetResponse) ProtoMessage()
- func (m *GetSubnetResponse) Reset()
- func (m *GetSubnetResponse) String() string
- func (m *GetSubnetResponse) XXX_DiscardUnknown()
- func (m *GetSubnetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetSubnetResponse) XXX_Merge(src proto.Message)
- func (m *GetSubnetResponse) XXX_Size() int
- func (m *GetSubnetResponse) XXX_Unmarshal(b []byte) error
- type NetworkClient
- type NetworkServer
- type ReleaseIPRequest
- func (*ReleaseIPRequest) Descriptor() ([]byte, []int)
- func (m *ReleaseIPRequest) GetID() string
- func (m *ReleaseIPRequest) GetIP() string
- func (m *ReleaseIPRequest) GetNode() string
- func (*ReleaseIPRequest) ProtoMessage()
- func (m *ReleaseIPRequest) Reset()
- func (m *ReleaseIPRequest) String() string
- func (m *ReleaseIPRequest) XXX_DiscardUnknown()
- func (m *ReleaseIPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReleaseIPRequest) XXX_Merge(src proto.Message)
- func (m *ReleaseIPRequest) XXX_Size() int
- func (m *ReleaseIPRequest) XXX_Unmarshal(b []byte) error
- type Route
- func (*Route) Descriptor() ([]byte, []int)
- func (m *Route) GetCIDR() string
- func (m *Route) GetTarget() string
- func (*Route) ProtoMessage()
- func (m *Route) Reset()
- func (m *Route) String() string
- func (m *Route) XXX_DiscardUnknown()
- func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Route) XXX_Merge(src proto.Message)
- func (m *Route) XXX_Size() int
- func (m *Route) XXX_Unmarshal(b []byte) error
- type RoutesResponse
- func (*RoutesResponse) Descriptor() ([]byte, []int)
- func (m *RoutesResponse) GetRoutes() []*Route
- func (*RoutesResponse) ProtoMessage()
- func (m *RoutesResponse) Reset()
- func (m *RoutesResponse) String() string
- func (m *RoutesResponse) XXX_DiscardUnknown()
- func (m *RoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RoutesResponse) XXX_Merge(src proto.Message)
- func (m *RoutesResponse) XXX_Size() int
- func (m *RoutesResponse) XXX_Unmarshal(b []byte) error
- type Subnet
- func (*Subnet) Descriptor() ([]byte, []int)
- func (m *Subnet) GetCIDR() string
- func (m *Subnet) GetGateway() string
- func (*Subnet) ProtoMessage()
- func (m *Subnet) Reset()
- func (m *Subnet) String() string
- func (m *Subnet) XXX_DiscardUnknown()
- func (m *Subnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Subnet) XXX_Merge(src proto.Message)
- func (m *Subnet) XXX_Size() int
- func (m *Subnet) XXX_Unmarshal(b []byte) error
- type SubnetsResponse
- func (*SubnetsResponse) Descriptor() ([]byte, []int)
- func (m *SubnetsResponse) GetSubnets() []*Subnet
- func (*SubnetsResponse) ProtoMessage()
- func (m *SubnetsResponse) Reset()
- func (m *SubnetsResponse) String() string
- func (m *SubnetsResponse) XXX_DiscardUnknown()
- func (m *SubnetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SubnetsResponse) XXX_Merge(src proto.Message)
- func (m *SubnetsResponse) XXX_Size() int
- func (m *SubnetsResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterNetworkServer ¶
func RegisterNetworkServer(s *grpc.Server, srv NetworkServer)
Types ¶
type AddRouteRequest ¶
type AddRouteRequest struct { CIDR string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"` Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AddRouteRequest) Descriptor ¶
func (*AddRouteRequest) Descriptor() ([]byte, []int)
func (*AddRouteRequest) GetCIDR ¶
func (m *AddRouteRequest) GetCIDR() string
func (*AddRouteRequest) GetTarget ¶
func (m *AddRouteRequest) GetTarget() string
func (*AddRouteRequest) ProtoMessage ¶
func (*AddRouteRequest) ProtoMessage()
func (*AddRouteRequest) Reset ¶
func (m *AddRouteRequest) Reset()
func (*AddRouteRequest) String ¶
func (m *AddRouteRequest) String() string
func (*AddRouteRequest) XXX_DiscardUnknown ¶
func (m *AddRouteRequest) XXX_DiscardUnknown()
func (*AddRouteRequest) XXX_Marshal ¶
func (m *AddRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddRouteRequest) XXX_Merge ¶
func (dst *AddRouteRequest) XXX_Merge(src proto.Message)
func (*AddRouteRequest) XXX_Size ¶
func (m *AddRouteRequest) XXX_Size() int
func (*AddRouteRequest) XXX_Unmarshal ¶
func (m *AddRouteRequest) XXX_Unmarshal(b []byte) error
type AllocateIPRequest ¶
type AllocateIPRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` SubnetCIDR string `protobuf:"bytes,2,opt,name=subnet_cidr,json=subnetCidr,proto3" json:"subnet_cidr,omitempty"` Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllocateIPRequest) Descriptor ¶
func (*AllocateIPRequest) Descriptor() ([]byte, []int)
func (*AllocateIPRequest) GetID ¶
func (m *AllocateIPRequest) GetID() string
func (*AllocateIPRequest) GetNode ¶
func (m *AllocateIPRequest) GetNode() string
func (*AllocateIPRequest) GetSubnetCIDR ¶
func (m *AllocateIPRequest) GetSubnetCIDR() string
func (*AllocateIPRequest) ProtoMessage ¶
func (*AllocateIPRequest) ProtoMessage()
func (*AllocateIPRequest) Reset ¶
func (m *AllocateIPRequest) Reset()
func (*AllocateIPRequest) String ¶
func (m *AllocateIPRequest) String() string
func (*AllocateIPRequest) XXX_DiscardUnknown ¶
func (m *AllocateIPRequest) XXX_DiscardUnknown()
func (*AllocateIPRequest) XXX_Marshal ¶
func (m *AllocateIPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocateIPRequest) XXX_Merge ¶
func (dst *AllocateIPRequest) XXX_Merge(src proto.Message)
func (*AllocateIPRequest) XXX_Size ¶
func (m *AllocateIPRequest) XXX_Size() int
func (*AllocateIPRequest) XXX_Unmarshal ¶
func (m *AllocateIPRequest) XXX_Unmarshal(b []byte) error
type AllocateIPResponse ¶
type AllocateIPResponse struct { IP string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllocateIPResponse) Descriptor ¶
func (*AllocateIPResponse) Descriptor() ([]byte, []int)
func (*AllocateIPResponse) GetIP ¶
func (m *AllocateIPResponse) GetIP() string
func (*AllocateIPResponse) GetNode ¶
func (m *AllocateIPResponse) GetNode() string
func (*AllocateIPResponse) ProtoMessage ¶
func (*AllocateIPResponse) ProtoMessage()
func (*AllocateIPResponse) Reset ¶
func (m *AllocateIPResponse) Reset()
func (*AllocateIPResponse) String ¶
func (m *AllocateIPResponse) String() string
func (*AllocateIPResponse) XXX_DiscardUnknown ¶
func (m *AllocateIPResponse) XXX_DiscardUnknown()
func (*AllocateIPResponse) XXX_Marshal ¶
func (m *AllocateIPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocateIPResponse) XXX_Merge ¶
func (dst *AllocateIPResponse) XXX_Merge(src proto.Message)
func (*AllocateIPResponse) XXX_Size ¶
func (m *AllocateIPResponse) XXX_Size() int
func (*AllocateIPResponse) XXX_Unmarshal ¶
func (m *AllocateIPResponse) XXX_Unmarshal(b []byte) error
type AllocateSubnetRequest ¶
type AllocateSubnetRequest struct { Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllocateSubnetRequest) Descriptor ¶
func (*AllocateSubnetRequest) Descriptor() ([]byte, []int)
func (*AllocateSubnetRequest) GetNode ¶
func (m *AllocateSubnetRequest) GetNode() string
func (*AllocateSubnetRequest) ProtoMessage ¶
func (*AllocateSubnetRequest) ProtoMessage()
func (*AllocateSubnetRequest) Reset ¶
func (m *AllocateSubnetRequest) Reset()
func (*AllocateSubnetRequest) String ¶
func (m *AllocateSubnetRequest) String() string
func (*AllocateSubnetRequest) XXX_DiscardUnknown ¶
func (m *AllocateSubnetRequest) XXX_DiscardUnknown()
func (*AllocateSubnetRequest) XXX_Marshal ¶
func (m *AllocateSubnetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocateSubnetRequest) XXX_Merge ¶
func (dst *AllocateSubnetRequest) XXX_Merge(src proto.Message)
func (*AllocateSubnetRequest) XXX_Size ¶
func (m *AllocateSubnetRequest) XXX_Size() int
func (*AllocateSubnetRequest) XXX_Unmarshal ¶
func (m *AllocateSubnetRequest) XXX_Unmarshal(b []byte) error
type AllocateSubnetResponse ¶
type AllocateSubnetResponse struct { SubnetCIDR string `protobuf:"bytes,1,opt,name=subnet_cidr,json=subnetCidr,proto3" json:"subnet_cidr,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllocateSubnetResponse) Descriptor ¶
func (*AllocateSubnetResponse) Descriptor() ([]byte, []int)
func (*AllocateSubnetResponse) GetNode ¶
func (m *AllocateSubnetResponse) GetNode() string
func (*AllocateSubnetResponse) GetSubnetCIDR ¶
func (m *AllocateSubnetResponse) GetSubnetCIDR() string
func (*AllocateSubnetResponse) ProtoMessage ¶
func (*AllocateSubnetResponse) ProtoMessage()
func (*AllocateSubnetResponse) Reset ¶
func (m *AllocateSubnetResponse) Reset()
func (*AllocateSubnetResponse) String ¶
func (m *AllocateSubnetResponse) String() string
func (*AllocateSubnetResponse) XXX_DiscardUnknown ¶
func (m *AllocateSubnetResponse) XXX_DiscardUnknown()
func (*AllocateSubnetResponse) XXX_Marshal ¶
func (m *AllocateSubnetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocateSubnetResponse) XXX_Merge ¶
func (dst *AllocateSubnetResponse) XXX_Merge(src proto.Message)
func (*AllocateSubnetResponse) XXX_Size ¶
func (m *AllocateSubnetResponse) XXX_Size() int
func (*AllocateSubnetResponse) XXX_Unmarshal ¶
func (m *AllocateSubnetResponse) XXX_Unmarshal(b []byte) error
type ConfigureRequest ¶
type ConfigureRequest struct { Subnet *Subnet `protobuf:"bytes,1,opt,name=subnet" json:"subnet,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigureRequest) Descriptor ¶
func (*ConfigureRequest) Descriptor() ([]byte, []int)
func (*ConfigureRequest) GetSubnet ¶
func (m *ConfigureRequest) GetSubnet() *Subnet
func (*ConfigureRequest) ProtoMessage ¶
func (*ConfigureRequest) ProtoMessage()
func (*ConfigureRequest) Reset ¶
func (m *ConfigureRequest) Reset()
func (*ConfigureRequest) String ¶
func (m *ConfigureRequest) String() string
func (*ConfigureRequest) XXX_DiscardUnknown ¶
func (m *ConfigureRequest) XXX_DiscardUnknown()
func (*ConfigureRequest) XXX_Marshal ¶
func (m *ConfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigureRequest) XXX_Merge ¶
func (dst *ConfigureRequest) XXX_Merge(src proto.Message)
func (*ConfigureRequest) XXX_Size ¶
func (m *ConfigureRequest) XXX_Size() int
func (*ConfigureRequest) XXX_Unmarshal ¶
func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error
type DeallocateSubnetRequest ¶
type DeallocateSubnetRequest struct { SubnetCIDR string `protobuf:"bytes,1,opt,name=subnet_cidr,json=subnetCidr,proto3" json:"subnet_cidr,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeallocateSubnetRequest) Descriptor ¶
func (*DeallocateSubnetRequest) Descriptor() ([]byte, []int)
func (*DeallocateSubnetRequest) GetNode ¶
func (m *DeallocateSubnetRequest) GetNode() string
func (*DeallocateSubnetRequest) GetSubnetCIDR ¶
func (m *DeallocateSubnetRequest) GetSubnetCIDR() string
func (*DeallocateSubnetRequest) ProtoMessage ¶
func (*DeallocateSubnetRequest) ProtoMessage()
func (*DeallocateSubnetRequest) Reset ¶
func (m *DeallocateSubnetRequest) Reset()
func (*DeallocateSubnetRequest) String ¶
func (m *DeallocateSubnetRequest) String() string
func (*DeallocateSubnetRequest) XXX_DiscardUnknown ¶
func (m *DeallocateSubnetRequest) XXX_DiscardUnknown()
func (*DeallocateSubnetRequest) XXX_Marshal ¶
func (m *DeallocateSubnetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeallocateSubnetRequest) XXX_Merge ¶
func (dst *DeallocateSubnetRequest) XXX_Merge(src proto.Message)
func (*DeallocateSubnetRequest) XXX_Size ¶
func (m *DeallocateSubnetRequest) XXX_Size() int
func (*DeallocateSubnetRequest) XXX_Unmarshal ¶
func (m *DeallocateSubnetRequest) XXX_Unmarshal(b []byte) error
type DeleteRouteRequest ¶
type DeleteRouteRequest struct { CIDR string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"` Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteRouteRequest) Descriptor ¶
func (*DeleteRouteRequest) Descriptor() ([]byte, []int)
func (*DeleteRouteRequest) GetCIDR ¶
func (m *DeleteRouteRequest) GetCIDR() string
func (*DeleteRouteRequest) GetTarget ¶
func (m *DeleteRouteRequest) GetTarget() string
func (*DeleteRouteRequest) ProtoMessage ¶
func (*DeleteRouteRequest) ProtoMessage()
func (*DeleteRouteRequest) Reset ¶
func (m *DeleteRouteRequest) Reset()
func (*DeleteRouteRequest) String ¶
func (m *DeleteRouteRequest) String() string
func (*DeleteRouteRequest) XXX_DiscardUnknown ¶
func (m *DeleteRouteRequest) XXX_DiscardUnknown()
func (*DeleteRouteRequest) XXX_Marshal ¶
func (m *DeleteRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRouteRequest) XXX_Merge ¶
func (dst *DeleteRouteRequest) XXX_Merge(src proto.Message)
func (*DeleteRouteRequest) XXX_Size ¶
func (m *DeleteRouteRequest) XXX_Size() int
func (*DeleteRouteRequest) XXX_Unmarshal ¶
func (m *DeleteRouteRequest) XXX_Unmarshal(b []byte) error
type GetIPRequest ¶
type GetIPRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetIPRequest) Descriptor ¶
func (*GetIPRequest) Descriptor() ([]byte, []int)
func (*GetIPRequest) GetID ¶
func (m *GetIPRequest) GetID() string
func (*GetIPRequest) GetNode ¶
func (m *GetIPRequest) GetNode() string
func (*GetIPRequest) ProtoMessage ¶
func (*GetIPRequest) ProtoMessage()
func (*GetIPRequest) Reset ¶
func (m *GetIPRequest) Reset()
func (*GetIPRequest) String ¶
func (m *GetIPRequest) String() string
func (*GetIPRequest) XXX_DiscardUnknown ¶
func (m *GetIPRequest) XXX_DiscardUnknown()
func (*GetIPRequest) XXX_Marshal ¶
func (m *GetIPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIPRequest) XXX_Merge ¶
func (dst *GetIPRequest) XXX_Merge(src proto.Message)
func (*GetIPRequest) XXX_Size ¶
func (m *GetIPRequest) XXX_Size() int
func (*GetIPRequest) XXX_Unmarshal ¶
func (m *GetIPRequest) XXX_Unmarshal(b []byte) error
type GetIPResponse ¶
type GetIPResponse struct { IP string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetIPResponse) Descriptor ¶
func (*GetIPResponse) Descriptor() ([]byte, []int)
func (*GetIPResponse) GetIP ¶
func (m *GetIPResponse) GetIP() string
func (*GetIPResponse) ProtoMessage ¶
func (*GetIPResponse) ProtoMessage()
func (*GetIPResponse) Reset ¶
func (m *GetIPResponse) Reset()
func (*GetIPResponse) String ¶
func (m *GetIPResponse) String() string
func (*GetIPResponse) XXX_DiscardUnknown ¶
func (m *GetIPResponse) XXX_DiscardUnknown()
func (*GetIPResponse) XXX_Marshal ¶
func (m *GetIPResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetIPResponse) XXX_Merge ¶
func (dst *GetIPResponse) XXX_Merge(src proto.Message)
func (*GetIPResponse) XXX_Size ¶
func (m *GetIPResponse) XXX_Size() int
func (*GetIPResponse) XXX_Unmarshal ¶
func (m *GetIPResponse) XXX_Unmarshal(b []byte) error
type GetSubnetRequest ¶
type GetSubnetRequest struct { Node string `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSubnetRequest) Descriptor ¶
func (*GetSubnetRequest) Descriptor() ([]byte, []int)
func (*GetSubnetRequest) GetNode ¶
func (m *GetSubnetRequest) GetNode() string
func (*GetSubnetRequest) ProtoMessage ¶
func (*GetSubnetRequest) ProtoMessage()
func (*GetSubnetRequest) Reset ¶
func (m *GetSubnetRequest) Reset()
func (*GetSubnetRequest) String ¶
func (m *GetSubnetRequest) String() string
func (*GetSubnetRequest) XXX_DiscardUnknown ¶
func (m *GetSubnetRequest) XXX_DiscardUnknown()
func (*GetSubnetRequest) XXX_Marshal ¶
func (m *GetSubnetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSubnetRequest) XXX_Merge ¶
func (dst *GetSubnetRequest) XXX_Merge(src proto.Message)
func (*GetSubnetRequest) XXX_Size ¶
func (m *GetSubnetRequest) XXX_Size() int
func (*GetSubnetRequest) XXX_Unmarshal ¶
func (m *GetSubnetRequest) XXX_Unmarshal(b []byte) error
type GetSubnetResponse ¶
type GetSubnetResponse struct { SubnetCIDR string `protobuf:"bytes,1,opt,name=subnet_cidr,json=subnetCidr,proto3" json:"subnet_cidr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetSubnetResponse) Descriptor ¶
func (*GetSubnetResponse) Descriptor() ([]byte, []int)
func (*GetSubnetResponse) GetSubnetCIDR ¶
func (m *GetSubnetResponse) GetSubnetCIDR() string
func (*GetSubnetResponse) ProtoMessage ¶
func (*GetSubnetResponse) ProtoMessage()
func (*GetSubnetResponse) Reset ¶
func (m *GetSubnetResponse) Reset()
func (*GetSubnetResponse) String ¶
func (m *GetSubnetResponse) String() string
func (*GetSubnetResponse) XXX_DiscardUnknown ¶
func (m *GetSubnetResponse) XXX_DiscardUnknown()
func (*GetSubnetResponse) XXX_Marshal ¶
func (m *GetSubnetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetSubnetResponse) XXX_Merge ¶
func (dst *GetSubnetResponse) XXX_Merge(src proto.Message)
func (*GetSubnetResponse) XXX_Size ¶
func (m *GetSubnetResponse) XXX_Size() int
func (*GetSubnetResponse) XXX_Unmarshal ¶
func (m *GetSubnetResponse) XXX_Unmarshal(b []byte) error
type NetworkClient ¶
type NetworkClient interface { AllocateSubnet(ctx context.Context, in *AllocateSubnetRequest, opts ...grpc.CallOption) (*AllocateSubnetResponse, error) GetSubnet(ctx context.Context, in *GetSubnetRequest, opts ...grpc.CallOption) (*GetSubnetResponse, error) DeallocateSubnet(ctx context.Context, in *DeallocateSubnetRequest, opts ...grpc.CallOption) (*types.Empty, error) Subnets(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*SubnetsResponse, error) AllocateIP(ctx context.Context, in *AllocateIPRequest, opts ...grpc.CallOption) (*AllocateIPResponse, error) GetIP(ctx context.Context, in *GetIPRequest, opts ...grpc.CallOption) (*GetIPResponse, error) ReleaseIP(ctx context.Context, in *ReleaseIPRequest, opts ...grpc.CallOption) (*types.Empty, error) Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*types.Empty, error) AddRoute(ctx context.Context, in *AddRouteRequest, opts ...grpc.CallOption) (*types.Empty, error) DeleteRoute(ctx context.Context, in *DeleteRouteRequest, opts ...grpc.CallOption) (*types.Empty, error) Routes(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*RoutesResponse, error) }
NetworkClient is the client API for Network service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNetworkClient ¶
func NewNetworkClient(cc *grpc.ClientConn) NetworkClient
type NetworkServer ¶
type NetworkServer interface { AllocateSubnet(context.Context, *AllocateSubnetRequest) (*AllocateSubnetResponse, error) GetSubnet(context.Context, *GetSubnetRequest) (*GetSubnetResponse, error) DeallocateSubnet(context.Context, *DeallocateSubnetRequest) (*types.Empty, error) Subnets(context.Context, *types.Empty) (*SubnetsResponse, error) AllocateIP(context.Context, *AllocateIPRequest) (*AllocateIPResponse, error) GetIP(context.Context, *GetIPRequest) (*GetIPResponse, error) ReleaseIP(context.Context, *ReleaseIPRequest) (*types.Empty, error) Configure(context.Context, *ConfigureRequest) (*types.Empty, error) AddRoute(context.Context, *AddRouteRequest) (*types.Empty, error) DeleteRoute(context.Context, *DeleteRouteRequest) (*types.Empty, error) Routes(context.Context, *types.Empty) (*RoutesResponse, error) }
NetworkServer is the server API for Network service.
type ReleaseIPRequest ¶
type ReleaseIPRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` IP string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"` Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReleaseIPRequest) Descriptor ¶
func (*ReleaseIPRequest) Descriptor() ([]byte, []int)
func (*ReleaseIPRequest) GetID ¶
func (m *ReleaseIPRequest) GetID() string
func (*ReleaseIPRequest) GetIP ¶
func (m *ReleaseIPRequest) GetIP() string
func (*ReleaseIPRequest) GetNode ¶
func (m *ReleaseIPRequest) GetNode() string
func (*ReleaseIPRequest) ProtoMessage ¶
func (*ReleaseIPRequest) ProtoMessage()
func (*ReleaseIPRequest) Reset ¶
func (m *ReleaseIPRequest) Reset()
func (*ReleaseIPRequest) String ¶
func (m *ReleaseIPRequest) String() string
func (*ReleaseIPRequest) XXX_DiscardUnknown ¶
func (m *ReleaseIPRequest) XXX_DiscardUnknown()
func (*ReleaseIPRequest) XXX_Marshal ¶
func (m *ReleaseIPRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReleaseIPRequest) XXX_Merge ¶
func (dst *ReleaseIPRequest) XXX_Merge(src proto.Message)
func (*ReleaseIPRequest) XXX_Size ¶
func (m *ReleaseIPRequest) XXX_Size() int
func (*ReleaseIPRequest) XXX_Unmarshal ¶
func (m *ReleaseIPRequest) XXX_Unmarshal(b []byte) error
type Route ¶
type Route struct { CIDR string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"` Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Route) Descriptor ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) XXX_DiscardUnknown ¶
func (m *Route) XXX_DiscardUnknown()
func (*Route) XXX_Marshal ¶
func (*Route) XXX_Unmarshal ¶
type RoutesResponse ¶
type RoutesResponse struct { Routes []*Route `protobuf:"bytes,1,rep,name=routes" json:"routes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RoutesResponse) Descriptor ¶
func (*RoutesResponse) Descriptor() ([]byte, []int)
func (*RoutesResponse) GetRoutes ¶
func (m *RoutesResponse) GetRoutes() []*Route
func (*RoutesResponse) ProtoMessage ¶
func (*RoutesResponse) ProtoMessage()
func (*RoutesResponse) Reset ¶
func (m *RoutesResponse) Reset()
func (*RoutesResponse) String ¶
func (m *RoutesResponse) String() string
func (*RoutesResponse) XXX_DiscardUnknown ¶
func (m *RoutesResponse) XXX_DiscardUnknown()
func (*RoutesResponse) XXX_Marshal ¶
func (m *RoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoutesResponse) XXX_Merge ¶
func (dst *RoutesResponse) XXX_Merge(src proto.Message)
func (*RoutesResponse) XXX_Size ¶
func (m *RoutesResponse) XXX_Size() int
func (*RoutesResponse) XXX_Unmarshal ¶
func (m *RoutesResponse) XXX_Unmarshal(b []byte) error
type Subnet ¶
type Subnet struct { CIDR string `protobuf:"bytes,1,opt,name=cidr,proto3" json:"cidr,omitempty"` Gateway string `protobuf:"bytes,2,opt,name=gateway,proto3" json:"gateway,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Subnet) Descriptor ¶
func (*Subnet) GetGateway ¶
func (*Subnet) ProtoMessage ¶
func (*Subnet) ProtoMessage()
func (*Subnet) XXX_DiscardUnknown ¶
func (m *Subnet) XXX_DiscardUnknown()
func (*Subnet) XXX_Marshal ¶
func (*Subnet) XXX_Unmarshal ¶
type SubnetsResponse ¶
type SubnetsResponse struct { Subnets []*Subnet `protobuf:"bytes,1,rep,name=subnets" json:"subnets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubnetsResponse) Descriptor ¶
func (*SubnetsResponse) Descriptor() ([]byte, []int)
func (*SubnetsResponse) GetSubnets ¶
func (m *SubnetsResponse) GetSubnets() []*Subnet
func (*SubnetsResponse) ProtoMessage ¶
func (*SubnetsResponse) ProtoMessage()
func (*SubnetsResponse) Reset ¶
func (m *SubnetsResponse) Reset()
func (*SubnetsResponse) String ¶
func (m *SubnetsResponse) String() string
func (*SubnetsResponse) XXX_DiscardUnknown ¶
func (m *SubnetsResponse) XXX_DiscardUnknown()
func (*SubnetsResponse) XXX_Marshal ¶
func (m *SubnetsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubnetsResponse) XXX_Merge ¶
func (dst *SubnetsResponse) XXX_Merge(src proto.Message)
func (*SubnetsResponse) XXX_Size ¶
func (m *SubnetsResponse) XXX_Size() int
func (*SubnetsResponse) XXX_Unmarshal ¶
func (m *SubnetsResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.