apps

package
v0.0.0-...-5d42de7 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

App struct

func NewApp

func NewApp(config *protoform.Config, kubeConfig *rest.Config) *App

NewApp will return an App

func (*App) Alert

func (a *App) Alert() *alert.Alert

Alert will return an Alert

func (*App) Blackduck

func (a *App) Blackduck() *blackduck.Blackduck

Blackduck will return a Blackduck

type Mongo

type Mongo struct {
	Namespace              string
	PVCName                string
	Port                   int32
	Image                  string
	MinCPU                 string
	MaxCPU                 string
	MinMemory              string
	MaxMemory              string
	Database               string
	User                   string
	PasswordSecretName     string
	UserPasswordSecretKey  string
	AdminPasswordSecretKey string
	EnvConfigMapRefs       []string
	Labels                 map[string]string
}

Mongo will provide the Mongo container configuration

func (*Mongo) GetMongoReplicationController

func (p *Mongo) GetMongoReplicationController() (*components.ReplicationController, error)

GetMongoReplicationController will return the Mongo replication controller

func (*Mongo) GetMongoService

func (p *Mongo) GetMongoService() *components.Service

GetMongoService will return the Mongo service

Jump to

Keyboard shortcuts

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