fakes

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 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 PolicyMapper

type PolicyMapper struct {
	AsStorePolicyStub func([]byte) ([]store.Policy, error)

	AsBytesStub func([]store.Policy) ([]byte, error)
	// contains filtered or unexported fields
}

func (*PolicyMapper) AsBytes

func (fake *PolicyMapper) AsBytes(arg1 []store.Policy) ([]byte, error)

func (*PolicyMapper) AsBytesArgsForCall

func (fake *PolicyMapper) AsBytesArgsForCall(i int) []store.Policy

func (*PolicyMapper) AsBytesCallCount

func (fake *PolicyMapper) AsBytesCallCount() int

func (*PolicyMapper) AsBytesReturns

func (fake *PolicyMapper) AsBytesReturns(result1 []byte, result2 error)

func (*PolicyMapper) AsBytesReturnsOnCall

func (fake *PolicyMapper) AsBytesReturnsOnCall(i int, result1 []byte, result2 error)

func (*PolicyMapper) AsStorePolicy

func (fake *PolicyMapper) AsStorePolicy(arg1 []byte) ([]store.Policy, error)

func (*PolicyMapper) AsStorePolicyArgsForCall

func (fake *PolicyMapper) AsStorePolicyArgsForCall(i int) []byte

func (*PolicyMapper) AsStorePolicyCallCount

func (fake *PolicyMapper) AsStorePolicyCallCount() int

func (*PolicyMapper) AsStorePolicyReturns

func (fake *PolicyMapper) AsStorePolicyReturns(result1 []store.Policy, result2 error)

func (*PolicyMapper) AsStorePolicyReturnsOnCall

func (fake *PolicyMapper) AsStorePolicyReturnsOnCall(i int, result1 []store.Policy, result2 error)

func (*PolicyMapper) Invocations

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

type Validator

type Validator struct {
	ValidatePoliciesStub func(policies []api.Policy) error
	// contains filtered or unexported fields
}

func (*Validator) Invocations

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

func (*Validator) ValidatePolicies

func (fake *Validator) ValidatePolicies(policies []api.Policy) error

func (*Validator) ValidatePoliciesArgsForCall

func (fake *Validator) ValidatePoliciesArgsForCall(i int) []api.Policy

func (*Validator) ValidatePoliciesCallCount

func (fake *Validator) ValidatePoliciesCallCount() int

func (*Validator) ValidatePoliciesReturns

func (fake *Validator) ValidatePoliciesReturns(result1 error)

func (*Validator) ValidatePoliciesReturnsOnCall

func (fake *Validator) ValidatePoliciesReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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