metadata

package
v1.15.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cell = cell.Module(
	"ipam-metadata-manager",
	"Provides IPAM metadata",

	cell.Provide(newIPAMMetadataManager),
)

Functions

This section is empty.

Types

type Manager

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

func (*Manager) GetIPPoolForPod

func (m *Manager) GetIPPoolForPod(owner string, family ipam.Family) (pool string, err error)

func (*Manager) Start

func (m *Manager) Start(ctx cell.HookContext) (err error)

func (*Manager) Stop

func (m *Manager) Stop(ctx cell.HookContext) error

type ManagerStoppedError

type ManagerStoppedError struct{}

func (*ManagerStoppedError) Error

func (m *ManagerStoppedError) Error() string

type ResourceNotFound

type ResourceNotFound struct {
	Resource  string
	Name      string
	Namespace string
}

func (*ResourceNotFound) Error

func (r *ResourceNotFound) Error() string

func (*ResourceNotFound) Is

func (r *ResourceNotFound) Is(target error) bool

Jump to

Keyboard shortcuts

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