metallb

package
v0.6.3-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetIPAddressUsage(ctx context.Context) (uint, uint, error)
	GetIPAddressStatusForLease(ctx context.Context, leaseID mtypes.LeaseID) ([]cip.LeaseState, error)

	CreateIPPassthrough(ctx context.Context, directive cip.ClusterIPPassthroughDirective) error
	PurgeIPPassthrough(ctx context.Context, directive cip.ClusterIPPassthroughDirective) error
	GetIPPassthroughs(ctx context.Context) ([]cip.Passthrough, error)
	DetectPoolChanges(ctx context.Context) (<-chan struct{}, error)

	Stop()
}

func NewClient

func NewClient(ctx context.Context, logger log.Logger, poolName string, endpoint *net.SRV) (Client, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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