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
- type VersionReply
- func (*VersionReply) Descriptor() ([]byte, []int)
- func (m *VersionReply) GetVersion() string
- func (*VersionReply) ProtoMessage()
- func (m *VersionReply) Reset()
- func (m *VersionReply) String() string
- func (m *VersionReply) XXX_DiscardUnknown()
- func (m *VersionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VersionReply) XXX_Merge(src proto.Message)
- func (m *VersionReply) XXX_Size() int
- func (m *VersionReply) XXX_Unmarshal(b []byte) error
- type VersionRequest
- func (*VersionRequest) Descriptor() ([]byte, []int)
- func (*VersionRequest) ProtoMessage()
- func (m *VersionRequest) Reset()
- func (m *VersionRequest) String() string
- func (m *VersionRequest) XXX_DiscardUnknown()
- func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VersionRequest) XXX_Merge(src proto.Message)
- func (m *VersionRequest) XXX_Size() int
- func (m *VersionRequest) 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) GetVersion(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionReply, 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) GetVersion(context.Context, *VersionRequest) (*VersionReply, 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 ¶
type VersionReply ¶ added in v0.2.0
type VersionReply struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VersionReply) Descriptor ¶ added in v0.2.0
func (*VersionReply) Descriptor() ([]byte, []int)
func (*VersionReply) GetVersion ¶ added in v0.2.0
func (m *VersionReply) GetVersion() string
func (*VersionReply) ProtoMessage ¶ added in v0.2.0
func (*VersionReply) ProtoMessage()
func (*VersionReply) Reset ¶ added in v0.2.0
func (m *VersionReply) Reset()
func (*VersionReply) String ¶ added in v0.2.0
func (m *VersionReply) String() string
func (*VersionReply) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *VersionReply) XXX_DiscardUnknown()
func (*VersionReply) XXX_Marshal ¶ added in v0.2.0
func (m *VersionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionReply) XXX_Merge ¶ added in v0.2.0
func (m *VersionReply) XXX_Merge(src proto.Message)
func (*VersionReply) XXX_Size ¶ added in v0.2.0
func (m *VersionReply) XXX_Size() int
func (*VersionReply) XXX_Unmarshal ¶ added in v0.2.0
func (m *VersionReply) XXX_Unmarshal(b []byte) error
type VersionRequest ¶ added in v0.2.0
type VersionRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*VersionRequest) Descriptor ¶ added in v0.2.0
func (*VersionRequest) Descriptor() ([]byte, []int)
func (*VersionRequest) ProtoMessage ¶ added in v0.2.0
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) Reset ¶ added in v0.2.0
func (m *VersionRequest) Reset()
func (*VersionRequest) String ¶ added in v0.2.0
func (m *VersionRequest) String() string
func (*VersionRequest) XXX_DiscardUnknown ¶ added in v0.2.0
func (m *VersionRequest) XXX_DiscardUnknown()
func (*VersionRequest) XXX_Marshal ¶ added in v0.2.0
func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VersionRequest) XXX_Merge ¶ added in v0.2.0
func (m *VersionRequest) XXX_Merge(src proto.Message)
func (*VersionRequest) XXX_Size ¶ added in v0.2.0
func (m *VersionRequest) XXX_Size() int
func (*VersionRequest) XXX_Unmarshal ¶ added in v0.2.0
func (m *VersionRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.