Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶ added in v1.27.0
type Provider struct { VersionReporterInvocations int VersionReporterStub func() version.Reporter VersionReporterOutputs []version.Reporter VersionReporterOutput *version.Reporter ConfigReporterInvocations int ConfigReporterStub func() config.Reporter ConfigReporterOutputs []config.Reporter ConfigReporterOutput *config.Reporter LoggerInvocations int LoggerStub func() log.Logger LoggerOutputs []log.Logger LoggerOutput *log.Logger PrefixInvocations int PrefixStub func() string PrefixOutputs []string PrefixOutput *string NameInvocations int NameStub func() string NameOutputs []string NameOutput *string UserAgentInvocations int UserAgentStub func() string UserAgentOutputs []string UserAgentOutput *string }
func NewProvider ¶ added in v1.27.0
func NewProvider() *Provider
func NewProviderWithDefaults ¶ added in v1.27.0
func NewProviderWithDefaults() *Provider
func (*Provider) AssertOutputsEmpty ¶ added in v1.27.0
func (p *Provider) AssertOutputsEmpty()
func (*Provider) ConfigReporter ¶ added in v1.27.0
func (*Provider) VersionReporter ¶ added in v1.27.0
type Runner ¶
type Runner struct { InitializeInvocations int InitializeInputs []application.Provider InitializeStub func(provider application.Provider) error InitializeOutputs []error InitializeOutput *error TerminateInvocations int TerminateStub func() RunInvocations int RunStub func() error RunOutputs []error RunOutput *error }
func (*Runner) AssertOutputsEmpty ¶ added in v1.27.0
func (r *Runner) AssertOutputsEmpty()
func (*Runner) Initialize ¶
func (r *Runner) Initialize(provider application.Provider) error
Click to show internal directories.
Click to hide internal directories.