operator

package
v0.0.0-...-1c6c245 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller keeps track of openshift image registry components.

func NewController

func NewController(kubeconfig *restclient.Config) (*Controller, error)

NewController returns a controller for openshift image registry objects.

This controller keeps track of resources needed in order to have openshift internal registry working.

func (*Controller) Bootstrap

func (c *Controller) Bootstrap() error

Bootstrap registers this operator with OpenShift by creating an appropriate ClusterOperator custom resource. This function also creates the initial configuration for the Image Registry.

func (*Controller) RemoveResources

func (c *Controller) RemoveResources(o *imageregistryv1.Config) error

func (*Controller) Run

func (c *Controller) Run(stopCh <-chan struct{}) error

Run starts the Controller.

Jump to

Keyboard shortcuts

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