Documentation
¶
Index ¶
- Variables
- func RegisterNetworkServiceServer(s *grpc.Server, srv NetworkServiceServer)
- type ConfigureRequest
- func (*ConfigureRequest) Descriptor() ([]byte, []int)
- func (m *ConfigureRequest) GetAttrs() isConfigureRequest_Attrs
- func (m *ConfigureRequest) GetBridge() *ConfigureRequest_BridgeAttrs
- func (m *ConfigureRequest) GetLinkName() string
- func (m *ConfigureRequest) GetRouter() *ConfigureRequest_RouterAttrs
- func (m *ConfigureRequest) GetSecondStage() bool
- func (m *ConfigureRequest) GetVlan() *ConfigureRequest_VlanAttrs
- func (m *ConfigureRequest) GetVxlan() *ConfigureRequest_VxlanAttrs
- func (m *ConfigureRequest) Marshal() (dAtA []byte, err error)
- func (m *ConfigureRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ConfigureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConfigureRequest) ProtoMessage()
- func (m *ConfigureRequest) Reset()
- func (m *ConfigureRequest) Size() (n int)
- func (m *ConfigureRequest) String() string
- func (m *ConfigureRequest) Unmarshal(dAtA []byte) error
- func (m *ConfigureRequest) XXX_DiscardUnknown()
- func (m *ConfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigureRequest) XXX_Merge(src proto.Message)
- func (*ConfigureRequest) XXX_OneofWrappers() []interface{}
- func (m *ConfigureRequest) XXX_Size() int
- func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error
- type ConfigureRequest_Bridge
- type ConfigureRequest_BridgeAttrs
- func (*ConfigureRequest_BridgeAttrs) Descriptor() ([]byte, []int)
- func (m *ConfigureRequest_BridgeAttrs) GetIfname() string
- func (m *ConfigureRequest_BridgeAttrs) GetMTU() uint32
- func (m *ConfigureRequest_BridgeAttrs) Marshal() (dAtA []byte, err error)
- func (m *ConfigureRequest_BridgeAttrs) MarshalTo(dAtA []byte) (int, error)
- func (m *ConfigureRequest_BridgeAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConfigureRequest_BridgeAttrs) ProtoMessage()
- func (m *ConfigureRequest_BridgeAttrs) Reset()
- func (m *ConfigureRequest_BridgeAttrs) Size() (n int)
- func (m *ConfigureRequest_BridgeAttrs) String() string
- func (m *ConfigureRequest_BridgeAttrs) Unmarshal(dAtA []byte) error
- func (m *ConfigureRequest_BridgeAttrs) XXX_DiscardUnknown()
- func (m *ConfigureRequest_BridgeAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigureRequest_BridgeAttrs) XXX_Merge(src proto.Message)
- func (m *ConfigureRequest_BridgeAttrs) XXX_Size() int
- func (m *ConfigureRequest_BridgeAttrs) XXX_Unmarshal(b []byte) error
- type ConfigureRequest_Router
- type ConfigureRequest_RouterAttrs
- func (*ConfigureRequest_RouterAttrs) Descriptor() ([]byte, []int)
- func (m *ConfigureRequest_RouterAttrs) GetAddrs() []string
- func (m *ConfigureRequest_RouterAttrs) GetBindInterface() string
- func (m *ConfigureRequest_RouterAttrs) GetDefaultGateway() string
- func (m *ConfigureRequest_RouterAttrs) GetInLimit() uint32
- func (m *ConfigureRequest_RouterAttrs) GetMTU() uint32
- func (m *ConfigureRequest_RouterAttrs) GetMachineName() string
- func (m *ConfigureRequest_RouterAttrs) GetOutLimit() uint32
- func (m *ConfigureRequest_RouterAttrs) Marshal() (dAtA []byte, err error)
- func (m *ConfigureRequest_RouterAttrs) MarshalTo(dAtA []byte) (int, error)
- func (m *ConfigureRequest_RouterAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConfigureRequest_RouterAttrs) ProtoMessage()
- func (m *ConfigureRequest_RouterAttrs) Reset()
- func (m *ConfigureRequest_RouterAttrs) Size() (n int)
- func (m *ConfigureRequest_RouterAttrs) String() string
- func (m *ConfigureRequest_RouterAttrs) Unmarshal(dAtA []byte) error
- func (m *ConfigureRequest_RouterAttrs) XXX_DiscardUnknown()
- func (m *ConfigureRequest_RouterAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigureRequest_RouterAttrs) XXX_Merge(src proto.Message)
- func (m *ConfigureRequest_RouterAttrs) XXX_Size() int
- func (m *ConfigureRequest_RouterAttrs) XXX_Unmarshal(b []byte) error
- type ConfigureRequest_Vlan
- type ConfigureRequest_VlanAttrs
- func (*ConfigureRequest_VlanAttrs) Descriptor() ([]byte, []int)
- func (m *ConfigureRequest_VlanAttrs) GetMTU() uint32
- func (m *ConfigureRequest_VlanAttrs) GetParentInterface() string
- func (m *ConfigureRequest_VlanAttrs) GetVlanID() uint32
- func (m *ConfigureRequest_VlanAttrs) Marshal() (dAtA []byte, err error)
- func (m *ConfigureRequest_VlanAttrs) MarshalTo(dAtA []byte) (int, error)
- func (m *ConfigureRequest_VlanAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConfigureRequest_VlanAttrs) ProtoMessage()
- func (m *ConfigureRequest_VlanAttrs) Reset()
- func (m *ConfigureRequest_VlanAttrs) Size() (n int)
- func (m *ConfigureRequest_VlanAttrs) String() string
- func (m *ConfigureRequest_VlanAttrs) Unmarshal(dAtA []byte) error
- func (m *ConfigureRequest_VlanAttrs) XXX_DiscardUnknown()
- func (m *ConfigureRequest_VlanAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigureRequest_VlanAttrs) XXX_Merge(src proto.Message)
- func (m *ConfigureRequest_VlanAttrs) XXX_Size() int
- func (m *ConfigureRequest_VlanAttrs) XXX_Unmarshal(b []byte) error
- type ConfigureRequest_Vxlan
- type ConfigureRequest_VxlanAttrs
- func (*ConfigureRequest_VxlanAttrs) Descriptor() ([]byte, []int)
- func (m *ConfigureRequest_VxlanAttrs) GetBindInterface() string
- func (m *ConfigureRequest_VxlanAttrs) GetMTU() uint32
- func (m *ConfigureRequest_VxlanAttrs) GetVNI() uint32
- func (m *ConfigureRequest_VxlanAttrs) Marshal() (dAtA []byte, err error)
- func (m *ConfigureRequest_VxlanAttrs) MarshalTo(dAtA []byte) (int, error)
- func (m *ConfigureRequest_VxlanAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConfigureRequest_VxlanAttrs) ProtoMessage()
- func (m *ConfigureRequest_VxlanAttrs) Reset()
- func (m *ConfigureRequest_VxlanAttrs) Size() (n int)
- func (m *ConfigureRequest_VxlanAttrs) String() string
- func (m *ConfigureRequest_VxlanAttrs) Unmarshal(dAtA []byte) error
- func (m *ConfigureRequest_VxlanAttrs) XXX_DiscardUnknown()
- func (m *ConfigureRequest_VxlanAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConfigureRequest_VxlanAttrs) XXX_Merge(src proto.Message)
- func (m *ConfigureRequest_VxlanAttrs) XXX_Size() int
- func (m *ConfigureRequest_VxlanAttrs) XXX_Unmarshal(b []byte) error
- type DeconfigureRequest
- func (*DeconfigureRequest) Descriptor() ([]byte, []int)
- func (m *DeconfigureRequest) GetAttrs() isDeconfigureRequest_Attrs
- func (m *DeconfigureRequest) GetBridge() *DeconfigureRequest_BridgeAttrs
- func (m *DeconfigureRequest) GetLinkName() string
- func (m *DeconfigureRequest) GetRouter() *DeconfigureRequest_RouterAttrs
- func (m *DeconfigureRequest) GetVlan() *DeconfigureRequest_VlanAttrs
- func (m *DeconfigureRequest) GetVxlan() *DeconfigureRequest_VxlanAttrs
- func (m *DeconfigureRequest) Marshal() (dAtA []byte, err error)
- func (m *DeconfigureRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeconfigureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeconfigureRequest) ProtoMessage()
- func (m *DeconfigureRequest) Reset()
- func (m *DeconfigureRequest) Size() (n int)
- func (m *DeconfigureRequest) String() string
- func (m *DeconfigureRequest) Unmarshal(dAtA []byte) error
- func (m *DeconfigureRequest) XXX_DiscardUnknown()
- func (m *DeconfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeconfigureRequest) XXX_Merge(src proto.Message)
- func (*DeconfigureRequest) XXX_OneofWrappers() []interface{}
- func (m *DeconfigureRequest) XXX_Size() int
- func (m *DeconfigureRequest) XXX_Unmarshal(b []byte) error
- type DeconfigureRequest_Bridge
- type DeconfigureRequest_BridgeAttrs
- func (*DeconfigureRequest_BridgeAttrs) Descriptor() ([]byte, []int)
- func (m *DeconfigureRequest_BridgeAttrs) GetIfname() string
- func (m *DeconfigureRequest_BridgeAttrs) Marshal() (dAtA []byte, err error)
- func (m *DeconfigureRequest_BridgeAttrs) MarshalTo(dAtA []byte) (int, error)
- func (m *DeconfigureRequest_BridgeAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeconfigureRequest_BridgeAttrs) ProtoMessage()
- func (m *DeconfigureRequest_BridgeAttrs) Reset()
- func (m *DeconfigureRequest_BridgeAttrs) Size() (n int)
- func (m *DeconfigureRequest_BridgeAttrs) String() string
- func (m *DeconfigureRequest_BridgeAttrs) Unmarshal(dAtA []byte) error
- func (m *DeconfigureRequest_BridgeAttrs) XXX_DiscardUnknown()
- func (m *DeconfigureRequest_BridgeAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeconfigureRequest_BridgeAttrs) XXX_Merge(src proto.Message)
- func (m *DeconfigureRequest_BridgeAttrs) XXX_Size() int
- func (m *DeconfigureRequest_BridgeAttrs) XXX_Unmarshal(b []byte) error
- type DeconfigureRequest_Router
- type DeconfigureRequest_RouterAttrs
- func (*DeconfigureRequest_RouterAttrs) Descriptor() ([]byte, []int)
- func (m *DeconfigureRequest_RouterAttrs) GetBindInterface() string
- func (m *DeconfigureRequest_RouterAttrs) Marshal() (dAtA []byte, err error)
- func (m *DeconfigureRequest_RouterAttrs) MarshalTo(dAtA []byte) (int, error)
- func (m *DeconfigureRequest_RouterAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeconfigureRequest_RouterAttrs) ProtoMessage()
- func (m *DeconfigureRequest_RouterAttrs) Reset()
- func (m *DeconfigureRequest_RouterAttrs) Size() (n int)
- func (m *DeconfigureRequest_RouterAttrs) String() string
- func (m *DeconfigureRequest_RouterAttrs) Unmarshal(dAtA []byte) error
- func (m *DeconfigureRequest_RouterAttrs) XXX_DiscardUnknown()
- func (m *DeconfigureRequest_RouterAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeconfigureRequest_RouterAttrs) XXX_Merge(src proto.Message)
- func (m *DeconfigureRequest_RouterAttrs) XXX_Size() int
- func (m *DeconfigureRequest_RouterAttrs) XXX_Unmarshal(b []byte) error
- type DeconfigureRequest_Vlan
- type DeconfigureRequest_VlanAttrs
- func (*DeconfigureRequest_VlanAttrs) Descriptor() ([]byte, []int)
- func (m *DeconfigureRequest_VlanAttrs) GetVlanID() uint32
- func (m *DeconfigureRequest_VlanAttrs) Marshal() (dAtA []byte, err error)
- func (m *DeconfigureRequest_VlanAttrs) MarshalTo(dAtA []byte) (int, error)
- func (m *DeconfigureRequest_VlanAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeconfigureRequest_VlanAttrs) ProtoMessage()
- func (m *DeconfigureRequest_VlanAttrs) Reset()
- func (m *DeconfigureRequest_VlanAttrs) Size() (n int)
- func (m *DeconfigureRequest_VlanAttrs) String() string
- func (m *DeconfigureRequest_VlanAttrs) Unmarshal(dAtA []byte) error
- func (m *DeconfigureRequest_VlanAttrs) XXX_DiscardUnknown()
- func (m *DeconfigureRequest_VlanAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeconfigureRequest_VlanAttrs) XXX_Merge(src proto.Message)
- func (m *DeconfigureRequest_VlanAttrs) XXX_Size() int
- func (m *DeconfigureRequest_VlanAttrs) XXX_Unmarshal(b []byte) error
- type DeconfigureRequest_Vxlan
- type DeconfigureRequest_VxlanAttrs
- func (*DeconfigureRequest_VxlanAttrs) Descriptor() ([]byte, []int)
- func (m *DeconfigureRequest_VxlanAttrs) GetVNI() uint32
- func (m *DeconfigureRequest_VxlanAttrs) Marshal() (dAtA []byte, err error)
- func (m *DeconfigureRequest_VxlanAttrs) MarshalTo(dAtA []byte) (int, error)
- func (m *DeconfigureRequest_VxlanAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeconfigureRequest_VxlanAttrs) ProtoMessage()
- func (m *DeconfigureRequest_VxlanAttrs) Reset()
- func (m *DeconfigureRequest_VxlanAttrs) Size() (n int)
- func (m *DeconfigureRequest_VxlanAttrs) String() string
- func (m *DeconfigureRequest_VxlanAttrs) Unmarshal(dAtA []byte) error
- func (m *DeconfigureRequest_VxlanAttrs) XXX_DiscardUnknown()
- func (m *DeconfigureRequest_VxlanAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeconfigureRequest_VxlanAttrs) XXX_Merge(src proto.Message)
- func (m *DeconfigureRequest_VxlanAttrs) XXX_Size() int
- func (m *DeconfigureRequest_VxlanAttrs) XXX_Unmarshal(b []byte) error
- type ListEndPointsRequest
- func (*ListEndPointsRequest) Descriptor() ([]byte, []int)
- func (m *ListEndPointsRequest) GetFilter() *ListEndPointsRequest_Filter
- func (m *ListEndPointsRequest) Marshal() (dAtA []byte, err error)
- func (m *ListEndPointsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListEndPointsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListEndPointsRequest) ProtoMessage()
- func (m *ListEndPointsRequest) Reset()
- func (m *ListEndPointsRequest) Size() (n int)
- func (m *ListEndPointsRequest) String() string
- func (m *ListEndPointsRequest) Unmarshal(dAtA []byte) error
- func (m *ListEndPointsRequest) XXX_DiscardUnknown()
- func (m *ListEndPointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEndPointsRequest) XXX_Merge(src proto.Message)
- func (m *ListEndPointsRequest) XXX_Size() int
- func (m *ListEndPointsRequest) XXX_Unmarshal(b []byte) error
- type ListEndPointsRequest_Filter
- func (*ListEndPointsRequest_Filter) Descriptor() ([]byte, []int)
- func (m *ListEndPointsRequest_Filter) Marshal() (dAtA []byte, err error)
- func (m *ListEndPointsRequest_Filter) MarshalTo(dAtA []byte) (int, error)
- func (m *ListEndPointsRequest_Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListEndPointsRequest_Filter) ProtoMessage()
- func (m *ListEndPointsRequest_Filter) Reset()
- func (m *ListEndPointsRequest_Filter) Size() (n int)
- func (m *ListEndPointsRequest_Filter) String() string
- func (m *ListEndPointsRequest_Filter) Unmarshal(dAtA []byte) error
- func (m *ListEndPointsRequest_Filter) XXX_DiscardUnknown()
- func (m *ListEndPointsRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEndPointsRequest_Filter) XXX_Merge(src proto.Message)
- func (m *ListEndPointsRequest_Filter) XXX_Size() int
- func (m *ListEndPointsRequest_Filter) XXX_Unmarshal(b []byte) error
- type ListEndPointsResponse
- func (*ListEndPointsResponse) Descriptor() ([]byte, []int)
- func (m *ListEndPointsResponse) GetEndPoints() []*types.NetworkEndPoint
- func (m *ListEndPointsResponse) Marshal() (dAtA []byte, err error)
- func (m *ListEndPointsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListEndPointsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListEndPointsResponse) ProtoMessage()
- func (m *ListEndPointsResponse) Reset()
- func (m *ListEndPointsResponse) Size() (n int)
- func (m *ListEndPointsResponse) String() string
- func (m *ListEndPointsResponse) Unmarshal(dAtA []byte) error
- func (m *ListEndPointsResponse) XXX_DiscardUnknown()
- func (m *ListEndPointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListEndPointsResponse) XXX_Merge(src proto.Message)
- func (m *ListEndPointsResponse) XXX_Size() int
- func (m *ListEndPointsResponse) XXX_Unmarshal(b []byte) error
- type NetworkServiceClient
- type NetworkServiceServer
- type UnimplementedNetworkServiceServer
- func (*UnimplementedNetworkServiceServer) Configure(ctx context.Context, req *ConfigureRequest) (*empty.Empty, error)
- func (*UnimplementedNetworkServiceServer) Deconfigure(ctx context.Context, req *DeconfigureRequest) (*empty.Empty, error)
- func (*UnimplementedNetworkServiceServer) ListEndPoints(ctx context.Context, req *ListEndPointsRequest) (*ListEndPointsResponse, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterNetworkServiceServer ¶
func RegisterNetworkServiceServer(s *grpc.Server, srv NetworkServiceServer)
Types ¶
type ConfigureRequest ¶
type ConfigureRequest struct { LinkName string `protobuf:"bytes,1,opt,name=link_name,json=linkName,proto3" json:"link_name,omitempty"` // Types that are valid to be assigned to Attrs: // *ConfigureRequest_Vlan // *ConfigureRequest_Vxlan // *ConfigureRequest_Router // *ConfigureRequest_Bridge Attrs isConfigureRequest_Attrs `protobuf_oneof:"attrs"` SecondStage bool `protobuf:"varint,100,opt,name=second_stage,json=secondStage,proto3" json:"second_stage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigureRequest) Descriptor ¶
func (*ConfigureRequest) Descriptor() ([]byte, []int)
func (*ConfigureRequest) GetAttrs ¶
func (m *ConfigureRequest) GetAttrs() isConfigureRequest_Attrs
func (*ConfigureRequest) GetBridge ¶ added in v1.1.0
func (m *ConfigureRequest) GetBridge() *ConfigureRequest_BridgeAttrs
func (*ConfigureRequest) GetLinkName ¶
func (m *ConfigureRequest) GetLinkName() string
func (*ConfigureRequest) GetRouter ¶
func (m *ConfigureRequest) GetRouter() *ConfigureRequest_RouterAttrs
func (*ConfigureRequest) GetSecondStage ¶ added in v1.2.0
func (m *ConfigureRequest) GetSecondStage() bool
func (*ConfigureRequest) GetVlan ¶
func (m *ConfigureRequest) GetVlan() *ConfigureRequest_VlanAttrs
func (*ConfigureRequest) GetVxlan ¶
func (m *ConfigureRequest) GetVxlan() *ConfigureRequest_VxlanAttrs
func (*ConfigureRequest) Marshal ¶
func (m *ConfigureRequest) Marshal() (dAtA []byte, err error)
func (*ConfigureRequest) MarshalToSizedBuffer ¶
func (m *ConfigureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigureRequest) ProtoMessage ¶
func (*ConfigureRequest) ProtoMessage()
func (*ConfigureRequest) Reset ¶
func (m *ConfigureRequest) Reset()
func (*ConfigureRequest) Size ¶
func (m *ConfigureRequest) Size() (n int)
func (*ConfigureRequest) String ¶
func (m *ConfigureRequest) String() string
func (*ConfigureRequest) Unmarshal ¶
func (m *ConfigureRequest) Unmarshal(dAtA []byte) error
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 (m *ConfigureRequest) XXX_Merge(src proto.Message)
func (*ConfigureRequest) XXX_OneofWrappers ¶
func (*ConfigureRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ConfigureRequest) XXX_Size ¶
func (m *ConfigureRequest) XXX_Size() int
func (*ConfigureRequest) XXX_Unmarshal ¶
func (m *ConfigureRequest) XXX_Unmarshal(b []byte) error
type ConfigureRequest_Bridge ¶ added in v1.1.0
type ConfigureRequest_Bridge struct {
Bridge *ConfigureRequest_BridgeAttrs `protobuf:"bytes,5,opt,name=bridge,proto3,oneof" json:"bridge,omitempty"`
}
func (*ConfigureRequest_Bridge) MarshalTo ¶ added in v1.1.0
func (m *ConfigureRequest_Bridge) MarshalTo(dAtA []byte) (int, error)
func (*ConfigureRequest_Bridge) MarshalToSizedBuffer ¶ added in v1.1.0
func (m *ConfigureRequest_Bridge) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigureRequest_Bridge) Size ¶ added in v1.1.0
func (m *ConfigureRequest_Bridge) Size() (n int)
type ConfigureRequest_BridgeAttrs ¶ added in v1.1.0
type ConfigureRequest_BridgeAttrs struct { Ifname string `protobuf:"bytes,1,opt,name=ifname,proto3" json:"ifname,omitempty"` MTU uint32 `protobuf:"varint,2,opt,name=mtu,proto3" json:"mtu,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigureRequest_BridgeAttrs) Descriptor ¶ added in v1.1.0
func (*ConfigureRequest_BridgeAttrs) Descriptor() ([]byte, []int)
func (*ConfigureRequest_BridgeAttrs) GetIfname ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) GetIfname() string
func (*ConfigureRequest_BridgeAttrs) GetMTU ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) GetMTU() uint32
func (*ConfigureRequest_BridgeAttrs) Marshal ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) Marshal() (dAtA []byte, err error)
func (*ConfigureRequest_BridgeAttrs) MarshalTo ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) MarshalTo(dAtA []byte) (int, error)
func (*ConfigureRequest_BridgeAttrs) MarshalToSizedBuffer ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigureRequest_BridgeAttrs) ProtoMessage ¶ added in v1.1.0
func (*ConfigureRequest_BridgeAttrs) ProtoMessage()
func (*ConfigureRequest_BridgeAttrs) Reset ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) Reset()
func (*ConfigureRequest_BridgeAttrs) Size ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) Size() (n int)
func (*ConfigureRequest_BridgeAttrs) String ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) String() string
func (*ConfigureRequest_BridgeAttrs) Unmarshal ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) Unmarshal(dAtA []byte) error
func (*ConfigureRequest_BridgeAttrs) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) XXX_DiscardUnknown()
func (*ConfigureRequest_BridgeAttrs) XXX_Marshal ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigureRequest_BridgeAttrs) XXX_Merge ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) XXX_Merge(src proto.Message)
func (*ConfigureRequest_BridgeAttrs) XXX_Size ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) XXX_Size() int
func (*ConfigureRequest_BridgeAttrs) XXX_Unmarshal ¶ added in v1.1.0
func (m *ConfigureRequest_BridgeAttrs) XXX_Unmarshal(b []byte) error
type ConfigureRequest_Router ¶
type ConfigureRequest_Router struct {
Router *ConfigureRequest_RouterAttrs `protobuf:"bytes,4,opt,name=router,proto3,oneof" json:"router,omitempty"`
}
func (*ConfigureRequest_Router) MarshalTo ¶
func (m *ConfigureRequest_Router) MarshalTo(dAtA []byte) (int, error)
func (*ConfigureRequest_Router) MarshalToSizedBuffer ¶
func (m *ConfigureRequest_Router) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigureRequest_Router) Size ¶
func (m *ConfigureRequest_Router) Size() (n int)
type ConfigureRequest_RouterAttrs ¶
type ConfigureRequest_RouterAttrs struct { Addrs []string `protobuf:"bytes,1,rep,name=addrs,proto3" json:"addrs,omitempty"` MTU uint32 `protobuf:"varint,2,opt,name=mtu,proto3" json:"mtu,omitempty"` BindInterface string `protobuf:"bytes,3,opt,name=bind_interface,json=bindInterface,proto3" json:"bind_interface,omitempty"` DefaultGateway string `protobuf:"bytes,4,opt,name=default_gateway,json=defaultGateway,proto3" json:"default_gateway,omitempty"` InLimit uint32 `protobuf:"varint,5,opt,name=in_limit,json=inLimit,proto3" json:"in_limit,omitempty"` OutLimit uint32 `protobuf:"varint,6,opt,name=out_limit,json=outLimit,proto3" json:"out_limit,omitempty"` MachineName string `protobuf:"bytes,100,opt,name=machine_name,json=machineName,proto3" json:"machine_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigureRequest_RouterAttrs) Descriptor ¶
func (*ConfigureRequest_RouterAttrs) Descriptor() ([]byte, []int)
func (*ConfigureRequest_RouterAttrs) GetAddrs ¶ added in v1.2.0
func (m *ConfigureRequest_RouterAttrs) GetAddrs() []string
func (*ConfigureRequest_RouterAttrs) GetBindInterface ¶ added in v1.2.0
func (m *ConfigureRequest_RouterAttrs) GetBindInterface() string
func (*ConfigureRequest_RouterAttrs) GetDefaultGateway ¶ added in v1.2.0
func (m *ConfigureRequest_RouterAttrs) GetDefaultGateway() string
func (*ConfigureRequest_RouterAttrs) GetInLimit ¶ added in v1.2.0
func (m *ConfigureRequest_RouterAttrs) GetInLimit() uint32
func (*ConfigureRequest_RouterAttrs) GetMTU ¶
func (m *ConfigureRequest_RouterAttrs) GetMTU() uint32
func (*ConfigureRequest_RouterAttrs) GetMachineName ¶ added in v1.2.0
func (m *ConfigureRequest_RouterAttrs) GetMachineName() string
func (*ConfigureRequest_RouterAttrs) GetOutLimit ¶ added in v1.2.0
func (m *ConfigureRequest_RouterAttrs) GetOutLimit() uint32
func (*ConfigureRequest_RouterAttrs) Marshal ¶
func (m *ConfigureRequest_RouterAttrs) Marshal() (dAtA []byte, err error)
func (*ConfigureRequest_RouterAttrs) MarshalTo ¶
func (m *ConfigureRequest_RouterAttrs) MarshalTo(dAtA []byte) (int, error)
func (*ConfigureRequest_RouterAttrs) MarshalToSizedBuffer ¶
func (m *ConfigureRequest_RouterAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigureRequest_RouterAttrs) ProtoMessage ¶
func (*ConfigureRequest_RouterAttrs) ProtoMessage()
func (*ConfigureRequest_RouterAttrs) Reset ¶
func (m *ConfigureRequest_RouterAttrs) Reset()
func (*ConfigureRequest_RouterAttrs) Size ¶
func (m *ConfigureRequest_RouterAttrs) Size() (n int)
func (*ConfigureRequest_RouterAttrs) String ¶
func (m *ConfigureRequest_RouterAttrs) String() string
func (*ConfigureRequest_RouterAttrs) Unmarshal ¶
func (m *ConfigureRequest_RouterAttrs) Unmarshal(dAtA []byte) error
func (*ConfigureRequest_RouterAttrs) XXX_DiscardUnknown ¶
func (m *ConfigureRequest_RouterAttrs) XXX_DiscardUnknown()
func (*ConfigureRequest_RouterAttrs) XXX_Marshal ¶
func (m *ConfigureRequest_RouterAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigureRequest_RouterAttrs) XXX_Merge ¶
func (m *ConfigureRequest_RouterAttrs) XXX_Merge(src proto.Message)
func (*ConfigureRequest_RouterAttrs) XXX_Size ¶
func (m *ConfigureRequest_RouterAttrs) XXX_Size() int
func (*ConfigureRequest_RouterAttrs) XXX_Unmarshal ¶
func (m *ConfigureRequest_RouterAttrs) XXX_Unmarshal(b []byte) error
type ConfigureRequest_Vlan ¶
type ConfigureRequest_Vlan struct {
Vlan *ConfigureRequest_VlanAttrs `protobuf:"bytes,2,opt,name=vlan,proto3,oneof" json:"vlan,omitempty"`
}
func (*ConfigureRequest_Vlan) MarshalTo ¶
func (m *ConfigureRequest_Vlan) MarshalTo(dAtA []byte) (int, error)
func (*ConfigureRequest_Vlan) MarshalToSizedBuffer ¶
func (m *ConfigureRequest_Vlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigureRequest_Vlan) Size ¶
func (m *ConfigureRequest_Vlan) Size() (n int)
type ConfigureRequest_VlanAttrs ¶
type ConfigureRequest_VlanAttrs struct { VlanID uint32 `protobuf:"varint,1,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` MTU uint32 `protobuf:"varint,2,opt,name=mtu,proto3" json:"mtu,omitempty"` ParentInterface string `protobuf:"bytes,3,opt,name=parent_interface,json=parentInterface,proto3" json:"parent_interface,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigureRequest_VlanAttrs) Descriptor ¶
func (*ConfigureRequest_VlanAttrs) Descriptor() ([]byte, []int)
func (*ConfigureRequest_VlanAttrs) GetMTU ¶
func (m *ConfigureRequest_VlanAttrs) GetMTU() uint32
func (*ConfigureRequest_VlanAttrs) GetParentInterface ¶
func (m *ConfigureRequest_VlanAttrs) GetParentInterface() string
func (*ConfigureRequest_VlanAttrs) GetVlanID ¶
func (m *ConfigureRequest_VlanAttrs) GetVlanID() uint32
func (*ConfigureRequest_VlanAttrs) Marshal ¶
func (m *ConfigureRequest_VlanAttrs) Marshal() (dAtA []byte, err error)
func (*ConfigureRequest_VlanAttrs) MarshalTo ¶
func (m *ConfigureRequest_VlanAttrs) MarshalTo(dAtA []byte) (int, error)
func (*ConfigureRequest_VlanAttrs) MarshalToSizedBuffer ¶
func (m *ConfigureRequest_VlanAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigureRequest_VlanAttrs) ProtoMessage ¶
func (*ConfigureRequest_VlanAttrs) ProtoMessage()
func (*ConfigureRequest_VlanAttrs) Reset ¶
func (m *ConfigureRequest_VlanAttrs) Reset()
func (*ConfigureRequest_VlanAttrs) Size ¶
func (m *ConfigureRequest_VlanAttrs) Size() (n int)
func (*ConfigureRequest_VlanAttrs) String ¶
func (m *ConfigureRequest_VlanAttrs) String() string
func (*ConfigureRequest_VlanAttrs) Unmarshal ¶
func (m *ConfigureRequest_VlanAttrs) Unmarshal(dAtA []byte) error
func (*ConfigureRequest_VlanAttrs) XXX_DiscardUnknown ¶
func (m *ConfigureRequest_VlanAttrs) XXX_DiscardUnknown()
func (*ConfigureRequest_VlanAttrs) XXX_Marshal ¶
func (m *ConfigureRequest_VlanAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigureRequest_VlanAttrs) XXX_Merge ¶
func (m *ConfigureRequest_VlanAttrs) XXX_Merge(src proto.Message)
func (*ConfigureRequest_VlanAttrs) XXX_Size ¶
func (m *ConfigureRequest_VlanAttrs) XXX_Size() int
func (*ConfigureRequest_VlanAttrs) XXX_Unmarshal ¶
func (m *ConfigureRequest_VlanAttrs) XXX_Unmarshal(b []byte) error
type ConfigureRequest_Vxlan ¶
type ConfigureRequest_Vxlan struct {
Vxlan *ConfigureRequest_VxlanAttrs `protobuf:"bytes,3,opt,name=vxlan,proto3,oneof" json:"vxlan,omitempty"`
}
func (*ConfigureRequest_Vxlan) MarshalTo ¶
func (m *ConfigureRequest_Vxlan) MarshalTo(dAtA []byte) (int, error)
func (*ConfigureRequest_Vxlan) MarshalToSizedBuffer ¶
func (m *ConfigureRequest_Vxlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigureRequest_Vxlan) Size ¶
func (m *ConfigureRequest_Vxlan) Size() (n int)
type ConfigureRequest_VxlanAttrs ¶
type ConfigureRequest_VxlanAttrs struct { VNI uint32 `protobuf:"varint,1,opt,name=vni,proto3" json:"vni,omitempty"` MTU uint32 `protobuf:"varint,2,opt,name=mtu,proto3" json:"mtu,omitempty"` BindInterface string `protobuf:"bytes,3,opt,name=bind_interface,json=bindInterface,proto3" json:"bind_interface,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ConfigureRequest_VxlanAttrs) Descriptor ¶
func (*ConfigureRequest_VxlanAttrs) Descriptor() ([]byte, []int)
func (*ConfigureRequest_VxlanAttrs) GetBindInterface ¶
func (m *ConfigureRequest_VxlanAttrs) GetBindInterface() string
func (*ConfigureRequest_VxlanAttrs) GetMTU ¶
func (m *ConfigureRequest_VxlanAttrs) GetMTU() uint32
func (*ConfigureRequest_VxlanAttrs) GetVNI ¶
func (m *ConfigureRequest_VxlanAttrs) GetVNI() uint32
func (*ConfigureRequest_VxlanAttrs) Marshal ¶
func (m *ConfigureRequest_VxlanAttrs) Marshal() (dAtA []byte, err error)
func (*ConfigureRequest_VxlanAttrs) MarshalTo ¶
func (m *ConfigureRequest_VxlanAttrs) MarshalTo(dAtA []byte) (int, error)
func (*ConfigureRequest_VxlanAttrs) MarshalToSizedBuffer ¶
func (m *ConfigureRequest_VxlanAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConfigureRequest_VxlanAttrs) ProtoMessage ¶
func (*ConfigureRequest_VxlanAttrs) ProtoMessage()
func (*ConfigureRequest_VxlanAttrs) Reset ¶
func (m *ConfigureRequest_VxlanAttrs) Reset()
func (*ConfigureRequest_VxlanAttrs) Size ¶
func (m *ConfigureRequest_VxlanAttrs) Size() (n int)
func (*ConfigureRequest_VxlanAttrs) String ¶
func (m *ConfigureRequest_VxlanAttrs) String() string
func (*ConfigureRequest_VxlanAttrs) Unmarshal ¶
func (m *ConfigureRequest_VxlanAttrs) Unmarshal(dAtA []byte) error
func (*ConfigureRequest_VxlanAttrs) XXX_DiscardUnknown ¶
func (m *ConfigureRequest_VxlanAttrs) XXX_DiscardUnknown()
func (*ConfigureRequest_VxlanAttrs) XXX_Marshal ¶
func (m *ConfigureRequest_VxlanAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfigureRequest_VxlanAttrs) XXX_Merge ¶
func (m *ConfigureRequest_VxlanAttrs) XXX_Merge(src proto.Message)
func (*ConfigureRequest_VxlanAttrs) XXX_Size ¶
func (m *ConfigureRequest_VxlanAttrs) XXX_Size() int
func (*ConfigureRequest_VxlanAttrs) XXX_Unmarshal ¶
func (m *ConfigureRequest_VxlanAttrs) XXX_Unmarshal(b []byte) error
type DeconfigureRequest ¶
type DeconfigureRequest struct { LinkName string `protobuf:"bytes,1,opt,name=link_name,json=linkName,proto3" json:"link_name,omitempty"` // Types that are valid to be assigned to Attrs: // *DeconfigureRequest_Vlan // *DeconfigureRequest_Vxlan // *DeconfigureRequest_Router // *DeconfigureRequest_Bridge Attrs isDeconfigureRequest_Attrs `protobuf_oneof:"attrs"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeconfigureRequest) Descriptor ¶
func (*DeconfigureRequest) Descriptor() ([]byte, []int)
func (*DeconfigureRequest) GetAttrs ¶
func (m *DeconfigureRequest) GetAttrs() isDeconfigureRequest_Attrs
func (*DeconfigureRequest) GetBridge ¶ added in v1.1.0
func (m *DeconfigureRequest) GetBridge() *DeconfigureRequest_BridgeAttrs
func (*DeconfigureRequest) GetLinkName ¶
func (m *DeconfigureRequest) GetLinkName() string
func (*DeconfigureRequest) GetRouter ¶
func (m *DeconfigureRequest) GetRouter() *DeconfigureRequest_RouterAttrs
func (*DeconfigureRequest) GetVlan ¶
func (m *DeconfigureRequest) GetVlan() *DeconfigureRequest_VlanAttrs
func (*DeconfigureRequest) GetVxlan ¶
func (m *DeconfigureRequest) GetVxlan() *DeconfigureRequest_VxlanAttrs
func (*DeconfigureRequest) Marshal ¶
func (m *DeconfigureRequest) Marshal() (dAtA []byte, err error)
func (*DeconfigureRequest) MarshalTo ¶
func (m *DeconfigureRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeconfigureRequest) MarshalToSizedBuffer ¶
func (m *DeconfigureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeconfigureRequest) ProtoMessage ¶
func (*DeconfigureRequest) ProtoMessage()
func (*DeconfigureRequest) Reset ¶
func (m *DeconfigureRequest) Reset()
func (*DeconfigureRequest) Size ¶
func (m *DeconfigureRequest) Size() (n int)
func (*DeconfigureRequest) String ¶
func (m *DeconfigureRequest) String() string
func (*DeconfigureRequest) Unmarshal ¶
func (m *DeconfigureRequest) Unmarshal(dAtA []byte) error
func (*DeconfigureRequest) XXX_DiscardUnknown ¶
func (m *DeconfigureRequest) XXX_DiscardUnknown()
func (*DeconfigureRequest) XXX_Marshal ¶
func (m *DeconfigureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeconfigureRequest) XXX_Merge ¶
func (m *DeconfigureRequest) XXX_Merge(src proto.Message)
func (*DeconfigureRequest) XXX_OneofWrappers ¶
func (*DeconfigureRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*DeconfigureRequest) XXX_Size ¶
func (m *DeconfigureRequest) XXX_Size() int
func (*DeconfigureRequest) XXX_Unmarshal ¶
func (m *DeconfigureRequest) XXX_Unmarshal(b []byte) error
type DeconfigureRequest_Bridge ¶ added in v1.1.0
type DeconfigureRequest_Bridge struct {
Bridge *DeconfigureRequest_BridgeAttrs `protobuf:"bytes,5,opt,name=bridge,proto3,oneof" json:"bridge,omitempty"`
}
func (*DeconfigureRequest_Bridge) MarshalTo ¶ added in v1.1.0
func (m *DeconfigureRequest_Bridge) MarshalTo(dAtA []byte) (int, error)
func (*DeconfigureRequest_Bridge) MarshalToSizedBuffer ¶ added in v1.1.0
func (m *DeconfigureRequest_Bridge) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeconfigureRequest_Bridge) Size ¶ added in v1.1.0
func (m *DeconfigureRequest_Bridge) Size() (n int)
type DeconfigureRequest_BridgeAttrs ¶ added in v1.1.0
type DeconfigureRequest_BridgeAttrs struct { Ifname string `protobuf:"bytes,1,opt,name=ifname,proto3" json:"ifname,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeconfigureRequest_BridgeAttrs) Descriptor ¶ added in v1.1.0
func (*DeconfigureRequest_BridgeAttrs) Descriptor() ([]byte, []int)
func (*DeconfigureRequest_BridgeAttrs) GetIfname ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) GetIfname() string
func (*DeconfigureRequest_BridgeAttrs) Marshal ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) Marshal() (dAtA []byte, err error)
func (*DeconfigureRequest_BridgeAttrs) MarshalTo ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) MarshalTo(dAtA []byte) (int, error)
func (*DeconfigureRequest_BridgeAttrs) MarshalToSizedBuffer ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeconfigureRequest_BridgeAttrs) ProtoMessage ¶ added in v1.1.0
func (*DeconfigureRequest_BridgeAttrs) ProtoMessage()
func (*DeconfigureRequest_BridgeAttrs) Reset ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) Reset()
func (*DeconfigureRequest_BridgeAttrs) Size ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) Size() (n int)
func (*DeconfigureRequest_BridgeAttrs) String ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) String() string
func (*DeconfigureRequest_BridgeAttrs) Unmarshal ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) Unmarshal(dAtA []byte) error
func (*DeconfigureRequest_BridgeAttrs) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) XXX_DiscardUnknown()
func (*DeconfigureRequest_BridgeAttrs) XXX_Marshal ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeconfigureRequest_BridgeAttrs) XXX_Merge ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) XXX_Merge(src proto.Message)
func (*DeconfigureRequest_BridgeAttrs) XXX_Size ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) XXX_Size() int
func (*DeconfigureRequest_BridgeAttrs) XXX_Unmarshal ¶ added in v1.1.0
func (m *DeconfigureRequest_BridgeAttrs) XXX_Unmarshal(b []byte) error
type DeconfigureRequest_Router ¶
type DeconfigureRequest_Router struct {
Router *DeconfigureRequest_RouterAttrs `protobuf:"bytes,4,opt,name=router,proto3,oneof" json:"router,omitempty"`
}
func (*DeconfigureRequest_Router) MarshalTo ¶
func (m *DeconfigureRequest_Router) MarshalTo(dAtA []byte) (int, error)
func (*DeconfigureRequest_Router) MarshalToSizedBuffer ¶
func (m *DeconfigureRequest_Router) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeconfigureRequest_Router) Size ¶
func (m *DeconfigureRequest_Router) Size() (n int)
type DeconfigureRequest_RouterAttrs ¶
type DeconfigureRequest_RouterAttrs struct { BindInterface string `protobuf:"bytes,1,opt,name=bind_interface,json=bindInterface,proto3" json:"bind_interface,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeconfigureRequest_RouterAttrs) Descriptor ¶
func (*DeconfigureRequest_RouterAttrs) Descriptor() ([]byte, []int)
func (*DeconfigureRequest_RouterAttrs) GetBindInterface ¶ added in v1.2.0
func (m *DeconfigureRequest_RouterAttrs) GetBindInterface() string
func (*DeconfigureRequest_RouterAttrs) Marshal ¶
func (m *DeconfigureRequest_RouterAttrs) Marshal() (dAtA []byte, err error)
func (*DeconfigureRequest_RouterAttrs) MarshalTo ¶
func (m *DeconfigureRequest_RouterAttrs) MarshalTo(dAtA []byte) (int, error)
func (*DeconfigureRequest_RouterAttrs) MarshalToSizedBuffer ¶
func (m *DeconfigureRequest_RouterAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeconfigureRequest_RouterAttrs) ProtoMessage ¶
func (*DeconfigureRequest_RouterAttrs) ProtoMessage()
func (*DeconfigureRequest_RouterAttrs) Reset ¶
func (m *DeconfigureRequest_RouterAttrs) Reset()
func (*DeconfigureRequest_RouterAttrs) Size ¶
func (m *DeconfigureRequest_RouterAttrs) Size() (n int)
func (*DeconfigureRequest_RouterAttrs) String ¶
func (m *DeconfigureRequest_RouterAttrs) String() string
func (*DeconfigureRequest_RouterAttrs) Unmarshal ¶
func (m *DeconfigureRequest_RouterAttrs) Unmarshal(dAtA []byte) error
func (*DeconfigureRequest_RouterAttrs) XXX_DiscardUnknown ¶
func (m *DeconfigureRequest_RouterAttrs) XXX_DiscardUnknown()
func (*DeconfigureRequest_RouterAttrs) XXX_Marshal ¶
func (m *DeconfigureRequest_RouterAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeconfigureRequest_RouterAttrs) XXX_Merge ¶
func (m *DeconfigureRequest_RouterAttrs) XXX_Merge(src proto.Message)
func (*DeconfigureRequest_RouterAttrs) XXX_Size ¶
func (m *DeconfigureRequest_RouterAttrs) XXX_Size() int
func (*DeconfigureRequest_RouterAttrs) XXX_Unmarshal ¶
func (m *DeconfigureRequest_RouterAttrs) XXX_Unmarshal(b []byte) error
type DeconfigureRequest_Vlan ¶
type DeconfigureRequest_Vlan struct {
Vlan *DeconfigureRequest_VlanAttrs `protobuf:"bytes,2,opt,name=vlan,proto3,oneof" json:"vlan,omitempty"`
}
func (*DeconfigureRequest_Vlan) MarshalTo ¶
func (m *DeconfigureRequest_Vlan) MarshalTo(dAtA []byte) (int, error)
func (*DeconfigureRequest_Vlan) MarshalToSizedBuffer ¶
func (m *DeconfigureRequest_Vlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeconfigureRequest_Vlan) Size ¶
func (m *DeconfigureRequest_Vlan) Size() (n int)
type DeconfigureRequest_VlanAttrs ¶
type DeconfigureRequest_VlanAttrs struct { VlanID uint32 `protobuf:"varint,1,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeconfigureRequest_VlanAttrs) Descriptor ¶
func (*DeconfigureRequest_VlanAttrs) Descriptor() ([]byte, []int)
func (*DeconfigureRequest_VlanAttrs) GetVlanID ¶
func (m *DeconfigureRequest_VlanAttrs) GetVlanID() uint32
func (*DeconfigureRequest_VlanAttrs) Marshal ¶
func (m *DeconfigureRequest_VlanAttrs) Marshal() (dAtA []byte, err error)
func (*DeconfigureRequest_VlanAttrs) MarshalTo ¶
func (m *DeconfigureRequest_VlanAttrs) MarshalTo(dAtA []byte) (int, error)
func (*DeconfigureRequest_VlanAttrs) MarshalToSizedBuffer ¶
func (m *DeconfigureRequest_VlanAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeconfigureRequest_VlanAttrs) ProtoMessage ¶
func (*DeconfigureRequest_VlanAttrs) ProtoMessage()
func (*DeconfigureRequest_VlanAttrs) Reset ¶
func (m *DeconfigureRequest_VlanAttrs) Reset()
func (*DeconfigureRequest_VlanAttrs) Size ¶
func (m *DeconfigureRequest_VlanAttrs) Size() (n int)
func (*DeconfigureRequest_VlanAttrs) String ¶
func (m *DeconfigureRequest_VlanAttrs) String() string
func (*DeconfigureRequest_VlanAttrs) Unmarshal ¶
func (m *DeconfigureRequest_VlanAttrs) Unmarshal(dAtA []byte) error
func (*DeconfigureRequest_VlanAttrs) XXX_DiscardUnknown ¶
func (m *DeconfigureRequest_VlanAttrs) XXX_DiscardUnknown()
func (*DeconfigureRequest_VlanAttrs) XXX_Marshal ¶
func (m *DeconfigureRequest_VlanAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeconfigureRequest_VlanAttrs) XXX_Merge ¶
func (m *DeconfigureRequest_VlanAttrs) XXX_Merge(src proto.Message)
func (*DeconfigureRequest_VlanAttrs) XXX_Size ¶
func (m *DeconfigureRequest_VlanAttrs) XXX_Size() int
func (*DeconfigureRequest_VlanAttrs) XXX_Unmarshal ¶
func (m *DeconfigureRequest_VlanAttrs) XXX_Unmarshal(b []byte) error
type DeconfigureRequest_Vxlan ¶
type DeconfigureRequest_Vxlan struct {
Vxlan *DeconfigureRequest_VxlanAttrs `protobuf:"bytes,3,opt,name=vxlan,proto3,oneof" json:"vxlan,omitempty"`
}
func (*DeconfigureRequest_Vxlan) MarshalTo ¶
func (m *DeconfigureRequest_Vxlan) MarshalTo(dAtA []byte) (int, error)
func (*DeconfigureRequest_Vxlan) MarshalToSizedBuffer ¶
func (m *DeconfigureRequest_Vxlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeconfigureRequest_Vxlan) Size ¶
func (m *DeconfigureRequest_Vxlan) Size() (n int)
type DeconfigureRequest_VxlanAttrs ¶
type DeconfigureRequest_VxlanAttrs struct { VNI uint32 `protobuf:"varint,1,opt,name=vni,proto3" json:"vni,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeconfigureRequest_VxlanAttrs) Descriptor ¶
func (*DeconfigureRequest_VxlanAttrs) Descriptor() ([]byte, []int)
func (*DeconfigureRequest_VxlanAttrs) GetVNI ¶
func (m *DeconfigureRequest_VxlanAttrs) GetVNI() uint32
func (*DeconfigureRequest_VxlanAttrs) Marshal ¶
func (m *DeconfigureRequest_VxlanAttrs) Marshal() (dAtA []byte, err error)
func (*DeconfigureRequest_VxlanAttrs) MarshalTo ¶
func (m *DeconfigureRequest_VxlanAttrs) MarshalTo(dAtA []byte) (int, error)
func (*DeconfigureRequest_VxlanAttrs) MarshalToSizedBuffer ¶
func (m *DeconfigureRequest_VxlanAttrs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeconfigureRequest_VxlanAttrs) ProtoMessage ¶
func (*DeconfigureRequest_VxlanAttrs) ProtoMessage()
func (*DeconfigureRequest_VxlanAttrs) Reset ¶
func (m *DeconfigureRequest_VxlanAttrs) Reset()
func (*DeconfigureRequest_VxlanAttrs) Size ¶
func (m *DeconfigureRequest_VxlanAttrs) Size() (n int)
func (*DeconfigureRequest_VxlanAttrs) String ¶
func (m *DeconfigureRequest_VxlanAttrs) String() string
func (*DeconfigureRequest_VxlanAttrs) Unmarshal ¶
func (m *DeconfigureRequest_VxlanAttrs) Unmarshal(dAtA []byte) error
func (*DeconfigureRequest_VxlanAttrs) XXX_DiscardUnknown ¶
func (m *DeconfigureRequest_VxlanAttrs) XXX_DiscardUnknown()
func (*DeconfigureRequest_VxlanAttrs) XXX_Marshal ¶
func (m *DeconfigureRequest_VxlanAttrs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeconfigureRequest_VxlanAttrs) XXX_Merge ¶
func (m *DeconfigureRequest_VxlanAttrs) XXX_Merge(src proto.Message)
func (*DeconfigureRequest_VxlanAttrs) XXX_Size ¶
func (m *DeconfigureRequest_VxlanAttrs) XXX_Size() int
func (*DeconfigureRequest_VxlanAttrs) XXX_Unmarshal ¶
func (m *DeconfigureRequest_VxlanAttrs) XXX_Unmarshal(b []byte) error
type ListEndPointsRequest ¶
type ListEndPointsRequest struct { Filter *ListEndPointsRequest_Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListEndPointsRequest) Descriptor ¶
func (*ListEndPointsRequest) Descriptor() ([]byte, []int)
func (*ListEndPointsRequest) GetFilter ¶
func (m *ListEndPointsRequest) GetFilter() *ListEndPointsRequest_Filter
func (*ListEndPointsRequest) Marshal ¶
func (m *ListEndPointsRequest) Marshal() (dAtA []byte, err error)
func (*ListEndPointsRequest) MarshalTo ¶
func (m *ListEndPointsRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListEndPointsRequest) MarshalToSizedBuffer ¶
func (m *ListEndPointsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListEndPointsRequest) ProtoMessage ¶
func (*ListEndPointsRequest) ProtoMessage()
func (*ListEndPointsRequest) Reset ¶
func (m *ListEndPointsRequest) Reset()
func (*ListEndPointsRequest) Size ¶
func (m *ListEndPointsRequest) Size() (n int)
func (*ListEndPointsRequest) String ¶
func (m *ListEndPointsRequest) String() string
func (*ListEndPointsRequest) Unmarshal ¶
func (m *ListEndPointsRequest) Unmarshal(dAtA []byte) error
func (*ListEndPointsRequest) XXX_DiscardUnknown ¶
func (m *ListEndPointsRequest) XXX_DiscardUnknown()
func (*ListEndPointsRequest) XXX_Marshal ¶
func (m *ListEndPointsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEndPointsRequest) XXX_Merge ¶
func (m *ListEndPointsRequest) XXX_Merge(src proto.Message)
func (*ListEndPointsRequest) XXX_Size ¶
func (m *ListEndPointsRequest) XXX_Size() int
func (*ListEndPointsRequest) XXX_Unmarshal ¶
func (m *ListEndPointsRequest) XXX_Unmarshal(b []byte) error
type ListEndPointsRequest_Filter ¶
type ListEndPointsRequest_Filter struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListEndPointsRequest_Filter) Descriptor ¶
func (*ListEndPointsRequest_Filter) Descriptor() ([]byte, []int)
func (*ListEndPointsRequest_Filter) Marshal ¶
func (m *ListEndPointsRequest_Filter) Marshal() (dAtA []byte, err error)
func (*ListEndPointsRequest_Filter) MarshalTo ¶
func (m *ListEndPointsRequest_Filter) MarshalTo(dAtA []byte) (int, error)
func (*ListEndPointsRequest_Filter) MarshalToSizedBuffer ¶
func (m *ListEndPointsRequest_Filter) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListEndPointsRequest_Filter) ProtoMessage ¶
func (*ListEndPointsRequest_Filter) ProtoMessage()
func (*ListEndPointsRequest_Filter) Reset ¶
func (m *ListEndPointsRequest_Filter) Reset()
func (*ListEndPointsRequest_Filter) Size ¶
func (m *ListEndPointsRequest_Filter) Size() (n int)
func (*ListEndPointsRequest_Filter) String ¶
func (m *ListEndPointsRequest_Filter) String() string
func (*ListEndPointsRequest_Filter) Unmarshal ¶
func (m *ListEndPointsRequest_Filter) Unmarshal(dAtA []byte) error
func (*ListEndPointsRequest_Filter) XXX_DiscardUnknown ¶
func (m *ListEndPointsRequest_Filter) XXX_DiscardUnknown()
func (*ListEndPointsRequest_Filter) XXX_Marshal ¶
func (m *ListEndPointsRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEndPointsRequest_Filter) XXX_Merge ¶
func (m *ListEndPointsRequest_Filter) XXX_Merge(src proto.Message)
func (*ListEndPointsRequest_Filter) XXX_Size ¶
func (m *ListEndPointsRequest_Filter) XXX_Size() int
func (*ListEndPointsRequest_Filter) XXX_Unmarshal ¶
func (m *ListEndPointsRequest_Filter) XXX_Unmarshal(b []byte) error
type ListEndPointsResponse ¶
type ListEndPointsResponse struct { EndPoints []*types.NetworkEndPoint `protobuf:"bytes,1,rep,name=end_points,json=endPoints,proto3" json:"end_points,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListEndPointsResponse) Descriptor ¶
func (*ListEndPointsResponse) Descriptor() ([]byte, []int)
func (*ListEndPointsResponse) GetEndPoints ¶
func (m *ListEndPointsResponse) GetEndPoints() []*types.NetworkEndPoint
func (*ListEndPointsResponse) Marshal ¶
func (m *ListEndPointsResponse) Marshal() (dAtA []byte, err error)
func (*ListEndPointsResponse) MarshalTo ¶
func (m *ListEndPointsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListEndPointsResponse) MarshalToSizedBuffer ¶
func (m *ListEndPointsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListEndPointsResponse) ProtoMessage ¶
func (*ListEndPointsResponse) ProtoMessage()
func (*ListEndPointsResponse) Reset ¶
func (m *ListEndPointsResponse) Reset()
func (*ListEndPointsResponse) Size ¶
func (m *ListEndPointsResponse) Size() (n int)
func (*ListEndPointsResponse) String ¶
func (m *ListEndPointsResponse) String() string
func (*ListEndPointsResponse) Unmarshal ¶
func (m *ListEndPointsResponse) Unmarshal(dAtA []byte) error
func (*ListEndPointsResponse) XXX_DiscardUnknown ¶
func (m *ListEndPointsResponse) XXX_DiscardUnknown()
func (*ListEndPointsResponse) XXX_Marshal ¶
func (m *ListEndPointsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListEndPointsResponse) XXX_Merge ¶
func (m *ListEndPointsResponse) XXX_Merge(src proto.Message)
func (*ListEndPointsResponse) XXX_Size ¶
func (m *ListEndPointsResponse) XXX_Size() int
func (*ListEndPointsResponse) XXX_Unmarshal ¶
func (m *ListEndPointsResponse) XXX_Unmarshal(b []byte) error
type NetworkServiceClient ¶
type NetworkServiceClient interface { ListEndPoints(ctx context.Context, in *ListEndPointsRequest, opts ...grpc.CallOption) (*ListEndPointsResponse, error) Configure(ctx context.Context, in *ConfigureRequest, opts ...grpc.CallOption) (*empty.Empty, error) Deconfigure(ctx context.Context, in *DeconfigureRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
NetworkServiceClient is the client API for NetworkService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNetworkServiceClient ¶
func NewNetworkServiceClient(cc *grpc.ClientConn) NetworkServiceClient
type NetworkServiceServer ¶
type NetworkServiceServer interface { ListEndPoints(context.Context, *ListEndPointsRequest) (*ListEndPointsResponse, error) Configure(context.Context, *ConfigureRequest) (*empty.Empty, error) Deconfigure(context.Context, *DeconfigureRequest) (*empty.Empty, error) }
NetworkServiceServer is the server API for NetworkService service.
type UnimplementedNetworkServiceServer ¶
type UnimplementedNetworkServiceServer struct { }
UnimplementedNetworkServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedNetworkServiceServer) Configure ¶
func (*UnimplementedNetworkServiceServer) Configure(ctx context.Context, req *ConfigureRequest) (*empty.Empty, error)
func (*UnimplementedNetworkServiceServer) Deconfigure ¶
func (*UnimplementedNetworkServiceServer) Deconfigure(ctx context.Context, req *DeconfigureRequest) (*empty.Empty, error)
func (*UnimplementedNetworkServiceServer) ListEndPoints ¶
func (*UnimplementedNetworkServiceServer) ListEndPoints(ctx context.Context, req *ListEndPointsRequest) (*ListEndPointsResponse, error)
Click to show internal directories.
Click to hide internal directories.