catapult

package
v0.17.6 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catapult

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

func New

func New(client kubernetes.Client, options CatapultOptions) (*Catapult, error)

func (*Catapult) Refresh

func (c *Catapult) Refresh(ctx context.Context) error

func (*Catapult) Start

func (c *Catapult) Start(ctx context.Context) error

type CatapultOptions

type CatapultOptions struct {
	Scope      string
	Namespaces []string

	Logger *slog.Logger

	AddFunc    func(address string, hosts []string, ports []int)
	DeleteFunc func(address string, hosts []string, ports []int)
}

Jump to

Keyboard shortcuts

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