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.
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, arg3 bool) ([]store.Policy, error)
- func (fake *DataStore) ByGuidsArgsForCall(i int) ([]string, []string, bool)
- 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 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)
- func (fake *ErrorResponse) BadRequestArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)
- func (fake *ErrorResponse) BadRequestCallCount() int
- func (fake *ErrorResponse) Forbidden(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)
- func (fake *ErrorResponse) ForbiddenArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)
- func (fake *ErrorResponse) ForbiddenCallCount() int
- func (fake *ErrorResponse) InternalServerError(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)
- func (fake *ErrorResponse) InternalServerErrorArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)
- func (fake *ErrorResponse) InternalServerErrorCallCount() int
- func (fake *ErrorResponse) Invocations() map[string][][]interface{}
- func (fake *ErrorResponse) NotAcceptable(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)
- func (fake *ErrorResponse) NotAcceptableArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)
- func (fake *ErrorResponse) NotAcceptableCallCount() int
- func (fake *ErrorResponse) Unauthorized(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)
- func (fake *ErrorResponse) UnauthorizedArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, 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 RataAdapter
- func (fake *RataAdapter) Invocations() map[string][][]interface{}
- func (fake *RataAdapter) Param(arg1 *http.Request, arg2 string) string
- func (fake *RataAdapter) ParamArgsForCall(i int) (*http.Request, string)
- func (fake *RataAdapter) ParamCallCount() int
- func (fake *RataAdapter) ParamReturns(result1 string)
- func (fake *RataAdapter) ParamReturnsOnCall(i int, result1 string)
- type RataParam
- func (fake *RataParam) Invocations() map[string][][]interface{}
- func (fake *RataParam) Param(arg1 *http.Request, arg2 string) string
- func (fake *RataParam) ParamArgsForCall(i int) (*http.Request, string)
- func (fake *RataParam) ParamCallCount() int
- func (fake *RataParam) ParamReturns(result1 string)
- func (fake *RataParam) ParamReturnsOnCall(i int, result1 string)
- 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 ¶
func (*CCClient) GetSpaceArgsForCall ¶
func (*CCClient) GetSpaceCallCount ¶
func (*CCClient) GetSpaceGUIDs ¶
func (*CCClient) GetSpaceGUIDsArgsForCall ¶
func (*CCClient) GetSpaceGUIDsCallCount ¶
func (*CCClient) GetSpaceGUIDsReturns ¶
func (*CCClient) GetSpaceGUIDsReturnsOnCall ¶
func (*CCClient) GetSpaceReturns ¶
func (*CCClient) GetSpaceReturnsOnCall ¶
func (*CCClient) GetUserSpace ¶
func (*CCClient) GetUserSpaceArgsForCall ¶
func (*CCClient) GetUserSpaceCallCount ¶
func (*CCClient) GetUserSpaceReturns ¶
func (*CCClient) GetUserSpaceReturnsOnCall ¶
func (*CCClient) GetUserSpaces ¶
func (*CCClient) GetUserSpacesArgsForCall ¶
func (*CCClient) GetUserSpacesCallCount ¶
func (*CCClient) GetUserSpacesReturns ¶
func (*CCClient) GetUserSpacesReturnsOnCall ¶
func (*CCClient) Invocations ¶
type ContextAdapter ¶
type ContextAdapter struct { WithTimeoutStub func(context.Context, time.Duration) (context.Context, context.CancelFunc) // contains filtered or unexported fields }
func (*ContextAdapter) Invocations ¶
func (fake *ContextAdapter) Invocations() map[string][][]interface{}
func (*ContextAdapter) WithTimeout ¶
func (fake *ContextAdapter) WithTimeout(arg1 context.Context, arg2 time.Duration) (context.Context, context.CancelFunc)
func (*ContextAdapter) WithTimeoutArgsForCall ¶
func (*ContextAdapter) WithTimeoutCallCount ¶
func (fake *ContextAdapter) WithTimeoutCallCount() int
func (*ContextAdapter) WithTimeoutReturns ¶
func (fake *ContextAdapter) WithTimeoutReturns(result1 context.Context, result2 context.CancelFunc)
func (*ContextAdapter) WithTimeoutReturnsOnCall ¶
func (fake *ContextAdapter) WithTimeoutReturnsOnCall(i int, result1 context.Context, result2 context.CancelFunc)
type DataStore ¶
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, bool) ([]store.Policy, error) CheckDatabaseStub func() error // contains filtered or unexported fields }
func (*DataStore) AllCallCount ¶
func (*DataStore) AllReturns ¶
func (*DataStore) AllReturnsOnCall ¶
func (*DataStore) ByGuidsArgsForCall ¶
func (*DataStore) ByGuidsCallCount ¶
func (*DataStore) ByGuidsReturns ¶
func (*DataStore) ByGuidsReturnsOnCall ¶
func (*DataStore) CheckDatabase ¶
func (*DataStore) CheckDatabaseCallCount ¶
func (*DataStore) CheckDatabaseReturns ¶
func (*DataStore) CheckDatabaseReturnsOnCall ¶
func (*DataStore) CreateArgsForCall ¶
func (*DataStore) CreateCallCount ¶
func (*DataStore) CreateReturns ¶
func (*DataStore) CreateReturnsOnCall ¶
func (*DataStore) DeleteArgsForCall ¶
func (*DataStore) DeleteCallCount ¶
func (*DataStore) DeleteReturns ¶
func (*DataStore) DeleteReturnsOnCall ¶
func (*DataStore) Invocations ¶
func (*DataStore) TagsCallCount ¶
func (*DataStore) TagsReturns ¶
type ErrorResponse ¶
type ErrorResponse struct { InternalServerErrorStub func(lager.Logger, http.ResponseWriter, error, string) BadRequestStub func(lager.Logger, http.ResponseWriter, error, string) NotAcceptableStub func(lager.Logger, http.ResponseWriter, error, string) ForbiddenStub func(lager.Logger, http.ResponseWriter, error, string) // contains filtered or unexported fields }
func (*ErrorResponse) BadRequest ¶
func (fake *ErrorResponse) BadRequest(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)
func (*ErrorResponse) BadRequestArgsForCall ¶
func (fake *ErrorResponse) BadRequestArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)
func (*ErrorResponse) BadRequestCallCount ¶
func (fake *ErrorResponse) BadRequestCallCount() int
func (*ErrorResponse) Forbidden ¶
func (fake *ErrorResponse) Forbidden(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)
func (*ErrorResponse) ForbiddenArgsForCall ¶
func (fake *ErrorResponse) ForbiddenArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)
func (*ErrorResponse) ForbiddenCallCount ¶
func (fake *ErrorResponse) ForbiddenCallCount() int
func (*ErrorResponse) InternalServerError ¶
func (fake *ErrorResponse) InternalServerError(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)
func (*ErrorResponse) InternalServerErrorArgsForCall ¶
func (fake *ErrorResponse) InternalServerErrorArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)
func (*ErrorResponse) InternalServerErrorCallCount ¶
func (fake *ErrorResponse) InternalServerErrorCallCount() int
func (*ErrorResponse) Invocations ¶
func (fake *ErrorResponse) Invocations() map[string][][]interface{}
func (*ErrorResponse) NotAcceptable ¶
func (fake *ErrorResponse) NotAcceptable(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)
func (*ErrorResponse) NotAcceptableArgsForCall ¶
func (fake *ErrorResponse) NotAcceptableArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)
func (*ErrorResponse) NotAcceptableCallCount ¶
func (fake *ErrorResponse) NotAcceptableCallCount() int
func (*ErrorResponse) Unauthorized ¶
func (fake *ErrorResponse) Unauthorized(arg1 lager.Logger, arg2 http.ResponseWriter, arg3 error, arg4 string)
func (*ErrorResponse) UnauthorizedArgsForCall ¶
func (fake *ErrorResponse) UnauthorizedArgsForCall(i int) (lager.Logger, http.ResponseWriter, error, string)
func (*ErrorResponse) UnauthorizedCallCount ¶
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 ¶
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 ¶
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 ¶
func (fake *PolicyGuard) CheckAccessReturnsOnCall(i int, result1 bool, result2 error)
func (*PolicyGuard) Invocations ¶
func (fake *PolicyGuard) Invocations() map[string][][]interface{}
type QuotaGuard ¶
type QuotaGuard struct { CheckAccessStub func(policies []store.Policy, tokenData uaa_client.CheckTokenResponse) (bool, error) // contains filtered or unexported fields }
func (*QuotaGuard) CheckAccess ¶
func (fake *QuotaGuard) CheckAccess(policies []store.Policy, tokenData uaa_client.CheckTokenResponse) (bool, error)
func (*QuotaGuard) CheckAccessArgsForCall ¶
func (fake *QuotaGuard) CheckAccessArgsForCall(i int) ([]store.Policy, uaa_client.CheckTokenResponse)
func (*QuotaGuard) CheckAccessCallCount ¶
func (fake *QuotaGuard) CheckAccessCallCount() int
func (*QuotaGuard) CheckAccessReturns ¶
func (fake *QuotaGuard) CheckAccessReturns(result1 bool, result2 error)
func (*QuotaGuard) CheckAccessReturnsOnCall ¶
func (fake *QuotaGuard) CheckAccessReturnsOnCall(i int, result1 bool, result2 error)
func (*QuotaGuard) Invocations ¶
func (fake *QuotaGuard) Invocations() map[string][][]interface{}
type RataAdapter ¶
type RataAdapter struct { ParamStub func(*http.Request, string) string // contains filtered or unexported fields }
func (*RataAdapter) Invocations ¶
func (fake *RataAdapter) Invocations() map[string][][]interface{}
func (*RataAdapter) ParamArgsForCall ¶
func (fake *RataAdapter) ParamArgsForCall(i int) (*http.Request, string)
func (*RataAdapter) ParamCallCount ¶
func (fake *RataAdapter) ParamCallCount() int
func (*RataAdapter) ParamReturns ¶
func (fake *RataAdapter) ParamReturns(result1 string)
func (*RataAdapter) ParamReturnsOnCall ¶
func (fake *RataAdapter) ParamReturnsOnCall(i int, result1 string)
type RataParam ¶
type RataParam struct { ParamStub func(*http.Request, string) string // contains filtered or unexported fields }
func (*RataParam) Invocations ¶
func (*RataParam) ParamArgsForCall ¶
func (*RataParam) ParamCallCount ¶
func (*RataParam) ParamReturns ¶
func (*RataParam) ParamReturnsOnCall ¶
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 ¶
func (*Store) ByGuidsArgsForCall ¶
func (*Store) ByGuidsCallCount ¶
func (*Store) ByGuidsReturns ¶
func (*Store) ByGuidsReturnsOnCall ¶
func (*Store) CheckDatabase ¶
func (*Store) CheckDatabaseCallCount ¶
func (*Store) CheckDatabaseReturns ¶
func (*Store) CheckDatabaseReturnsOnCall ¶
func (*Store) CreateCallCount ¶
func (*Store) CreateReturns ¶
func (*Store) CreateReturnsOnCall ¶
func (*Store) DeleteCallCount ¶
func (*Store) DeleteReturns ¶
func (*Store) DeleteReturnsOnCall ¶
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 ¶
func (fake *UAAClient) CheckTokenReturnsOnCall(i int, result1 uaa_client.CheckTokenResponse, result2 error)
func (*UAAClient) GetTokenCallCount ¶
func (*UAAClient) GetTokenReturns ¶
func (*UAAClient) GetTokenReturnsOnCall ¶
func (*UAAClient) Invocations ¶
Click to show internal directories.
Click to hide internal directories.