cloudprovidervsphere

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 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)
	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) 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

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

Jump to

Keyboard shortcuts

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