cfnetworkingactionfakes

package
v6.42.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: Apache-2.0 Imports: 4 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 FakeNetworkingClient

type FakeNetworkingClient struct {
	CreatePoliciesStub func(policies []cfnetv1.Policy) error

	ListPoliciesStub func(sourceAppGUIDs ...string) ([]cfnetv1.Policy, error)

	RemovePoliciesStub func(policies []cfnetv1.Policy) error
	// contains filtered or unexported fields
}

func (*FakeNetworkingClient) CreatePolicies

func (fake *FakeNetworkingClient) CreatePolicies(policies []cfnetv1.Policy) error

func (*FakeNetworkingClient) CreatePoliciesArgsForCall

func (fake *FakeNetworkingClient) CreatePoliciesArgsForCall(i int) []cfnetv1.Policy

func (*FakeNetworkingClient) CreatePoliciesCallCount

func (fake *FakeNetworkingClient) CreatePoliciesCallCount() int

func (*FakeNetworkingClient) CreatePoliciesReturns

func (fake *FakeNetworkingClient) CreatePoliciesReturns(result1 error)

func (*FakeNetworkingClient) CreatePoliciesReturnsOnCall

func (fake *FakeNetworkingClient) CreatePoliciesReturnsOnCall(i int, result1 error)

func (*FakeNetworkingClient) Invocations

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

func (*FakeNetworkingClient) ListPolicies

func (fake *FakeNetworkingClient) ListPolicies(sourceAppGUIDs ...string) ([]cfnetv1.Policy, error)

func (*FakeNetworkingClient) ListPoliciesArgsForCall

func (fake *FakeNetworkingClient) ListPoliciesArgsForCall(i int) []string

func (*FakeNetworkingClient) ListPoliciesCallCount

func (fake *FakeNetworkingClient) ListPoliciesCallCount() int

func (*FakeNetworkingClient) ListPoliciesReturns

func (fake *FakeNetworkingClient) ListPoliciesReturns(result1 []cfnetv1.Policy, result2 error)

func (*FakeNetworkingClient) ListPoliciesReturnsOnCall

func (fake *FakeNetworkingClient) ListPoliciesReturnsOnCall(i int, result1 []cfnetv1.Policy, result2 error)

func (*FakeNetworkingClient) RemovePolicies

func (fake *FakeNetworkingClient) RemovePolicies(policies []cfnetv1.Policy) error

func (*FakeNetworkingClient) RemovePoliciesArgsForCall

func (fake *FakeNetworkingClient) RemovePoliciesArgsForCall(i int) []cfnetv1.Policy

func (*FakeNetworkingClient) RemovePoliciesCallCount

func (fake *FakeNetworkingClient) RemovePoliciesCallCount() int

func (*FakeNetworkingClient) RemovePoliciesReturns

func (fake *FakeNetworkingClient) RemovePoliciesReturns(result1 error)

func (*FakeNetworkingClient) RemovePoliciesReturnsOnCall

func (fake *FakeNetworkingClient) RemovePoliciesReturnsOnCall(i int, result1 error)

type FakeV3Actor

type FakeV3Actor struct {
	GetApplicationByNameAndSpaceStub func(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)

	GetApplicationsBySpaceStub func(spaceGUID string) ([]v3action.Application, v3action.Warnings, error)

	GetOrganizationByNameStub func(name string) (v3action.Organization, v3action.Warnings, error)

	GetSpaceByNameAndOrganizationStub func(spaceName string, orgGUID string) (v3action.Space, v3action.Warnings, error)

	GetApplicationsByGUIDsStub func(appGUIDs ...string) ([]v3action.Application, v3action.Warnings, error)

	GetSpacesByGUIDsStub func(spaceGUIDs ...string) ([]v3action.Space, v3action.Warnings, error)

	GetOrganizationsByGUIDsStub func(orgGUIDs ...string) ([]v3action.Organization, v3action.Warnings, error)
	// contains filtered or unexported fields
}

func (*FakeV3Actor) GetApplicationByNameAndSpace

func (fake *FakeV3Actor) GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)

func (*FakeV3Actor) GetApplicationByNameAndSpaceArgsForCall

func (fake *FakeV3Actor) GetApplicationByNameAndSpaceArgsForCall(i int) (string, string)

func (*FakeV3Actor) GetApplicationByNameAndSpaceCallCount

func (fake *FakeV3Actor) GetApplicationByNameAndSpaceCallCount() int

func (*FakeV3Actor) GetApplicationByNameAndSpaceReturns

