network

package
v0.24.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Action_name = map[int32]string{
	0: "Allow",
	1: "Deny",
}
View Source
var Action_value = map[string]int32{
	"Allow": 0,
	"Deny":  1,
}
View Source
var Direction_name = map[int32]string{
	0: "Inbound",
	1: "Outbound",
}
View Source
var Direction_value = map[string]int32{
	"Inbound":  0,
	"Outbound": 1,
}
View Source
var NetworkInterface_NetworkInterfaceType_name = map[int32]string{
	0: "Local",
	1: "Remote",
}
View Source
var NetworkInterface_NetworkInterfaceType_value = map[string]int32{
	"Local":  0,
	"Remote": 1,
}
View Source
var VirtualNetworkType_name = map[int32]string{
	0: "NAT",
	1: "Transparent",
	2: "L2Bridge",
	3: "L2Tunnel",
	4: "ICS",
	5: "Private",
	6: "Overlay",
	7: "Internal",
	8: "Mirrored",
}
View Source
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 RegisterLogicalNetworkAgentServer added in v0.13.1

func RegisterLogicalNetworkAgentServer(s *grpc.Server, srv LogicalNetworkAgentServer)

func RegisterMacPoolAgentServer

func RegisterMacPoolAgentServer(s *grpc.Server, srv MacPoolAgentServer)

func RegisterNetworkInterfaceAgentServer

func RegisterNetworkInterfaceAgentServer(s *grpc.Server, srv NetworkInterfaceAgentServer)

func RegisterNetworkSecurityGroupAgentServer added in v0.15.1

func RegisterNetworkSecurityGroupAgentServer(s *grpc.Server, srv NetworkSecurityGroupAgentServer)

func RegisterVipPoolAgentServer

func RegisterVipPoolAgentServer(s *grpc.Server, srv VipPoolAgentServer)

func RegisterVirtualNetworkAgentServer

func RegisterVirtualNetworkAgentServer(s *grpc.Server, srv VirtualNetworkAgentServer)

Types

type Action added in v0.15.1

type Action int32
const (
	Action_Allow Action = 0
	Action_Deny  Action = 1
)

func (Action) EnumDescriptor added in v0.15.1

func (Action) EnumDescriptor() ([]byte, []int)

func (Action) String added in v0.15.1

func (x Action) String() string

type Direction added in v0.15.1

type Direction int32
const (
	Direction_Inbound  Direction = 0
	Direction_Outbound Direction = 1
)

func (Direction) EnumDescriptor added in v0.15.1

func (Direction) EnumDescriptor() ([]byte, []int)

func (Direction) String added in v0.15.1

func (x Direction) String() string

type InboundNatRule added in v0.10.28

type InboundNatRule struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InboundNatRule) Descriptor added in v0.10.28

func (*InboundNatRule) Descriptor() ([]byte, []int)

func (*InboundNatRule) GetName added in v0.10.28

func (m *InboundNatRule) GetName() string

func (*InboundNatRule) ProtoMessage added in v0.10.28

func (*InboundNatRule) ProtoMessage()

func (*InboundNatRule) Reset added in v0.10.28

func (m *InboundNatRule) Reset()

func (*InboundNatRule) String added in v0.10.28

func (m *InboundNatRule) String() string

func (*InboundNatRule) XXX_DiscardUnknown added in v0.10.28

func (m *InboundNatRule) XXX_DiscardUnknown()

func (*InboundNatRule) XXX_Marshal added in v0.10.28

func (m *InboundNatRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InboundNatRule) XXX_Merge added in v0.10.28

func (m *InboundNatRule) XXX_Merge(src proto.Message)

func (*InboundNatRule) XXX_Size added in v0.10.28

func (m *InboundNatRule) XXX_Size() int

func (*InboundNatRule) XXX_Unmarshal added in v0.10.28

func (m *InboundNatRule) XXX_Unmarshal(b []byte) error

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"`
	InboundNatRules         []*InboundNatRule                     `protobuf:"bytes,8,rep,name=inboundNatRules,proto3" json:"inboundNatRules,omitempty"`
	Tags                    *common.Tags                          `protobuf:"bytes,9,opt,name=tags,proto3" json:"tags,omitempty"`
	NetworkType             common.NetworkType                    `protobuf:"varint,10,opt,name=networkType,proto3,enum=moc.NetworkType" json:"networkType,omitempty"`
	NetworkSecurityGroupRef *common.NetworkSecurityGroupReference `protobuf:"bytes,12,opt,name=networkSecurityGroupRef,proto3" json:"networkSecurityGroupRef,omitempty"`
	Subnet                  *common.SubnetReference               `protobuf:"bytes,13,opt,name=subnet,proto3" json:"subnet,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) GetInboundNatRules added in v0.10.28

func (m *IpConfiguration) GetInboundNatRules() []*InboundNatRule

func (*IpConfiguration) GetIpaddress

func (m *IpConfiguration) GetIpaddress() string

func (*IpConfiguration) GetLoadbalanceraddresspool

func (m *IpConfiguration) GetLoadbalanceraddresspool() []string

func (*IpConfiguration) GetNetworkSecurityGroupRef added in v0.16.4

func (m *IpConfiguration) GetNetworkSecurityGroupRef() *common.NetworkSecurityGroupReference

func (*IpConfiguration) GetNetworkType added in v0.13.1

func (m *IpConfiguration) GetNetworkType() common.NetworkType

func (*IpConfiguration) GetPrefixlength

func (m *IpConfiguration) GetPrefixlength() string

func (*IpConfiguration) GetPrimary

func (m *IpConfiguration) GetPrimary() bool

func (*IpConfiguration) GetSubnet added in v0.24.3

func (m *IpConfiguration) GetSubnet() *common.SubnetReference

func (*IpConfiguration) GetSubnetid

func (m *IpConfiguration) GetSubnetid() string

func (*IpConfiguration) GetTags added in v0.10.31

func (m *IpConfiguration) GetTags() *common.Tags

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) Descriptor() ([]byte, []int)

func (*Ipam) GetSubnets

func (m *Ipam) GetSubnets() []*Subnet

func (*Ipam) GetType

func (m *Ipam) GetType() string

func (*Ipam) ProtoMessage

func (*Ipam) ProtoMessage()

func (*Ipam) Reset

func (m *Ipam) Reset()

func (*Ipam) String

func (m *Ipam) String() string

func (*Ipam) XXX_DiscardUnknown

func (m *Ipam) XXX_DiscardUnknown()

func (*Ipam) XXX_Marshal

func (m *Ipam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ipam) XXX_Merge

func (m *Ipam) XXX_Merge(src proto.Message)

func (*Ipam) XXX_Size

func (m *Ipam) XXX_Size() int

func (*Ipam) XXX_Unmarshal

func (m *Ipam) XXX_Unmarshal(b []byte) error

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"`
	Tags                 *common.Tags                  `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"`
	ReplicationCount     uint32                        `protobuf:"varint,12,opt,name=replicationCount,proto3" json:"replicationCount,omitempty"`
	InboundNatRules      []*LoadbalancerInboundNatRule `protobuf:"bytes,13,rep,name=inboundNatRules,proto3" json:"inboundNatRules,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) GetInboundNatRules added in v0.10.28

func (m *LoadBalancer) GetInboundNatRules() []*LoadbalancerInboundNatRule

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) GetReplicationCount added in v0.10.9

func (m *LoadBalancer) GetReplicationCount() uint32

func (*LoadBalancer) GetStatus

func (m *LoadBalancer) GetStatus() *common.Status

func (*LoadBalancer) GetTags added in v0.10.5

func (m *LoadBalancer) GetTags() *common.Tags

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)
	// Prechecks whether the system is able to create specified load balancers (but does not actually create them).
	Precheck(ctx context.Context, in *LoadBalancerPrecheckRequest, opts ...grpc.CallOption) (*LoadBalancerPrecheckResponse, 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)
	// Prechecks whether the system is able to create specified load balancers (but does not actually create them).
	Precheck(context.Context, *LoadBalancerPrecheckRequest) (*LoadBalancerPrecheckResponse, error)
}

LoadBalancerAgentServer is the server API for LoadBalancerAgent service.

type LoadBalancerPrecheckRequest added in v0.19.3

type LoadBalancerPrecheckRequest struct {
	LoadBalancers        []*LoadBalancer `protobuf:"bytes,1,rep,name=LoadBalancers,proto3" json:"LoadBalancers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*LoadBalancerPrecheckRequest) Descriptor added in v0.19.3

func (*LoadBalancerPrecheckRequest) Descriptor() ([]byte, []int)

func (*LoadBalancerPrecheckRequest) GetLoadBalancers added in v0.19.3

func (m *LoadBalancerPrecheckRequest) GetLoadBalancers() []*LoadBalancer

func (*LoadBalancerPrecheckRequest) ProtoMessage added in v0.19.3

func (*LoadBalancerPrecheckRequest) ProtoMessage()

func (*LoadBalancerPrecheckRequest) Reset added in v0.19.3

func (m *LoadBalancerPrecheckRequest) Reset()

func (*LoadBalancerPrecheckRequest) String added in v0.19.3

func (m *LoadBalancerPrecheckRequest) String() string

func (*LoadBalancerPrecheckRequest) XXX_DiscardUnknown added in v0.19.3

