Documentation ¶
Index ¶
- Variables
- func RegisterLoadBalancerAgentServer(s *grpc.Server, srv LoadBalancerAgentServer)
- func RegisterMacPoolAgentServer(s *grpc.Server, srv MacPoolAgentServer)
- func RegisterNetworkInterfaceAgentServer(s *grpc.Server, srv NetworkInterfaceAgentServer)
- func RegisterVipPoolAgentServer(s *grpc.Server, srv VipPoolAgentServer)
- func RegisterVirtualNetworkAgentServer(s *grpc.Server, srv VirtualNetworkAgentServer)
- type Dns
- func (*Dns) Descriptor() ([]byte, []int)
- func (m *Dns) GetDomain() string
- func (m *Dns) GetOptions() []string
- func (m *Dns) GetSearch() []string
- func (m *Dns) GetServers() []string
- func (*Dns) ProtoMessage()
- func (m *Dns) Reset()
- func (m *Dns) String() string
- func (m *Dns) XXX_DiscardUnknown()
- func (m *Dns) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Dns) XXX_Merge(src proto.Message)
- func (m *Dns) XXX_Size() int
- func (m *Dns) XXX_Unmarshal(b []byte) error
- type IpConfiguration
- func (*IpConfiguration) Descriptor() ([]byte, []int)
- func (m *IpConfiguration) GetAllocation() common.IPAllocationMethod
- func (m *IpConfiguration) GetGateway() string
- func (m *IpConfiguration) GetIpaddress() string
- func (m *IpConfiguration) GetLoadbalanceraddresspool() []string
- func (m *IpConfiguration) GetPrefixlength() string
- func (m *IpConfiguration) GetPrimary() bool
- func (m *IpConfiguration) GetSubnetid() string
- func (*IpConfiguration) ProtoMessage()
- func (m *IpConfiguration) Reset()
- func (m *IpConfiguration) String() string
- func (m *IpConfiguration) XXX_DiscardUnknown()
- func (m *IpConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IpConfiguration) XXX_Merge(src proto.Message)
- func (m *IpConfiguration) XXX_Size() int
- func (m *IpConfiguration) XXX_Unmarshal(b []byte) error
- type Ipam
- func (*Ipam) Descriptor() ([]byte, []int)
- func (m *Ipam) GetSubnets() []*Subnet
- func (m *Ipam) GetType() string
- func (*Ipam) ProtoMessage()
- func (m *Ipam) Reset()
- func (m *Ipam) String() string
- func (m *Ipam) XXX_DiscardUnknown()
- func (m *Ipam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ipam) XXX_Merge(src proto.Message)
- func (m *Ipam) XXX_Size() int
- func (m *Ipam) XXX_Unmarshal(b []byte) error
- type LoadBalancer
- func (*LoadBalancer) Descriptor() ([]byte, []int)
- func (m *LoadBalancer) GetBackendpoolnames() []string
- func (m *LoadBalancer) GetFrontendIP() string
- func (m *LoadBalancer) GetGroupName() string
- func (m *LoadBalancer) GetId() string
- func (m *LoadBalancer) GetLoadbalancingrules() []*LoadBalancingRule
- func (m *LoadBalancer) GetLocationName() string
- func (m *LoadBalancer) GetName() string
- func (m *LoadBalancer) GetNetworkid() string
- func (m *LoadBalancer) GetNodefqdn() string
- func (m *LoadBalancer) GetStatus() *common.Status
- func (*LoadBalancer) ProtoMessage()
- func (m *LoadBalancer) Reset()
- func (m *LoadBalancer) String() string
- func (m *LoadBalancer) XXX_DiscardUnknown()
- func (m *LoadBalancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancer) XXX_Merge(src proto.Message)
- func (m *LoadBalancer) XXX_Size() int
- func (m *LoadBalancer) XXX_Unmarshal(b []byte) error
- type LoadBalancerAgentClient
- type LoadBalancerAgentServer
- type LoadBalancerRequest
- func (*LoadBalancerRequest) Descriptor() ([]byte, []int)
- func (m *LoadBalancerRequest) GetLoadBalancers() []*LoadBalancer
- func (m *LoadBalancerRequest) GetOperationType() common.Operation
- func (*LoadBalancerRequest) ProtoMessage()
- func (m *LoadBalancerRequest) Reset()
- func (m *LoadBalancerRequest) String() string
- func (m *LoadBalancerRequest) XXX_DiscardUnknown()
- func (m *LoadBalancerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerRequest) XXX_Merge(src proto.Message)
- func (m *LoadBalancerRequest) XXX_Size() int
- func (m *LoadBalancerRequest) XXX_Unmarshal(b []byte) error
- type LoadBalancerResponse
- func (*LoadBalancerResponse) Descriptor() ([]byte, []int)
- func (m *LoadBalancerResponse) GetError() string
- func (m *LoadBalancerResponse) GetLoadBalancers() []*LoadBalancer
- func (m *LoadBalancerResponse) GetResult() *wrappers.BoolValue
- func (*LoadBalancerResponse) ProtoMessage()
- func (m *LoadBalancerResponse) Reset()
- func (m *LoadBalancerResponse) String() string
- func (m *LoadBalancerResponse) XXX_DiscardUnknown()
- func (m *LoadBalancerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerResponse) XXX_Merge(src proto.Message)
- func (m *LoadBalancerResponse) XXX_Size() int
- func (m *LoadBalancerResponse) XXX_Unmarshal(b []byte) error
- type LoadBalancingRule
- func (*LoadBalancingRule) Descriptor() ([]byte, []int)
- func (m *LoadBalancingRule) GetBackendPort() uint32
- func (m *LoadBalancingRule) GetFrontendPort() uint32
- func (m *LoadBalancingRule) GetProtocol() common.Protocol
- func (*LoadBalancingRule) ProtoMessage()
- func (m *LoadBalancingRule) Reset()
- func (m *LoadBalancingRule) String() string
- func (m *LoadBalancingRule) XXX_DiscardUnknown()
- func (m *LoadBalancingRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancingRule) XXX_Merge(src proto.Message)
- func (m *LoadBalancingRule) XXX_Size() int
- func (m *LoadBalancingRule) XXX_Unmarshal(b []byte) error
- type MacPool
- func (*MacPool) Descriptor() ([]byte, []int)
- func (m *MacPool) GetId() string
- func (m *MacPool) GetLocationName() string
- func (m *MacPool) GetName() string
- func (m *MacPool) GetRange() *MacRange
- func (m *MacPool) GetStatus() *common.Status
- func (*MacPool) ProtoMessage()
- func (m *MacPool) Reset()
- func (m *MacPool) String() string
- func (m *MacPool) XXX_DiscardUnknown()
- func (m *MacPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MacPool) XXX_Merge(src proto.Message)
- func (m *MacPool) XXX_Size() int
- func (m *MacPool) XXX_Unmarshal(b []byte) error
- type MacPoolAgentClient
- type MacPoolAgentServer
- type MacPoolRequest
- func (*MacPoolRequest) Descriptor() ([]byte, []int)
- func (m *MacPoolRequest) GetMacPools() []*MacPool
- func (m *MacPoolRequest) GetOperationType() common.Operation
- func (*MacPoolRequest) ProtoMessage()
- func (m *MacPoolRequest) Reset()
- func (m *MacPoolRequest) String() string
- func (m *MacPoolRequest) XXX_DiscardUnknown()
- func (m *MacPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MacPoolRequest) XXX_Merge(src proto.Message)
- func (m *MacPoolRequest) XXX_Size() int
- func (m *MacPoolRequest) XXX_Unmarshal(b []byte) error
- type MacPoolResponse
- func (*MacPoolResponse) Descriptor() ([]byte, []int)
- func (m *MacPoolResponse) GetError() string
- func (m *MacPoolResponse) GetMacPools() []*MacPool
- func (m *MacPoolResponse) GetResult() *wrappers.BoolValue
- func (*MacPoolResponse) ProtoMessage()
- func (m *MacPoolResponse) Reset()
- func (m *MacPoolResponse) String() string
- func (m *MacPoolResponse) XXX_DiscardUnknown()
- func (m *MacPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MacPoolResponse) XXX_Merge(src proto.Message)
- func (m *MacPoolResponse) XXX_Size() int
- func (m *MacPoolResponse) XXX_Unmarshal(b []byte) error
- type MacRange
- func (*MacRange) Descriptor() ([]byte, []int)
- func (m *MacRange) GetEndMacAddress() string
- func (m *MacRange) GetStartMacAddress() string
- func (*MacRange) ProtoMessage()
- func (m *MacRange) Reset()
- func (m *MacRange) String() string
- func (m *MacRange) XXX_DiscardUnknown()
- func (m *MacRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MacRange) XXX_Merge(src proto.Message)
- func (m *MacRange) XXX_Size() int
- func (m *MacRange) XXX_Unmarshal(b []byte) error
- type NetworkInterface
- func (*NetworkInterface) Descriptor() ([]byte, []int)
- func (m *NetworkInterface) GetDns() *common.Dns
- func (m *NetworkInterface) GetGroupName() string
- func (m *NetworkInterface) GetId() string
- func (m *NetworkInterface) GetIovWeight() uint32
- func (m *NetworkInterface) GetIpConfigurations() []*IpConfiguration
- func (m *NetworkInterface) GetLocationName() string
- func (m *NetworkInterface) GetMacaddress() string
- func (m *NetworkInterface) GetName() string
- func (m *NetworkInterface) GetNodeName() string
- func (m *NetworkInterface) GetStatus() *common.Status
- func (m *NetworkInterface) GetType() NetworkInterface_NetworkInterfaceType
- func (m *NetworkInterface) GetVirtualMachineName() string
- func (*NetworkInterface) ProtoMessage()
- func (m *NetworkInterface) Reset()
- func (m *NetworkInterface) String() string
- func (m *NetworkInterface) XXX_DiscardUnknown()
- func (m *NetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkInterface) XXX_Merge(src proto.Message)
- func (m *NetworkInterface) XXX_Size() int
- func (m *NetworkInterface) XXX_Unmarshal(b []byte) error
- type NetworkInterfaceAgentClient
- type NetworkInterfaceAgentServer
- type NetworkInterfaceRequest
- func (*NetworkInterfaceRequest) Descriptor() ([]byte, []int)
- func (m *NetworkInterfaceRequest) GetNetworkInterfaces() []*NetworkInterface
- func (m *NetworkInterfaceRequest) GetOperationType() common.Operation
- func (*NetworkInterfaceRequest) ProtoMessage()
- func (m *NetworkInterfaceRequest) Reset()
- func (m *NetworkInterfaceRequest) String() string
- func (m *NetworkInterfaceRequest) XXX_DiscardUnknown()
- func (m *NetworkInterfaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkInterfaceRequest) XXX_Merge(src proto.Message)
- func (m *NetworkInterfaceRequest) XXX_Size() int
- func (m *NetworkInterfaceRequest) XXX_Unmarshal(b []byte) error
- type NetworkInterfaceResponse
- func (*NetworkInterfaceResponse) Descriptor() ([]byte, []int)
- func (m *NetworkInterfaceResponse) GetError() string
- func (m *NetworkInterfaceResponse) GetNetworkInterfaces() []*NetworkInterface
- func (m *NetworkInterfaceResponse) GetResult() *wrappers.BoolValue
- func (*NetworkInterfaceResponse) ProtoMessage()
- func (m *NetworkInterfaceResponse) Reset()
- func (m *NetworkInterfaceResponse) String() string
- func (m *NetworkInterfaceResponse) XXX_DiscardUnknown()
- func (m *NetworkInterfaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkInterfaceResponse) XXX_Merge(src proto.Message)
- func (m *NetworkInterfaceResponse) XXX_Size() int
- func (m *NetworkInterfaceResponse) XXX_Unmarshal(b []byte) error
- type NetworkInterface_NetworkInterfaceType
- type Route
- func (*Route) Descriptor() ([]byte, []int)
- func (m *Route) GetDestinationprefix() string
- func (m *Route) GetMetric() uint32
- func (m *Route) GetNexthop() 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 (m *Route) XXX_Merge(src proto.Message)
- func (m *Route) XXX_Size() int
- func (m *Route) XXX_Unmarshal(b []byte) error
- type Subnet
- func (*Subnet) Descriptor() ([]byte, []int)
- func (m *Subnet) GetAllocation() common.IPAllocationMethod
- func (m *Subnet) GetCidr() string
- func (m *Subnet) GetId() string
- func (m *Subnet) GetName() string
- func (m *Subnet) GetRoutes() []*Route
- 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 (m *Subnet) XXX_Merge(src proto.Message)
- func (m *Subnet) XXX_Size() int
- func (m *Subnet) XXX_Unmarshal(b []byte) error
- type UnimplementedLoadBalancerAgentServer
- type UnimplementedMacPoolAgentServer
- type UnimplementedNetworkInterfaceAgentServer
- type UnimplementedVipPoolAgentServer
- type UnimplementedVirtualNetworkAgentServer
- type VipPool
- func (*VipPool) Descriptor() ([]byte, []int)
- func (m *VipPool) GetCidr() string
- func (m *VipPool) GetEndip() string
- func (m *VipPool) GetGroupName() string
- func (m *VipPool) GetId() string
- func (m *VipPool) GetLocationName() string
- func (m *VipPool) GetName() string
- func (m *VipPool) GetNetworkid() string
- func (m *VipPool) GetNodefqdn() string
- func (m *VipPool) GetStartip() string
- func (m *VipPool) GetStatus() *common.Status
- func (*VipPool) ProtoMessage()
- func (m *VipPool) Reset()
- func (m *VipPool) String() string
- func (m *VipPool) XXX_DiscardUnknown()
- func (m *VipPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VipPool) XXX_Merge(src proto.Message)
- func (m *VipPool) XXX_Size() int
- func (m *VipPool) XXX_Unmarshal(b []byte) error
- type VipPoolAgentClient
- type VipPoolAgentServer
- type VipPoolRequest
- func (*VipPoolRequest) Descriptor() ([]byte, []int)
- func (m *VipPoolRequest) GetOperationType() common.Operation
- func (m *VipPoolRequest) GetVipPools() []*VipPool
- func (*VipPoolRequest) ProtoMessage()
- func (m *VipPoolRequest) Reset()
- func (m *VipPoolRequest) String() string
- func (m *VipPoolRequest) XXX_DiscardUnknown()
- func (m *VipPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VipPoolRequest) XXX_Merge(src proto.Message)
- func (m *VipPoolRequest) XXX_Size() int
- func (m *VipPoolRequest) XXX_Unmarshal(b []byte) error
- type VipPoolResponse
- func (*VipPoolResponse) Descriptor() ([]byte, []int)
- func (m *VipPoolResponse) GetError() string
- func (m *VipPoolResponse) GetResult() *wrappers.BoolValue
- func (m *VipPoolResponse) GetVipPools() []*VipPool
- func (*VipPoolResponse) ProtoMessage()
- func (m *VipPoolResponse) Reset()
- func (m *VipPoolResponse) String() string
- func (m *VipPoolResponse) XXX_DiscardUnknown()
- func (m *VipPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VipPoolResponse) XXX_Merge(src proto.Message)
- func (m *VipPoolResponse) XXX_Size() int
- func (m *VipPoolResponse) XXX_Unmarshal(b []byte) error
- type VirtualNetwork
- func (*VirtualNetwork) Descriptor() ([]byte, []int)
- func (m *VirtualNetwork) GetDns() *common.Dns
- func (m *VirtualNetwork) GetGroupName() string
- func (m *VirtualNetwork) GetId() string
- func (m *VirtualNetwork) GetLocationName() string
- func (m *VirtualNetwork) GetMacPoolName() string
- func (m *VirtualNetwork) GetName() string
- func (m *VirtualNetwork) GetNodefqdn() string
- func (m *VirtualNetwork) GetStatus() *common.Status
- func (m *VirtualNetwork) GetSubnets() []*Subnet
- func (m *VirtualNetwork) GetType() VirtualNetworkType
- func (m *VirtualNetwork) GetVlan() uint32
- func (*VirtualNetwork) ProtoMessage()
- func (m *VirtualNetwork) Reset()
- func (m *VirtualNetwork) String() string
- func (m *VirtualNetwork) XXX_DiscardUnknown()
- func (m *VirtualNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualNetwork) XXX_Merge(src proto.Message)
- func (m *VirtualNetwork) XXX_Size() int
- func (m *VirtualNetwork) XXX_Unmarshal(b []byte) error
- type VirtualNetworkAgentClient
- type VirtualNetworkAgentServer
- type VirtualNetworkRequest
- func (*VirtualNetworkRequest) Descriptor() ([]byte, []int)
- func (m *VirtualNetworkRequest) GetOperationType() common.Operation
- func (m *VirtualNetworkRequest) GetVirtualNetworks() []*VirtualNetwork
- func (*VirtualNetworkRequest) ProtoMessage()
- func (m *VirtualNetworkRequest) Reset()
- func (m *VirtualNetworkRequest) String() string
- func (m *VirtualNetworkRequest) XXX_DiscardUnknown()
- func (m *VirtualNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualNetworkRequest) XXX_Merge(src proto.Message)
- func (m *VirtualNetworkRequest) XXX_Size() int
- func (m *VirtualNetworkRequest) XXX_Unmarshal(b []byte) error
- type VirtualNetworkResponse
- func (*VirtualNetworkResponse) Descriptor() ([]byte, []int)
- func (m *VirtualNetworkResponse) GetError() string
- func (m *VirtualNetworkResponse) GetResult() *wrappers.BoolValue
- func (m *VirtualNetworkResponse) GetVirtualNetworks() []*VirtualNetwork
- func (*VirtualNetworkResponse) ProtoMessage()
- func (m *VirtualNetworkResponse) Reset()
- func (m *VirtualNetworkResponse) String() string
- func (m *VirtualNetworkResponse) XXX_DiscardUnknown()
- func (m *VirtualNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VirtualNetworkResponse) XXX_Merge(src proto.Message)
- func (m *VirtualNetworkResponse) XXX_Size() int
- func (m *VirtualNetworkResponse) XXX_Unmarshal(b []byte) error
- type VirtualNetworkType
Constants ¶
This section is empty.
Variables ¶
var NetworkInterface_NetworkInterfaceType_name = map[int32]string{
0: "Local",
1: "Remote",
}
var NetworkInterface_NetworkInterfaceType_value = map[string]int32{
"Local": 0,
"Remote": 1,
}
var VirtualNetworkType_name = map[int32]string{
0: "NAT",
1: "Transparent",
2: "L2Bridge",
3: "L2Tunnel",
4: "ICS",
5: "Private",
6: "Overlay",
7: "Internal",
8: "Mirrored",
}
var VirtualNetworkType_value = map[string]int32{
"NAT": 0,
"Transparent": 1,
"L2Bridge": 2,
"L2Tunnel": 3,
"ICS": 4,
"Private": 5,
"Overlay": 6,
"Internal": 7,
"Mirrored": 8,
}
Functions ¶
func RegisterLoadBalancerAgentServer ¶
func RegisterLoadBalancerAgentServer(s *grpc.Server, srv LoadBalancerAgentServer)
func RegisterMacPoolAgentServer ¶
func RegisterMacPoolAgentServer(s *grpc.Server, srv MacPoolAgentServer)
func RegisterNetworkInterfaceAgentServer ¶
func RegisterNetworkInterfaceAgentServer(s *grpc.Server, srv NetworkInterfaceAgentServer)
func RegisterVipPoolAgentServer ¶
func RegisterVipPoolAgentServer(s *grpc.Server, srv VipPoolAgentServer)
func RegisterVirtualNetworkAgentServer ¶
func RegisterVirtualNetworkAgentServer(s *grpc.Server, srv VirtualNetworkAgentServer)
Types ¶
type Dns ¶
type Dns struct { Servers []string `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` Search []string `protobuf:"bytes,3,rep,name=search,proto3" json:"search,omitempty"` Options []string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Dns) Descriptor ¶
func (*Dns) GetOptions ¶
func (*Dns) GetServers ¶
func (*Dns) ProtoMessage ¶
func (*Dns) ProtoMessage()
func (*Dns) XXX_DiscardUnknown ¶
func (m *Dns) XXX_DiscardUnknown()
func (*Dns) XXX_Unmarshal ¶
type IpConfiguration ¶
type IpConfiguration struct { Ipaddress string `protobuf:"bytes,1,opt,name=ipaddress,proto3" json:"ipaddress,omitempty"` Prefixlength string `protobuf:"bytes,2,opt,name=prefixlength,proto3" json:"prefixlength,omitempty"` Subnetid string `protobuf:"bytes,3,opt,name=subnetid,proto3" json:"subnetid,omitempty"` Primary bool `protobuf:"varint,4,opt,name=primary,proto3" json:"primary,omitempty"` Loadbalanceraddresspool []string `protobuf:"bytes,5,rep,name=loadbalanceraddresspool,proto3" json:"loadbalanceraddresspool,omitempty"` Allocation common.IPAllocationMethod `protobuf:"varint,6,opt,name=allocation,proto3,enum=moc.IPAllocationMethod" json:"allocation,omitempty"` Gateway string `protobuf:"bytes,7,opt,name=gateway,proto3" json:"gateway,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IpConfiguration) Descriptor ¶
func (*IpConfiguration) Descriptor() ([]byte, []int)
func (*IpConfiguration) GetAllocation ¶
func (m *IpConfiguration) GetAllocation() common.IPAllocationMethod
func (*IpConfiguration) GetGateway ¶
func (m *IpConfiguration) GetGateway() string
func (*IpConfiguration) GetIpaddress ¶
func (m *IpConfiguration) GetIpaddress() string
func (*IpConfiguration) GetLoadbalanceraddresspool ¶
func (m *IpConfiguration) GetLoadbalanceraddresspool() []string
func (*IpConfiguration) GetPrefixlength ¶
func (m *IpConfiguration) GetPrefixlength() string
func (*IpConfiguration) GetPrimary ¶
func (m *IpConfiguration) GetPrimary() bool
func (*IpConfiguration) GetSubnetid ¶
func (m *IpConfiguration) GetSubnetid() string
func (*IpConfiguration) ProtoMessage ¶
func (*IpConfiguration) ProtoMessage()
func (*IpConfiguration) Reset ¶
func (m *IpConfiguration) Reset()
func (*IpConfiguration) String ¶
func (m *IpConfiguration) String() string
func (*IpConfiguration) XXX_DiscardUnknown ¶
func (m *IpConfiguration) XXX_DiscardUnknown()
func (*IpConfiguration) XXX_Marshal ¶
func (m *IpConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IpConfiguration) XXX_Merge ¶
func (m *IpConfiguration) XXX_Merge(src proto.Message)
func (*IpConfiguration) XXX_Size ¶
func (m *IpConfiguration) XXX_Size() int
func (*IpConfiguration) XXX_Unmarshal ¶
func (m *IpConfiguration) XXX_Unmarshal(b []byte) error
type Ipam ¶
type Ipam struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Subnets []*Subnet `protobuf:"bytes,2,rep,name=subnets,proto3" json:"subnets,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Ipam) Descriptor ¶
func (*Ipam) GetSubnets ¶
func (*Ipam) ProtoMessage ¶
func (*Ipam) ProtoMessage()
func (*Ipam) XXX_DiscardUnknown ¶
func (m *Ipam) XXX_DiscardUnknown()
func (*Ipam) XXX_Unmarshal ¶
type LoadBalancer ¶
type LoadBalancer struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` FrontendIP string `protobuf:"bytes,3,opt,name=frontendIP,proto3" json:"frontendIP,omitempty"` Backendpoolnames []string `protobuf:"bytes,4,rep,name=backendpoolnames,proto3" json:"backendpoolnames,omitempty"` Networkid string `protobuf:"bytes,5,opt,name=networkid,proto3" json:"networkid,omitempty"` Loadbalancingrules []*LoadBalancingRule `protobuf:"bytes,6,rep,name=loadbalancingrules,proto3" json:"loadbalancingrules,omitempty"` Nodefqdn string `protobuf:"bytes,7,opt,name=nodefqdn,proto3" json:"nodefqdn,omitempty"` GroupName string `protobuf:"bytes,8,opt,name=groupName,proto3" json:"groupName,omitempty"` LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"` Status *common.Status `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadBalancer) Descriptor ¶
func (*LoadBalancer) Descriptor() ([]byte, []int)
func (*LoadBalancer) GetBackendpoolnames ¶
func (m *LoadBalancer) GetBackendpoolnames() []string
func (*LoadBalancer) GetFrontendIP ¶
func (m *LoadBalancer) GetFrontendIP() string
func (*LoadBalancer) GetGroupName ¶
func (m *LoadBalancer) GetGroupName() string
func (*LoadBalancer) GetId ¶
func (m *LoadBalancer) GetId() string
func (*LoadBalancer) GetLoadbalancingrules ¶
func (m *LoadBalancer) GetLoadbalancingrules() []*LoadBalancingRule
func (*LoadBalancer) GetLocationName ¶
func (m *LoadBalancer) GetLocationName() string
func (*LoadBalancer) GetName ¶
func (m *LoadBalancer) GetName() string
func (*LoadBalancer) GetNetworkid ¶
func (m *LoadBalancer) GetNetworkid() string
func (*LoadBalancer) GetNodefqdn ¶
func (m *LoadBalancer) GetNodefqdn() string
func (*LoadBalancer) GetStatus ¶
func (m *LoadBalancer) GetStatus() *common.Status
func (*LoadBalancer) ProtoMessage ¶
func (*LoadBalancer) ProtoMessage()
func (*LoadBalancer) Reset ¶
func (m *LoadBalancer) Reset()
func (*LoadBalancer) String ¶
func (m *LoadBalancer) String() string
func (*LoadBalancer) XXX_DiscardUnknown ¶
func (m *LoadBalancer) XXX_DiscardUnknown()
func (*LoadBalancer) XXX_Marshal ¶
func (m *LoadBalancer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancer) XXX_Merge ¶
func (m *LoadBalancer) XXX_Merge(src proto.Message)
func (*LoadBalancer) XXX_Size ¶
func (m *LoadBalancer) XXX_Size() int
func (*LoadBalancer) XXX_Unmarshal ¶
func (m *LoadBalancer) XXX_Unmarshal(b []byte) error
type LoadBalancerAgentClient ¶
type LoadBalancerAgentClient interface {
Invoke(ctx context.Context, in *LoadBalancerRequest, opts ...grpc.CallOption) (*LoadBalancerResponse, error)
}
LoadBalancerAgentClient is the client API for LoadBalancerAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewLoadBalancerAgentClient ¶
func NewLoadBalancerAgentClient(cc *grpc.ClientConn) LoadBalancerAgentClient
type LoadBalancerAgentServer ¶
type LoadBalancerAgentServer interface {
Invoke(context.Context, *LoadBalancerRequest) (*LoadBalancerResponse, error)
}
LoadBalancerAgentServer is the server API for LoadBalancerAgent service.
type LoadBalancerRequest ¶
type LoadBalancerRequest struct { LoadBalancers []*LoadBalancer `protobuf:"bytes,1,rep,name=LoadBalancers,proto3" json:"LoadBalancers,omitempty"` OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadBalancerRequest) Descriptor ¶
func (*LoadBalancerRequest) Descriptor() ([]byte, []int)
func (*LoadBalancerRequest) GetLoadBalancers ¶
func (m *LoadBalancerRequest) GetLoadBalancers() []*LoadBalancer
func (*LoadBalancerRequest) GetOperationType ¶
func (m *LoadBalancerRequest) GetOperationType() common.Operation
func (*LoadBalancerRequest) ProtoMessage ¶
func (*LoadBalancerRequest) ProtoMessage()
func (*LoadBalancerRequest) Reset ¶
func (m *LoadBalancerRequest) Reset()
func (*LoadBalancerRequest) String ¶
func (m *LoadBalancerRequest) String() string
func (*LoadBalancerRequest) XXX_DiscardUnknown ¶
func (m *LoadBalancerRequest) XXX_DiscardUnknown()
func (*LoadBalancerRequest) XXX_Marshal ¶
func (m *LoadBalancerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancerRequest) XXX_Merge ¶
func (m *LoadBalancerRequest) XXX_Merge(src proto.Message)
func (*LoadBalancerRequest) XXX_Size ¶
func (m *LoadBalancerRequest) XXX_Size() int
func (*LoadBalancerRequest) XXX_Unmarshal ¶
func (m *LoadBalancerRequest) XXX_Unmarshal(b []byte) error
type LoadBalancerResponse ¶
type LoadBalancerResponse struct { LoadBalancers []*LoadBalancer `protobuf:"bytes,1,rep,name=LoadBalancers,proto3" json:"LoadBalancers,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadBalancerResponse) Descriptor ¶
func (*LoadBalancerResponse) Descriptor() ([]byte, []int)
func (*LoadBalancerResponse) GetError ¶
func (m *LoadBalancerResponse) GetError() string
func (*LoadBalancerResponse) GetLoadBalancers ¶
func (m *LoadBalancerResponse) GetLoadBalancers() []*LoadBalancer
func (*LoadBalancerResponse) GetResult ¶
func (m *LoadBalancerResponse) GetResult() *wrappers.BoolValue
func (*LoadBalancerResponse) ProtoMessage ¶
func (*LoadBalancerResponse) ProtoMessage()
func (*LoadBalancerResponse) Reset ¶
func (m *LoadBalancerResponse) Reset()
func (*LoadBalancerResponse) String ¶
func (m *LoadBalancerResponse) String() string
func (*LoadBalancerResponse) XXX_DiscardUnknown ¶
func (m *LoadBalancerResponse) XXX_DiscardUnknown()
func (*LoadBalancerResponse) XXX_Marshal ¶
func (m *LoadBalancerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancerResponse) XXX_Merge ¶
func (m *LoadBalancerResponse) XXX_Merge(src proto.Message)
func (*LoadBalancerResponse) XXX_Size ¶
func (m *LoadBalancerResponse) XXX_Size() int
func (*LoadBalancerResponse) XXX_Unmarshal ¶
func (m *LoadBalancerResponse) XXX_Unmarshal(b []byte) error
type LoadBalancingRule ¶
type LoadBalancingRule struct { FrontendPort uint32 `protobuf:"varint,1,opt,name=frontendPort,proto3" json:"frontendPort,omitempty"` BackendPort uint32 `protobuf:"varint,2,opt,name=backendPort,proto3" json:"backendPort,omitempty"` Protocol common.Protocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadBalancingRule) Descriptor ¶
func (*LoadBalancingRule) Descriptor() ([]byte, []int)
func (*LoadBalancingRule) GetBackendPort ¶
func (m *LoadBalancingRule) GetBackendPort() uint32
func (*LoadBalancingRule) GetFrontendPort ¶
func (m *LoadBalancingRule) GetFrontendPort() uint32
func (*LoadBalancingRule) GetProtocol ¶
func (m *LoadBalancingRule) GetProtocol() common.Protocol
func (*LoadBalancingRule) ProtoMessage ¶
func (*LoadBalancingRule) ProtoMessage()
func (*LoadBalancingRule) Reset ¶
func (m *LoadBalancingRule) Reset()
func (*LoadBalancingRule) String ¶
func (m *LoadBalancingRule) String() string
func (*LoadBalancingRule) XXX_DiscardUnknown ¶
func (m *LoadBalancingRule) XXX_DiscardUnknown()
func (*LoadBalancingRule) XXX_Marshal ¶
func (m *LoadBalancingRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancingRule) XXX_Merge ¶
func (m *LoadBalancingRule) XXX_Merge(src proto.Message)
func (*LoadBalancingRule) XXX_Size ¶
func (m *LoadBalancingRule) XXX_Size() int
func (*LoadBalancingRule) XXX_Unmarshal ¶
func (m *LoadBalancingRule) XXX_Unmarshal(b []byte) error
type MacPool ¶
type MacPool struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Range *MacRange `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"` LocationName string `protobuf:"bytes,4,opt,name=locationName,proto3" json:"locationName,omitempty"` Status *common.Status `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MacPool) Descriptor ¶
func (*MacPool) GetLocationName ¶
func (*MacPool) ProtoMessage ¶
func (*MacPool) ProtoMessage()
func (*MacPool) XXX_DiscardUnknown ¶
func (m *MacPool) XXX_DiscardUnknown()
func (*MacPool) XXX_Marshal ¶
func (*MacPool) XXX_Unmarshal ¶
type MacPoolAgentClient ¶
type MacPoolAgentClient interface {
Invoke(ctx context.Context, in *MacPoolRequest, opts ...grpc.CallOption) (*MacPoolResponse, error)
}
MacPoolAgentClient is the client API for MacPoolAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMacPoolAgentClient ¶
func NewMacPoolAgentClient(cc *grpc.ClientConn) MacPoolAgentClient
type MacPoolAgentServer ¶
type MacPoolAgentServer interface {
Invoke(context.Context, *MacPoolRequest) (*MacPoolResponse, error)
}
MacPoolAgentServer is the server API for MacPoolAgent service.
type MacPoolRequest ¶
type MacPoolRequest struct { MacPools []*MacPool `protobuf:"bytes,1,rep,name=MacPools,proto3" json:"MacPools,omitempty"` OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MacPoolRequest) Descriptor ¶
func (*MacPoolRequest) Descriptor() ([]byte, []int)
func (*MacPoolRequest) GetMacPools ¶
func (m *MacPoolRequest) GetMacPools() []*MacPool
func (*MacPoolRequest) GetOperationType ¶
func (m *MacPoolRequest) GetOperationType() common.Operation
func (*MacPoolRequest) ProtoMessage ¶
func (*MacPoolRequest) ProtoMessage()
func (*MacPoolRequest) Reset ¶
func (m *MacPoolRequest) Reset()
func (*MacPoolRequest) String ¶
func (m *MacPoolRequest) String() string
func (*MacPoolRequest) XXX_DiscardUnknown ¶
func (m *MacPoolRequest) XXX_DiscardUnknown()
func (*MacPoolRequest) XXX_Marshal ¶
func (m *MacPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MacPoolRequest) XXX_Merge ¶
func (m *MacPoolRequest) XXX_Merge(src proto.Message)
func (*MacPoolRequest) XXX_Size ¶
func (m *MacPoolRequest) XXX_Size() int
func (*MacPoolRequest) XXX_Unmarshal ¶
func (m *MacPoolRequest) XXX_Unmarshal(b []byte) error
type MacPoolResponse ¶
type MacPoolResponse struct { MacPools []*MacPool `protobuf:"bytes,1,rep,name=MacPools,proto3" json:"MacPools,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MacPoolResponse) Descriptor ¶
func (*MacPoolResponse) Descriptor() ([]byte, []int)
func (*MacPoolResponse) GetError ¶
func (m *MacPoolResponse) GetError() string
func (*MacPoolResponse) GetMacPools ¶
func (m *MacPoolResponse) GetMacPools() []*MacPool
func (*MacPoolResponse) GetResult ¶
func (m *MacPoolResponse) GetResult() *wrappers.BoolValue
func (*MacPoolResponse) ProtoMessage ¶
func (*MacPoolResponse) ProtoMessage()
func (*MacPoolResponse) Reset ¶
func (m *MacPoolResponse) Reset()
func (*MacPoolResponse) String ¶
func (m *MacPoolResponse) String() string
func (*MacPoolResponse) XXX_DiscardUnknown ¶
func (m *MacPoolResponse) XXX_DiscardUnknown()
func (*MacPoolResponse) XXX_Marshal ¶
func (m *MacPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MacPoolResponse) XXX_Merge ¶
func (m *MacPoolResponse) XXX_Merge(src proto.Message)
func (*MacPoolResponse) XXX_Size ¶
func (m *MacPoolResponse) XXX_Size() int
func (*MacPoolResponse) XXX_Unmarshal ¶
func (m *MacPoolResponse) XXX_Unmarshal(b []byte) error
type MacRange ¶
type MacRange struct { StartMacAddress string `protobuf:"bytes,1,opt,name=startMacAddress,proto3" json:"startMacAddress,omitempty"` EndMacAddress string `protobuf:"bytes,2,opt,name=endMacAddress,proto3" json:"endMacAddress,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MacRange) Descriptor ¶
func (*MacRange) GetEndMacAddress ¶
func (*MacRange) GetStartMacAddress ¶
func (*MacRange) ProtoMessage ¶
func (*MacRange) ProtoMessage()
func (*MacRange) XXX_DiscardUnknown ¶
func (m *MacRange) XXX_DiscardUnknown()
func (*MacRange) XXX_Marshal ¶
func (*MacRange) XXX_Unmarshal ¶
type NetworkInterface ¶
type NetworkInterface struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Type NetworkInterface_NetworkInterfaceType `` /* 128-byte string literal not displayed */ IpConfigurations []*IpConfiguration `protobuf:"bytes,4,rep,name=ipConfigurations,proto3" json:"ipConfigurations,omitempty"` Macaddress string `protobuf:"bytes,5,opt,name=macaddress,proto3" json:"macaddress,omitempty"` Dns *common.Dns `protobuf:"bytes,6,opt,name=dns,proto3" json:"dns,omitempty"` NodeName string `protobuf:"bytes,7,opt,name=nodeName,proto3" json:"nodeName,omitempty"` GroupName string `protobuf:"bytes,8,opt,name=groupName,proto3" json:"groupName,omitempty"` LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"` Status *common.Status `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"` VirtualMachineName string `protobuf:"bytes,11,opt,name=virtualMachineName,proto3" json:"virtualMachineName,omitempty"` IovWeight uint32 `protobuf:"varint,12,opt,name=iovWeight,proto3" json:"iovWeight,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkInterface) Descriptor ¶
func (*NetworkInterface) Descriptor() ([]byte, []int)
func (*NetworkInterface) GetDns ¶
func (m *NetworkInterface) GetDns() *common.Dns
func (*NetworkInterface) GetGroupName ¶
func (m *NetworkInterface) GetGroupName() string
func (*NetworkInterface) GetId ¶
func (m *NetworkInterface) GetId() string
func (*NetworkInterface) GetIovWeight ¶
func (m *NetworkInterface) GetIovWeight() uint32
func (*NetworkInterface) GetIpConfigurations ¶
func (m *NetworkInterface) GetIpConfigurations() []*IpConfiguration
func (*NetworkInterface) GetLocationName ¶
func (m *NetworkInterface) GetLocationName() string
func (*NetworkInterface) GetMacaddress ¶
func (m *NetworkInterface) GetMacaddress() string
func (*NetworkInterface) GetName ¶
func (m *NetworkInterface) GetName() string
func (*NetworkInterface) GetNodeName ¶
func (m *NetworkInterface) GetNodeName() string
func (*NetworkInterface) GetStatus ¶
func (m *NetworkInterface) GetStatus() *common.Status
func (*NetworkInterface) GetType ¶
func (m *NetworkInterface) GetType() NetworkInterface_NetworkInterfaceType
func (*NetworkInterface) GetVirtualMachineName ¶
func (m *NetworkInterface) GetVirtualMachineName() string
func (*NetworkInterface) ProtoMessage ¶
func (*NetworkInterface) ProtoMessage()
func (*NetworkInterface) Reset ¶
func (m *NetworkInterface) Reset()
func (*NetworkInterface) String ¶
func (m *NetworkInterface) String() string
func (*NetworkInterface) XXX_DiscardUnknown ¶
func (m *NetworkInterface) XXX_DiscardUnknown()
func (*NetworkInterface) XXX_Marshal ¶
func (m *NetworkInterface) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkInterface) XXX_Merge ¶
func (m *NetworkInterface) XXX_Merge(src proto.Message)
func (*NetworkInterface) XXX_Size ¶
func (m *NetworkInterface) XXX_Size() int
func (*NetworkInterface) XXX_Unmarshal ¶
func (m *NetworkInterface) XXX_Unmarshal(b []byte) error
type NetworkInterfaceAgentClient ¶
type NetworkInterfaceAgentClient interface {
Invoke(ctx context.Context, in *NetworkInterfaceRequest, opts ...grpc.CallOption) (*NetworkInterfaceResponse, error)
}
NetworkInterfaceAgentClient is the client API for NetworkInterfaceAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewNetworkInterfaceAgentClient ¶
func NewNetworkInterfaceAgentClient(cc *grpc.ClientConn) NetworkInterfaceAgentClient
type NetworkInterfaceAgentServer ¶
type NetworkInterfaceAgentServer interface {
Invoke(context.Context, *NetworkInterfaceRequest) (*NetworkInterfaceResponse, error)
}
NetworkInterfaceAgentServer is the server API for NetworkInterfaceAgent service.
type NetworkInterfaceRequest ¶
type NetworkInterfaceRequest struct { NetworkInterfaces []*NetworkInterface `protobuf:"bytes,1,rep,name=NetworkInterfaces,proto3" json:"NetworkInterfaces,omitempty"` OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkInterfaceRequest) Descriptor ¶
func (*NetworkInterfaceRequest) Descriptor() ([]byte, []int)
func (*NetworkInterfaceRequest) GetNetworkInterfaces ¶
func (m *NetworkInterfaceRequest) GetNetworkInterfaces() []*NetworkInterface
func (*NetworkInterfaceRequest) GetOperationType ¶
func (m *NetworkInterfaceRequest) GetOperationType() common.Operation
func (*NetworkInterfaceRequest) ProtoMessage ¶
func (*NetworkInterfaceRequest) ProtoMessage()
func (*NetworkInterfaceRequest) Reset ¶
func (m *NetworkInterfaceRequest) Reset()
func (*NetworkInterfaceRequest) String ¶
func (m *NetworkInterfaceRequest) String() string
func (*NetworkInterfaceRequest) XXX_DiscardUnknown ¶
func (m *NetworkInterfaceRequest) XXX_DiscardUnknown()
func (*NetworkInterfaceRequest) XXX_Marshal ¶
func (m *NetworkInterfaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkInterfaceRequest) XXX_Merge ¶
func (m *NetworkInterfaceRequest) XXX_Merge(src proto.Message)
func (*NetworkInterfaceRequest) XXX_Size ¶
func (m *NetworkInterfaceRequest) XXX_Size() int
func (*NetworkInterfaceRequest) XXX_Unmarshal ¶
func (m *NetworkInterfaceRequest) XXX_Unmarshal(b []byte) error
type NetworkInterfaceResponse ¶
type NetworkInterfaceResponse struct { NetworkInterfaces []*NetworkInterface `protobuf:"bytes,1,rep,name=NetworkInterfaces,proto3" json:"NetworkInterfaces,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NetworkInterfaceResponse) Descriptor ¶
func (*NetworkInterfaceResponse) Descriptor() ([]byte, []int)
func (*NetworkInterfaceResponse) GetError ¶
func (m *NetworkInterfaceResponse) GetError() string
func (*NetworkInterfaceResponse) GetNetworkInterfaces ¶
func (m *NetworkInterfaceResponse) GetNetworkInterfaces() []*NetworkInterface
func (*NetworkInterfaceResponse) GetResult ¶
func (m *NetworkInterfaceResponse) GetResult() *wrappers.BoolValue
func (*NetworkInterfaceResponse) ProtoMessage ¶
func (*NetworkInterfaceResponse) ProtoMessage()
func (*NetworkInterfaceResponse) Reset ¶
func (m *NetworkInterfaceResponse) Reset()
func (*NetworkInterfaceResponse) String ¶
func (m *NetworkInterfaceResponse) String() string
func (*NetworkInterfaceResponse) XXX_DiscardUnknown ¶
func (m *NetworkInterfaceResponse) XXX_DiscardUnknown()
func (*NetworkInterfaceResponse) XXX_Marshal ¶
func (m *NetworkInterfaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkInterfaceResponse) XXX_Merge ¶
func (m *NetworkInterfaceResponse) XXX_Merge(src proto.Message)
func (*NetworkInterfaceResponse) XXX_Size ¶
func (m *NetworkInterfaceResponse) XXX_Size() int
func (*NetworkInterfaceResponse) XXX_Unmarshal ¶
func (m *NetworkInterfaceResponse) XXX_Unmarshal(b []byte) error
type NetworkInterface_NetworkInterfaceType ¶
type NetworkInterface_NetworkInterfaceType int32
const ( NetworkInterface_Local NetworkInterface_NetworkInterfaceType = 0 NetworkInterface_Remote NetworkInterface_NetworkInterfaceType = 1 )
func (NetworkInterface_NetworkInterfaceType) EnumDescriptor ¶
func (NetworkInterface_NetworkInterfaceType) EnumDescriptor() ([]byte, []int)
func (NetworkInterface_NetworkInterfaceType) String ¶
func (x NetworkInterface_NetworkInterfaceType) String() string
type Route ¶
type Route struct { Nexthop string `protobuf:"bytes,1,opt,name=nexthop,proto3" json:"nexthop,omitempty"` Destinationprefix string `protobuf:"bytes,2,opt,name=destinationprefix,proto3" json:"destinationprefix,omitempty"` Metric uint32 `protobuf:"varint,3,opt,name=metric,proto3" json:"metric,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Route) Descriptor ¶
func (*Route) GetDestinationprefix ¶
func (*Route) GetNexthop ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) XXX_DiscardUnknown ¶
func (m *Route) XXX_DiscardUnknown()
func (*Route) XXX_Marshal ¶
func (*Route) XXX_Unmarshal ¶
type Subnet ¶
type Subnet struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Cidr string `protobuf:"bytes,3,opt,name=cidr,proto3" json:"cidr,omitempty"` Routes []*Route `protobuf:"bytes,4,rep,name=routes,proto3" json:"routes,omitempty"` Allocation common.IPAllocationMethod `protobuf:"varint,5,opt,name=allocation,proto3,enum=moc.IPAllocationMethod" json:"allocation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Subnet) Descriptor ¶
func (*Subnet) GetAllocation ¶
func (m *Subnet) GetAllocation() common.IPAllocationMethod
func (*Subnet) ProtoMessage ¶
func (*Subnet) ProtoMessage()
func (*Subnet) XXX_DiscardUnknown ¶
func (m *Subnet) XXX_DiscardUnknown()
func (*Subnet) XXX_Marshal ¶
func (*Subnet) XXX_Unmarshal ¶
type UnimplementedLoadBalancerAgentServer ¶
type UnimplementedLoadBalancerAgentServer struct { }
UnimplementedLoadBalancerAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedLoadBalancerAgentServer) Invoke ¶
func (*UnimplementedLoadBalancerAgentServer) Invoke(ctx context.Context, req *LoadBalancerRequest) (*LoadBalancerResponse, error)
type UnimplementedMacPoolAgentServer ¶
type UnimplementedMacPoolAgentServer struct { }
UnimplementedMacPoolAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedMacPoolAgentServer) Invoke ¶
func (*UnimplementedMacPoolAgentServer) Invoke(ctx context.Context, req *MacPoolRequest) (*MacPoolResponse, error)
type UnimplementedNetworkInterfaceAgentServer ¶
type UnimplementedNetworkInterfaceAgentServer struct { }
UnimplementedNetworkInterfaceAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedNetworkInterfaceAgentServer) Invoke ¶
func (*UnimplementedNetworkInterfaceAgentServer) Invoke(ctx context.Context, req *NetworkInterfaceRequest) (*NetworkInterfaceResponse, error)
type UnimplementedVipPoolAgentServer ¶
type UnimplementedVipPoolAgentServer struct { }
UnimplementedVipPoolAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedVipPoolAgentServer) Invoke ¶
func (*UnimplementedVipPoolAgentServer) Invoke(ctx context.Context, req *VipPoolRequest) (*VipPoolResponse, error)
type UnimplementedVirtualNetworkAgentServer ¶
type UnimplementedVirtualNetworkAgentServer struct { }
UnimplementedVirtualNetworkAgentServer can be embedded to have forward compatible implementations.
func (*UnimplementedVirtualNetworkAgentServer) Invoke ¶
func (*UnimplementedVirtualNetworkAgentServer) Invoke(ctx context.Context, req *VirtualNetworkRequest) (*VirtualNetworkResponse, error)
type VipPool ¶
type VipPool struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Cidr string `protobuf:"bytes,3,opt,name=cidr,proto3" json:"cidr,omitempty"` Networkid string `protobuf:"bytes,4,opt,name=networkid,proto3" json:"networkid,omitempty"` Nodefqdn string `protobuf:"bytes,5,opt,name=nodefqdn,proto3" json:"nodefqdn,omitempty"` GroupName string `protobuf:"bytes,6,opt,name=groupName,proto3" json:"groupName,omitempty"` LocationName string `protobuf:"bytes,7,opt,name=locationName,proto3" json:"locationName,omitempty"` Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` Startip string `protobuf:"bytes,9,opt,name=startip,proto3" json:"startip,omitempty"` Endip string `protobuf:"bytes,10,opt,name=endip,proto3" json:"endip,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VipPool) Descriptor ¶
func (*VipPool) GetGroupName ¶
func (*VipPool) GetLocationName ¶
func (*VipPool) GetNetworkid ¶
func (*VipPool) GetNodefqdn ¶
func (*VipPool) GetStartip ¶
func (*VipPool) ProtoMessage ¶
func (*VipPool) ProtoMessage()
func (*VipPool) XXX_DiscardUnknown ¶
func (m *VipPool) XXX_DiscardUnknown()
func (*VipPool) XXX_Marshal ¶
func (*VipPool) XXX_Unmarshal ¶
type VipPoolAgentClient ¶
type VipPoolAgentClient interface {
Invoke(ctx context.Context, in *VipPoolRequest, opts ...grpc.CallOption) (*VipPoolResponse, error)
}
VipPoolAgentClient is the client API for VipPoolAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVipPoolAgentClient ¶
func NewVipPoolAgentClient(cc *grpc.ClientConn) VipPoolAgentClient
type VipPoolAgentServer ¶
type VipPoolAgentServer interface {
Invoke(context.Context, *VipPoolRequest) (*VipPoolResponse, error)
}
VipPoolAgentServer is the server API for VipPoolAgent service.
type VipPoolRequest ¶
type VipPoolRequest struct { VipPools []*VipPool `protobuf:"bytes,1,rep,name=VipPools,proto3" json:"VipPools,omitempty"` OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VipPoolRequest) Descriptor ¶
func (*VipPoolRequest) Descriptor() ([]byte, []int)
func (*VipPoolRequest) GetOperationType ¶
func (m *VipPoolRequest) GetOperationType() common.Operation
func (*VipPoolRequest) GetVipPools ¶
func (m *VipPoolRequest) GetVipPools() []*VipPool
func (*VipPoolRequest) ProtoMessage ¶
func (*VipPoolRequest) ProtoMessage()
func (*VipPoolRequest) Reset ¶
func (m *VipPoolRequest) Reset()
func (*VipPoolRequest) String ¶
func (m *VipPoolRequest) String() string
func (*VipPoolRequest) XXX_DiscardUnknown ¶
func (m *VipPoolRequest) XXX_DiscardUnknown()
func (*VipPoolRequest) XXX_Marshal ¶
func (m *VipPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VipPoolRequest) XXX_Merge ¶
func (m *VipPoolRequest) XXX_Merge(src proto.Message)
func (*VipPoolRequest) XXX_Size ¶
func (m *VipPoolRequest) XXX_Size() int
func (*VipPoolRequest) XXX_Unmarshal ¶
func (m *VipPoolRequest) XXX_Unmarshal(b []byte) error
type VipPoolResponse ¶
type VipPoolResponse struct { VipPools []*VipPool `protobuf:"bytes,1,rep,name=VipPools,proto3" json:"VipPools,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VipPoolResponse) Descriptor ¶
func (*VipPoolResponse) Descriptor() ([]byte, []int)
func (*VipPoolResponse) GetError ¶
func (m *VipPoolResponse) GetError() string
func (*VipPoolResponse) GetResult ¶
func (m *VipPoolResponse) GetResult() *wrappers.BoolValue
func (*VipPoolResponse) GetVipPools ¶
func (m *VipPoolResponse) GetVipPools() []*VipPool
func (*VipPoolResponse) ProtoMessage ¶
func (*VipPoolResponse) ProtoMessage()
func (*VipPoolResponse) Reset ¶
func (m *VipPoolResponse) Reset()
func (*VipPoolResponse) String ¶
func (m *VipPoolResponse) String() string
func (*VipPoolResponse) XXX_DiscardUnknown ¶
func (m *VipPoolResponse) XXX_DiscardUnknown()
func (*VipPoolResponse) XXX_Marshal ¶
func (m *VipPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VipPoolResponse) XXX_Merge ¶
func (m *VipPoolResponse) XXX_Merge(src proto.Message)
func (*VipPoolResponse) XXX_Size ¶
func (m *VipPoolResponse) XXX_Size() int
func (*VipPoolResponse) XXX_Unmarshal ¶
func (m *VipPoolResponse) XXX_Unmarshal(b []byte) error
type VirtualNetwork ¶
type VirtualNetwork struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Subnets []*Subnet `protobuf:"bytes,3,rep,name=subnets,proto3" json:"subnets,omitempty"` Dns *common.Dns `protobuf:"bytes,4,opt,name=dns,proto3" json:"dns,omitempty"` Type VirtualNetworkType `protobuf:"varint,5,opt,name=type,proto3,enum=moc.cloudagent.network.VirtualNetworkType" json:"type,omitempty"` Nodefqdn string `protobuf:"bytes,6,opt,name=nodefqdn,proto3" json:"nodefqdn,omitempty"` GroupName string `protobuf:"bytes,7,opt,name=groupName,proto3" json:"groupName,omitempty"` Status *common.Status `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"` MacPoolName string `protobuf:"bytes,10,opt,name=macPoolName,proto3" json:"macPoolName,omitempty"` Vlan uint32 `protobuf:"varint,11,opt,name=vlan,proto3" json:"vlan,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VirtualNetwork) Descriptor ¶
func (*VirtualNetwork) Descriptor() ([]byte, []int)
func (*VirtualNetwork) GetDns ¶
func (m *VirtualNetwork) GetDns() *common.Dns
func (*VirtualNetwork) GetGroupName ¶
func (m *VirtualNetwork) GetGroupName() string
func (*VirtualNetwork) GetId ¶
func (m *VirtualNetwork) GetId() string
func (*VirtualNetwork) GetLocationName ¶
func (m *VirtualNetwork) GetLocationName() string
func (*VirtualNetwork) GetMacPoolName ¶
func (m *VirtualNetwork) GetMacPoolName() string
func (*VirtualNetwork) GetName ¶
func (m *VirtualNetwork) GetName() string
func (*VirtualNetwork) GetNodefqdn ¶
func (m *VirtualNetwork) GetNodefqdn() string
func (*VirtualNetwork) GetStatus ¶
func (m *VirtualNetwork) GetStatus() *common.Status
func (*VirtualNetwork) GetSubnets ¶
func (m *VirtualNetwork) GetSubnets() []*Subnet
func (*VirtualNetwork) GetType ¶
func (m *VirtualNetwork) GetType() VirtualNetworkType
func (*VirtualNetwork) GetVlan ¶
func (m *VirtualNetwork) GetVlan() uint32
func (*VirtualNetwork) ProtoMessage ¶
func (*VirtualNetwork) ProtoMessage()
func (*VirtualNetwork) Reset ¶
func (m *VirtualNetwork) Reset()
func (*VirtualNetwork) String ¶
func (m *VirtualNetwork) String() string
func (*VirtualNetwork) XXX_DiscardUnknown ¶
func (m *VirtualNetwork) XXX_DiscardUnknown()
func (*VirtualNetwork) XXX_Marshal ¶
func (m *VirtualNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VirtualNetwork) XXX_Merge ¶
func (m *VirtualNetwork) XXX_Merge(src proto.Message)
func (*VirtualNetwork) XXX_Size ¶
func (m *VirtualNetwork) XXX_Size() int
func (*VirtualNetwork) XXX_Unmarshal ¶
func (m *VirtualNetwork) XXX_Unmarshal(b []byte) error
type VirtualNetworkAgentClient ¶
type VirtualNetworkAgentClient interface {
Invoke(ctx context.Context, in *VirtualNetworkRequest, opts ...grpc.CallOption) (*VirtualNetworkResponse, error)
}
VirtualNetworkAgentClient is the client API for VirtualNetworkAgent service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVirtualNetworkAgentClient ¶
func NewVirtualNetworkAgentClient(cc *grpc.ClientConn) VirtualNetworkAgentClient
type VirtualNetworkAgentServer ¶
type VirtualNetworkAgentServer interface {
Invoke(context.Context, *VirtualNetworkRequest) (*VirtualNetworkResponse, error)
}
VirtualNetworkAgentServer is the server API for VirtualNetworkAgent service.
type VirtualNetworkRequest ¶
type VirtualNetworkRequest struct { VirtualNetworks []*VirtualNetwork `protobuf:"bytes,1,rep,name=VirtualNetworks,proto3" json:"VirtualNetworks,omitempty"` OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VirtualNetworkRequest) Descriptor ¶
func (*VirtualNetworkRequest) Descriptor() ([]byte, []int)
func (*VirtualNetworkRequest) GetOperationType ¶
func (m *VirtualNetworkRequest) GetOperationType() common.Operation
func (*VirtualNetworkRequest) GetVirtualNetworks ¶
func (m *VirtualNetworkRequest) GetVirtualNetworks() []*VirtualNetwork
func (*VirtualNetworkRequest) ProtoMessage ¶
func (*VirtualNetworkRequest) ProtoMessage()
func (*VirtualNetworkRequest) Reset ¶
func (m *VirtualNetworkRequest) Reset()
func (*VirtualNetworkRequest) String ¶
func (m *VirtualNetworkRequest) String() string
func (*VirtualNetworkRequest) XXX_DiscardUnknown ¶
func (m *VirtualNetworkRequest) XXX_DiscardUnknown()
func (*VirtualNetworkRequest) XXX_Marshal ¶
func (m *VirtualNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VirtualNetworkRequest) XXX_Merge ¶
func (m *VirtualNetworkRequest) XXX_Merge(src proto.Message)
func (*VirtualNetworkRequest) XXX_Size ¶
func (m *VirtualNetworkRequest) XXX_Size() int
func (*VirtualNetworkRequest) XXX_Unmarshal ¶
func (m *VirtualNetworkRequest) XXX_Unmarshal(b []byte) error
type VirtualNetworkResponse ¶
type VirtualNetworkResponse struct { VirtualNetworks []*VirtualNetwork `protobuf:"bytes,1,rep,name=VirtualNetworks,proto3" json:"VirtualNetworks,omitempty"` Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VirtualNetworkResponse) Descriptor ¶
func (*VirtualNetworkResponse) Descriptor() ([]byte, []int)
func (*VirtualNetworkResponse) GetError ¶
func (m *VirtualNetworkResponse) GetError() string
func (*VirtualNetworkResponse) GetResult ¶
func (m *VirtualNetworkResponse) GetResult() *wrappers.BoolValue
func (*VirtualNetworkResponse) GetVirtualNetworks ¶
func (m *VirtualNetworkResponse) GetVirtualNetworks() []*VirtualNetwork
func (*VirtualNetworkResponse) ProtoMessage ¶
func (*VirtualNetworkResponse) ProtoMessage()
func (*VirtualNetworkResponse) Reset ¶
func (m *VirtualNetworkResponse) Reset()
func (*VirtualNetworkResponse) String ¶
func (m *VirtualNetworkResponse) String() string
func (*VirtualNetworkResponse) XXX_DiscardUnknown ¶
func (m *VirtualNetworkResponse) XXX_DiscardUnknown()
func (*VirtualNetworkResponse) XXX_Marshal ¶
func (m *VirtualNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VirtualNetworkResponse) XXX_Merge ¶
func (m *VirtualNetworkResponse) XXX_Merge(src proto.Message)
func (*VirtualNetworkResponse) XXX_Size ¶
func (m *VirtualNetworkResponse) XXX_Size() int
func (*VirtualNetworkResponse) XXX_Unmarshal ¶
func (m *VirtualNetworkResponse) XXX_Unmarshal(b []byte) error
type VirtualNetworkType ¶
type VirtualNetworkType int32
const ( VirtualNetworkType_NAT VirtualNetworkType = 0 VirtualNetworkType_Transparent VirtualNetworkType = 1 VirtualNetworkType_L2Bridge VirtualNetworkType = 2 VirtualNetworkType_L2Tunnel VirtualNetworkType = 3 VirtualNetworkType_ICS VirtualNetworkType = 4 VirtualNetworkType_Private VirtualNetworkType = 5 VirtualNetworkType_Overlay VirtualNetworkType = 6 VirtualNetworkType_Internal VirtualNetworkType = 7 VirtualNetworkType_Mirrored VirtualNetworkType = 8 )
func (VirtualNetworkType) EnumDescriptor ¶
func (VirtualNetworkType) EnumDescriptor() ([]byte, []int)
func (VirtualNetworkType) String ¶
func (x VirtualNetworkType) String() string