fakes

package
v6.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2014 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSecurityGroupRepo

type FakeSecurityGroupRepo struct {
	CreateStub func(name string, rules []map[string]interface{}) error

	UpdateStub func(guid string, rules []map[string]interface{}) error

	ReadStub func(string) (models.SecurityGroup, error)

	DeleteStub func(string) error

	FindAllStub func() ([]models.SecurityGroup, error)
	// contains filtered or unexported fields
}

func (*FakeSecurityGroupRepo) Create

func (fake *FakeSecurityGroupRepo) Create(arg1 string, arg2 []map[string]interface{}) error

func (*FakeSecurityGroupRepo) CreateArgsForCall

func (fake *FakeSecurityGroupRepo) CreateArgsForCall(i int) (string, []map[string]interface{})

func (*FakeSecurityGroupRepo) CreateCallCount

func (fake *FakeSecurityGroupRepo) CreateCallCount() int

func (*FakeSecurityGroupRepo) CreateReturns

func (fake *FakeSecurityGroupRepo) CreateReturns(result1 error)

func (*FakeSecurityGroupRepo) Delete

func (fake *FakeSecurityGroupRepo) Delete(arg1 string) error

func (*FakeSecurityGroupRepo) DeleteArgsForCall

func (fake *FakeSecurityGroupRepo) DeleteArgsForCall(i int) string

func (*FakeSecurityGroupRepo) DeleteCallCount

func (fake *FakeSecurityGroupRepo) DeleteCallCount() int

func (*FakeSecurityGroupRepo) DeleteReturns

func (fake *FakeSecurityGroupRepo) DeleteReturns(result1 error)

func (*FakeSecurityGroupRepo) FindAll

func (fake *FakeSecurityGroupRepo) FindAll() ([]models.SecurityGroup, error)

func (*FakeSecurityGroupRepo) FindAllCallCount

func (fake *FakeSecurityGroupRepo) FindAllCallCount() int

func (*FakeSecurityGroupRepo) FindAllReturns

func (fake *FakeSecurityGroupRepo) FindAllReturns(result1 []models.SecurityGroup, result2 error)

func (*FakeSecurityGroupRepo) Read

func (*FakeSecurityGroupRepo) ReadArgsForCall

func (fake *FakeSecurityGroupRepo) ReadArgsForCall(i int) string

func (*FakeSecurityGroupRepo) ReadCallCount

func (fake *FakeSecurityGroupRepo) ReadCallCount() int

func (*FakeSecurityGroupRepo) ReadReturns

func (fake *FakeSecurityGroupRepo) ReadReturns(result1 models.SecurityGroup, result2 error)

func (*FakeSecurityGroupRepo) Update

func (fake *FakeSecurityGroupRepo) Update(arg1 string, arg2 []map[string]interface{}) error

func (*FakeSecurityGroupRepo) UpdateArgsForCall

func (fake *FakeSecurityGroupRepo) UpdateArgsForCall(i int) (string, []map[string]interface{})

func (*FakeSecurityGroupRepo) UpdateCallCount

func (fake *FakeSecurityGroupRepo) UpdateCallCount() int

func (*FakeSecurityGroupRepo) UpdateReturns

func (fake *FakeSecurityGroupRepo) UpdateReturns(result1 error)

Jump to

Keyboard shortcuts

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