preflight

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitPreflight added in v0.9.11

func InitPreflight() (string, []byte, error)

Types

type MongoOptions added in v0.14.0

type MongoOptions struct {
	MongodbUrl     string
	Username       string
	Password       string
	CaCertFile     string
	ClientCertFile string
	Tls            bool
}

type PreflightOptions added in v0.14.0

type PreflightOptions struct {
	Verbose      bool
	MongoOptions *MongoOptions
}

func (*PreflightOptions) LogVerboseMessage added in v0.14.0

func (p *PreflightOptions) LogVerboseMessage(strMessage string, args ...interface{})

LogVerboseMessage logs a verbose message

type QliksensePreflight

type QliksensePreflight struct {
	Q *qliksense.Qliksense
	P *PreflightOptions
}

func (*QliksensePreflight) CheckCreateRB added in v0.9.18

func (qp *QliksensePreflight) CheckCreateRB(namespace string, kubeConfigContents []byte) error

func (*QliksensePreflight) CheckCreateRole added in v0.9.18

func (qp *QliksensePreflight) CheckCreateRole(namespace string, cleanup bool) error

func (*QliksensePreflight) CheckCreateRoleBinding added in v0.9.18

func (qp *QliksensePreflight) CheckCreateRoleBinding(namespace string, cleanup bool) error

func (*QliksensePreflight) CheckCreateServiceAccount added in v0.9.18

func (qp *QliksensePreflight) CheckCreateServiceAccount(namespace string, cleanup bool) error

func (*QliksensePreflight) CheckDeployment added in v0.9.12

func (qp *QliksensePreflight) CheckDeployment(namespace string, kubeConfigContents []byte, cleanup bool) error

func (*QliksensePreflight) CheckDns

func (qp *QliksensePreflight) CheckDns(namespace string, kubeConfigContents []byte, cleanup bool) error

func (*QliksensePreflight) CheckK8sVersion

func (qp *QliksensePreflight) CheckK8sVersion(namespace string, kubeConfigContents []byte) error

func (*QliksensePreflight) CheckMongo added in v0.9.18

func (qp *QliksensePreflight) CheckMongo(kubeConfigContents []byte, namespace string, preflightOpts *PreflightOptions, cleanup bool) error

func (*QliksensePreflight) CheckPod added in v0.9.12

func (qp *QliksensePreflight) CheckPod(namespace string, kubeConfigContents []byte, cleanup bool) error

func (*QliksensePreflight) CheckService added in v0.9.12

func (qp *QliksensePreflight) CheckService(namespace string, kubeConfigContents []byte, cleanup bool) error

func (*QliksensePreflight) Cleanup added in v0.16.0

func (qp *QliksensePreflight) Cleanup(namespace string, kubeConfigContents []byte) error

func (*QliksensePreflight) GetPreflightConfigObj added in v0.9.13

func (qp *QliksensePreflight) GetPreflightConfigObj() *api.PreflightConfig

func (*QliksensePreflight) RunAllPreflightChecks

func (qp *QliksensePreflight) RunAllPreflightChecks(kubeConfigContents []byte, namespace string, preflightOpts *PreflightOptions) error

Jump to

Keyboard shortcuts

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