Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeSecurityGroupRepo
- func (fake *FakeSecurityGroupRepo) Create(name string, rules []map[string]interface{}) error
- func (fake *FakeSecurityGroupRepo) CreateArgsForCall(i int) (string, []map[string]interface{})
- func (fake *FakeSecurityGroupRepo) CreateCallCount() int
- func (fake *FakeSecurityGroupRepo) CreateReturns(result1 error)
- func (fake *FakeSecurityGroupRepo) Delete(arg1 string) error
- func (fake *FakeSecurityGroupRepo) DeleteArgsForCall(i int) string
- func (fake *FakeSecurityGroupRepo) DeleteCallCount() int
- func (fake *FakeSecurityGroupRepo) DeleteReturns(result1 error)
- func (fake *FakeSecurityGroupRepo) FindAll() ([]models.SecurityGroup, error)
- func (fake *FakeSecurityGroupRepo) FindAllCallCount() int
- func (fake *FakeSecurityGroupRepo) FindAllReturns(result1 []models.SecurityGroup, result2 error)
- func (fake *FakeSecurityGroupRepo) Invocations() map[string][][]interface{}
- func (fake *FakeSecurityGroupRepo) Read(arg1 string) (models.SecurityGroup, error)
- func (fake *FakeSecurityGroupRepo) ReadArgsForCall(i int) string
- func (fake *FakeSecurityGroupRepo) ReadCallCount() int
- func (fake *FakeSecurityGroupRepo) ReadReturns(result1 models.SecurityGroup, result2 error)
- func (fake *FakeSecurityGroupRepo) Update(guid string, rules []map[string]interface{}) error
- func (fake *FakeSecurityGroupRepo) UpdateArgsForCall(i int) (string, []map[string]interface{})
- func (fake *FakeSecurityGroupRepo) UpdateCallCount() int
- func (fake *FakeSecurityGroupRepo) UpdateReturns(result1 error)
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(name string, rules []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) Invocations ¶
func (fake *FakeSecurityGroupRepo) Invocations() map[string][][]interface{}
func (*FakeSecurityGroupRepo) Read ¶
func (fake *FakeSecurityGroupRepo) Read(arg1 string) (models.SecurityGroup, error)
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(guid string, rules []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)
Click to show internal directories.
Click to hide internal directories.