func (m *LoadBalancerPrecheckRequest) XXX_DiscardUnknown()

func (*LoadBalancerPrecheckRequest) XXX_Marshal added in v0.19.3

func (m *LoadBalancerPrecheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadBalancerPrecheckRequest) XXX_Merge added in v0.19.3

func (m *LoadBalancerPrecheckRequest) XXX_Merge(src proto.Message)

func (*LoadBalancerPrecheckRequest) XXX_Size added in v0.19.3

func (m *LoadBalancerPrecheckRequest) XXX_Size() int

func (*LoadBalancerPrecheckRequest) XXX_Unmarshal added in v0.19.3

func (m *LoadBalancerPrecheckRequest) XXX_Unmarshal(b []byte) error

type LoadBalancerPrecheckResponse added in v0.19.3

type LoadBalancerPrecheckResponse struct {
	// The precheck result: true if the precheck criteria is passed; otherwise, false
	Result *wrappers.BoolValue `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// The error message if the precheck is not passed; otherwise, empty string
	Error                string   `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoadBalancerPrecheckResponse) Descriptor added in v0.19.3

func (*LoadBalancerPrecheckResponse) Descriptor() ([]byte, []int)

func (*LoadBalancerPrecheckResponse) GetError added in v0.19.3

func (m *LoadBalancerPrecheckResponse) GetError() string

func (*LoadBalancerPrecheckResponse) GetResult added in v0.19.3

func (*LoadBalancerPrecheckResponse) ProtoMessage added in v0.19.3

func (*LoadBalancerPrecheckResponse) ProtoMessage()

func (*LoadBalancerPrecheckResponse) Reset added in v0.19.3

func (m *LoadBalancerPrecheckResponse) Reset()

func (*LoadBalancerPrecheckResponse) String added in v0.19.3

func (*LoadBalancerPrecheckResponse) XXX_DiscardUnknown added in v0.19.3

func (m *LoadBalancerPrecheckResponse) XXX_DiscardUnknown()

func (*LoadBalancerPrecheckResponse) XXX_Marshal added in v0.19.3

func (m *LoadBalancerPrecheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadBalancerPrecheckResponse) XXX_Merge added in v0.19.3

func (m *LoadBalancerPrecheckResponse) XXX_Merge(src proto.Message)

func (*LoadBalancerPrecheckResponse) XXX_Size added in v0.19.3

func (m *LoadBalancerPrecheckResponse) XXX_Size() int

func (*LoadBalancerPrecheckResponse) XXX_Unmarshal added in v0.19.3

func (m *LoadBalancerPrecheckResponse) XXX_Unmarshal(b []byte) error

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 LoadbalancerInboundNatRule added in v0.10.28

type LoadbalancerInboundNatRule struct {
	Name                 string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	FrontendPort         uint32          `protobuf:"varint,2,opt,name=frontendPort,proto3" json:"frontendPort,omitempty"`
	BackendPort          uint32          `protobuf:"varint,3,opt,name=backendPort,proto3" json:"backendPort,omitempty"`
	Protocol             common.Protocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*LoadbalancerInboundNatRule) Descriptor added in v0.10.28

func (*LoadbalancerInboundNatRule) Descriptor() ([]byte, []int)

func (*LoadbalancerInboundNatRule) GetBackendPort added in v0.10.28

func (m *LoadbalancerInboundNatRule) GetBackendPort() uint32

func (*LoadbalancerInboundNatRule) GetFrontendPort added in v0.10.28

func (m *LoadbalancerInboundNatRule) GetFrontendPort() uint32

func (*LoadbalancerInboundNatRule) GetName added in v0.10.28

func (m *LoadbalancerInboundNatRule) GetName() string

func (*LoadbalancerInboundNatRule) GetProtocol added in v0.10.28

func (m *LoadbalancerInboundNatRule) GetProtocol() common.Protocol

func (*LoadbalancerInboundNatRule) ProtoMessage added in v0.10.28

func (*LoadbalancerInboundNatRule) ProtoMessage()

func (*LoadbalancerInboundNatRule) Reset added in v0.10.28

func (m *LoadbalancerInboundNatRule) Reset()

func (*LoadbalancerInboundNatRule) String added in v0.10.28

func (m *LoadbalancerInboundNatRule) String() string

func (*LoadbalancerInboundNatRule) XXX_DiscardUnknown added in v0.10.28

func (m *LoadbalancerInboundNatRule) XXX_DiscardUnknown()

func (*LoadbalancerInboundNatRule) XXX_Marshal added in v0.10.28

func (m *LoadbalancerInboundNatRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadbalancerInboundNatRule) XXX_Merge added in v0.10.28

func (m *LoadbalancerInboundNatRule) XXX_Merge(src proto.Message)

func (*LoadbalancerInboundNatRule) XXX_Size added in v0.10.28

func (m *LoadbalancerInboundNatRule) XXX_Size() int

func (*LoadbalancerInboundNatRule) XXX_Unmarshal added in v0.10.28

func (m *LoadbalancerInboundNatRule) XXX_Unmarshal(b []byte) error

type LogicalNetwork added in v0.13.1

type LogicalNetwork 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                      []*LogicalSubnet `protobuf:"bytes,3,rep,name=subnets,proto3" json:"subnets,omitempty"`
	NetworkVirtualizationEnabled bool             `protobuf:"varint,4,opt,name=networkVirtualizationEnabled,proto3" json:"networkVirtualizationEnabled,omitempty"`
	Status                       *common.Status   `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	LocationName                 string           `protobuf:"bytes,6,opt,name=locationName,proto3" json:"locationName,omitempty"`
	MacPoolName                  string           `protobuf:"bytes,7,opt,name=macPoolName,proto3" json:"macPoolName,omitempty"`
	Tags                         *common.Tags     `protobuf:"bytes,8,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral         struct{}         `json:"-"`
	XXX_unrecognized             []byte           `json:"-"`
	XXX_sizecache                int32            `json:"-"`
}

func (*LogicalNetwork) Descriptor added in v0.13.1

func (*LogicalNetwork) Descriptor() ([]byte, []int)

func (*LogicalNetwork) GetId added in v0.13.1

func (m *LogicalNetwork) GetId() string

func (*LogicalNetwork) GetLocationName added in v0.13.1

func (m *LogicalNetwork) GetLocationName() string

func (*LogicalNetwork) GetMacPoolName added in v0.13.1

func (m *LogicalNetwork) GetMacPoolName() string

func (*LogicalNetwork) GetName added in v0.13.1

func (m *LogicalNetwork) GetName() string

func (*LogicalNetwork) GetNetworkVirtualizationEnabled added in v0.13.1

func (m *LogicalNetwork) GetNetworkVirtualizationEnabled() bool

func (*LogicalNetwork) GetStatus added in v0.13.1

func (m *LogicalNetwork) GetStatus() *common.Status

func (*LogicalNetwork) GetSubnets added in v0.13.1

func (m *LogicalNetwork) GetSubnets() []*LogicalSubnet

func (*LogicalNetwork) GetTags added in v0.13.1

func (m *LogicalNetwork) GetTags() *common.Tags

func (*LogicalNetwork) ProtoMessage added in v0.13.1

func (*LogicalNetwork) ProtoMessage()

func (*LogicalNetwork) Reset added in v0.13.1

func (m *LogicalNetwork) Reset()

func (*LogicalNetwork) String added in v0.13.1

func (m *LogicalNetwork) String() string

func (*LogicalNetwork) XXX_DiscardUnknown added in v0.13.1

func (m *LogicalNetwork) XXX_DiscardUnknown()

func (*LogicalNetwork) XXX_Marshal added in v0.13.1

func (m *LogicalNetwork) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogicalNetwork) XXX_Merge added in v0.13.1

func (m *LogicalNetwork) XXX_Merge(src proto.Message)

func (*LogicalNetwork) XXX_Size added in v0.13.1

func (m *LogicalNetwork) XXX_Size() int

func (*LogicalNetwork) XXX_Unmarshal added in v0.13.1

func (m *LogicalNetwork) XXX_Unmarshal(b []byte) error

type LogicalNetworkAgentClient added in v0.13.1

type LogicalNetworkAgentClient interface {
	Invoke(ctx context.Context, in *LogicalNetworkRequest, opts ...grpc.CallOption) (*LogicalNetworkResponse, error)
	// Prechecks whether the system is able to create specified logical networks (but does not actually create them).
	Precheck(ctx context.Context, in *LogicalNetworkPrecheckRequest, opts ...grpc.CallOption) (*LogicalNetworkPrecheckResponse, error)
}

LogicalNetworkAgentClient is the client API for LogicalNetworkAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewLogicalNetworkAgentClient added in v0.13.1

func NewLogicalNetworkAgentClient(cc *grpc.ClientConn) LogicalNetworkAgentClient

type LogicalNetworkAgentServer added in v0.13.1

type LogicalNetworkAgentServer interface {
	Invoke(context.Context, *LogicalNetworkRequest) (*LogicalNetworkResponse, error)
	// Prechecks whether the system is able to create specified logical networks (but does not actually create them).
	Precheck(context.Context, *LogicalNetworkPrecheckRequest) (*LogicalNetworkPrecheckResponse, error)
}

