clusterinfo

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterClusterInfoServer

func RegisterClusterInfoServer(s *grpc.Server, srv ClusterInfoServer)

Types

type ClusterInfoClient

type ClusterInfoClient interface {
	GetNodeIPConfiguration(ctx context.Context, in *NodeIPConfiguration, opts ...grpc.CallOption) (*NodeIPConfiguration, error)
}

ClusterInfoClient is the client API for ClusterInfo service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewClusterInfoClient

func NewClusterInfoClient(cc *grpc.ClientConn) ClusterInfoClient

type ClusterInfoServer

type ClusterInfoServer interface {
	GetNodeIPConfiguration(context.Context, *NodeIPConfiguration) (*NodeIPConfiguration, error)
}

ClusterInfoServer is the server API for ClusterInfo service.

type NodeIPConfiguration

type NodeIPConfiguration struct {
	NodeName             string   `protobuf:"bytes,1,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
	InternalIP           string   `protobuf:"bytes,2,opt,name=internalIP,proto3" json:"internalIP,omitempty"`
	ExternalIP           string   `protobuf:"bytes,3,opt,name=externalIP,proto3" json:"externalIP,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeIPConfiguration) Descriptor

func (*NodeIPConfiguration) Descriptor() ([]byte, []int)

func (*NodeIPConfiguration) GetExternalIP

func (m *NodeIPConfiguration) GetExternalIP() string

func (*NodeIPConfiguration) GetInternalIP

func (m *NodeIPConfiguration) GetInternalIP() string

func (*NodeIPConfiguration) GetNodeName

func (m *NodeIPConfiguration) GetNodeName() string

func (*NodeIPConfiguration) ProtoMessage

func (*NodeIPConfiguration) ProtoMessage()

func (*NodeIPConfiguration) Reset

func (m *NodeIPConfiguration) Reset()

func (*NodeIPConfiguration) String

func (m *NodeIPConfiguration) String() string

func (*NodeIPConfiguration) XXX_DiscardUnknown

func (m *NodeIPConfiguration) XXX_DiscardUnknown()

func (*NodeIPConfiguration) XXX_Marshal

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

func (*NodeIPConfiguration) XXX_Merge

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

func (*NodeIPConfiguration) XXX_Size

func (m *NodeIPConfiguration) XXX_Size() int

func (*NodeIPConfiguration) XXX_Unmarshal

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

type UnimplementedClusterInfoServer

type UnimplementedClusterInfoServer struct {
}

UnimplementedClusterInfoServer can be embedded to have forward compatible implementations.

func (*UnimplementedClusterInfoServer) GetNodeIPConfiguration

Jump to

Keyboard shortcuts

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