crd

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() string

Types

type Applications added in v0.5.0

type Applications struct {
	LoggingOperator        *loggingoperator.LoggingOperator
	Ambassador             *ambassador.Ambassador
	Prometheus             *prometheus.Prometheus
	PrometheusOperator     *prometheusoperator.PrometheusOperator
	PrometheusNodeExporter *prometheusnodeexporter.PrometheusNodeExporter
	Grafana                *grafana.Grafana
	CertManager            *certmanager.CertManager
	KubeStateMetrics       *kubestatemetrics.KubeStateMetrics
	Argocd                 *argocd.Argocd
}

type Crd

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

func New

func New(logger logging.Logger, toolsetCRD *toolsetsv1beta1.Toolset, toolsDirectoryPath string, toolsets *toolset.Toolsets) (*Crd, error)

func NewWithFunc

func NewWithFunc(logger logging.Logger, getToolset func(obj runtime.Object) error, toolsDirectoryPath string, toolsets *toolset.Toolsets) (*Crd, error)

func (*Crd) CleanUp

func (c *Crd) CleanUp() error

func (*Crd) GetGrafanaConfig added in v0.7.3

func (c *Crd) GetGrafanaConfig(dashboardsfolder string, toolsetCRDSpec *toolsetsv1beta1.ToolsetSpec) *grafana.Config

func (*Crd) NewApplications added in v0.5.0

func (c *Crd) NewApplications(toolsDirectoryPath string) (*Applications, error)

func (*Crd) NewTemplate

func (c *Crd) NewTemplate(new *toolsetsv1beta1.Toolset) bool

func (*Crd) Reconcile

func (c *Crd) Reconcile(new *toolsetsv1beta1.Toolset, toolsDirectoryPath string, toolsets *toolset.Toolsets) error

func (*Crd) ReconcileApplications

func (c *Crd) ReconcileApplications(overlay, toolsDirectoryPath string, toolsetCRDSpec *toolsetsv1beta1.ToolsetSpec) error

func (*Crd) ReconcileWithFunc

func (c *Crd) ReconcileWithFunc(getToolset func(obj runtime.Object) error, toolsDirectoryPath string, toolsets *toolset.Toolsets) error

func (*Crd) ScrapeMetricsCrdsConfig added in v0.4.3

func (c *Crd) ScrapeMetricsCrdsConfig(toolsetCRDSpec *toolsetsv1beta1.ToolsetSpec) (*prometheus.Config, string, error)

Jump to

Keyboard shortcuts

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