Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppDefinition

type AppDefinition struct {
	ManifestPath  string `json:"manifestPath"`
	AppNamePrefix string `json:"appNamePrefix"`
	AppCount      int    `json:"appCount"`
}

type Config

type Config interface {
	NumBatches() int
	MaxInFlight() int
	MaxPollingErrors() int
	// Tolerance() float64
	AppPayload() string
	Prefix() string
	Domain() string
	UseTLS() bool
	SkipVerifyCertificate() bool
	// ConfigFile() string
	OutputFile() string
	Timeout() time.Duration
	TotalAppCount() int
	MaxAllowedFailures() int
	AppTypes() []AppDefinition
}

    go:generate counterfeiter -o fakes/fake_config.go . Config

    func NewConfig

    func NewConfig(
    	logger lager.Logger,
    	cfClient cli.CFClient,
    	numBatches, maxInFlight, maxPollingErrors int,
    	tolerance float64,
    	appPayload, prefix, domain, configFile, outputFile string,
    	timeout time.Duration,
    	useTLS, skipVerifyCertificate bool,
    ) (Config, error)

    Source Files

    Directories

    Path Synopsis
    This file was generated by counterfeiter
    This file was generated by counterfeiter