Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
This file was generated by counterfeiter ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type CCClient
- func (fake *CCClient) GetAppSpaces(token string, appGUIDs []string) (map[string]string, error)
- func (fake *CCClient) GetAppSpacesArgsForCall(i int) (string, []string)
- func (fake *CCClient) GetAppSpacesCallCount() int
- func (fake *CCClient) GetAppSpacesReturns(result1 map[string]string, result2 error)
- func (fake *CCClient) GetAppSpacesReturnsOnCall(i int, result1 map[string]string, result2 error)
- func (fake *CCClient) GetSpace(token string, spaceGUID string) (*api.Space, error)
- func (fake *CCClient) GetSpaceArgsForCall(i int) (string, string)
- func (fake *CCClient) GetSpaceCallCount() int
- func (fake *CCClient) GetSpaceGUIDs(token string, appGUIDs []string) ([]string, error)
- func (fake *CCClient) GetSpaceGUIDsArgsForCall(i int) (string, []string)
- func (fake *CCClient) GetSpaceGUIDsCallCount() int
- func (fake *CCClient) GetSpaceGUIDsReturns(result1 []string, result2 error)
- func (fake *CCClient) GetSpaceGUIDsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *CCClient) GetSpaceReturns(result1 *api.Space, result2 error)
- func (fake *CCClient) GetSpaceReturnsOnCall(i int, result1 *api.Space, result2 error)
- func (fake *CCClient) GetUserSpace(token string, userGUID string, spaces api.Space) (*api.Space, error)
- func (fake *CCClient) GetUserSpaceArgsForCall(i int) (string, string, api.Space)
- func (fake *CCClient) GetUserSpaceCallCount() int
- func (fake *CCClient) GetUserSpaceReturns(result1 *api.Space, result2 error)
- func (fake *CCClient) GetUserSpaceReturnsOnCall(i int, result1 *api.Space, result2 error)
- func (fake *CCClient) GetUserSpaces(token string, userGUID string) (map[string]struct{}, error)
- func (fake *CCClient) GetUserSpacesArgsForCall(i int) (string, string)
- func (fake *CCClient) GetUserSpacesCallCount() int
- func (fake *CCClient) GetUserSpacesReturns(result1 map[string]struct{}, result2 error)
- func (fake *CCClient) GetUserSpacesReturnsOnCall(i int, result1 map[string]struct{}, result2 error)
- func (fake *CCClient) Invocations() map[string][][]interface{}
- type ContextAdapter
- func (fake *ContextAdapter) Invocations() map[string][][]interface{}
- func (fake *ContextAdapter) WithTimeout(arg1 context.Context, arg2 time.Duration) (context.Context, context.CancelFunc)
- func (fake *ContextAdapter) WithTimeoutArgsForCall(i int) (context.Context, time.Duration)
- func (fake *ContextAdapter) WithTimeoutCallCount() int
- func (fake *ContextAdapter) WithTimeoutReturns(result1 context.Context, result2 context.CancelFunc)
- func (fake *ContextAdapter) WithTimeoutReturnsOnCall(i int, result1 context.Context, result2 context.CancelFunc)
- type DataStore
- func (fake *DataStore) All() ([]store.Policy, error)
- func (fake *DataStore) AllCallCount() int
- func (fake *DataStore) AllReturns(result1 []store.Policy, result2 error)
- func (fake *DataStore) AllReturnsOnCall(i int, result1 []store.Policy, result2 error)
- func (fake *DataStore) ByGuids(arg1 []string, arg2 []string) ([]store.Policy, error)
- func (fake *DataStore) ByGuidsArgsForCall(i int) ([]string, []string)
- func (fake *DataStore) ByGuidsCallCount() int
- func (fake *DataStore) ByGuidsReturns(result1 []store.Policy, result2 error)
- func (fake *DataStore) ByGuidsReturnsOnCall(i int, result1 []store.Policy, result2 error)
- func (fake *DataStore) CheckDatabase() error
- func (fake *DataStore) CheckDatabaseCallCount() int
- func (fake *DataStore) CheckDatabaseReturns(result1 error)
- func (fake *DataStore) CheckDatabaseReturnsOnCall(i int, result1 error)
- func (fake *DataStore) Create(arg1 []store.Policy) error
- func (fake *DataStore) CreateArgsForCall(i int) []store.Policy
- func (fake *DataStore) CreateCallCount() int
- func (fake *DataStore) CreateReturns(result1 error)
- func (fake *DataStore) CreateReturnsOnCall(i int, result1 error)
- func (fake *DataStore) Delete(arg1 []store.Policy) error
- func (fake *DataStore) DeleteArgsForCall(i int) []store.Policy
- func (fake *DataStore) DeleteCallCount() int
- func (fake *DataStore) DeleteReturns(result1 error)
- func (fake *DataStore) DeleteReturnsOnCall(i int, result1 error)
- func (fake *DataStore) Invocations() map[string][][]interface{}
- func (fake *DataStore) Tags() ([]store.Tag, error)
- func (fake *DataStore) TagsCallCount() int
- func (fake *DataStore) TagsReturns(result1 []store.Tag, result2 error)
- func (fake *DataStore) TagsReturnsOnCall(i int, result1 []store.Tag, result2 error)
- type ErrorResponse
- func (fake *ErrorResponse) BadRequest(arg1 http.ResponseWriter, arg2 error, arg3 string, arg4 string)
- func (fake *ErrorResponse) BadRequestArgsForCall(i int) (http.ResponseWriter, error, string, string)
- func (fake *ErrorResponse) BadRequestCallCount() int
- func (fake *ErrorResponse) Forbidden(arg1 http.ResponseWriter, arg2 error, arg3 string, arg4 string)
- func (fake *ErrorResponse) ForbiddenArgsForCall(i int) (http.ResponseWriter, error, string, string)
- func (fake *ErrorResponse) ForbiddenCallCount() int
- func (fake *ErrorResponse) InternalServerError(arg1 http.ResponseWriter, arg2 error, arg3 string, arg4 string)
- func (fake *ErrorResponse) InternalServerErrorArgsForCall(i int) (http.ResponseWriter, error, string, string)
- func (fake *ErrorResponse) InternalServerErrorCallCount() int
- func (fake *ErrorResponse) Invocations() map[string][][]interface{}
- func (fake *ErrorResponse) NotAcceptable(arg1 http.ResponseWriter, arg2 error, arg3 string, arg4 string)
- func (fake *ErrorResponse) NotAcceptableArgsForCall(i int) (http.ResponseWriter, error, string, string)
- func (fake *ErrorResponse) NotAcceptableCallCount() int
- func (fake *ErrorResponse) Unauthorized(arg1 http.ResponseWriter, arg2 error, arg3 string, arg4 string)
- func (fake *ErrorResponse) UnauthorizedArgsForCall(i int) (http.ResponseWriter, error, string, string)
- func (fake *ErrorResponse) UnauthorizedCallCount() int
- type HTTPHandler
- type PolicyCleaner
- func (fake *PolicyCleaner) DeleteStalePolicies() ([]store.Policy, error)
- func (fake *PolicyCleaner) DeleteStalePoliciesCallCount() int
- func (fake *PolicyCleaner) DeleteStalePoliciesReturns(result1 []store.Policy, result2 error)
- func (fake *PolicyCleaner) DeleteStalePoliciesReturnsOnCall(i int, result1 []store.Policy, result2 error)
- func (fake *PolicyCleaner) Invocations() map[string][][]interface{}
- type PolicyFilter
- func (fake *PolicyFilter) FilterPolicies(policies []store.Policy, userToken uaa_client.CheckTokenResponse) ([]store.Policy, error)
- func (fake *PolicyFilter) FilterPoliciesArgsForCall(i int) ([]store.Policy, uaa_client.CheckTokenResponse)
- func (fake *PolicyFilter) FilterPoliciesCallCount() int
- func (fake *PolicyFilter) FilterPoliciesReturns(result1 []store.Policy, result2 error)
- func (fake *PolicyFilter) FilterPoliciesReturnsOnCall(i int, result1 []store.Policy, result2 error)
- func (fake *PolicyFilter) Invocations() map[string][][]interface{}
- type PolicyGuard
- func (fake *PolicyGuard) CheckAccess(policies []store.Policy, tokenData uaa_client.CheckTokenResponse) (bool, error)
- func (fake *PolicyGuard) CheckAccessArgsForCall(i int) ([]store.Policy, uaa_client.CheckTokenResponse)
- func (fake *PolicyGuard) CheckAccessCallCount() int
- func (fake *PolicyGuard) CheckAccessReturns(result1 bool, result2 error)
- func (fake *PolicyGuard) CheckAccessReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *PolicyGuard) Invocations() map[string][][]interface{}
- type QuotaGuard
- func (fake *QuotaGuard) CheckAccess(policies []store.Policy, tokenData uaa_client.CheckTokenResponse) (bool, error)
- func (fake *QuotaGuard) CheckAccessArgsForCall(i int) ([]store.Policy, uaa_client.CheckTokenResponse)
- func (fake *QuotaGuard) CheckAccessCallCount() int
- func (fake *QuotaGuard) CheckAccessReturns(result1 bool, result2 error)
- func (fake *QuotaGuard) CheckAccessReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *QuotaGuard) Invocations() map[string][][]interface{}
- type Store
- func (fake *Store) All() ([]api.Policy, error)
- func (fake *Store) AllCallCount() int
- func (fake *Store) AllReturns(result1 []api.Policy, result2 error)
- func (fake *Store) AllReturnsOnCall(i int, result1 []api.Policy, result2 error)
- func (fake *Store) ByGuids(arg1 []string, arg2 []string) ([]api.Policy, error)
- func (fake *Store) ByGuidsArgsForCall(i int) ([]string, []string)
- func (fake *Store) ByGuidsCallCount() int
- func (fake *Store) ByGuidsReturns(result1 []api.Policy, result2 error)
- func (fake *Store) ByGuidsReturnsOnCall(i int, result1 []api.Policy, result2 error)
- func (fake *Store) CheckDatabase() error
- func (fake *Store) CheckDatabaseCallCount() int
- func (fake *Store) CheckDatabaseReturns(result1 error)
- func (fake *Store) CheckDatabaseReturnsOnCall(i int, result1 error)
- func (fake *Store) Create(arg1 []api.Policy) error
- func (fake *Store) CreateArgsForCall(i int) []api.Policy
- func (fake *Store) CreateCallCount() int
- func (fake *Store) CreateReturns(result1 error)
- func (fake *Store) CreateReturnsOnCall(i int, result1 error)
- func (fake *Store) Delete(arg1 []api.Policy) error
- func (fake *Store) DeleteArgsForCall(i int) []api.Policy
- func (fake *Store) DeleteCallCount() int
- func (fake *Store) DeleteReturns(result1 error)
- func (fake *Store) DeleteReturnsOnCall(i int, result1 error)
- func (fake *Store) Invocations() map[string][][]interface{}
- func (fake *Store) Tags() ([]api.Tag, error)
- func (fake *Store) TagsCallCount() int
- func (fake *Store) TagsReturns(result1 []api.Tag, result2 error)
- func (fake *Store) TagsReturnsOnCall(i int, result1 []api.Tag, result2 error)
- type UAAClient
- func (fake *UAAClient) CheckToken(arg1 string) (uaa_client.CheckTokenResponse, error)
- func (fake *UAAClient) CheckTokenArgsForCall(i int) string
- func (fake *UAAClient) CheckTokenCallCount() int
- func (fake *UAAClient) CheckTokenReturns(result1 uaa_client.CheckTokenResponse, result2 error)
- func (fake *UAAClient) CheckTokenReturnsOnCall(i int, result1 uaa_client.CheckTokenResponse, result2 error)
- func (fake *UAAClient) GetToken() (string, error)
- func (fake *UAAClient) GetTokenCallCount() int
- func (fake *UAAClient) GetTokenReturns(result1 string, result2 error)
- func (fake *UAAClient) GetTokenReturnsOnCall(i int, result1 string, result2 error)
- func (fake *UAAClient) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CCClient ¶
type CCClient struct { GetAppSpacesStub func(token string, appGUIDs []string) (map[string]string, error) GetSpaceStub func(token, spaceGUID string) (*api.Space, error) GetSpaceGUIDsStub func(token string, appGUIDs []string) ([]string, error) GetUserSpaceStub func(token, userGUID string, spaces api.Space) (*api.Space, error) GetUserSpacesStub func(token, userGUID string) (map[string]struct{}, error) // contains filtered or unexported fields }
func (*CCClient) GetAppSpaces ¶
func (*CCClient) GetAppSpacesArgsForCall ¶
func (*CCClient) GetAppSpacesCallCount ¶
func (*CCClient) GetAppSpacesReturns ¶
func (*CCClient) GetAppSpacesReturnsOnCall ¶ added in v0.21.0
func (*CCClient) GetSpaceArgsForCall ¶
func (*CCClient) GetSpaceCallCount ¶
func (*CCClient) GetSpaceGUIDs ¶
func (*CCClient) GetSpaceGUIDsArgsForCall ¶
func (*CCClient) GetSpaceGUIDsCallCount ¶
func (*CCClient) GetSpaceGUIDsReturns ¶
func (*CCClient) GetSpaceGUIDsReturnsOnCall ¶ added in v0.21.0
func (*CCClient) GetSpaceReturns ¶
func (*CCClient) GetSpaceReturnsOnCall ¶ added in v0.21.0
func (*CCClient) GetUserSpace ¶
func (*CCClient) GetUserSpaceArgsForCall ¶
func (*CCClient) GetUserSpaceCallCount ¶
func (*CCClient) GetUserSpaceReturns ¶
func (*CCClient) GetUserSpaceReturnsOnCall ¶ added in v0.21.0
func (*CCClient) GetUserSpaces ¶
func (*CCClient) GetUserSpacesArgsForCall ¶
func (*CCClient) GetUserSpacesCallCount ¶
func (*CCClient) GetUserSpacesReturns ¶
func (*CCClient) GetUserSpacesReturnsOnCall ¶ added in v0.21.0
func (*CCClient) Invocations ¶
type ContextAdapter ¶ added in v0.22.0
type ContextAdapter struct { WithTimeoutStub func(context.Context, time.Duration) (context.Context, context.CancelFunc) // contains filtered or unexported fields }
func (*ContextAdapter) Invocations ¶ added in v0.22.0
func (fake *ContextAdapter) Invocations() map[string][][]interface{}
func (*ContextAdapter) WithTimeout ¶ added in v0.22.0
func (fake *ContextAdapter) WithTimeout(arg1 context.Context, arg2 time.Duration) (context.Context, context.CancelFunc)
func (*ContextAdapter) WithTimeoutArgsForCall ¶ added in v0.22.0
func (*ContextAdapter) WithTimeoutCallCount ¶ added in v0.22.0
func (fake *ContextAdapter) WithTimeoutCallCount() int
func (*ContextAdapter) WithTimeoutReturns ¶ added in v0.22.0
func (fake *ContextAdapter) WithTimeoutReturns(result1 context.Context, result2 context.CancelFunc)
func (*ContextAdapter) WithTimeoutReturnsOnCall ¶ added in v0.22.0
func (fake *ContextAdapter) WithTimeoutReturnsOnCall(i int, result1 context.Context, result2 context.CancelFunc)
type DataStore ¶ added in v1.4.0
type DataStore struct { AllStub func() ([]store.Policy, error) CreateStub func([]store.Policy) error DeleteStub func([]store.Policy) error TagsStub func() ([]store.Tag, error) ByGuidsStub func([]string, []string) ([]store.Policy, error) CheckDatabaseStub func() error // contains filtered or unexported fields }
func (*DataStore) AllCallCount ¶ added in v1.4.0
func (*DataStore) AllReturns ¶ added in v1.4.0
func (*DataStore) AllReturnsOnCall ¶ added in v1.4.0
func (*DataStore) ByGuidsArgsForCall ¶ added in v1.4.0
func (*DataStore) ByGuidsCallCount ¶ added in v1.4.0
func (*DataStore) ByGuidsReturns ¶ added in v1.4.0
func (*DataStore) ByGuidsReturnsOnCall ¶ added in v1.4.0
func (*DataStore) CheckDatabase ¶ added in v1.4.0
func (*DataStore) CheckDatabaseCallCount ¶ added in v1.4.0
func (*DataStore) CheckDatabaseReturns ¶ added in v1.4.0
func (*DataStore) CheckDatabaseReturnsOnCall ¶ added in v1.4.0
func (*DataStore) CreateArgsForCall ¶ added in v1.4.0
func (*DataStore) CreateCallCount ¶ added in v1.4.0
func (*DataStore) CreateReturns ¶ added in v1.4.0
func (*DataStore) CreateReturnsOnCall ¶ added in v1.4.0
func (*DataStore) DeleteArgsForCall ¶ added in v1.4.0
func (*DataStore) DeleteCallCount ¶ added in v1.4.0
func (*DataStore) DeleteReturns ¶ added in v1.4.0
func (*DataStore) DeleteReturnsOnCall ¶ added in v1.4.0
func (*DataStore) Invocations ¶ added in v1.4.0
func (*DataStore) TagsCallCount ¶ added in v1.4.0
func (*DataStore) TagsReturns ¶ added in v1.4.0
type ErrorResponse ¶ added in v0.17.0
type ErrorResponse struct { InternalServerErrorStub func(http.ResponseWriter, error, string, string) BadRequestStub func(http.ResponseWriter, error, string, string) NotAcceptableStub func(http.ResponseWriter, error, string, string) ForbiddenStub func(http.ResponseWriter, error, string, string) // contains filtered or unexported fields }
func (*ErrorResponse) BadRequest ¶ added in v0.17.0
func (fake *ErrorResponse) BadRequest(arg1 http.ResponseWriter, arg2 error, arg3 string, arg4 string)
func (*ErrorResponse) BadRequestArgsForCall ¶ added in v0.17.0
func (fake *ErrorResponse) BadRequestArgsForCall(i int) (http.ResponseWriter, error, string, string)
func (*ErrorResponse) BadRequestCallCount ¶ added in v0.17.0
func (fake *ErrorResponse) BadRequestCallCount() int
func (*ErrorResponse) Forbidden ¶ added in v0.17.0
func (fake *ErrorResponse) Forbidden(arg1 http.ResponseWriter, arg2 error, arg3 string, arg4 string)
func (*ErrorResponse) ForbiddenArgsForCall ¶ added in v0.17.0
func (fake *ErrorResponse) ForbiddenArgsForCall(i int) (http.ResponseWriter, error, string, string)
func (*ErrorResponse) ForbiddenCallCount ¶ added in v0.17.0
func (fake *ErrorResponse) ForbiddenCallCount() int
func (*ErrorResponse) InternalServerError ¶ added in v0.17.0
func (fake *ErrorResponse) InternalServerError(arg1 http.ResponseWriter, arg2 error, arg3 string, arg4 string)
func (*ErrorResponse) InternalServerErrorArgsForCall ¶ added in v0.17.0
func (fake *ErrorResponse) InternalServerErrorArgsForCall(i int) (http.ResponseWriter, error, string, string)
func (*ErrorResponse) InternalServerErrorCallCount ¶ added in v0.17.0
func (fake *ErrorResponse) InternalServerErrorCallCount() int
func (*ErrorResponse) Invocations ¶ added in v0.17.0
func (fake *ErrorResponse) Invocations() map[string][][]interface{}
func (*ErrorResponse) NotAcceptable ¶ added in v1.4.0
func (fake *ErrorResponse) NotAcceptable(arg1 http.ResponseWriter, arg2 error, arg3 string, arg4 string)
func (*ErrorResponse) NotAcceptableArgsForCall ¶ added in v1.4.0
func (fake *ErrorResponse) NotAcceptableArgsForCall(i int) (http.ResponseWriter, error, string, string)
func (*ErrorResponse) NotAcceptableCallCount ¶ added in v1.4.0
func (fake *ErrorResponse) NotAcceptableCallCount() int
func (*ErrorResponse) Unauthorized ¶ added in v0.17.0
func (fake *ErrorResponse) Unauthorized(arg1 http.ResponseWriter, arg2 error, arg3 string, arg4 string)
func (*ErrorResponse) UnauthorizedArgsForCall ¶ added in v0.17.0
func (fake *ErrorResponse) UnauthorizedArgsForCall(i int) (http.ResponseWriter, error, string, string)
func (*ErrorResponse) UnauthorizedCallCount ¶ added in v0.17.0
func (fake *ErrorResponse) UnauthorizedCallCount() int
type HTTPHandler ¶
type HTTPHandler struct { ServeHTTPStub func(http.ResponseWriter, *http.Request) // contains filtered or unexported fields }
func (*HTTPHandler) Invocations ¶
func (fake *HTTPHandler) Invocations() map[string][][]interface{}
func (*HTTPHandler) ServeHTTP ¶
func (fake *HTTPHandler) ServeHTTP(arg1 http.ResponseWriter, arg2 *http.Request)
func (*HTTPHandler) ServeHTTPArgsForCall ¶
func (fake *HTTPHandler) ServeHTTPArgsForCall(i int) (http.ResponseWriter, *http.Request)
func (*HTTPHandler) ServeHTTPCallCount ¶
func (fake *HTTPHandler) ServeHTTPCallCount() int
type PolicyCleaner ¶
type PolicyCleaner struct { DeleteStalePoliciesStub func() ([]store.Policy, error) // contains filtered or unexported fields }
func (*PolicyCleaner) DeleteStalePolicies ¶
func (fake *PolicyCleaner) DeleteStalePolicies() ([]store.Policy, error)
func (*PolicyCleaner) DeleteStalePoliciesCallCount ¶
func (fake *PolicyCleaner) DeleteStalePoliciesCallCount() int
func (*PolicyCleaner) DeleteStalePoliciesReturns ¶
func (fake *PolicyCleaner) DeleteStalePoliciesReturns(result1 []store.Policy, result2 error)
func (*PolicyCleaner) DeleteStalePoliciesReturnsOnCall ¶ added in v0.21.0
func (fake *PolicyCleaner) DeleteStalePoliciesReturnsOnCall(i int, result1 []store.Policy, result2 error)
func (*PolicyCleaner) Invocations ¶
func (fake *PolicyCleaner) Invocations() map[string][][]interface{}
type PolicyFilter ¶
type PolicyFilter struct { FilterPoliciesStub func(policies []store.Policy, userToken uaa_client.CheckTokenResponse) ([]store.Policy, error) // contains filtered or unexported fields }
func (*PolicyFilter) FilterPolicies ¶
func (fake *PolicyFilter) FilterPolicies(policies []store.Policy, userToken uaa_client.CheckTokenResponse) ([]store.Policy, error)
func (*PolicyFilter) FilterPoliciesArgsForCall ¶
func (fake *PolicyFilter) FilterPoliciesArgsForCall(i int) ([]store.Policy, uaa_client.CheckTokenResponse)
func (*PolicyFilter) FilterPoliciesCallCount ¶
func (fake *PolicyFilter) FilterPoliciesCallCount() int
func (*PolicyFilter) FilterPoliciesReturns ¶
func (fake *PolicyFilter) FilterPoliciesReturns(result1 []store.Policy, result2 error)
func (*PolicyFilter) FilterPoliciesReturnsOnCall ¶ added in v0.21.0
func (fake *PolicyFilter) FilterPoliciesReturnsOnCall(i int, result1 []store.Policy, result2 error)
func (*PolicyFilter) Invocations ¶
func (fake *PolicyFilter) Invocations() map[string][][]interface{}
type PolicyGuard ¶
type PolicyGuard struct { CheckAccessStub func(policies []store.Policy, tokenData uaa_client.CheckTokenResponse) (bool, error) // contains filtered or unexported fields }
func (*PolicyGuard) CheckAccess ¶
func (fake *PolicyGuard) CheckAccess(policies []store.Policy, tokenData uaa_client.CheckTokenResponse) (bool, error)
func (*PolicyGuard) CheckAccessArgsForCall ¶
func (fake *PolicyGuard) CheckAccessArgsForCall(i int) ([]store.Policy, uaa_client.CheckTokenResponse)
func (*PolicyGuard) CheckAccessCallCount ¶
func (fake *PolicyGuard) CheckAccessCallCount() int
func (*PolicyGuard) CheckAccessReturns ¶
func (fake *PolicyGuard) CheckAccessReturns(result1 bool, result2 error)
func (*PolicyGuard) CheckAccessReturnsOnCall ¶ added in v0.21.0
func (fake *PolicyGuard) CheckAccessReturnsOnCall(i int, result1 bool, result2 error)
func (*PolicyGuard) Invocations ¶
func (fake *PolicyGuard) Invocations() map[string][][]interface{}
type QuotaGuard ¶ added in v1.1.0
type QuotaGuard struct { CheckAccessStub func(policies []store.Policy, tokenData uaa_client.CheckTokenResponse) (bool, error) // contains filtered or unexported fields }
func (*QuotaGuard) CheckAccess ¶ added in v1.1.0
func (fake *QuotaGuard) CheckAccess(policies []store.Policy, tokenData uaa_client.CheckTokenResponse) (bool, error)
func (*QuotaGuard) CheckAccessArgsForCall ¶ added in v1.1.0
func (fake *QuotaGuard) CheckAccessArgsForCall(i int) ([]store.Policy, uaa_client.CheckTokenResponse)
func (*QuotaGuard) CheckAccessCallCount ¶ added in v1.1.0
func (fake *QuotaGuard) CheckAccessCallCount() int
func (*QuotaGuard) CheckAccessReturns ¶ added in v1.1.0
func (fake *QuotaGuard) CheckAccessReturns(result1 bool, result2 error)
func (*QuotaGuard) CheckAccessReturnsOnCall ¶ added in v1.1.0
func (fake *QuotaGuard) CheckAccessReturnsOnCall(i int, result1 bool, result2 error)
func (*QuotaGuard) Invocations ¶ added in v1.1.0
func (fake *QuotaGuard) Invocations() map[string][][]interface{}
type Store ¶
type Store struct { AllStub func() ([]api.Policy, error) CreateStub func([]api.Policy) error DeleteStub func([]api.Policy) error TagsStub func() ([]api.Tag, error) ByGuidsStub func([]string, []string) ([]api.Policy, error) CheckDatabaseStub func() error // contains filtered or unexported fields }
func (*Store) AllCallCount ¶
func (*Store) AllReturnsOnCall ¶ added in v0.21.0
func (*Store) ByGuidsArgsForCall ¶ added in v0.17.0
func (*Store) ByGuidsCallCount ¶ added in v0.17.0
func (*Store) ByGuidsReturns ¶ added in v0.17.0
func (*Store) ByGuidsReturnsOnCall ¶ added in v0.21.0
func (*Store) CheckDatabase ¶ added in v1.0.0
func (*Store) CheckDatabaseCallCount ¶ added in v1.0.0
func (*Store) CheckDatabaseReturns ¶ added in v1.0.0
func (*Store) CheckDatabaseReturnsOnCall ¶ added in v1.0.0
func (*Store) CreateCallCount ¶
func (*Store) CreateReturns ¶
func (*Store) CreateReturnsOnCall ¶ added in v0.21.0
func (*Store) DeleteCallCount ¶
func (*Store) DeleteReturns ¶
func (*Store) DeleteReturnsOnCall ¶ added in v0.21.0
func (*Store) Invocations ¶
func (*Store) TagsCallCount ¶
type UAAClient ¶
type UAAClient struct { GetTokenStub func() (string, error) CheckTokenStub func(string) (uaa_client.CheckTokenResponse, error) // contains filtered or unexported fields }
func (*UAAClient) CheckToken ¶
func (fake *UAAClient) CheckToken(arg1 string) (uaa_client.CheckTokenResponse, error)
func (*UAAClient) CheckTokenArgsForCall ¶
func (*UAAClient) CheckTokenCallCount ¶
func (*UAAClient) CheckTokenReturns ¶
func (fake *UAAClient) CheckTokenReturns(result1 uaa_client.CheckTokenResponse, result2 error)
func (*UAAClient) CheckTokenReturnsOnCall ¶ added in v0.21.0
func (fake *UAAClient) CheckTokenReturnsOnCall(i int, result1 uaa_client.CheckTokenResponse, result2 error)
func (*UAAClient) GetTokenCallCount ¶
func (*UAAClient) GetTokenReturns ¶
func (*UAAClient) GetTokenReturnsOnCall ¶ added in v0.21.0
func (*UAAClient) Invocations ¶
Click to show internal directories.
Click to hide internal directories.