app

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 31 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ReadHeaderTimeout   = 60 * time.Second
	LeaseInformerResync = time.Second * 10
)

Variables

This section is empty.

Functions

func NewAgentCommand

func NewAgentCommand(a *Agent, o *options.GrpcProxyAgentOptions) *cobra.Command

func SetupSignalHandler added in v0.31.0

func SetupSignalHandler() (drainCh, stopCh <-chan struct{})

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

func (*Agent) ClientSet added in v0.29.0

func (a *Agent) ClientSet() *agent.ClientSet

ClientSet exposes internal state for testing.

func (*Agent) Run added in v0.29.0

func (a *Agent) Run(o *options.GrpcProxyAgentOptions, drainCh, stopCh <-chan struct{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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