node

package
v0.0.0-...-6e34d32 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientConn

type ClientConn struct {
	Addr string
	Port string
	TLS  *tls.Config

	AppDeploySvcCli   *gclients.ApplicationDeploymentServiceClient
	AppLifeSvcCli     *gclients.ApplicationLifecycleServiceClient
	AppPolicySvcCli   *gclients.ApplicationPolicyServiceClient
	IfacePolicySvcCli *gclients.InterfacePolicyServiceClient
	IfaceSvcCli       *gclients.InterfaceServiceClient
	DNSSvcCli         *gclients.DNSServiceClient
	ZoneSvcCli        *gclients.ZoneServiceClient
	// contains filtered or unexported fields
}

ClientConn wraps a Node and provides a Connect() method to create wrapped gRPC clients.

func (*ClientConn) Connect

func (cc *ClientConn) Connect(ctx context.Context) error

Connect connects to a node via grpc.Dial.

func (*ClientConn) Disconnect

func (cc *ClientConn) Disconnect()

Jump to

Keyboard shortcuts

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