controller

package
v0.0.0-...-02d1e04 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIStringTypeEnvironment = "environments"
)

Variables

This section is empty.

Functions

func ConvertEnvironment

func ConvertEnvironment(env *environment.Environment) *app.Environment

func ConvertEnvironments

func ConvertEnvironments(envs []*environment.Environment) *app.EnvironmentsList

Types

type DBChecker

type DBChecker interface {
	Ping() error
}

func NewGormDBChecker

func NewGormDBChecker(db *gorm.DB) DBChecker

type EnvironmentController

type EnvironmentController struct {
	*goa.Controller
	// contains filtered or unexported fields
}

func NewEnvironmentController

func NewEnvironmentController(service *goa.Service, db application.DB, authService auth.AuthService, clusterService clusterclient.Service) *EnvironmentController

func (*EnvironmentController) Create

func (*EnvironmentController) List

func (*EnvironmentController) Show

type GormDBChecker

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

func (*GormDBChecker) Ping

func (c *GormDBChecker) Ping() error

type StatusController

type StatusController struct {
	*goa.Controller
	// contains filtered or unexported fields
}

func NewStatusController

func NewStatusController(service *goa.Service, dbChecker DBChecker, config statusConfig) *StatusController

func (*StatusController) Show

Jump to

Keyboard shortcuts

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