userd_trafficmgr

package
v2.4.1-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	_ context.Context,
	env client.Env,
	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)
	SetClient       func(client manager.ManagerClient, callOptions ...grpc.CallOption)
	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