LogicalNetworkAgentServer is the server API for LogicalNetworkAgent service.

type LogicalNetworkPrecheckRequest added in v0.19.3

type LogicalNetworkPrecheckRequest struct {
	LogicalNetworks      []*LogicalNetwork `protobuf:"bytes,1,rep,name=LogicalNetworks,proto3" json:"LogicalNetworks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*LogicalNetworkPrecheckRequest) Descriptor added in v0.19.3

func (*LogicalNetworkPrecheckRequest) Descriptor() ([]byte, []int)

func (*LogicalNetworkPrecheckRequest) GetLogicalNetworks added in v0.19.3

func (m *LogicalNetworkPrecheckRequest) GetLogicalNetworks() []*LogicalNetwork

func (*LogicalNetworkPrecheckRequest) ProtoMessage added in v0.19.3

func (*LogicalNetworkPrecheckRequest) ProtoMessage()

func (*LogicalNetworkPrecheckRequest) Reset added in v0.19.3

func (m *LogicalNetworkPrecheckRequest) Reset()

func (*LogicalNetworkPrecheckRequest) String added in v0.19.3

func (*LogicalNetworkPrecheckRequest) XXX_DiscardUnknown added in v0.19.3

func (m *LogicalNetworkPrecheckRequest) XXX_DiscardUnknown()

func (*LogicalNetworkPrecheckRequest) XXX_Marshal added in v0.19.3

func (m *LogicalNetworkPrecheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogicalNetworkPrecheckRequest) XXX_Merge added in v0.19.3

func (m *LogicalNetworkPrecheckRequest) XXX_Merge(src proto.Message)

func (*LogicalNetworkPrecheckRequest) XXX_Size added in v0.19.3

func (m *LogicalNetworkPrecheckRequest) XXX_Size() int

func (*LogicalNetworkPrecheckRequest) XXX_Unmarshal added in v0.19.3

func (m *LogicalNetworkPrecheckRequest) XXX_Unmarshal(b []byte) error

type LogicalNetworkPrecheckResponse added in v0.19.3

type LogicalNetworkPrecheckResponse struct {
	// The precheck result: true if the precheck criteria is passed; otherwise, false
	Result *wrappers.BoolValue `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// The error message if the precheck is not passed; otherwise, empty string
	Error                string   `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LogicalNetworkPrecheckResponse) Descriptor added in v0.19.3

func (*LogicalNetworkPrecheckResponse) Descriptor() ([]byte, []int)

func (*LogicalNetworkPrecheckResponse) GetError added in v0.19.3

func (m *LogicalNetworkPrecheckResponse) GetError() string

func (*LogicalNetworkPrecheckResponse) GetResult added in v0.19.3

func (*LogicalNetworkPrecheckResponse) ProtoMessage added in v0.19.3

func (*LogicalNetworkPrecheckResponse) ProtoMessage()

func (*LogicalNetworkPrecheckResponse) Reset added in v0.19.3

func (m *LogicalNetworkPrecheckResponse) Reset()

func (*LogicalNetworkPrecheckResponse) String added in v0.19.3

func (*LogicalNetworkPrecheckResponse) XXX_DiscardUnknown added in v0.19.3

func (m *LogicalNetworkPrecheckResponse) XXX_DiscardUnknown()

func (*LogicalNetworkPrecheckResponse) XXX_Marshal added in v0.19.3

func (m *LogicalNetworkPrecheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogicalNetworkPrecheckResponse) XXX_Merge added in v0.19.3

func (m *LogicalNetworkPrecheckResponse) XXX_Merge(src proto.Message)

func (*LogicalNetworkPrecheckResponse) XXX_Size added in v0.19.3

func (m *LogicalNetworkPrecheckResponse) XXX_Size() int

func (*LogicalNetworkPrecheckResponse) XXX_Unmarshal added in v0.19.3

func (m *LogicalNetworkPrecheckResponse) XXX_Unmarshal(b []byte) error

type LogicalNetworkRequest added in v0.13.1

type LogicalNetworkRequest struct {
	LogicalNetworks      []*LogicalNetwork `protobuf:"bytes,1,rep,name=LogicalNetworks,proto3" json:"LogicalNetworks,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 (*LogicalNetworkRequest) Descriptor added in v0.13.1

func (*LogicalNetworkRequest) Descriptor() ([]byte, []int)

func (*LogicalNetworkRequest) GetLogicalNetworks added in v0.13.1

func (m *LogicalNetworkRequest) GetLogicalNetworks() []*LogicalNetwork

func (*LogicalNetworkRequest) GetOperationType added in v0.13.1

func (m *LogicalNetworkRequest) GetOperationType() common.Operation

func (*LogicalNetworkRequest) ProtoMessage added in v0.13.1

func (*LogicalNetworkRequest) ProtoMessage()

func (*LogicalNetworkRequest) Reset added in v0.13.1

func (m *LogicalNetworkRequest) Reset()

func (*LogicalNetworkRequest) String added in v0.13.1

func (m *LogicalNetworkRequest) String() string

func (*LogicalNetworkRequest) XXX_DiscardUnknown added in v0.13.1

func (m *LogicalNetworkRequest) XXX_DiscardUnknown()

func (*LogicalNetworkRequest) XXX_Marshal added in v0.13.1

func (m *LogicalNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogicalNetworkRequest) XXX_Merge added in v0.13.1

func (m *LogicalNetworkRequest) XXX_Merge(src proto.Message)

func (*LogicalNetworkRequest) XXX_Size added in v0.13.1

func (m *LogicalNetworkRequest) XXX_Size() int

func (*LogicalNetworkRequest) XXX_Unmarshal added in v0.13.1

func (m *LogicalNetworkRequest) XXX_Unmarshal(b []byte) error

type LogicalNetworkResponse added in v0.13.1

type LogicalNetworkResponse struct {
	LogicalNetworks      []*LogicalNetwork   `protobuf:"bytes,1,rep,name=LogicalNetworks,proto3" json:"LogicalNetworks,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 (*LogicalNetworkResponse) Descriptor added in v0.13.1

func (*LogicalNetworkResponse) Descriptor() ([]byte, []int)

func (*LogicalNetworkResponse) GetError added in v0.13.1

func (m *LogicalNetworkResponse) GetError() string

func (*LogicalNetworkResponse) GetLogicalNetworks added in v0.13.1

func (m *LogicalNetworkResponse) GetLogicalNetworks() []*LogicalNetwork

func (*LogicalNetworkResponse) GetResult added in v0.13.1

func (m *LogicalNetworkResponse) GetResult() *wrappers.BoolValue

func (*LogicalNetworkResponse) ProtoMessage added in v0.13.1

func (*LogicalNetworkResponse) ProtoMessage()

func (*LogicalNetworkResponse) Reset added in v0.13.1

func (m *LogicalNetworkResponse) Reset()

func (*LogicalNetworkResponse) String added in v0.13.1

func (m *LogicalNetworkResponse) String() string

func (*LogicalNetworkResponse) XXX_DiscardUnknown added in v0.13.1

func (m *LogicalNetworkResponse) XXX_DiscardUnknown()

func (*LogicalNetworkResponse) XXX_Marshal added in v0.13.1

func (m *LogicalNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogicalNetworkResponse) XXX_Merge added in v0.13.1

func (m *LogicalNetworkResponse) XXX_Merge(src proto.Message)

func (*LogicalNetworkResponse) XXX_Size added in v0.13.1

func (m *LogicalNetworkResponse) XXX_Size() int

func (*LogicalNetworkResponse) XXX_Unmarshal added in v0.13.1

func (m *LogicalNetworkResponse) XXX_Unmarshal(b []byte) error

type LogicalSubnet added in v0.13.1

type LogicalSubnet 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"`
	AddressPrefix           string                                `protobuf:"bytes,3,opt,name=addressPrefix,proto3" json:"addressPrefix,omitempty"`
	Routes                  []*common.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"`
	Vlan                    uint32                                `protobuf:"varint,6,opt,name=vlan,proto3" json:"vlan,omitempty"`
	IpPools                 []*common.IPPool                      `protobuf:"bytes,7,rep,name=ipPools,proto3" json:"ipPools,omitempty"`
	Dns                     *common.Dns                           `protobuf:"bytes,8,opt,name=dns,proto3" json:"dns,omitempty"`
	IsPublic                bool                                  `protobuf:"varint,9,opt,name=isPublic,proto3" json:"isPublic,omitempty"`
	Tags                    *common.Tags                          `protobuf:"bytes,10,opt,name=tags,proto3" json:"tags,omitempty"`
	NetworkSecurityGroupRef *common.NetworkSecurityGroupReference `protobuf:"bytes,11,opt,name=networkSecurityGroupRef,proto3" json:"networkSecurityGroupRef,omitempty"`
	XXX_NoUnkeyedLiteral    struct{}                              `json:"-"`
	XXX_unrecognized        []byte                                `json:"-"`
	XXX_sizecache           int32                                 `json:"-"`
}

func (*LogicalSubnet) Descriptor added in v0.13.1

func (*LogicalSubnet) Descriptor() ([]byte, []int)

func (*LogicalSubnet) GetAddressPrefix added in v0.13.1

func (m *LogicalSubnet) GetAddressPrefix() string

func (*LogicalSubnet) GetAllocation added in v0.13.1

func (m *LogicalSubnet) GetAllocation() common.IPAllocationMethod

func (*LogicalSubnet) GetDns added in v0.13.1

func (m *LogicalSubnet) GetDns() *common.Dns

func (*LogicalSubnet) GetId added in v0.13.1

func (m *LogicalSubnet) GetId() string

func (*LogicalSubnet) GetIpPools added in v0.13.1

func (m *LogicalSubnet) GetIpPools() []*common.IPPool

func (*LogicalSubnet) GetIsPublic added in v0.13.1

func (m *LogicalSubnet) GetIsPublic() bool

func (*LogicalSubnet) GetName added in v0.13.1

func (m *LogicalSubnet) GetName() string

func (*LogicalSubnet) GetNetworkSecurityGroupRef added in v0.16.4

func (m *LogicalSubnet) GetNetworkSecurityGroupRef() *common.NetworkSecurityGroupReference

func (*LogicalSubnet) GetRoutes added in v0.13.1

func (m *LogicalSubnet) GetRoutes() []*common.Route

func (*LogicalSubnet) GetTags added in v0.13.1

func (m *LogicalSubnet) GetTags() *common.Tags

func (*LogicalSubnet) GetVlan added in v0.13.1

func (m *LogicalSubnet) GetVlan() uint32

func (*LogicalSubnet) ProtoMessage added in v0.13.1

func (*LogicalSubnet) ProtoMessage()

func (*LogicalSubnet) Reset added in v0.13.1

func (m *LogicalSubnet) Reset()

func (*LogicalSubnet) String added in v0.13.1

func (m *LogicalSubnet) String() string

func (*LogicalSubnet) XXX_DiscardUnknown added in v0.13.1

func (m *LogicalSubnet) XXX_DiscardUnknown()

func (*LogicalSubnet) XXX_Marshal added in v0.13.1

func (m *LogicalSubnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LogicalSubnet) XXX_Merge added in v0.13.1

func (m *LogicalSubnet) XXX_Merge(src proto.Message)

func (*LogicalSubnet) XXX_Size added in v0.13.1

func (m *LogicalSubnet) XXX_Size() int

func (*LogicalSubnet) XXX_Unmarshal added in v0.13.1

func (m *LogicalSubnet) 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"`
	Tags                 *common.Tags   `protobuf:"bytes,7,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*MacPool) Descriptor

func (*MacPool) Descriptor() ([]byte, []int)

func (*MacPool) GetId

func (m *MacPool) GetId() string

func (*MacPool) GetLocationName

func (m *MacPool) GetLocationName() string

func (*MacPool) GetName

func (m *MacPool) GetName() string

func (*MacPool) GetRange

func (m *MacPool) GetRange() *MacRange

func (*MacPool) GetStatus

func (m *MacPool) GetStatus() *common.Status

func (*MacPool) GetTags added in v0.10.5

func (m *MacPool) GetTags() *common.Tags

func (*MacPool) ProtoMessage

func (*MacPool) ProtoMessage()

func (*MacPool) Reset

func (m *MacPool) Reset()

func (*MacPool) String

func (m *MacPool) String() string

func (*MacPool) XXX_DiscardUnknown

func (m *MacPool) XXX_DiscardUnknown()

func (*MacPool) XXX_Marshal

func (m *MacPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MacPool) XXX_Merge

func (m *MacPool) XXX_Merge(src proto.Message)

func (*MacPool) XXX_Size

func (m *MacPool) XXX_Size() int

func (*MacPool) XXX_Unmarshal

func (m *MacPool) XXX_Unmarshal(b []byte) error

type MacPoolAgentClient

type MacPoolAgentClient interface {
	Invoke(ctx context.Context, in *MacPoolRequest, opts ...grpc.CallOption) (*MacPoolResponse, error)
	// Prechecks whether the system is able to create specified MAC pools (but does not actually create them).
	Precheck(ctx context.Context, in *MacPoolPrecheckRequest, opts ...grpc.CallOption) (*MacPoolPrecheckResponse, 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)
	// Prechecks whether the system is able to create specified MAC pools (but does not actually create them).
	Precheck(context.Context, *MacPoolPrecheckRequest) (*MacPoolPrecheckResponse, error)
}

MacPoolAgentServer is the server API for MacPoolAgent service.

type MacPoolPrecheckRequest added in v0.19.3

type MacPoolPrecheckRequest struct {
	MacPools             []*MacPool `protobuf:"bytes,1,rep,name=MacPools,proto3" json:"MacPools,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*MacPoolPrecheckRequest) Descriptor added in v0.19.3

func (*MacPoolPrecheckRequest) Descriptor() ([]byte, []int)

func (*MacPoolPrecheckRequest) GetMacPools added in v0.19.3

func (m *MacPoolPrecheckRequest) GetMacPools() []*MacPool

func (*MacPoolPrecheckRequest) ProtoMessage added in v0.19.3

func (*MacPoolPrecheckRequest) ProtoMessage()

func (*MacPoolPrecheckRequest) Reset added in v0.19.3

func (m *MacPoolPrecheckRequest) Reset()

func (*MacPoolPrecheckRequest) String added in v0.19.3

func (m *MacPoolPrecheckRequest) String() string

func (*MacPoolPrecheckRequest) XXX_DiscardUnknown added in v0.19.3

func (m *MacPoolPrecheckRequest) XXX_DiscardUnknown()

func (*MacPoolPrecheckRequest) XXX_Marshal added in v0.19.3

func (m *MacPoolPrecheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MacPoolPrecheckRequest) XXX_Merge added in v0.19.3

func (m *MacPoolPrecheckRequest) XXX_Merge(src proto.Message)

func (*MacPoolPrecheckRequest) XXX_Size added in v0.19.3

func (m *MacPoolPrecheckRequest) XXX_Size() int

func (*MacPoolPrecheckRequest) XXX_Unmarshal added in v0.19.3

func (m *MacPoolPrecheckRequest) XXX_Unmarshal(b []byte) error

type MacPoolPrecheckResponse added in v0.19.3

type MacPoolPrecheckResponse struct {
	// The precheck result: true if the precheck criteria is passed; otherwise, false
	Result *wrappers.BoolValue `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// The error message if the precheck is not passed; otherwise, empty string
	Error                string   `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MacPoolPrecheckResponse) Descriptor added in v0.19.3

func (*MacPoolPrecheckResponse) Descriptor() ([]byte, []int)

func (*MacPoolPrecheckResponse) GetError added in v0.19.3

func (m *MacPoolPrecheckResponse) GetError() string

func (*MacPoolPrecheckResponse) GetResult added in v0.19.3

func (m *MacPoolPrecheckResponse) GetResult() *wrappers.BoolValue

func (*MacPoolPrecheckResponse) ProtoMessage added in v0.19.3

func (*MacPoolPrecheckResponse) ProtoMessage()

func (*MacPoolPrecheckResponse) Reset added in v0.19.3

func (m *MacPoolPrecheckResponse) Reset()

func (*MacPoolPrecheckResponse) String added in v0.19.3

func (m *MacPoolPrecheckResponse) String() string

func (*MacPoolPrecheckResponse) XXX_DiscardUnknown added in v0.19.3

func (m *MacPoolPrecheckResponse) XXX_DiscardUnknown()

func (*MacPoolPrecheckResponse) XXX_Marshal added in v0.19.3

func (m *MacPoolPrecheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MacPoolPrecheckResponse) XXX_Merge added in v0.19.3

func (m *MacPoolPrecheckResponse) XXX_Merge(src proto.Message)

func (*MacPoolPrecheckResponse) XXX_Size added in v0.19.3

func (m *MacPoolPrecheckResponse) XXX_Size() int

func (*MacPoolPrecheckResponse) XXX_Unmarshal added in v0.19.3

func (m *MacPoolPrecheckResponse) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*MacRange) GetEndMacAddress

