metallb

package
v0.17.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 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) ([]v1beta2.IPLeaseState, error)

	CreateIPPassthrough(ctx context.Context, directive ctypes.ClusterIPPassthroughDirective) error
	PurgeIPPassthrough(ctx context.Context, directive ctypes.ClusterIPPassthroughDirective) error
	GetIPPassthroughs(ctx context.Context) ([]v1beta2.IPPassthrough, error)

	DetectPoolChanges(ctx context.Context) (<-chan struct{}, error)

	Stop()
}

func NewClient

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

Jump to

Keyboard shortcuts

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