fakes

package
Version: v1.0.48 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCFClient

type FakeCFClient struct {
	CreateOrgStub func(cfclient.OrgRequest) (cfclient.Org, error)

	DeleteOrgStub func(string, bool, bool) error

	OrgMetadataStub func(string) (*cfclient.Metadata, error)

	RemoveOrgMetadataStub func(string) error

	SupportsMetadataAPIStub func() (bool, error)

	UnshareOrgPrivateDomainStub func(string, string) error

	UpdateOrgStub func(string, cfclient.OrgRequest) (cfclient.Org, error)

	UpdateOrgMetadataStub func(string, cfclient.Metadata) error
	// contains filtered or unexported fields
}

func (*FakeCFClient) CreateOrg

func (fake *FakeCFClient) CreateOrg(arg1 cfclient.OrgRequest) (cfclient.Org, error)

func (*FakeCFClient) CreateOrgArgsForCall

func (fake *FakeCFClient) CreateOrgArgsForCall(i int) cfclient.OrgRequest

func (*FakeCFClient) CreateOrgCallCount

func (fake *FakeCFClient) CreateOrgCallCount() int

func (*FakeCFClient) CreateOrgCalls added in v1.0.26

func (fake *FakeCFClient) CreateOrgCalls(stub func(cfclient.OrgRequest) (cfclient.Org, error))

func (*FakeCFClient) CreateOrgReturns

func (fake *FakeCFClient) CreateOrgReturns(result1 cfclient.Org, result2 error)

func (*FakeCFClient) CreateOrgReturnsOnCall added in v1.0.26

func (fake *FakeCFClient) CreateOrgReturnsOnCall(i int, result1 cfclient.Org, result2 error)

func (*FakeCFClient) DeleteOrg

func (fake *FakeCFClient) DeleteOrg(arg1 string, arg2 bool, arg3 bool) error

func (*FakeCFClient) DeleteOrgArgsForCall

func (fake *FakeCFClient) DeleteOrgArgsForCall(i int) (string, bool, bool)

func (*FakeCFClient) DeleteOrgCallCount

func (fake *FakeCFClient) DeleteOrgCallCount() int

func (*FakeCFClient) DeleteOrgCalls added in v1.0.26

func (fake *FakeCFClient) DeleteOrgCalls(stub func(string, bool, bool) error)

func (*FakeCFClient) DeleteOrgReturns

func (fake *FakeCFClient) DeleteOrgReturns(result1 error)

func (*FakeCFClient) DeleteOrgReturnsOnCall added in v1.0.26

func (fake *FakeCFClient) DeleteOrgReturnsOnCall(i int, result1 error)

func (*FakeCFClient) Invocations

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

func (*FakeCFClient) OrgMetadata added in v1.0.41

func (fake *FakeCFClient) OrgMetadata(arg1 string) (*cfclient.Metadata, error)

func (*FakeCFClient) OrgMetadataArgsForCall added in v1.0.41

func (fake *FakeCFClient) OrgMetadataArgsForCall(i int) string

func (*FakeCFClient) OrgMetadataCallCount added in v1.0.41

func (fake *FakeCFClient) OrgMetadataCallCount() int

func (*FakeCFClient) OrgMetadataCalls added in v1.0.41

func (fake *FakeCFClient) OrgMetadataCalls(stub func(string) (*cfclient.Metadata, error))

func (*FakeCFClient) OrgMetadataReturns added in v1.0.41

func (fake *FakeCFClient) OrgMetadataReturns(result1 *cfclient.Metadata, result2 error)

func (*FakeCFClient) OrgMetadataReturnsOnCall added in v1.0.41

func (fake *FakeCFClient) OrgMetadataReturnsOnCall(i int, result1 *cfclient.Metadata, result2 error)

func (*FakeCFClient) RemoveOrgMetadata added in v1.0.41

func (fake *FakeCFClient) RemoveOrgMetadata(arg1 string) error

func (*FakeCFClient) RemoveOrgMetadataArgsForCall added in v1.0.41

func (fake *FakeCFClient) RemoveOrgMetadataArgsForCall(i int) string

func (*FakeCFClient) RemoveOrgMetadataCallCount added in v1.0.41

func (fake *FakeCFClient) RemoveOrgMetadataCallCount() int

func (*FakeCFClient) RemoveOrgMetadataCalls added in v1.0.41

func (fake *FakeCFClient) RemoveOrgMetadataCalls(stub func(string) error)