func (fake *FakeV3Actor) GetApplicationByNameAndSpaceReturns(result1 v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetApplicationByNameAndSpaceReturnsOnCall

func (fake *FakeV3Actor) GetApplicationByNameAndSpaceReturnsOnCall(i int, result1 v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetApplicationsByGUIDs

func (fake *FakeV3Actor) GetApplicationsByGUIDs(appGUIDs ...string) ([]v3action.Application, v3action.Warnings, error)

func (*FakeV3Actor) GetApplicationsByGUIDsArgsForCall

func (fake *FakeV3Actor) GetApplicationsByGUIDsArgsForCall(i int) []string

func (*FakeV3Actor) GetApplicationsByGUIDsCallCount

func (fake *FakeV3Actor) GetApplicationsByGUIDsCallCount() int

func (*FakeV3Actor) GetApplicationsByGUIDsReturns

func (fake *FakeV3Actor) GetApplicationsByGUIDsReturns(result1 []v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetApplicationsByGUIDsReturnsOnCall

func (fake *FakeV3Actor) GetApplicationsByGUIDsReturnsOnCall(i int, result1 []v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetApplicationsBySpace

func (fake *FakeV3Actor) GetApplicationsBySpace(spaceGUID string) ([]v3action.Application, v3action.Warnings, error)

func (*FakeV3Actor) GetApplicationsBySpaceArgsForCall

func (fake *FakeV3Actor) GetApplicationsBySpaceArgsForCall(i int) string

func (*FakeV3Actor) GetApplicationsBySpaceCallCount

func (fake *FakeV3Actor) GetApplicationsBySpaceCallCount() int

func (*FakeV3Actor) GetApplicationsBySpaceReturns

func (fake *FakeV3Actor) GetApplicationsBySpaceReturns(result1 []v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetApplicationsBySpaceReturnsOnCall

func (fake *FakeV3Actor) GetApplicationsBySpaceReturnsOnCall(i int, result1 []v3action.Application, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetOrganizationByName

func (fake *FakeV3Actor) GetOrganizationByName(name string) (v3action.Organization, v3action.Warnings, error)

func (*FakeV3Actor) GetOrganizationByNameArgsForCall

func (fake *FakeV3Actor) GetOrganizationByNameArgsForCall(i int) string

func (*FakeV3Actor) GetOrganizationByNameCallCount

func (fake *FakeV3Actor) GetOrganizationByNameCallCount() int

func (*FakeV3Actor) GetOrganizationByNameReturns

func (fake *FakeV3Actor) GetOrganizationByNameReturns(result1 v3action.Organization, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetOrganizationByNameReturnsOnCall

func (fake *FakeV3Actor) GetOrganizationByNameReturnsOnCall(i int, result1 v3action.Organization, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetOrganizationsByGUIDs

func (fake *FakeV3Actor) GetOrganizationsByGUIDs(orgGUIDs ...string) ([]v3action.Organization, v3action.Warnings, error)

func (*FakeV3Actor) GetOrganizationsByGUIDsArgsForCall

func (fake *FakeV3Actor) GetOrganizationsByGUIDsArgsForCall(i int) []string

func (*FakeV3Actor) GetOrganizationsByGUIDsCallCount

func (fake *FakeV3Actor) GetOrganizationsByGUIDsCallCount() int

func (*FakeV3Actor) GetOrganizationsByGUIDsReturns

func (fake *FakeV3Actor) GetOrganizationsByGUIDsReturns(result1 []v3action.Organization, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetOrganizationsByGUIDsReturnsOnCall

func (fake *FakeV3Actor) GetOrganizationsByGUIDsReturnsOnCall(i int, result1 []v3action.Organization, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetSpaceByNameAndOrganization

func (fake *FakeV3Actor) GetSpaceByNameAndOrganization(spaceName string, orgGUID string) (v3action.Space, v3action.Warnings, error)

func (*FakeV3Actor) GetSpaceByNameAndOrganizationArgsForCall

func (fake *FakeV3Actor) GetSpaceByNameAndOrganizationArgsForCall(i int) (string, string)

func (*FakeV3Actor) GetSpaceByNameAndOrganizationCallCount

func (fake *FakeV3Actor) GetSpaceByNameAndOrganizationCallCount() int

func (*FakeV3Actor) GetSpaceByNameAndOrganizationReturns

func (fake *FakeV3Actor) GetSpaceByNameAndOrganizationReturns(result1 v3action.Space, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetSpaceByNameAndOrganizationReturnsOnCall

func (fake *FakeV3Actor) GetSpaceByNameAndOrganizationReturnsOnCall(i int, result1 v3action.Space, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetSpacesByGUIDs

func (fake *FakeV3Actor) GetSpacesByGUIDs(spaceGUIDs ...string) ([]v3action.Space, v3action.Warnings, error)

func (*FakeV3Actor) GetSpacesByGUIDsArgsForCall

func (fake *FakeV3Actor) GetSpacesByGUIDsArgsForCall(i int) []string

func (*FakeV3Actor) GetSpacesByGUIDsCallCount

func (fake *FakeV3Actor) GetSpacesByGUIDsCallCount() int

func (*FakeV3Actor) GetSpacesByGUIDsReturns

func (fake *FakeV3Actor) GetSpacesByGUIDsReturns(result1 []v3action.Space, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) GetSpacesByGUIDsReturnsOnCall

func (fake *FakeV3Actor) GetSpacesByGUIDsReturnsOnCall(i int, result1 []v3action.Space, result2 v3action.Warnings, result3 error)

func (*FakeV3Actor) Invocations

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

Jump to

Keyboard shortcuts

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