userd_trafficmgr

package
v2.4.10-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 53 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)
}

type Installer added in v2.4.7

type Installer interface {
	userd_k8s.ResourceFinder
	EnsureAgent(c context.Context, obj kates.Object, svcName, portNameOrNumber, agentImageName string, telepresenceAPIPort uint16) (string, string, error)
	EnsureManager(c context.Context) error
	RemoveManagerAndAgents(c context.Context, agentsOnly bool, agents []*manager.AgentInfo) error
}

func NewTrafficManagerInstaller added in v2.4.7

func NewTrafficManagerInstaller(kc *userd_k8s.Cluster) (Installer, error)

Jump to

Keyboard shortcuts

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