func (*FakeCFClient) RemoveOrgMetadataReturns added in v1.0.41

func (fake *FakeCFClient) RemoveOrgMetadataReturns(result1 error)

func (*FakeCFClient) RemoveOrgMetadataReturnsOnCall added in v1.0.41

func (fake *FakeCFClient) RemoveOrgMetadataReturnsOnCall(i int, result1 error)

func (*FakeCFClient) SupportsMetadataAPI added in v1.0.26

func (fake *FakeCFClient) SupportsMetadataAPI() (bool, error)

func (*FakeCFClient) SupportsMetadataAPICallCount added in v1.0.26

func (fake *FakeCFClient) SupportsMetadataAPICallCount() int

func (*FakeCFClient) SupportsMetadataAPICalls added in v1.0.26

func (fake *FakeCFClient) SupportsMetadataAPICalls(stub func() (bool, error))

func (*FakeCFClient) SupportsMetadataAPIReturns added in v1.0.26

func (fake *FakeCFClient) SupportsMetadataAPIReturns(result1 bool, result2 error)

func (*FakeCFClient) SupportsMetadataAPIReturnsOnCall added in v1.0.26

func (fake *FakeCFClient) SupportsMetadataAPIReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeCFClient) UnshareOrgPrivateDomain

func (fake *FakeCFClient) UnshareOrgPrivateDomain(arg1 string, arg2 string) error

func (*FakeCFClient) UnshareOrgPrivateDomainArgsForCall

func (fake *FakeCFClient) UnshareOrgPrivateDomainArgsForCall(i int) (string, string)

func (*FakeCFClient) UnshareOrgPrivateDomainCallCount

func (fake *FakeCFClient) UnshareOrgPrivateDomainCallCount() int

func (*FakeCFClient) UnshareOrgPrivateDomainCalls added in v1.0.26

func (fake *FakeCFClient) UnshareOrgPrivateDomainCalls(stub func(string, string) error)

func (*FakeCFClient) UnshareOrgPrivateDomainReturns

func (fake *FakeCFClient) UnshareOrgPrivateDomainReturns(result1 error)

func (*FakeCFClient) UnshareOrgPrivateDomainReturnsOnCall added in v1.0.26

func (fake *FakeCFClient) UnshareOrgPrivateDomainReturnsOnCall(i int, result1 error)

func (*FakeCFClient) UpdateOrg

func (fake *FakeCFClient) UpdateOrg(arg1 string, arg2 cfclient.OrgRequest) (cfclient.Org, error)

func (*FakeCFClient) UpdateOrgArgsForCall

func (fake *FakeCFClient) UpdateOrgArgsForCall(i int) (string, cfclient.OrgRequest)

func (*FakeCFClient) UpdateOrgCallCount

func (fake *FakeCFClient) UpdateOrgCallCount() int

func (*FakeCFClient) UpdateOrgCalls added in v1.0.26

func (fake *FakeCFClient) UpdateOrgCalls(stub func(string, cfclient.OrgRequest) (cfclient.Org, error))

func (*FakeCFClient) UpdateOrgMetadata added in v1.0.26

func (fake *FakeCFClient) UpdateOrgMetadata(arg1 string, arg2 cfclient.Metadata) error

func (*FakeCFClient) UpdateOrgMetadataArgsForCall added in v1.0.26

func (fake *FakeCFClient) UpdateOrgMetadataArgsForCall(i int) (string, cfclient.Metadata)

func (*FakeCFClient) UpdateOrgMetadataCallCount added in v1.0.26

func (fake *FakeCFClient) UpdateOrgMetadataCallCount() int

func (*FakeCFClient) UpdateOrgMetadataCalls added in v1.0.26

func (fake *FakeCFClient) UpdateOrgMetadataCalls(stub func(string, cfclient.Metadata) error)

func (*FakeCFClient) UpdateOrgMetadataReturns added in v1.0.26

func (fake *FakeCFClient) UpdateOrgMetadataReturns(result1 error)

func (*FakeCFClient) UpdateOrgMetadataReturnsOnCall added in v1.0.26

func (fake *FakeCFClient) UpdateOrgMetadataReturnsOnCall(i int, result1 error)

func (*FakeCFClient) UpdateOrgReturns

func (fake *FakeCFClient) UpdateOrgReturns(result1 cfclient.Org, result2 error)

func (*FakeCFClient) UpdateOrgReturnsOnCall added in v1.0.26

func (fake *FakeCFClient) UpdateOrgReturnsOnCall(i int, result1 cfclient.Org, result2 error)

