cloudprovidervsphere

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

func (*Node) GetAddresses

func (m *Node) GetAddresses() []string

func (*Node) GetDatacenter

func (m *Node) GetDatacenter() string

func (*Node) GetDnsnames

func (m *Node) GetDnsnames() []string

func (*Node) GetName

func (m *Node) GetName() string

func (*Node) GetUuid

func (m *Node) GetUuid() string

func (*Node) GetVcenter

func (m *Node) GetVcenter() string

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

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

func (*Node) XXX_Merge

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

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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