fakes

package
v6.11.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

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