type FakeManager

type FakeManager struct {
	CreateOrgsStub func() error

	DeleteOrgsStub func() error

	RenameOrgStub func(string, string) error

	UpdateOrgStub func(string, cfclient.OrgRequest) (cfclient.Org, error)

	UpdateOrgsMetadataStub func() error
	// contains filtered or unexported fields
}

func (*FakeManager) CreateOrgs

func (fake *FakeManager) CreateOrgs() error

func (*FakeManager) CreateOrgsCallCount

func (fake *FakeManager) CreateOrgsCallCount() int

func (*FakeManager) CreateOrgsCalls added in v1.0.26

func (fake *FakeManager) CreateOrgsCalls(stub func() error)

func (*FakeManager) CreateOrgsReturns

func (fake *FakeManager) CreateOrgsReturns(result1 error)

func (*FakeManager) CreateOrgsReturnsOnCall added in v1.0.26

func (fake *FakeManager) CreateOrgsReturnsOnCall(i int, result1 error)

func (*FakeManager) DeleteOrgs

func (fake *FakeManager) DeleteOrgs() error

func (*FakeManager) DeleteOrgsCallCount

func (fake *FakeManager) DeleteOrgsCallCount() int

func (*FakeManager) DeleteOrgsCalls added in v1.0.26

func (fake *FakeManager) DeleteOrgsCalls(stub func() error)

func (*FakeManager) DeleteOrgsReturns

func (fake *FakeManager) DeleteOrgsReturns(result1 error)

func (*FakeManager) DeleteOrgsReturnsOnCall added in v1.0.26

func (fake *FakeManager) DeleteOrgsReturnsOnCall(i int, result1 error)

func (*FakeManager) Invocations

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

func (*FakeManager) RenameOrg added in v1.0.9

func (fake *FakeManager) RenameOrg(arg1 string, arg2 string) error

func (*FakeManager) RenameOrgArgsForCall added in v1.0.9

func (fake *FakeManager) RenameOrgArgsForCall(i int) (string, string)

func (*FakeManager) RenameOrgCallCount added in v1.0.9

func (fake *FakeManager) RenameOrgCallCount() int

func (*FakeManager) RenameOrgCalls added in v1.0.26

func (fake *FakeManager) RenameOrgCalls(stub func(string, string) error)

func (*FakeManager) RenameOrgReturns added in v1.0.9

func (fake *FakeManager) RenameOrgReturns(result1 error)

func (*FakeManager) RenameOrgReturnsOnCall added in v1.0.26

func (fake *FakeManager) RenameOrgReturnsOnCall(i int, result1 error)

func (*FakeManager) UpdateOrg

func (fake *FakeManager) UpdateOrg(arg1 string, arg2 cfclient.OrgRequest) (cfclient.Org, error)

func (*FakeManager) UpdateOrgArgsForCall

func (fake *FakeManager) UpdateOrgArgsForCall(i int) (string, cfclient.OrgRequest)

func (*FakeManager) UpdateOrgCallCount

func (fake *FakeManager) UpdateOrgCallCount() int

func (*FakeManager) UpdateOrgCalls added in v1.0.26

func (fake *FakeManager) UpdateOrgCalls(stub func(string, cfclient.OrgRequest) (cfclient.Org, error))

func (*FakeManager) UpdateOrgReturns

func (fake *FakeManager) UpdateOrgReturns(result1 cfclient.Org, result2 error)

func (*FakeManager) UpdateOrgReturnsOnCall added in v1.0.26

func (fake *FakeManager) UpdateOrgReturnsOnCall(i int, result1 cfclient.Org, result2 error)

func (*FakeManager) UpdateOrgsMetadata added in v1.0.26

func (fake *FakeManager) UpdateOrgsMetadata() error

func (*FakeManager) UpdateOrgsMetadataCallCount added in v1.0.26

func (fake *FakeManager) UpdateOrgsMetadataCallCount() int

func (*FakeManager) UpdateOrgsMetadataCalls added in v1.0.26

func (fake *FakeManager) UpdateOrgsMetadataCalls(stub func() error)

func (*FakeManager) UpdateOrgsMetadataReturns added in v1.0.26

func (fake *FakeManager) UpdateOrgsMetadataReturns(result1 error)

func (*FakeManager) UpdateOrgsMetadataReturnsOnCall added in v1.0.26

func (fake *FakeManager) UpdateOrgsMetadataReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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