install

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupClusterPackageInstall

func SetupClusterPackageInstall(mgr ctrl.Manager, l logging.Logger, hostControllerNamespace, tsControllerImage string, allowInsecureJob bool) error

SetupClusterPackageInstall adds a controller that reconciles ClusterPackageInstalls.

func SetupPackageInstall

func SetupPackageInstall(mgr ctrl.Manager, l logging.Logger, hostControllerNamespace, tsControllerImage, forceImagePullPolicy string, allowInsecureJob bool) error

SetupPackageInstall adds a controller that reconciles PackageInstalls.

Types

type K8sReader

type K8sReader struct {
	Client kubernetes.Interface
}

K8sReader is a concrete implementation of the podLogReader interface

func (*K8sReader) GetReader

func (r *K8sReader) GetReader(namespace, name string) (io.ReadCloser, error)

GetReader gets a log reader for the specified pod

type Reader

type Reader interface {
	GetReader(namespace, name string) (io.ReadCloser, error)
}

Reader is an interface for reading pod logs

type Reconciler

type Reconciler struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Reconciler reconciles a Instance object

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(req reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the PackageInstall for a Instance object and makes changes based on the state read and what is in the Instance.Spec

Jump to

Keyboard shortcuts

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