clustertransfer

package
v0.0.0-...-898015a Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ControllerName  = "clusterTransferController"
	AvailableReason = "PullSecretUpdated"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	controllerstatus.StatusController
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context,
	coreClient corev1client.CoreV1Interface,
	configurator configobserver.Interface,
	insightsClient clusterTransferClient) *Controller

New creates new instance of the cluster transfer controller

func (*Controller) Run

func (c *Controller) Run()

Run periodically queries the OCM API and update pull-secret accordingly

Jump to

Keyboard shortcuts

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