startupchecker

package
v0.0.0-...-fb356ce Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthVerifier

type AuthVerifier interface {
	VerifyAuth(*log.Logger) error
}

type BOSHAuthChecker

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

func NewBOSHAuthChecker

func NewBOSHAuthChecker(authVerifier AuthVerifier, logger *log.Logger) *BOSHAuthChecker

func (*BOSHAuthChecker) Check

func (c *BOSHAuthChecker) Check() error

type BOSHDirectorVersionChecker

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

func NewBOSHDirectorVersionChecker

func NewBOSHDirectorVersionChecker(
	minimumMajorStemcellDirectorVersionForODB int,
	minimumMajorSemverDirectorVersionForLifecycleErrands int,
	boshInfo boshdirector.Info,
	config config.Config,
) *BOSHDirectorVersionChecker

func (*BOSHDirectorVersionChecker) Check

func (c *BOSHDirectorVersionChecker) Check() error

type CFAPIVersionChecker

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

func NewCFAPIVersionChecker

func NewCFAPIVersionChecker(cfClient CFAPIVersionGetter, minimumCFVersion string, logger *log.Logger) *CFAPIVersionChecker

func (*CFAPIVersionChecker) Check

func (c *CFAPIVersionChecker) Check() error

type CFAPIVersionGetter

type CFAPIVersionGetter interface {
	GetAPIVersion(logger *log.Logger) (string, error)
}

type CFPlanConsistencyChecker

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

func NewCFPlanConsistencyChecker

func NewCFPlanConsistencyChecker(cfClient ServiceInstanceCounter, serviceOffering config.ServiceOffering, logger *log.Logger) *CFPlanConsistencyChecker

func (*CFPlanConsistencyChecker) Check

func (c *CFPlanConsistencyChecker) Check() error

type ServiceInstanceCounter

type ServiceInstanceCounter interface {
	CountInstancesOfServiceOffering(serviceOfferingID string, logger *log.Logger) (instanceCountByPlanID map[cf.ServicePlan]int, err error)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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