func (m *MacRange) GetEndMacAddress() string

func (*MacRange) GetStartMacAddress

func (m *MacRange) GetStartMacAddress() string

func (*MacRange) ProtoMessage

func (*MacRange) ProtoMessage()

func (*MacRange) Reset

func (m *MacRange) Reset()

func (*MacRange) String

func (m *MacRange) String() string

func (*MacRange) XXX_DiscardUnknown

func (m *MacRange) XXX_DiscardUnknown()

func (*MacRange) XXX_Marshal

func (m *MacRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MacRange) XXX_Merge

func (m *MacRange) XXX_Merge(src proto.Message)

func (*MacRange) XXX_Size

func (m *MacRange) XXX_Size() int

func (*MacRange) XXX_Unmarshal

func (m *MacRange) XXX_Unmarshal(b []byte) error

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"`
	Tags                 *common.Tags                          `protobuf:"bytes,13,opt,name=tags,proto3" json:"tags,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) GetPrimaryIpConfiguration added in v0.10.31

func (m *NetworkInterface) GetPrimaryIpConfiguration() *IpConfiguration

func (*NetworkInterface) GetStatus

func (m *NetworkInterface) GetStatus() *common.Status

func (*NetworkInterface) GetTags added in v0.10.5

func (m *NetworkInterface) GetTags() *common.Tags

func (*NetworkInterface) GetType

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)
	// Prechecks whether the system is able to create specified network interfaces (but does not actually create them).
	Precheck(ctx context.Context, in *NetworkInterfacePrecheckRequest, opts ...grpc.CallOption) (*NetworkInterfacePrecheckResponse, 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)
	// Prechecks whether the system is able to create specified network interfaces (but does not actually create them).
	Precheck(context.Context, *NetworkInterfacePrecheckRequest) (*NetworkInterfacePrecheckResponse, error)
}

NetworkInterfaceAgentServer is the server API for NetworkInterfaceAgent service.

type NetworkInterfacePrecheckRequest added in v0.19.3

type NetworkInterfacePrecheckRequest struct {
	NetworkInterfaces    []*NetworkInterface `protobuf:"bytes,1,rep,name=NetworkInterfaces,proto3" json:"NetworkInterfaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*NetworkInterfacePrecheckRequest) Descriptor added in v0.19.3

