install

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 25 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 {
	StackInstallCreator func() (string, func() v1alpha1.StackInstaller)
}

Controller is responsible for adding the StackInstall controller and its corresponding reconciler to the manager with any runtime configuration.

func (*Controller) SetupWithManager

func (c *Controller) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager creates a new Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

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