hosts

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewHostAliasUpdater = func(clientSet kubernetes.Interface, cesReg registry.Registry) HostAliasUpdater {
	return &defaultHostAliasUpdater{
		generator: alias.NewHostAliasGenerator(cesReg.GlobalConfig()),
		fetcher:   dogu.NewDeploymentFetcher(clientSet),
		updater:   deployment.NewUpdater(clientSet),
	}
}

NewHostAliasUpdater is used to create a new instance of defaultHostAliasUpdater.

Functions

This section is empty.

Types

type HostAliasUpdater

type HostAliasUpdater interface {
	// UpdateHosts updates all dogu deployments with host information like fqdn, internal ip and additional hosts from ces registry.
	UpdateHosts(ctx context.Context, namespace string) error
}

Jump to

Keyboard shortcuts

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