juju: github.com/juju/juju/apiserver/facade/mocks Index | Files

package mocks

import "github.com/juju/juju/apiserver/facade/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

facade_mock.go

type MockAuthorizer Uses

type MockAuthorizer struct {
    // contains filtered or unexported fields
}

MockAuthorizer is a mock of Authorizer interface

func NewMockAuthorizer Uses

func NewMockAuthorizer(ctrl *gomock.Controller) *MockAuthorizer

NewMockAuthorizer creates a new mock instance

func (*MockAuthorizer) AuthApplicationAgent Uses

func (m *MockAuthorizer) AuthApplicationAgent() bool

AuthApplicationAgent mocks base method

func (*MockAuthorizer) AuthClient Uses

func (m *MockAuthorizer) AuthClient() bool

AuthClient mocks base method

func (*MockAuthorizer) AuthController Uses

func (m *MockAuthorizer) AuthController() bool

AuthController mocks base method

func (*MockAuthorizer) AuthMachineAgent Uses

func (m *MockAuthorizer) AuthMachineAgent() bool

AuthMachineAgent mocks base method

func (*MockAuthorizer) AuthOwner Uses

func (m *MockAuthorizer) AuthOwner(arg0 names_v3.Tag) bool

AuthOwner mocks base method

func (*MockAuthorizer) AuthUnitAgent Uses

func (m *MockAuthorizer) AuthUnitAgent() bool

AuthUnitAgent mocks base method

func (*MockAuthorizer) ConnectedModel Uses

func (m *MockAuthorizer) ConnectedModel() string

ConnectedModel mocks base method

func (*MockAuthorizer) EXPECT Uses

func (m *MockAuthorizer) EXPECT() *MockAuthorizerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAuthorizer) GetAuthTag Uses

func (m *MockAuthorizer) GetAuthTag() names_v3.Tag

GetAuthTag mocks base method

func (*MockAuthorizer) HasPermission Uses

func (m *MockAuthorizer) HasPermission(arg0 permission.Access, arg1 names_v3.Tag) (bool, error)

HasPermission mocks base method

func (*MockAuthorizer) UserHasPermission Uses

func (m *MockAuthorizer) UserHasPermission(arg0 names_v3.UserTag, arg1 permission.Access, arg2 names_v3.Tag) (bool, error)

UserHasPermission mocks base method

type MockAuthorizerMockRecorder Uses

type MockAuthorizerMockRecorder struct {
    // contains filtered or unexported fields
}

MockAuthorizerMockRecorder is the mock recorder for MockAuthorizer

func (*MockAuthorizerMockRecorder) AuthApplicationAgent Uses

func (mr *MockAuthorizerMockRecorder) AuthApplicationAgent() *gomock.Call

AuthApplicationAgent indicates an expected call of AuthApplicationAgent

func (*MockAuthorizerMockRecorder) AuthClient Uses

func (mr *MockAuthorizerMockRecorder) AuthClient() *gomock.Call

AuthClient indicates an expected call of AuthClient

func (*MockAuthorizerMockRecorder) AuthController Uses

func (mr *MockAuthorizerMockRecorder) AuthController() *gomock.Call

AuthController indicates an expected call of AuthController

func (*MockAuthorizerMockRecorder) AuthMachineAgent Uses

func (mr *MockAuthorizerMockRecorder) AuthMachineAgent() *gomock.Call

AuthMachineAgent indicates an expected call of AuthMachineAgent

func (*MockAuthorizerMockRecorder) AuthOwner Uses

func (mr *MockAuthorizerMockRecorder) AuthOwner(arg0 interface{}) *gomock.Call

AuthOwner indicates an expected call of AuthOwner

func (*MockAuthorizerMockRecorder) AuthUnitAgent Uses

func (mr *MockAuthorizerMockRecorder) AuthUnitAgent() *gomock.Call

AuthUnitAgent indicates an expected call of AuthUnitAgent

func (*MockAuthorizerMockRecorder) ConnectedModel Uses

func (mr *MockAuthorizerMockRecorder) ConnectedModel() *gomock.Call

ConnectedModel indicates an expected call of ConnectedModel

func (*MockAuthorizerMockRecorder) GetAuthTag Uses

func (mr *MockAuthorizerMockRecorder) GetAuthTag() *gomock.Call

GetAuthTag indicates an expected call of GetAuthTag

func (*MockAuthorizerMockRecorder) HasPermission Uses

func (mr *MockAuthorizerMockRecorder) HasPermission(arg0, arg1 interface{}) *gomock.Call

HasPermission indicates an expected call of HasPermission

func (*MockAuthorizerMockRecorder) UserHasPermission Uses

func (mr *MockAuthorizerMockRecorder) UserHasPermission(arg0, arg1, arg2 interface{}) *gomock.Call

UserHasPermission indicates an expected call of UserHasPermission

type MockResources Uses

type MockResources struct {
    // contains filtered or unexported fields
}

MockResources is a mock of Resources interface

func NewMockResources Uses

func NewMockResources(ctrl *gomock.Controller) *MockResources

NewMockResources creates a new mock instance

func (*MockResources) EXPECT Uses

func (m *MockResources) EXPECT() *MockResourcesMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockResources) Get Uses

func (m *MockResources) Get(arg0 string) facade.Resource

Get mocks base method

func (*MockResources) Register Uses

func (m *MockResources) Register(arg0 facade.Resource) string

Register mocks base method

func (*MockResources) Stop Uses

func (m *MockResources) Stop(arg0 string) error

Stop mocks base method

type MockResourcesMockRecorder Uses

type MockResourcesMockRecorder struct {
    // contains filtered or unexported fields
}

MockResourcesMockRecorder is the mock recorder for MockResources

func (*MockResourcesMockRecorder) Get Uses

func (mr *MockResourcesMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockResourcesMockRecorder) Register Uses

func (mr *MockResourcesMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register

func (*MockResourcesMockRecorder) Stop Uses

func (mr *MockResourcesMockRecorder) Stop(arg0 interface{}) *gomock.Call

Stop indicates an expected call of Stop

Package mocks imports 5 packages (graph). Updated 2019-08-23. Refresh now. Tools for package owners.