install

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupClusterStackInstall added in v0.8.0

func SetupClusterStackInstall(mgr ctrl.Manager, l logging.Logger, hostControllerNamespace, tsControllerImage string) error

SetupClusterStackInstall adds a controller that reconciles ClusterStackInstalls.

func SetupStackInstall added in v0.8.0

func SetupStackInstall(mgr ctrl.Manager, l logging.Logger, hostControllerNamespace, tsControllerImage string) error

SetupStackInstall adds a controller that reconciles StackInstalls.

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 StackInstall 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