fakes

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiCliAdapter

type ApiCliAdapter struct {
	SetApiWithSslStub func(api string) error

	SetApiWithoutSslStub func(api string) error

	AuthStub func(user, password string) error
	// contains filtered or unexported fields
}

func (*ApiCliAdapter) Auth

func (fake *ApiCliAdapter) Auth(user string, password string) error

func (*ApiCliAdapter) AuthArgsForCall

func (fake *ApiCliAdapter) AuthArgsForCall(i int) (string, string)

func (*ApiCliAdapter) AuthCallCount

func (fake *ApiCliAdapter) AuthCallCount() int

func (*ApiCliAdapter) AuthReturns

func (fake *ApiCliAdapter) AuthReturns(result1 error)

func (*ApiCliAdapter) Invocations

func (fake *ApiCliAdapter) Invocations() map[string][][]interface{}

func (*ApiCliAdapter) SetApiWithSsl

func (fake *ApiCliAdapter) SetApiWithSsl(api string) error

func (*ApiCliAdapter) SetApiWithSslArgsForCall

func (fake *ApiCliAdapter) SetApiWithSslArgsForCall(i int) string

func (*ApiCliAdapter) SetApiWithSslCallCount

func (fake *ApiCliAdapter) SetApiWithSslCallCount() int

func (*ApiCliAdapter) SetApiWithSslReturns

func (fake *ApiCliAdapter) SetApiWithSslReturns(result1 error)

func (*ApiCliAdapter) SetApiWithoutSsl

func (fake *ApiCliAdapter) SetApiWithoutSsl(api string) error

func (*ApiCliAdapter) SetApiWithoutSslArgsForCall

func (fake *ApiCliAdapter) SetApiWithoutSslArgsForCall(i int) string

func (*ApiCliAdapter) SetApiWithoutSslCallCount

func (fake *ApiCliAdapter) SetApiWithoutSslCallCount() int

func (*ApiCliAdapter) SetApiWithoutSslReturns

func (fake *ApiCliAdapter) SetApiWithoutSslReturns(result1 error)

type CheckCLIAdapter

type CheckCLIAdapter struct {
	CheckAppStub func(name string) ([]byte, error)

	AppGuidStub func(name string) (string, error)
	// contains filtered or unexported fields
}

func (*CheckCLIAdapter) AppGuid

func (fake *CheckCLIAdapter) AppGuid(name string) (string, error)

func (*CheckCLIAdapter) AppGuidArgsForCall

func (fake *CheckCLIAdapter) AppGuidArgsForCall(i int) string

func (*CheckCLIAdapter) AppGuidCallCount

func (fake *CheckCLIAdapter) AppGuidCallCount() int

func (*CheckCLIAdapter) AppGuidReturns

func (fake *CheckCLIAdapter) AppGuidReturns(result1 string, result2 error)

func (*CheckCLIAdapter) CheckApp

func (fake *CheckCLIAdapter) CheckApp(name string) ([]byte, error)

func (*CheckCLIAdapter) CheckAppArgsForCall

func (fake *CheckCLIAdapter) CheckAppArgsForCall(i int) string

func (*CheckCLIAdapter) CheckAppCallCount

func (fake *CheckCLIAdapter) CheckAppCallCount() int

func (*CheckCLIAdapter) CheckAppReturns

func (fake *CheckCLIAdapter) CheckAppReturns(result1 []byte, result2 error)

func (*CheckCLIAdapter) Invocations

func (fake *CheckCLIAdapter) Invocations() map[string][][]interface{}

type ManifestGenerator

type ManifestGenerator struct {
	GenerateStub func(manifestStruct interface{}) (string, error)
	// contains filtered or unexported fields
}

func (*ManifestGenerator) Generate

func (fake *ManifestGenerator) Generate(manifestStruct interface{}) (string, error)

func (*ManifestGenerator) GenerateArgsForCall

func (fake *ManifestGenerator) GenerateArgsForCall(i int) interface{}

func (*ManifestGenerator) GenerateCallCount

func (fake *ManifestGenerator) GenerateCallCount() int

func (*ManifestGenerator) GenerateReturns

func (fake *ManifestGenerator) GenerateReturns(result1 string, result2 error)

func (*ManifestGenerator) Invocations

