userd_trafficmgr

package
v2.4.5 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	_ context.Context,
	cluster *userd_k8s.Cluster,
	installID string,
	callbacks Callbacks,
) (*trafficManager, error)

New returns a TrafficManager resource for the given cluster if it has a Traffic Manager service.

Types

type Callbacks

type Callbacks struct {
	GetCloudAPIKey        func(context.Context, string, bool) (string, error)
	RegisterManagerServer func(server manager.ManagerServer)
	SetOutboundInfo       func(ctx context.Context, in *daemon.OutboundInfo, opts ...grpc.CallOption) (*empty.Empty, error)
}

Jump to

Keyboard shortcuts

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