func (*NetworkInterfacePrecheckRequest) Descriptor() ([]byte, []int)

func (*NetworkInterfacePrecheckRequest) GetNetworkInterfaces added in v0.19.3

func (m *NetworkInterfacePrecheckRequest) GetNetworkInterfaces() []*NetworkInterface

func (*NetworkInterfacePrecheckRequest) ProtoMessage added in v0.19.3

func (*NetworkInterfacePrecheckRequest) ProtoMessage()

func (*NetworkInterfacePrecheckRequest) Reset added in v0.19.3

func (*NetworkInterfacePrecheckRequest) String added in v0.19.3

func (*NetworkInterfacePrecheckRequest) XXX_DiscardUnknown added in v0.19.3

func (m *NetworkInterfacePrecheckRequest) XXX_DiscardUnknown()

func (*NetworkInterfacePrecheckRequest) XXX_Marshal added in v0.19.3

func (m *NetworkInterfacePrecheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkInterfacePrecheckRequest) XXX_Merge added in v0.19.3

func (m *NetworkInterfacePrecheckRequest) XXX_Merge(src proto.Message)

func (*NetworkInterfacePrecheckRequest) XXX_Size added in v0.19.3

func (m *NetworkInterfacePrecheckRequest) XXX_Size() int

func (*NetworkInterfacePrecheckRequest) XXX_Unmarshal added in v0.19.3

func (m *NetworkInterfacePrecheckRequest) XXX_Unmarshal(b []byte) error

type NetworkInterfacePrecheckResponse added in v0.19.3

type NetworkInterfacePrecheckResponse struct {
	// The precheck result: true if the precheck criteria is passed; otherwise, false
	Result *wrappers.BoolValue `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// The error message if the precheck is not passed; otherwise, empty string
	Error                string   `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetworkInterfacePrecheckResponse) Descriptor added in v0.19.3

func (*NetworkInterfacePrecheckResponse) Descriptor() ([]byte, []int)

func (*NetworkInterfacePrecheckResponse) GetError added in v0.19.3

func (*NetworkInterfacePrecheckResponse) GetResult added in v0.19.3

func (*NetworkInterfacePrecheckResponse) ProtoMessage added in v0.19.3

func (*NetworkInterfacePrecheckResponse) ProtoMessage()

func (*NetworkInterfacePrecheckResponse) Reset added in v0.19.3

func (*NetworkInterfacePrecheckResponse) String added in v0.19.3

func (*NetworkInterfacePrecheckResponse) XXX_DiscardUnknown added in v0.19.3

func (m *NetworkInterfacePrecheckResponse) XXX_DiscardUnknown()

func (*NetworkInterfacePrecheckResponse) XXX_Marshal added in v0.19.3

func (m *NetworkInterfacePrecheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkInterfacePrecheckResponse) XXX_Merge added in v0.19.3

func (*NetworkInterfacePrecheckResponse) XXX_Size added in v0.19.3

func (m *NetworkInterfacePrecheckResponse) XXX_Size() int

func (*NetworkInterfacePrecheckResponse) XXX_Unmarshal added in v0.19.3

func (m *NetworkInterfacePrecheckResponse) XXX_Unmarshal(b []byte) error

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 (*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

type NetworkSecurityGroup added in v0.15.1

type NetworkSecurityGroup 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"`
	Networksecuritygrouprules []*NetworkSecurityGroupRule `protobuf:"bytes,3,rep,name=networksecuritygrouprules,proto3" json:"networksecuritygrouprules,omitempty"`
	LocationName              string                      `protobuf:"bytes,6,opt,name=locationName,proto3" json:"locationName,omitempty"`
	Status                    *common.Status              `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	Tags                      *common.Tags                `protobuf:"bytes,8,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral      struct{}                    `json:"-"`
	XXX_unrecognized          []byte                      `json:"-"`
	XXX_sizecache             int32                       `json:"-"`
}

func (*NetworkSecurityGroup) Descriptor added in v0.15.1

func (*NetworkSecurityGroup) Descriptor() ([]byte, []int)

func (*NetworkSecurityGroup) GetId added in v0.15.1

func (m *NetworkSecurityGroup) GetId() string

func (*NetworkSecurityGroup) GetLocationName added in v0.15.1

func (m *NetworkSecurityGroup) GetLocationName() string

func (*NetworkSecurityGroup) GetName added in v0.15.1

func (m *NetworkSecurityGroup) GetName() string

func (*NetworkSecurityGroup) GetNetworksecuritygrouprules added in v0.15.1

func (m *NetworkSecurityGroup) GetNetworksecuritygrouprules() []*NetworkSecurityGroupRule

func (*NetworkSecurityGroup) GetStatus added in v0.15.1

func (m *NetworkSecurityGroup) GetStatus() *common.Status

func (*NetworkSecurityGroup) GetTags added in v0.15.1

func (m *NetworkSecurityGroup) GetTags() *common.Tags

func (*NetworkSecurityGroup) ProtoMessage added in v0.15.1

func (*NetworkSecurityGroup) ProtoMessage()

func (*NetworkSecurityGroup) Reset added in v0.15.1

func (m *NetworkSecurityGroup) Reset()

func (*NetworkSecurityGroup) String added in v0.15.1

func (m *NetworkSecurityGroup) String() string

func (*NetworkSecurityGroup) XXX_DiscardUnknown added in v0.15.1

func (m *NetworkSecurityGroup) XXX_DiscardUnknown()

func (*NetworkSecurityGroup) XXX_Marshal added in v0.15.1

func (m *NetworkSecurityGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkSecurityGroup) XXX_Merge added in v0.15.1

func (m *NetworkSecurityGroup) XXX_Merge(src proto.Message)

func (*NetworkSecurityGroup) XXX_Size added in v0.15.1

func (m *NetworkSecurityGroup) XXX_Size() int

func (*NetworkSecurityGroup) XXX_Unmarshal added in v0.15.1

func (m *NetworkSecurityGroup) XXX_Unmarshal(b []byte) error

type NetworkSecurityGroupAgentClient added in v0.15.1

type NetworkSecurityGroupAgentClient interface {
	Invoke(ctx context.Context, in *NetworkSecurityGroupRequest, opts ...grpc.CallOption) (*NetworkSecurityGroupResponse, error)
	// Prechecks whether the system is able to create specified network security groups (but does not actually create them).
	Precheck(ctx context.Context, in *NetworkSecurityGroupPrecheckRequest, opts ...grpc.CallOption) (*NetworkSecurityGroupPrecheckResponse, error)
}

NetworkSecurityGroupAgentClient is the client API for NetworkSecurityGroupAgent service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewNetworkSecurityGroupAgentClient added in v0.15.1

func NewNetworkSecurityGroupAgentClient(cc *grpc.ClientConn) NetworkSecurityGroupAgentClient

type NetworkSecurityGroupAgentServer added in v0.15.1

type NetworkSecurityGroupAgentServer interface {
	Invoke(context.Context, *NetworkSecurityGroupRequest) (*NetworkSecurityGroupResponse, error)
	// Prechecks whether the system is able to create specified network security groups (but does not actually create them).
	Precheck(context.Context, *NetworkSecurityGroupPrecheckRequest) (*NetworkSecurityGroupPrecheckResponse, error)
}

NetworkSecurityGroupAgentServer is the server API for NetworkSecurityGroupAgent service.

type NetworkSecurityGroupPrecheckRequest added in v0.19.3

