Documentation ¶
Index ¶
- func RegisterCloudProviderVsphereServer(s *grpc.Server, srv CloudProviderVsphereServer)
- type CloudProviderVsphereClient
- type CloudProviderVsphereServer
- type GetNodeReply
- func (*GetNodeReply) Descriptor() ([]byte, []int)
- func (m *GetNodeReply) GetError() string
- func (m *GetNodeReply) GetNode() *Node
- func (*GetNodeReply) ProtoMessage()
- func (m *GetNodeReply) Reset()
- func (m *GetNodeReply) String() string
- func (m *GetNodeReply) XXX_DiscardUnknown()
- func (m *GetNodeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNodeReply) XXX_Merge(src proto.Message)
- func (m *GetNodeReply) XXX_Size() int
- func (m *GetNodeReply) XXX_Unmarshal(b []byte) error
- type GetNodeRequest
- func (*GetNodeRequest) Descriptor() ([]byte, []int)
- func (m *GetNodeRequest) GetUuid() string
- func (*GetNodeRequest) ProtoMessage()
- func (m *GetNodeRequest) Reset()
- func (m *GetNodeRequest) String() string
- func (m *GetNodeRequest) XXX_DiscardUnknown()
- func (m *GetNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNodeRequest) XXX_Merge(src proto.Message)
- func (m *GetNodeRequest) XXX_Size() int
- func (m *GetNodeRequest) XXX_Unmarshal(b []byte) error
- 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 UnimplementedCloudProviderVsphereServer
- func (*UnimplementedCloudProviderVsphereServer) GetNode(ctx context.Context, req *GetNodeRequest) (*GetNodeReply, error)
- func (*UnimplementedCloudProviderVsphereServer) GetVersion(ctx context.Context, req *VersionRequest) (*VersionReply, error)
- func (*UnimplementedCloudProviderVsphereServer) ListNodes(ctx context.Context, req *ListNodesRequest) (*ListNodesReply, 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 { GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeReply, error) 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 { GetNode(context.Context, *GetNodeRequest) (*GetNodeReply, error) ListNodes(context.Context, *ListNodesRequest) (*ListNodesReply, error) GetVersion(context.Context, *VersionRequest) (*VersionReply, error) }
CloudProviderVsphereServer is the server API for CloudProviderVsphere service.
type GetNodeReply ¶ added in v1.1.0
type GetNodeReply struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,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 (*GetNodeReply) Descriptor ¶ added in v1.1.0
func (*GetNodeReply) Descriptor() ([]byte, []int)
func (*GetNodeReply) GetError ¶ added in v1.1.0
func (m *GetNodeReply) GetError() string
func (*GetNodeReply) GetNode ¶ added in v1.1.0
func (m *GetNodeReply) GetNode() *Node
func (*GetNodeReply) ProtoMessage ¶ added in v1.1.0
func (*GetNodeReply) ProtoMessage()
func (*GetNodeReply) Reset ¶ added in v1.1.0
func (m *GetNodeReply) Reset()
func (*GetNodeReply) String ¶ added in v1.1.0
func (m *GetNodeReply) String() string
func (*GetNodeReply) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *GetNodeReply) XXX_DiscardUnknown()
func (*GetNodeReply) XXX_Marshal ¶ added in v1.1.0
func (m *GetNodeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNodeReply) XXX_Merge ¶ added in v1.1.0
func (m *GetNodeReply) XXX_Merge(src proto.Message)
func (*GetNodeReply) XXX_Size ¶ added in v1.1.0
func (m *GetNodeReply) XXX_Size() int
func (*GetNodeReply) XXX_Unmarshal ¶ added in v1.1.0
func (m *GetNodeReply) XXX_Unmarshal(b []byte) error
type GetNodeRequest ¶ added in v1.1.0
type GetNodeRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetNodeRequest) Descriptor ¶ added in v1.1.0
func (*GetNodeRequest) Descriptor() ([]byte, []int)
func (*GetNodeRequest) GetUuid ¶ added in v1.1.0
func (m *GetNodeRequest) GetUuid() string
func (*GetNodeRequest) ProtoMessage ¶ added in v1.1.0
func (*GetNodeRequest) ProtoMessage()
func (*GetNodeRequest) Reset ¶ added in v1.1.0
func (m *GetNodeRequest) Reset()
func (*GetNodeRequest) String ¶ added in v1.1.0
func (m *GetNodeRequest) String() string
func (*GetNodeRequest) XXX_DiscardUnknown ¶ added in v1.1.0
func (m *GetNodeRequest) XXX_DiscardUnknown()
func (*GetNodeRequest) XXX_Marshal ¶ added in v1.1.0
func (m *GetNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNodeRequest) XXX_Merge ¶ added in v1.1.0
func (m *GetNodeRequest) XXX_Merge(src proto.Message)
func (*GetNodeRequest) XXX_Size ¶ added in v1.1.0
func (m *GetNodeRequest) XXX_Size() int
func (*GetNodeRequest) XXX_Unmarshal ¶ added in v1.1.0
func (m *GetNodeRequest) XXX_Unmarshal(b []byte) error
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 UnimplementedCloudProviderVsphereServer ¶ added in v1.1.0
type UnimplementedCloudProviderVsphereServer struct { }
UnimplementedCloudProviderVsphereServer can be embedded to have forward compatible implementations.
func (*UnimplementedCloudProviderVsphereServer) GetNode ¶ added in v1.1.0
func (*UnimplementedCloudProviderVsphereServer) GetNode(ctx context.Context, req *GetNodeRequest) (*GetNodeReply, error)
func (*UnimplementedCloudProviderVsphereServer) GetVersion ¶ added in v1.1.0
func (*UnimplementedCloudProviderVsphereServer) GetVersion(ctx context.Context, req *VersionRequest) (*VersionReply, error)
func (*UnimplementedCloudProviderVsphereServer) ListNodes ¶ added in v1.1.0
func (*UnimplementedCloudProviderVsphereServer) ListNodes(ctx context.Context, req *ListNodesRequest) (*ListNodesReply, error)
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.