app_create

package
v3.10.32-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2018 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppCreateName = "AppCreate"

	AppCreateProjectBaseDefault                 = "openshift-diagnostic-appcreate-"
	AppCreateAppNameDefault                     = "diagnostic-appcreate"
	AppCreateAppPortDefault                     = 8080
	AppCreateTimeoutDefault               int64 = 120
	AppCreateHttpTimeoutDefault           int64 = 500
	AppCreateHttpRetriesDefault                 = 10
	AppCreateRouteAdmissionTimeoutDefault int64 = 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppCreate

type AppCreate struct {
	PreventModification bool
	KubeClient          kclientset.Interface
	ProjectClient       projectclient.ProjectInterface
	RouteClient         *routeclient.Clientset
	RoleBindingClient   oauthorizationtypedclient.RoleBindingsGetter
	AppsClient          *appsclient.Clientset
	SARClient           authorizationtypedclient.SelfSubjectAccessReviewsGetter
	Factory             *osclientcmd.Factory
	// contains filtered or unexported fields
}

AppCreate is a Diagnostic to create an application and test that it deploys correctly.

func NewDefaultAppCreateDiagnostic

func NewDefaultAppCreateDiagnostic() *AppCreate

func (*AppCreate) AvailableParameters

func (d *AppCreate) AvailableParameters() []types.Parameter

func (*AppCreate) CanRun

func (d *AppCreate) CanRun() (bool, error)

func (*AppCreate) Check

func (d *AppCreate) Check() types.DiagnosticResult

func (*AppCreate) Complete

func (d *AppCreate) Complete(logger *log.Logger) error

func (*AppCreate) Description

func (d *AppCreate) Description() string

func (*AppCreate) Name

func (d *AppCreate) Name() string

func (*AppCreate) Requirements

func (d *AppCreate) Requirements() (client bool, host bool)

Jump to

Keyboard shortcuts

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