controller

package
v0.0.0-...-ebef5bb Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2018 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrUpdateChartMgr

func CreateOrUpdateChartMgr(chartmgr *crv1alpha1.ChartManager, client *lmhelm.Client) (*lmhelm.Release, error)

CreateOrUpdateChartMgr creates a Chart Manager

func DeleteChartMgr

func DeleteChartMgr(chartmgr *crv1alpha1.ChartManager, client *lmhelm.Client) (*lmhelm.Release, error)

DeleteChartMgr deletes a Chart Manager

Types

type Controller

type Controller struct {
	*chartmgrclient.Client
	ChartMgrScheme *runtime.Scheme
	Config         *config.Config
	HelmClient     *lmhelm.Client
}

Controller is the Kubernetes controller object for LogicMonitor chartmgrs.

func New

func New(chartmgrconfig *config.Config) (*Controller, error)

New instantiates and returns a Controller and an error if any.

func (*Controller) Run

func (c *Controller) Run(ctx context.Context) error

Run starts a Chart Manager resource controller.

Jump to

Keyboard shortcuts

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