Documentation ¶
Index ¶
- func RegisterCloudProviderVsphereServer(s *grpc.Server, srv CloudProviderVsphereServer)
- type CloudProviderVsphereClient
- type CloudProviderVsphereServer
- type ListNodesReply
- func (*ListNodesReply) Descriptor() ([]byte, []int)
- func (m *ListNodesReply) GetError() string
- func (m *ListNodesReply) GetNodes() []*Node
- func (*ListNodesReply) ProtoMessage()
- func (m *ListNodesReply) Reset()
- func (m *ListNodesReply) String() string
- func (m *ListNodesReply) XXX_DiscardUnknown()
- func (m *ListNodesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNodesReply) XXX_Merge(src proto.Message)
- func (m *ListNodesReply) XXX_Size() int
- func (m *ListNodesReply) XXX_Unmarshal(b []byte) error
- type ListNodesRequest
- func (*ListNodesRequest) Descriptor() ([]byte, []int)
- func (m *ListNodesRequest) GetDatacenter() string
- func (m *ListNodesRequest) GetVcenter() string
- func (*ListNodesRequest) ProtoMessage()
- func (m *ListNodesRequest) Reset()
- func (m *ListNodesRequest) String() string
- func (m *ListNodesRequest) XXX_DiscardUnknown()
- func (m *ListNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNodesRequest) XXX_Merge(src proto.Message)
- func (m *ListNodesRequest) XXX_Size() int
- func (m *ListNodesRequest) XXX_Unmarshal(b []byte) error
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetAddresses() []string
- func (m *Node) GetDatacenter() string
- func (m *Node) GetDnsnames() []string
- func (m *Node) GetName() string
- func (m *Node) GetUuid() string
- func (m *Node) GetVcenter() string
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) String() string
- func (m *Node) XXX_DiscardUnknown()
- func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Node) XXX_Merge(src proto.Message)
- func (m *Node) XXX_Size() int
- func (m *Node) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCloudProviderVsphereServer ¶
func RegisterCloudProviderVsphereServer(s *grpc.Server, srv CloudProviderVsphereServer)
Types ¶
type CloudProviderVsphereClient ¶
type CloudProviderVsphereClient interface {
ListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (*ListNodesReply, error)
}
CloudProviderVsphereClient is the client API for CloudProviderVsphere service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCloudProviderVsphereClient ¶
func NewCloudProviderVsphereClient(cc *grpc.ClientConn) CloudProviderVsphereClient
type CloudProviderVsphereServer ¶
type CloudProviderVsphereServer interface {
ListNodes(context.Context, *ListNodesRequest) (*ListNodesReply, error)
}
CloudProviderVsphereServer is the server API for CloudProviderVsphere service.
type ListNodesReply ¶
type ListNodesReply struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` 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 (*ListNodesReply) Descriptor ¶
func (*ListNodesReply) Descriptor() ([]byte, []int)
func (*ListNodesReply) GetError ¶
func (m *ListNodesReply) GetError() string
func (*ListNodesReply) GetNodes ¶
func (m *ListNodesReply) GetNodes() []*Node
func (*ListNodesReply) ProtoMessage ¶
func (*ListNodesReply) ProtoMessage()
func (*ListNodesReply) Reset ¶
func (m *ListNodesReply) Reset()
func (*ListNodesReply) String ¶
func (m *ListNodesReply) String() string
func (*ListNodesReply) XXX_DiscardUnknown ¶
func (m *ListNodesReply) XXX_DiscardUnknown()
func (*ListNodesReply) XXX_Marshal ¶
func (m *ListNodesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNodesReply) XXX_Merge ¶
func (m *ListNodesReply) XXX_Merge(src proto.Message)
func (*ListNodesReply) XXX_Size ¶
func (m *ListNodesReply) XXX_Size() int
func (*ListNodesReply) XXX_Unmarshal ¶
func (m *ListNodesReply) XXX_Unmarshal(b []byte) error
type ListNodesRequest ¶
type ListNodesRequest struct { Vcenter string `protobuf:"bytes,1,opt,name=vcenter,proto3" json:"vcenter,omitempty"` Datacenter string `protobuf:"bytes,2,opt,name=datacenter,proto3" json:"datacenter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListNodesRequest) Descriptor ¶
func (*ListNodesRequest) Descriptor() ([]byte, []int)
func (*ListNodesRequest) GetDatacenter ¶
func (m *ListNodesRequest) GetDatacenter() string
func (*ListNodesRequest) GetVcenter ¶
func (m *ListNodesRequest) GetVcenter() string
func (*ListNodesRequest) ProtoMessage ¶
func (*ListNodesRequest) ProtoMessage()
func (*ListNodesRequest) Reset ¶
func (m *ListNodesRequest) Reset()
func (*ListNodesRequest) String ¶
func (m *ListNodesRequest) String() string
func (*ListNodesRequest) XXX_DiscardUnknown ¶
func (m *ListNodesRequest) XXX_DiscardUnknown()
func (*ListNodesRequest) XXX_Marshal ¶
func (m *ListNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNodesRequest) XXX_Merge ¶
func (m *ListNodesRequest) XXX_Merge(src proto.Message)
func (*ListNodesRequest) XXX_Size ¶
func (m *ListNodesRequest) XXX_Size() int
func (*ListNodesRequest) XXX_Unmarshal ¶
func (m *ListNodesRequest) XXX_Unmarshal(b []byte) error
type Node ¶
type Node struct { Vcenter string `protobuf:"bytes,1,opt,name=vcenter,proto3" json:"vcenter,omitempty"` Datacenter string `protobuf:"bytes,2,opt,name=datacenter,proto3" json:"datacenter,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Dnsnames []string `protobuf:"bytes,4,rep,name=dnsnames,proto3" json:"dnsnames,omitempty"` Addresses []string `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"` Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Node) Descriptor ¶
func (*Node) GetAddresses ¶
func (*Node) GetDatacenter ¶
func (*Node) GetDnsnames ¶
func (*Node) GetVcenter ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) XXX_DiscardUnknown ¶
func (m *Node) XXX_DiscardUnknown()
func (*Node) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.