func (fake *ManifestGenerator) Invocations() map[string][][]interface{}

type OrgDeleterCli

type OrgDeleterCli struct {
	DeleteOrgStub func(name string) error
	// contains filtered or unexported fields
}

func (*OrgDeleterCli) DeleteOrg

func (fake *OrgDeleterCli) DeleteOrg(name string) error

func (*OrgDeleterCli) DeleteOrgArgsForCall

func (fake *OrgDeleterCli) DeleteOrgArgsForCall(i int) string

func (*OrgDeleterCli) DeleteOrgCallCount

func (fake *OrgDeleterCli) DeleteOrgCallCount() int

func (*OrgDeleterCli) DeleteOrgReturns

func (fake *OrgDeleterCli) DeleteOrgReturns(result1 error)

func (*OrgDeleterCli) Invocations

func (fake *OrgDeleterCli) Invocations() map[string][][]interface{}

type OrgSpaceCli

type OrgSpaceCli struct {
	CreateOrgStub func(name string) error

	CreateSpaceStub func(name string) error

	TargetOrgStub func(name string) error

	TargetSpaceStub func(name string) error
	// contains filtered or unexported fields
}

func (*OrgSpaceCli) CreateOrg

func (fake *OrgSpaceCli) CreateOrg(name string) error

func (*OrgSpaceCli) CreateOrgArgsForCall

func (fake *OrgSpaceCli) CreateOrgArgsForCall(i int) string

func (*OrgSpaceCli) CreateOrgCallCount

func (fake *OrgSpaceCli) CreateOrgCallCount() int

func (*OrgSpaceCli) CreateOrgReturns

func (fake *OrgSpaceCli) CreateOrgReturns(result1 error)

func (*OrgSpaceCli) CreateSpace

func (fake *OrgSpaceCli) CreateSpace(name string) error

func (*OrgSpaceCli) CreateSpaceArgsForCall

func (fake *OrgSpaceCli) CreateSpaceArgsForCall(i int) string

func (*OrgSpaceCli) CreateSpaceCallCount

func (fake *OrgSpaceCli) CreateSpaceCallCount() int

func (*OrgSpaceCli) CreateSpaceReturns

func (fake *OrgSpaceCli) CreateSpaceReturns(result1 error)

func (*OrgSpaceCli) Invocations

func (fake *OrgSpaceCli) Invocations() map[string][][]interface{}

func (*OrgSpaceCli) TargetOrg

func (fake *OrgSpaceCli) TargetOrg(name string) error

func (*OrgSpaceCli) TargetOrgArgsForCall

func (fake *OrgSpaceCli) TargetOrgArgsForCall(i int) string

func (*OrgSpaceCli) TargetOrgCallCount

func (fake *OrgSpaceCli) TargetOrgCallCount() int

func (*OrgSpaceCli) TargetOrgReturns

func (fake *OrgSpaceCli) TargetOrgReturns(result1 error)

func (*OrgSpaceCli) TargetSpace

func (fake *OrgSpaceCli) TargetSpace(name string) error

func (*OrgSpaceCli) TargetSpaceArgsForCall

func (fake *OrgSpaceCli) TargetSpaceArgsForCall(i int) string

func (*OrgSpaceCli) TargetSpaceCallCount

func (fake *OrgSpaceCli) TargetSpaceCallCount() int

func (*OrgSpaceCli) TargetSpaceReturns

func (fake *OrgSpaceCli) TargetSpaceReturns(result1 error)

type PushCLIAdapter

type PushCLIAdapter struct {
	PushStub func(name, directory, manifestFile string) error
	// contains filtered or unexported fields
}

func (*PushCLIAdapter) Invocations

func (fake *PushCLIAdapter) Invocations() map[string][][]interface{}

func (*PushCLIAdapter) Push

func (fake *PushCLIAdapter) Push(name string, directory string, manifestFile string) error

func (*PushCLIAdapter) PushArgsForCall

func (fake *PushCLIAdapter) PushArgsForCall(i int) (string, string, string)

func (*PushCLIAdapter) PushCallCount

func (fake *PushCLIAdapter) PushCallCount() int

func (*PushCLIAdapter) PushReturns

func (fake *PushCLIAdapter) PushReturns(result1 error)

Jump to

Keyboard shortcuts

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