type NetworkSecurityGroupPrecheckRequest struct {
	NetworkSecurityGroups []*NetworkSecurityGroup `protobuf:"bytes,1,rep,name=NetworkSecurityGroups,proto3" json:"NetworkSecurityGroups,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}                `json:"-"`
	XXX_unrecognized      []byte                  `json:"-"`
	XXX_sizecache         int32                   `json:"-"`
}

func (*NetworkSecurityGroupPrecheckRequest) Descriptor added in v0.19.3

func (*NetworkSecurityGroupPrecheckRequest) Descriptor() ([]byte, []int)

func (*NetworkSecurityGroupPrecheckRequest) GetNetworkSecurityGroups added in v0.19.3

func (m *NetworkSecurityGroupPrecheckRequest) GetNetworkSecurityGroups() []*NetworkSecurityGroup

func (*NetworkSecurityGroupPrecheckRequest) ProtoMessage added in v0.19.3

func (*NetworkSecurityGroupPrecheckRequest) ProtoMessage()

func (*NetworkSecurityGroupPrecheckRequest) Reset added in v0.19.3

func (*NetworkSecurityGroupPrecheckRequest) String added in v0.19.3

func (*NetworkSecurityGroupPrecheckRequest) XXX_DiscardUnknown added in v0.19.3

func (m *NetworkSecurityGroupPrecheckRequest) XXX_DiscardUnknown()

func (*NetworkSecurityGroupPrecheckRequest) XXX_Marshal added in v0.19.3

func (m *NetworkSecurityGroupPrecheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkSecurityGroupPrecheckRequest) XXX_Merge added in v0.19.3

func (*NetworkSecurityGroupPrecheckRequest) XXX_Size added in v0.19.3

func (*NetworkSecurityGroupPrecheckRequest) XXX_Unmarshal added in v0.19.3

func (m *NetworkSecurityGroupPrecheckRequest) XXX_Unmarshal(b []byte) error

type NetworkSecurityGroupPrecheckResponse added in v0.19.3

type NetworkSecurityGroupPrecheckResponse struct {
	// The precheck result: true if the precheck criteria is passed; otherwise, false
	Result *wrappers.BoolValue `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// The error message if the precheck is not passed; otherwise, empty string
	Error                string   `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NetworkSecurityGroupPrecheckResponse) Descriptor added in v0.19.3

func (*NetworkSecurityGroupPrecheckResponse) Descriptor() ([]byte, []int)

func (*NetworkSecurityGroupPrecheckResponse) GetError added in v0.19.3

func (*NetworkSecurityGroupPrecheckResponse) GetResult added in v0.19.3

func (*NetworkSecurityGroupPrecheckResponse) ProtoMessage added in v0.19.3

func (*NetworkSecurityGroupPrecheckResponse) ProtoMessage()

func (*NetworkSecurityGroupPrecheckResponse) Reset added in v0.19.3

func (*NetworkSecurityGroupPrecheckResponse) String added in v0.19.3

func (*NetworkSecurityGroupPrecheckResponse) XXX_DiscardUnknown added in v0.19.3

func (m *NetworkSecurityGroupPrecheckResponse) XXX_DiscardUnknown()

func (*NetworkSecurityGroupPrecheckResponse) XXX_Marshal added in v0.19.3

func (m *NetworkSecurityGroupPrecheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkSecurityGroupPrecheckResponse) XXX_Merge added in v0.19.3

func (*NetworkSecurityGroupPrecheckResponse) XXX_Size added in v0.19.3

func (*NetworkSecurityGroupPrecheckResponse) XXX_Unmarshal added in v0.19.3

func (m *NetworkSecurityGroupPrecheckResponse) XXX_Unmarshal(b []byte) error

type NetworkSecurityGroupRequest added in v0.15.1

type NetworkSecurityGroupRequest struct {
	NetworkSecurityGroups []*NetworkSecurityGroup `protobuf:"bytes,1,rep,name=NetworkSecurityGroups,proto3" json:"NetworkSecurityGroups,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 (*NetworkSecurityGroupRequest) Descriptor added in v0.15.1

func (*NetworkSecurityGroupRequest) Descriptor() ([]byte, []int)

func (*NetworkSecurityGroupRequest) GetNetworkSecurityGroups added in v0.15.1

func (m *NetworkSecurityGroupRequest) GetNetworkSecurityGroups() []*NetworkSecurityGroup

func (*NetworkSecurityGroupRequest) GetOperationType added in v0.15.1

func (m *NetworkSecurityGroupRequest) GetOperationType() common.Operation

func (*NetworkSecurityGroupRequest) ProtoMessage added in v0.15.1

func (*NetworkSecurityGroupRequest) ProtoMessage()

func (*NetworkSecurityGroupRequest) Reset added in v0.15.1

func (m *NetworkSecurityGroupRequest) Reset()

func (*NetworkSecurityGroupRequest) String added in v0.15.1

func (m *NetworkSecurityGroupRequest) String() string

func (*NetworkSecurityGroupRequest) XXX_DiscardUnknown added in v0.15.1

func (m *NetworkSecurityGroupRequest) XXX_DiscardUnknown()

func (*NetworkSecurityGroupRequest) XXX_Marshal added in v0.15.1

func (m *NetworkSecurityGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkSecurityGroupRequest) XXX_Merge added in v0.15.1

func (m *NetworkSecurityGroupRequest) XXX_Merge(src proto.Message)

func (*NetworkSecurityGroupRequest) XXX_Size added in v0.15.1

func (m *NetworkSecurityGroupRequest) XXX_Size() int

func (*NetworkSecurityGroupRequest) XXX_Unmarshal added in v0.15.1

func (m *NetworkSecurityGroupRequest) XXX_Unmarshal(b []byte) error

type NetworkSecurityGroupResponse added in v0.15.1

type NetworkSecurityGroupResponse struct {
	NetworkSecurityGroups []*NetworkSecurityGroup `protobuf:"bytes,1,rep,name=NetworkSecurityGroups,proto3" json:"NetworkSecurityGroups,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 (*NetworkSecurityGroupResponse) Descriptor added in v0.15.1

func (*NetworkSecurityGroupResponse) Descriptor() ([]byte, []int)

func (*NetworkSecurityGroupResponse) GetError added in v0.15.1

func (m *NetworkSecurityGroupResponse) GetError() string

func (*NetworkSecurityGroupResponse) GetNetworkSecurityGroups added in v0.15.1

func (m *NetworkSecurityGroupResponse) GetNetworkSecurityGroups() []*NetworkSecurityGroup

func (*NetworkSecurityGroupResponse) GetResult added in v0.15.1

func (*NetworkSecurityGroupResponse) ProtoMessage added in v0.15.1

func (*NetworkSecurityGroupResponse) ProtoMessage()

func (*NetworkSecurityGroupResponse) Reset added in v0.15.1

func (m *NetworkSecurityGroupResponse) Reset()

func (*NetworkSecurityGroupResponse) String added in v0.15.1

func (*NetworkSecurityGroupResponse) XXX_DiscardUnknown added in v0.15.1

func (m *NetworkSecurityGroupResponse) XXX_DiscardUnknown()

func (*NetworkSecurityGroupResponse) XXX_Marshal added in v0.15.1

func (m *NetworkSecurityGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkSecurityGroupResponse) XXX_Merge added in v0.15.1

func (m *NetworkSecurityGroupResponse) XXX_Merge(src proto.Message)

func (*NetworkSecurityGroupResponse) XXX_Size added in v0.15.1

func (m *NetworkSecurityGroupResponse) XXX_Size() int

func (*NetworkSecurityGroupResponse) XXX_Unmarshal added in v0.15.1

func (m *NetworkSecurityGroupResponse) XXX_Unmarshal(b []byte) error

type NetworkSecurityGroupRule added in v0.15.1

type NetworkSecurityGroupRule struct {
	Name                     string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Description              string          `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Action                   Action          `protobuf:"varint,3,opt,name=action,proto3,enum=moc.cloudagent.network.Action" json:"action,omitempty"`
	Direction                Direction       `protobuf:"varint,4,opt,name=direction,proto3,enum=moc.cloudagent.network.Direction" json:"direction,omitempty"`
	SourceAddressPrefix      string          `protobuf:"bytes,5,opt,name=sourceAddressPrefix,proto3" json:"sourceAddressPrefix,omitempty"`
	DestinationAddressPrefix string          `protobuf:"bytes,6,opt,name=destinationAddressPrefix,proto3" json:"destinationAddressPrefix,omitempty"`
	SourcePortRange          string          `protobuf:"bytes,7,opt,name=sourcePortRange,proto3" json:"sourcePortRange,omitempty"`
	DestinationPortRange     string          `protobuf:"bytes,8,opt,name=destinationPortRange,proto3" json:"destinationPortRange,omitempty"`
	Protocol                 common.Protocol `protobuf:"varint,9,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"`
	Priority                 uint32          `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"`
	Logging                  bool            `protobuf:"varint,11,opt,name=logging,proto3" json:"logging,omitempty"`
	IsDefaultRule            bool            `protobuf:"varint,12,opt,name=isDefaultRule,proto3" json:"isDefaultRule,omitempty"`
	XXX_NoUnkeyedLiteral     struct{}        `json:"-"`
	XXX_unrecognized         []byte          `json:"-"`
	XXX_sizecache            int32           `json:"-"`
}

func (*NetworkSecurityGroupRule) Descriptor added in v0.15.1

func (*NetworkSecurityGroupRule) Descriptor() ([]byte, []int)

func (*NetworkSecurityGroupRule) GetAction added in v0.15.1

func (m *NetworkSecurityGroupRule) GetAction() Action

func (*NetworkSecurityGroupRule) GetDescription added in v0.15.1

func (m *NetworkSecurityGroupRule) GetDescription() string

func (*NetworkSecurityGroupRule) GetDestinationAddressPrefix added in v0.15.1

func (m *NetworkSecurityGroupRule) GetDestinationAddressPrefix() string

func (*NetworkSecurityGroupRule) GetDestinationPortRange added in v0.15.1

func (m *NetworkSecurityGroupRule) GetDestinationPortRange() string

func (*NetworkSecurityGroupRule) GetDirection added in v0.15.1

func (m *NetworkSecurityGroupRule) GetDirection() Direction

func (*NetworkSecurityGroupRule) GetIsDefaultRule added in v0.15.1

func (m *NetworkSecurityGroupRule) GetIsDefaultRule() bool

func (*NetworkSecurityGroupRule) GetLogging added in v0.15.1

func (m *NetworkSecurityGroupRule) GetLogging() bool

func (*NetworkSecurityGroupRule) GetName added in v0.15.1

func (m *NetworkSecurityGroupRule) GetName() string

func (*NetworkSecurityGroupRule) GetPriority added in v0.15.1

func (m *NetworkSecurityGroupRule) GetPriority() uint32

func (*NetworkSecurityGroupRule) GetProtocol added in v0.15.1

func (m *NetworkSecurityGroupRule) GetProtocol() common.Protocol

func (*NetworkSecurityGroupRule) GetSourceAddressPrefix added in v0.15.1

func (m *NetworkSecurityGroupRule) GetSourceAddressPrefix() string

func (*NetworkSecurityGroupRule) GetSourcePortRange added in v0.15.1

func (m *NetworkSecurityGroupRule) GetSourcePortRange() string

func (*NetworkSecurityGroupRule) ProtoMessage added in v0.15.1

func (*NetworkSecurityGroupRule) ProtoMessage()

func (*NetworkSecurityGroupRule) Reset added in v0.15.1

func (m *NetworkSecurityGroupRule) Reset()

func (*NetworkSecurityGroupRule) String added in v0.15.1

func (m *NetworkSecurityGroupRule) String() string

func (*NetworkSecurityGroupRule) XXX_DiscardUnknown added in v0.15.1

func (m *NetworkSecurityGroupRule) XXX_DiscardUnknown()

func (*NetworkSecurityGroupRule) XXX_Marshal added in v0.15.1

func (m *NetworkSecurityGroupRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetworkSecurityGroupRule) XXX_Merge added in v0.15.1

func (m *NetworkSecurityGroupRule) XXX_Merge(src proto.Message)

func (*NetworkSecurityGroupRule) XXX_Size added in v0.15.1

func (m *NetworkSecurityGroupRule) XXX_Size() int

func (*NetworkSecurityGroupRule) XXX_Unmarshal added in v0.15.1

func (m *NetworkSecurityGroupRule) XXX_Unmarshal(b []byte) error

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                  []*common.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"`
	Vlan                    uint32                                `protobuf:"varint,6,opt,name=vlan,proto3" json:"vlan,omitempty"`
	Ippools                 []*common.IPPool                      `protobuf:"bytes,7,rep,name=ippools,proto3" json:"ippools,omitempty"`
	Networksecuritygroupref *common.NetworkSecurityGroupReference `protobuf:"bytes,9,opt,name=networksecuritygroupref,proto3" json:"networksecuritygroupref,omitempty"`
	Tags                    *common.Tags                          `protobuf:"bytes,10,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral    struct{}                              `json:"-"`
	XXX_unrecognized        []byte                                `json:"-"`
	XXX_sizecache           int32                                 `json:"-"`
}

func (*Subnet) Descriptor

func (*Subnet) Descriptor() ([]byte, []int)

func (*Subnet) GetAllocation

func (m *Subnet) GetAllocation() common.IPAllocationMethod

func (*Subnet) GetCidr

func (m *Subnet) GetCidr() string

func (*Subnet) GetId

func (m *Subnet) GetId() string

func (*Subnet) GetIppools added in v0.10.6

func (m *Subnet) GetIppools() []*common.IPPool

func (*Subnet) GetName

func (m *Subnet) GetName() string

func (*Subnet) GetNetworksecuritygroupref added in v0.16.4

func (m *Subnet) GetNetworksecuritygroupref() *common.NetworkSecurityGroupReference

func (*Subnet) GetRoutes

func (m *Subnet) GetRoutes() []*common.Route

func (*Subnet) GetTags added in v0.24.3

func (m *Subnet) GetTags() *common.Tags

func (*Subnet) GetVlan

func (m *Subnet) GetVlan() uint32

func (*Subnet) ProtoMessage

func (*Subnet) ProtoMessage()

func (*Subnet) Reset

func (m *Subnet) Reset()

func (*Subnet) String

func (m *Subnet) String() string

func (*Subnet) XXX_DiscardUnknown

func (m *Subnet) XXX_DiscardUnknown()

func (*Subnet) XXX_Marshal

func (m *Subnet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Subnet) XXX_Merge

func (m *Subnet) XXX_Merge(src proto.Message)

func (*Subnet) XXX_Size

func (m *Subnet) XXX_Size() int

func (*Subnet) XXX_Unmarshal

func (m *Subnet) XXX_Unmarshal(b []byte) error

type UnimplementedLoadBalancerAgentServer

type UnimplementedLoadBalancerAgentServer struct {
}

UnimplementedLoadBalancerAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedLoadBalancerAgentServer) Invoke

func (*UnimplementedLoadBalancerAgentServer) Precheck added in v0.19.3

type UnimplementedLogicalNetworkAgentServer added in v0.13.1

type UnimplementedLogicalNetworkAgentServer struct {
}

UnimplementedLogicalNetworkAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedLogicalNetworkAgentServer) Invoke added in v0.13.1

func (*UnimplementedLogicalNetworkAgentServer) Precheck added in v0.19.3

type UnimplementedMacPoolAgentServer

type UnimplementedMacPoolAgentServer struct {
}

UnimplementedMacPoolAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedMacPoolAgentServer) Invoke

func (*UnimplementedMacPoolAgentServer) Precheck added in v0.19.3

type UnimplementedNetworkInterfaceAgentServer

type UnimplementedNetworkInterfaceAgentServer struct {
}

UnimplementedNetworkInterfaceAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedNetworkInterfaceAgentServer) Invoke

func (*UnimplementedNetworkInterfaceAgentServer) Precheck added in v0.19.3

type UnimplementedNetworkSecurityGroupAgentServer added in v0.15.1

type UnimplementedNetworkSecurityGroupAgentServer struct {
}

UnimplementedNetworkSecurityGroupAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedNetworkSecurityGroupAgentServer) Invoke added in v0.15.1

func (*UnimplementedNetworkSecurityGroupAgentServer) Precheck added in v0.19.3

type UnimplementedVipPoolAgentServer

type UnimplementedVipPoolAgentServer struct {
}

UnimplementedVipPoolAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedVipPoolAgentServer) Invoke

func (*UnimplementedVipPoolAgentServer) Precheck added in v0.19.3

type UnimplementedVirtualNetworkAgentServer

type UnimplementedVirtualNetworkAgentServer struct {
}

UnimplementedVirtualNetworkAgentServer can be embedded to have forward compatible implementations.

func (*UnimplementedVirtualNetworkAgentServer) Invoke

func (*UnimplementedVirtualNetworkAgentServer) Precheck added in v0.19.3

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"`
	Tags                 *common.Tags   `protobuf:"bytes,11,opt,name=tags,proto3" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*VipPool) Descriptor

func (*VipPool) Descriptor() ([]byte, []int)

func (*VipPool) GetCidr

func (m *VipPool) GetCidr() string

func (*VipPool) GetEndip

func (m *VipPool) GetEndip() string

func (*VipPool) GetGroupName

func (m *VipPool) GetGroupName() string

func (*VipPool) GetId

func (m *VipPool) GetId() string

func (*VipPool) GetLocationName

func (m *VipPool) GetLocationName() string

func (*VipPool) GetName

func (m *VipPool) GetName() string

func (*VipPool) GetNetworkid

func (m *VipPool) GetNetworkid() string

func (*VipPool) GetNodefqdn

func (m *VipPool) GetNodefqdn() string

func (*VipPool) GetStartip

func (m *VipPool) GetStartip() string

func (*VipPool) GetStatus

func (m *VipPool) GetStatus() *common.Status

func (*VipPool) GetTags added in v0.10.5

func (m *VipPool) GetTags() *common.Tags

func (*VipPool) ProtoMessage

func (*VipPool) ProtoMessage()

func (*VipPool) Reset

func (m *VipPool) Reset()

func (*VipPool) String

func (m *VipPool) String() string

func (*VipPool) XXX_DiscardUnknown

func (m *VipPool) XXX_DiscardUnknown()

func (*VipPool) XXX_Marshal

func (m *VipPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VipPool) XXX_Merge

func (m *VipPool) XXX_Merge(src proto.Message)

func (*VipPool) XXX_Size

func (m *VipPool) XXX_Size() int

func (*VipPool) XXX_Unmarshal

func (m *VipPool) XXX_Unmarshal(b []byte) error

type VipPoolAgentClient

type VipPoolAgentClient interface {
	Invoke(ctx context.Context, in *VipPoolRequest, opts ...grpc.CallOption) (*VipPoolResponse, error)
	// Prechecks whether the system is able to create specified vip pools (but does not actually create them).
	Precheck(ctx context.Context, in *VipPoolPrecheckRequest, opts ...grpc.CallOption) (*VipPoolPrecheckResponse, 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)
	// Prechecks whether the system is able to create specified vip pools (but does not actually create them).
	Precheck(context.Context, *VipPoolPrecheckRequest) (*VipPoolPrecheckResponse, error)
}

VipPoolAgentServer is the server API for VipPoolAgent service.

type VipPoolPrecheckRequest added in v0.19.3

type VipPoolPrecheckRequest struct {
	VipPools             []*VipPool `protobuf:"bytes,1,rep,name=VipPools,proto3" json:"VipPools,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*VipPoolPrecheckRequest) Descriptor added in v0.19.3

func (*VipPoolPrecheckRequest) Descriptor() ([]byte, []int)

func (*VipPoolPrecheckRequest) GetVipPools added in v0.19.3

func (m *VipPoolPrecheckRequest) GetVipPools() []*VipPool

func (*VipPoolPrecheckRequest) ProtoMessage added in v0.19.3

func (*VipPoolPrecheckRequest) ProtoMessage()

func (*VipPoolPrecheckRequest) Reset added in v0.19.3

func (m *VipPoolPrecheckRequest) Reset()

func (*VipPoolPrecheckRequest) String added in v0.19.3

func (m *VipPoolPrecheckRequest) String() string

func (*VipPoolPrecheckRequest) XXX_DiscardUnknown added in v0.19.3

func (m *VipPoolPrecheckRequest) XXX_DiscardUnknown()

func (*VipPoolPrecheckRequest) XXX_Marshal added in v0.19.3

func (m *VipPoolPrecheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VipPoolPrecheckRequest) XXX_Merge added in v0.19.3

func (m *VipPoolPrecheckRequest) XXX_Merge(src proto.Message)

func (*VipPoolPrecheckRequest) XXX_Size added in v0.19.3

func (m *VipPoolPrecheckRequest) XXX_Size() int

func (*VipPoolPrecheckRequest) XXX_Unmarshal added in v0.19.3

func (m *VipPoolPrecheckRequest) XXX_Unmarshal(b []byte) error

type VipPoolPrecheckResponse added in v0.19.3

type VipPoolPrecheckResponse struct {
	// The precheck result: true if the precheck criteria is passed; otherwise, false
	Result *wrappers.BoolValue `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// The error message if the precheck is not passed; otherwise, empty string
	Error                string   `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VipPoolPrecheckResponse) Descriptor added in v0.19.3

func (*VipPoolPrecheckResponse) Descriptor() ([]byte, []int)

func (*VipPoolPrecheckResponse) GetError added in v0.19.3

func (m *VipPoolPrecheckResponse) GetError() string

func (*VipPoolPrecheckResponse) GetResult added in v0.19.3

func (m *VipPoolPrecheckResponse) GetResult() *wrappers.BoolValue

func (*VipPoolPrecheckResponse) ProtoMessage added in v0.19.3

func (*VipPoolPrecheckResponse) ProtoMessage()

func (*VipPoolPrecheckResponse) Reset added in v0.19.3

func (m *VipPoolPrecheckResponse) Reset()

func (*VipPoolPrecheckResponse) String added in v0.19.3

func (m *VipPoolPrecheckResponse) String() string

func (*VipPoolPrecheckResponse) XXX_DiscardUnknown added in v0.19.3

func (m *VipPoolPrecheckResponse) XXX_DiscardUnknown()

func (*VipPoolPrecheckResponse) XXX_Marshal added in v0.19.3

func (m *VipPoolPrecheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VipPoolPrecheckResponse) XXX_Merge added in v0.19.3

func (m *VipPoolPrecheckResponse) XXX_Merge(src proto.Message)

func (*VipPoolPrecheckResponse) XXX_Size added in v0.19.3

func (m *VipPoolPrecheckResponse) XXX_Size() int

func (*VipPoolPrecheckResponse) XXX_Unmarshal added in v0.19.3

func (m *VipPoolPrecheckResponse) XXX_Unmarshal(b []byte) error

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"`
	Tags                 *common.Tags             `protobuf:"bytes,12,opt,name=tags,proto3" json:"tags,omitempty"`
	LogicalNetwork       *common.NetworkReference `protobuf:"bytes,13,opt,name=logicalNetwork,proto3" json:"logicalNetwork,omitempty"`
	Cidr                 []string                 `protobuf:"bytes,14,rep,name=cidr,proto3" json:"cidr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*VirtualNetwork) Descriptor

func (*VirtualNetwork) Descriptor() ([]byte, []int)

func (*VirtualNetwork) GetCidr added in v0.24.3

func (m *VirtualNetwork) GetCidr() []string

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) GetLogicalNetwork added in v0.24.3

func (m *VirtualNetwork) GetLogicalNetwork() *common.NetworkReference

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) GetTags added in v0.10.5

func (m *VirtualNetwork) GetTags() *common.Tags

func (*VirtualNetwork) GetType

func (m *VirtualNetwork) GetType() VirtualNetworkType

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)
	// Prechecks whether the system is able to create specified virtual networks (but does not actually create them).
	Precheck(ctx context.Context, in *VirtualNetworkPrecheckRequest, opts ...grpc.CallOption) (*VirtualNetworkPrecheckResponse, 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)
	// Prechecks whether the system is able to create specified virtual networks (but does not actually create them).
	Precheck(context.Context, *VirtualNetworkPrecheckRequest) (*VirtualNetworkPrecheckResponse, error)
}

VirtualNetworkAgentServer is the server API for VirtualNetworkAgent service.

type VirtualNetworkPrecheckRequest added in v0.19.3

type VirtualNetworkPrecheckRequest struct {
	VirtualNetworks      []*VirtualNetwork `protobuf:"bytes,1,rep,name=VirtualNetworks,proto3" json:"VirtualNetworks,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*VirtualNetworkPrecheckRequest) Descriptor added in v0.19.3

func (*VirtualNetworkPrecheckRequest) Descriptor() ([]byte, []int)

func (*VirtualNetworkPrecheckRequest) GetVirtualNetworks added in v0.19.3

func (m *VirtualNetworkPrecheckRequest) GetVirtualNetworks() []*VirtualNetwork

func (*VirtualNetworkPrecheckRequest) ProtoMessage added in v0.19.3

func (*VirtualNetworkPrecheckRequest) ProtoMessage()

func (*VirtualNetworkPrecheckRequest) Reset added in v0.19.3

func (m *VirtualNetworkPrecheckRequest) Reset()

func (*VirtualNetworkPrecheckRequest) String added in v0.19.3

func (*VirtualNetworkPrecheckRequest) XXX_DiscardUnknown added in v0.19.3

func (m *VirtualNetworkPrecheckRequest) XXX_DiscardUnknown()

func (*VirtualNetworkPrecheckRequest) XXX_Marshal added in v0.19.3

func (m *VirtualNetworkPrecheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualNetworkPrecheckRequest) XXX_Merge added in v0.19.3

func (m *VirtualNetworkPrecheckRequest) XXX_Merge(src proto.Message)

func (*VirtualNetworkPrecheckRequest) XXX_Size added in v0.19.3

func (m *VirtualNetworkPrecheckRequest) XXX_Size() int

func (*VirtualNetworkPrecheckRequest) XXX_Unmarshal added in v0.19.3

func (m *VirtualNetworkPrecheckRequest) XXX_Unmarshal(b []byte) error

type VirtualNetworkPrecheckResponse added in v0.19.3

type VirtualNetworkPrecheckResponse struct {
	// The precheck result: true if the precheck criteria is passed; otherwise, false
	Result *wrappers.BoolValue `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// The error message if the precheck is not passed; otherwise, empty string
	Error                string   `protobuf:"bytes,2,opt,name=Error,proto3" json:"Error,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VirtualNetworkPrecheckResponse) Descriptor added in v0.19.3

func (*VirtualNetworkPrecheckResponse) Descriptor() ([]byte, []int)

func (*VirtualNetworkPrecheckResponse) GetError added in v0.19.3

func (m *VirtualNetworkPrecheckResponse) GetError() string

func (*VirtualNetworkPrecheckResponse) GetResult added in v0.19.3

func (*VirtualNetworkPrecheckResponse) ProtoMessage added in v0.19.3

func (*VirtualNetworkPrecheckResponse) ProtoMessage()

func (*VirtualNetworkPrecheckResponse) Reset added in v0.19.3

func (m *VirtualNetworkPrecheckResponse) Reset()

func (*VirtualNetworkPrecheckResponse) String added in v0.19.3

func (*VirtualNetworkPrecheckResponse) XXX_DiscardUnknown added in v0.19.3

func (m *VirtualNetworkPrecheckResponse) XXX_DiscardUnknown()

func (*VirtualNetworkPrecheckResponse) XXX_Marshal added in v0.19.3

func (m *VirtualNetworkPrecheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VirtualNetworkPrecheckResponse) XXX_Merge added in v0.19.3

func (m *VirtualNetworkPrecheckResponse) XXX_Merge(src proto.Message)

func (*VirtualNetworkPrecheckResponse) XXX_Size added in v0.19.3

func (m *VirtualNetworkPrecheckResponse) XXX_Size() int

func (*VirtualNetworkPrecheckResponse) XXX_Unmarshal added in v0.19.3

func (m *VirtualNetworkPrecheckResponse) XXX_Unmarshal(b []byte) error

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"`
	Version              *common.ApiVersion `protobuf:"bytes,3,opt,name=version,proto3" json:"version,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) GetVersion added in v0.24.3

func (m *VirtualNetworkRequest) GetVersion() *common.ApiVersion

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL