mock

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockActionAPI

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

MockActionAPI is a mock of ActionAPI interface.

func NewMockActionAPI

func NewMockActionAPI(ctrl *gomock.Controller) *MockActionAPI

NewMockActionAPI creates a new mock instance.

func (*MockActionAPI) Create

Create mocks base method.

func (*MockActionAPI) Delete

func (m *MockActionAPI) Delete(id string, opts ...management.RequestOption) error

Delete mocks base method.

func (*MockActionAPI) Deploy

Deploy mocks base method.

func (*MockActionAPI) EXPECT

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

func (*MockActionAPI) List

List mocks base method.

func (*MockActionAPI) Read

Read mocks base method.

func (*MockActionAPI) Triggers

Triggers mocks base method.

func (*MockActionAPI) Update

func (m *MockActionAPI) Update(id string, a *management.Action, opts ...management.RequestOption) error

Update mocks base method.

type MockActionAPIMockRecorder

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

MockActionAPIMockRecorder is the mock recorder for MockActionAPI.

func (*MockActionAPIMockRecorder) Create

func (mr *MockActionAPIMockRecorder) Create(a interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockActionAPIMockRecorder) Delete

func (mr *MockActionAPIMockRecorder) Delete(id interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockActionAPIMockRecorder) Deploy

func (mr *MockActionAPIMockRecorder) Deploy(id interface{}, opts ...interface{}) *gomock.Call

Deploy indicates an expected call of Deploy.

func (*MockActionAPIMockRecorder) List

func (mr *MockActionAPIMockRecorder) List(opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockActionAPIMockRecorder) Read

func (mr *MockActionAPIMockRecorder) Read(id interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockActionAPIMockRecorder) Triggers

func (mr *MockActionAPIMockRecorder) Triggers(opts ...interface{}) *gomock.Call

Triggers indicates an expected call of Triggers.

func (*MockActionAPIMockRecorder) Update

func (mr *MockActionAPIMockRecorder) Update(id, a interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockBrandingAPI

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

MockBrandingAPI is a mock of BrandingAPI interface.

func NewMockBrandingAPI

func NewMockBrandingAPI(ctrl *gomock.Controller) *MockBrandingAPI

NewMockBrandingAPI creates a new mock instance.

func (*MockBrandingAPI) DeleteUniversalLogin

func (m *MockBrandingAPI) DeleteUniversalLogin(opts ...management.RequestOption) error

DeleteUniversalLogin mocks base method.

func (*MockBrandingAPI) EXPECT

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

func (*MockBrandingAPI) Read

Read mocks base method.

func (*MockBrandingAPI) SetUniversalLogin

SetUniversalLogin mocks base method.

func (*MockBrandingAPI) UniversalLogin

UniversalLogin mocks base method.

func (*MockBrandingAPI) Update

Update mocks base method.

type MockBrandingAPIMockRecorder

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

MockBrandingAPIMockRecorder is the mock recorder for MockBrandingAPI.

func (*MockBrandingAPIMockRecorder) DeleteUniversalLogin

func (mr *MockBrandingAPIMockRecorder) DeleteUniversalLogin(opts ...interface{}) *gomock.Call

DeleteUniversalLogin indicates an expected call of DeleteUniversalLogin.

func (*MockBrandingAPIMockRecorder) Read

func (mr *MockBrandingAPIMockRecorder) Read(opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockBrandingAPIMockRecorder) SetUniversalLogin

func (mr *MockBrandingAPIMockRecorder) SetUniversalLogin(ul interface{}, opts ...interface{}) *gomock.Call

SetUniversalLogin indicates an expected call of SetUniversalLogin.

func (*MockBrandingAPIMockRecorder) UniversalLogin

func (mr *MockBrandingAPIMockRecorder) UniversalLogin(opts ...interface{}) *gomock.Call

UniversalLogin indicates an expected call of UniversalLogin.

func (*MockBrandingAPIMockRecorder) Update

func (mr *MockBrandingAPIMockRecorder) Update(t interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockClientAPI

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

MockClientAPI is a mock of ClientAPI interface.

func NewMockClientAPI

func NewMockClientAPI(ctrl *gomock.Controller) *MockClientAPI

NewMockClientAPI creates a new mock instance.

func (*MockClientAPI) Create

Create mocks base method.

func (*MockClientAPI) Delete

func (m *MockClientAPI) Delete(id string, opts ...management.RequestOption) error

Delete mocks base method.

func (*MockClientAPI) EXPECT

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

func (*MockClientAPI) List

List mocks base method.

func (*MockClientAPI) Read

Read mocks base method.

func (*MockClientAPI) RotateSecret

func (m *MockClientAPI) RotateSecret(id string, opts ...management.RequestOption) (*management.Client, error)

RotateSecret mocks base method.

func (*MockClientAPI) Update

func (m *MockClientAPI) Update(id string, c *management.Client, opts ...management.RequestOption) error

Update mocks base method.

type MockClientAPIMockRecorder

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

MockClientAPIMockRecorder is the mock recorder for MockClientAPI.

func (*MockClientAPIMockRecorder) Create

func (mr *MockClientAPIMockRecorder) Create(c interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockClientAPIMockRecorder) Delete

func (mr *MockClientAPIMockRecorder) Delete(id interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockClientAPIMockRecorder) List

func (mr *MockClientAPIMockRecorder) List(opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockClientAPIMockRecorder) Read

func (mr *MockClientAPIMockRecorder) Read(id interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockClientAPIMockRecorder) RotateSecret

func (mr *MockClientAPIMockRecorder) RotateSecret(id interface{}, opts ...interface{}) *gomock.Call

RotateSecret indicates an expected call of RotateSecret.

func (*MockClientAPIMockRecorder) Update

func (mr *MockClientAPIMockRecorder) Update(id, c interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockConnectionAPI

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

MockConnectionAPI is a mock of ConnectionAPI interface.

func NewMockConnectionAPI

func NewMockConnectionAPI(ctrl *gomock.Controller) *MockConnectionAPI

NewMockConnectionAPI creates a new mock instance.

func (*MockConnectionAPI) Create

Create mocks base method.

func (*MockConnectionAPI) Delete

func (m *MockConnectionAPI) Delete(id string, opts ...management.RequestOption) error

Delete mocks base method.

func (*MockConnectionAPI) EXPECT

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

func (*MockConnectionAPI) List

List mocks base method.

func (*MockConnectionAPI) Read

Read mocks base method.

func (*MockConnectionAPI) ReadByName

ReadByName mocks base method.

func (*MockConnectionAPI) Update

Update mocks base method.

type MockConnectionAPIMockRecorder

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

MockConnectionAPIMockRecorder is the mock recorder for MockConnectionAPI.

func (*MockConnectionAPIMockRecorder) Create

func (mr *MockConnectionAPIMockRecorder) Create(c interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockConnectionAPIMockRecorder) Delete

func (mr *MockConnectionAPIMockRecorder) Delete(id interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockConnectionAPIMockRecorder) List

func (mr *MockConnectionAPIMockRecorder) List(opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockConnectionAPIMockRecorder) Read

func (mr *MockConnectionAPIMockRecorder) Read(id interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockConnectionAPIMockRecorder) ReadByName

func (mr *MockConnectionAPIMockRecorder) ReadByName(id interface{}, opts ...interface{}) *gomock.Call

ReadByName indicates an expected call of ReadByName.

func (*MockConnectionAPIMockRecorder) Update

func (mr *MockConnectionAPIMockRecorder) Update(id, c interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockCustomDomainAPI

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

MockCustomDomainAPI is a mock of CustomDomainAPI interface.

func NewMockCustomDomainAPI

func NewMockCustomDomainAPI(ctrl *gomock.Controller) *MockCustomDomainAPI

NewMockCustomDomainAPI creates a new mock instance.

func (*MockCustomDomainAPI) Create

Create mocks base method.

func (*MockCustomDomainAPI) Delete

func (m *MockCustomDomainAPI) Delete(id string, opts ...management.RequestOption) error

Delete mocks base method.

func (*MockCustomDomainAPI) EXPECT

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

func (*MockCustomDomainAPI) List

List mocks base method.

func (*MockCustomDomainAPI) Read

Read mocks base method.

func (*MockCustomDomainAPI) Update

Update mocks base method.

func (*MockCustomDomainAPI) Verify

Verify mocks base method.

type MockCustomDomainAPIMockRecorder

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

MockCustomDomainAPIMockRecorder is the mock recorder for MockCustomDomainAPI.

func (*MockCustomDomainAPIMockRecorder) Create

func (mr *MockCustomDomainAPIMockRecorder) Create(c interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockCustomDomainAPIMockRecorder) Delete

func (mr *MockCustomDomainAPIMockRecorder) Delete(id interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockCustomDomainAPIMockRecorder) List

func (mr *MockCustomDomainAPIMockRecorder) List(opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockCustomDomainAPIMockRecorder) Read

func (mr *MockCustomDomainAPIMockRecorder) Read(id interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockCustomDomainAPIMockRecorder) Update

func (mr *MockCustomDomainAPIMockRecorder) Update(id, c interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockCustomDomainAPIMockRecorder) Verify

func (mr *MockCustomDomainAPIMockRecorder) Verify(id interface{}, opts ...interface{}) *gomock.Call

Verify indicates an expected call of Verify.

type MockLogAPI

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

MockLogAPI is a mock of LogAPI interface.

func NewMockLogAPI

func NewMockLogAPI(ctrl *gomock.Controller) *MockLogAPI

NewMockLogAPI creates a new mock instance.

func (*MockLogAPI) EXPECT

func (m *MockLogAPI) EXPECT() *MockLogAPIMockRecorder

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

func (*MockLogAPI) List

func (m *MockLogAPI) List(opts ...management.RequestOption) ([]*management.Log, error)

List mocks base method.

func (*MockLogAPI) Read

func (m *MockLogAPI) Read(id string, opts ...management.RequestOption) (*management.Log, error)

Read mocks base method.

func (*MockLogAPI) Search

func (m *MockLogAPI) Search(opts ...management.RequestOption) ([]*management.Log, error)

Search mocks base method.

type MockLogAPIMockRecorder

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

MockLogAPIMockRecorder is the mock recorder for MockLogAPI.

func (*MockLogAPIMockRecorder) List

func (mr *MockLogAPIMockRecorder) List(opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockLogAPIMockRecorder) Read

func (mr *MockLogAPIMockRecorder) Read(id interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockLogAPIMockRecorder) Search

func (mr *MockLogAPIMockRecorder) Search(opts ...interface{}) *gomock.Call

Search indicates an expected call of Search.

type MockLogStreamAPI

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

MockLogStreamAPI is a mock of LogStreamAPI interface.

func NewMockLogStreamAPI

func NewMockLogStreamAPI(ctrl *gomock.Controller) *MockLogStreamAPI

NewMockLogStreamAPI creates a new mock instance.

func (*MockLogStreamAPI) Create

Create mocks base method.

func (*MockLogStreamAPI) Delete

func (m *MockLogStreamAPI) Delete(id string, opts ...management.RequestOption) error

Delete mocks base method.

func (*MockLogStreamAPI) EXPECT

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

func (*MockLogStreamAPI) List

List mocks base method.

func (*MockLogStreamAPI) Read

Read mocks base method.

func (*MockLogStreamAPI) Update

Update mocks base method.

type MockLogStreamAPIMockRecorder

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

MockLogStreamAPIMockRecorder is the mock recorder for MockLogStreamAPI.

func (*MockLogStreamAPIMockRecorder) Create

func (mr *MockLogStreamAPIMockRecorder) Create(ls interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockLogStreamAPIMockRecorder) Delete

func (mr *MockLogStreamAPIMockRecorder) Delete(id interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockLogStreamAPIMockRecorder) List

func (mr *MockLogStreamAPIMockRecorder) List(opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockLogStreamAPIMockRecorder) Read

func (mr *MockLogStreamAPIMockRecorder) Read(id interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockLogStreamAPIMockRecorder) Update

func (mr *MockLogStreamAPIMockRecorder) Update(id, ls interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockOrganizationAPI

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

MockOrganizationAPI is a mock of OrganizationAPI interface.

func NewMockOrganizationAPI

func NewMockOrganizationAPI(ctrl *gomock.Controller) *MockOrganizationAPI

NewMockOrganizationAPI creates a new mock instance.

func (*MockOrganizationAPI) Create

Create mocks base method.

func (*MockOrganizationAPI) Delete

func (m *MockOrganizationAPI) Delete(id string, opts ...management.RequestOption) error

Delete mocks base method.

func (*MockOrganizationAPI) EXPECT

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

func (*MockOrganizationAPI) List

List mocks base method.

func (*MockOrganizationAPI) MemberRoles

MemberRoles mocks base method.

func (*MockOrganizationAPI) Members

Members mocks base method.

func (*MockOrganizationAPI) Read

Read mocks base method.

func (*MockOrganizationAPI) Update

Update mocks base method.

type MockOrganizationAPIMockRecorder

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

MockOrganizationAPIMockRecorder is the mock recorder for MockOrganizationAPI.

func (*MockOrganizationAPIMockRecorder) Create

func (mr *MockOrganizationAPIMockRecorder) Create(o interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockOrganizationAPIMockRecorder) Delete

func (mr *MockOrganizationAPIMockRecorder) Delete(id interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockOrganizationAPIMockRecorder) List

func (mr *MockOrganizationAPIMockRecorder) List(opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockOrganizationAPIMockRecorder) MemberRoles

func (mr *MockOrganizationAPIMockRecorder) MemberRoles(id, userID interface{}, opts ...interface{}) *gomock.Call

MemberRoles indicates an expected call of MemberRoles.

func (*MockOrganizationAPIMockRecorder) Members

func (mr *MockOrganizationAPIMockRecorder) Members(id interface{}, opts ...interface{}) *gomock.Call

Members indicates an expected call of Members.

func (*MockOrganizationAPIMockRecorder) Read

func (mr *MockOrganizationAPIMockRecorder) Read(id interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockOrganizationAPIMockRecorder) Update

func (mr *MockOrganizationAPIMockRecorder) Update(id, o interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockPromptAPI

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

MockPromptAPI is a mock of PromptAPI interface.

func NewMockPromptAPI

func NewMockPromptAPI(ctrl *gomock.Controller) *MockPromptAPI

NewMockPromptAPI creates a new mock instance.

func (*MockPromptAPI) CustomText

func (m *MockPromptAPI) CustomText(p, l string, opts ...management.RequestOption) (map[string]interface{}, error)

CustomText mocks base method.

func (*MockPromptAPI) EXPECT

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

func (*MockPromptAPI) Read

Read mocks base method.

func (*MockPromptAPI) SetCustomText

func (m *MockPromptAPI) SetCustomText(p, l string, b map[string]interface{}, opts ...management.RequestOption) error

SetCustomText mocks base method.

func (*MockPromptAPI) Update

Update mocks base method.

type MockPromptAPIMockRecorder

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

MockPromptAPIMockRecorder is the mock recorder for MockPromptAPI.

func (*MockPromptAPIMockRecorder) CustomText

func (mr *MockPromptAPIMockRecorder) CustomText(p, l interface{}, opts ...interface{}) *gomock.Call

CustomText indicates an expected call of CustomText.

func (*MockPromptAPIMockRecorder) Read

func (mr *MockPromptAPIMockRecorder) Read(opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockPromptAPIMockRecorder) SetCustomText

func (mr *MockPromptAPIMockRecorder) SetCustomText(p, l, b interface{}, opts ...interface{}) *gomock.Call

SetCustomText indicates an expected call of SetCustomText.

func (*MockPromptAPIMockRecorder) Update

func (mr *MockPromptAPIMockRecorder) Update(p interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockResourceServerAPI

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

MockResourceServerAPI is a mock of ResourceServerAPI interface.

func NewMockResourceServerAPI

func NewMockResourceServerAPI(ctrl *gomock.Controller) *MockResourceServerAPI

NewMockResourceServerAPI creates a new mock instance.

func (*MockResourceServerAPI) Create

Create mocks base method.

func (*MockResourceServerAPI) Delete

Delete mocks base method.

func (*MockResourceServerAPI) EXPECT

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

func (*MockResourceServerAPI) List

List mocks base method.

func (*MockResourceServerAPI) Read

Read mocks base method.

func (*MockResourceServerAPI) Stream

Stream mocks base method.

func (*MockResourceServerAPI) Update

Update mocks base method.

type MockResourceServerAPIMockRecorder

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

MockResourceServerAPIMockRecorder is the mock recorder for MockResourceServerAPI.

func (*MockResourceServerAPIMockRecorder) Create

func (mr *MockResourceServerAPIMockRecorder) Create(rs interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockResourceServerAPIMockRecorder) Delete

func (mr *MockResourceServerAPIMockRecorder) Delete(id interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockResourceServerAPIMockRecorder) List

func (mr *MockResourceServerAPIMockRecorder) List(opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockResourceServerAPIMockRecorder) Read

func (mr *MockResourceServerAPIMockRecorder) Read(id interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockResourceServerAPIMockRecorder) Stream

func (mr *MockResourceServerAPIMockRecorder) Stream(fn interface{}, opts ...interface{}) *gomock.Call

Stream indicates an expected call of Stream.

func (*MockResourceServerAPIMockRecorder) Update

func (mr *MockResourceServerAPIMockRecorder) Update(id, rs interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockRoleAPI

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

MockRoleAPI is a mock of RoleAPI interface.

func NewMockRoleAPI

func NewMockRoleAPI(ctrl *gomock.Controller) *MockRoleAPI

NewMockRoleAPI creates a new mock instance.

func (*MockRoleAPI) AssociatePermissions

func (m *MockRoleAPI) AssociatePermissions(id string, permissions []*management.Permission, opts ...management.RequestOption) error

AssociatePermissions mocks base method.

func (*MockRoleAPI) Create

func (m *MockRoleAPI) Create(r *management.Role, opts ...management.RequestOption) error

Create mocks base method.

func (*MockRoleAPI) Delete

func (m *MockRoleAPI) Delete(id string, opts ...management.RequestOption) error

Delete mocks base method.

func (*MockRoleAPI) EXPECT

func (m *MockRoleAPI) EXPECT() *MockRoleAPIMockRecorder

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

func (*MockRoleAPI) List

List mocks base method.

func (*MockRoleAPI) Permissions

func (m *MockRoleAPI) Permissions(id string, opts ...management.RequestOption) (*management.PermissionList, error)

Permissions mocks base method.

func (*MockRoleAPI) Read

func (m *MockRoleAPI) Read(id string, opts ...management.RequestOption) (*management.Role, error)

Read mocks base method.

func (*MockRoleAPI) RemovePermissions

func (m *MockRoleAPI) RemovePermissions(id string, permissions []*management.Permission, opts ...management.RequestOption) error

RemovePermissions mocks base method.

func (*MockRoleAPI) Update

func (m *MockRoleAPI) Update(id string, r *management.Role, opts ...management.RequestOption) error

Update mocks base method.

type MockRoleAPIMockRecorder

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

MockRoleAPIMockRecorder is the mock recorder for MockRoleAPI.

func (*MockRoleAPIMockRecorder) AssociatePermissions

func (mr *MockRoleAPIMockRecorder) AssociatePermissions(id, permissions interface{}, opts ...interface{}) *gomock.Call

AssociatePermissions indicates an expected call of AssociatePermissions.

func (*MockRoleAPIMockRecorder) Create

func (mr *MockRoleAPIMockRecorder) Create(r interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockRoleAPIMockRecorder) Delete

func (mr *MockRoleAPIMockRecorder) Delete(id interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRoleAPIMockRecorder) List

func (mr *MockRoleAPIMockRecorder) List(opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockRoleAPIMockRecorder) Permissions

func (mr *MockRoleAPIMockRecorder) Permissions(id interface{}, opts ...interface{}) *gomock.Call

Permissions indicates an expected call of Permissions.

func (*MockRoleAPIMockRecorder) Read

func (mr *MockRoleAPIMockRecorder) Read(id interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockRoleAPIMockRecorder) RemovePermissions

func (mr *MockRoleAPIMockRecorder) RemovePermissions(id, permissions interface{}, opts ...interface{}) *gomock.Call

RemovePermissions indicates an expected call of RemovePermissions.

func (*MockRoleAPIMockRecorder) Update

func (mr *MockRoleAPIMockRecorder) Update(id, r interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockRuleAPI

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

MockRuleAPI is a mock of RuleAPI interface.

func NewMockRuleAPI

func NewMockRuleAPI(ctrl *gomock.Controller) *MockRuleAPI

NewMockRuleAPI creates a new mock instance.

func (*MockRuleAPI) Create

func (m *MockRuleAPI) Create(r *management.Rule, opts ...management.RequestOption) error

Create mocks base method.

func (*MockRuleAPI) Delete

func (m *MockRuleAPI) Delete(id string, opts ...management.RequestOption) error

Delete mocks base method.

func (*MockRuleAPI) EXPECT

func (m *MockRuleAPI) EXPECT() *MockRuleAPIMockRecorder

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

func (*MockRuleAPI) List

List mocks base method.

func (*MockRuleAPI) Read

func (m *MockRuleAPI) Read(id string, opts ...management.RequestOption) (*management.Rule, error)

Read mocks base method.

func (*MockRuleAPI) Update

func (m *MockRuleAPI) Update(id string, r *management.Rule, opts ...management.RequestOption) error

Update mocks base method.

type MockRuleAPIMockRecorder

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

MockRuleAPIMockRecorder is the mock recorder for MockRuleAPI.

func (*MockRuleAPIMockRecorder) Create

func (mr *MockRuleAPIMockRecorder) Create(r interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockRuleAPIMockRecorder) Delete

func (mr *MockRuleAPIMockRecorder) Delete(id interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRuleAPIMockRecorder) List

func (mr *MockRuleAPIMockRecorder) List(opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockRuleAPIMockRecorder) Read

func (mr *MockRuleAPIMockRecorder) Read(id interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockRuleAPIMockRecorder) Update

func (mr *MockRuleAPIMockRecorder) Update(id, r interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockTenantAPI

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

MockTenantAPI is a mock of TenantAPI interface.

func NewMockTenantAPI

func NewMockTenantAPI(ctrl *gomock.Controller) *MockTenantAPI

NewMockTenantAPI creates a new mock instance.

func (*MockTenantAPI) EXPECT

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

func (*MockTenantAPI) Read

Read mocks base method.

type MockTenantAPIMockRecorder

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

MockTenantAPIMockRecorder is the mock recorder for MockTenantAPI.

func (*MockTenantAPIMockRecorder) Read

func (mr *MockTenantAPIMockRecorder) Read(opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

type MockUserAPI

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

MockUserAPI is a mock of UserAPI interface.

func NewMockUserAPI

func NewMockUserAPI(ctrl *gomock.Controller) *MockUserAPI

NewMockUserAPI creates a new mock instance.

func (*MockUserAPI) AssignRoles

func (m *MockUserAPI) AssignRoles(id string, roles []*management.Role, opts ...management.RequestOption) error

AssignRoles mocks base method.

func (*MockUserAPI) Blocks

func (m *MockUserAPI) Blocks(id string, opts ...management.RequestOption) ([]*management.UserBlock, error)

Blocks mocks base method.

func (*MockUserAPI) Create

func (m *MockUserAPI) Create(u *management.User, opts ...management.RequestOption) error

Create mocks base method.

func (*MockUserAPI) Delete

func (m *MockUserAPI) Delete(id string, opts ...management.RequestOption) error

Delete mocks base method.

func (*MockUserAPI) EXPECT

func (m *MockUserAPI) EXPECT() *MockUserAPIMockRecorder

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

func (*MockUserAPI) List

List mocks base method.

func (*MockUserAPI) Read

func (m *MockUserAPI) Read(id string, opts ...management.RequestOption) (*management.User, error)

Read mocks base method.

func (*MockUserAPI) RemoveRoles

func (m *MockUserAPI) RemoveRoles(id string, roles []*management.Role, opts ...management.RequestOption) error

RemoveRoles mocks base method.

func (*MockUserAPI) Roles

Roles mocks base method.

func (*MockUserAPI) Search

Search mocks base method.

func (*MockUserAPI) Unblock

func (m *MockUserAPI) Unblock(id string, opts ...management.RequestOption) error

Unblock mocks base method.

func (*MockUserAPI) Update

func (m *MockUserAPI) Update(id string, u *management.User, opts ...management.RequestOption) error

Update mocks base method.

type MockUserAPIMockRecorder

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

MockUserAPIMockRecorder is the mock recorder for MockUserAPI.

func (*MockUserAPIMockRecorder) AssignRoles

func (mr *MockUserAPIMockRecorder) AssignRoles(id, roles interface{}, opts ...interface{}) *gomock.Call

AssignRoles indicates an expected call of AssignRoles.

func (*MockUserAPIMockRecorder) Blocks

func (mr *MockUserAPIMockRecorder) Blocks(id interface{}, opts ...interface{}) *gomock.Call

Blocks indicates an expected call of Blocks.

func (*MockUserAPIMockRecorder) Create

func (mr *MockUserAPIMockRecorder) Create(u interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockUserAPIMockRecorder) Delete

func (mr *MockUserAPIMockRecorder) Delete(id interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockUserAPIMockRecorder) List

func (mr *MockUserAPIMockRecorder) List(opts ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockUserAPIMockRecorder) Read

func (mr *MockUserAPIMockRecorder) Read(id interface{}, opts ...interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockUserAPIMockRecorder) RemoveRoles

func (mr *MockUserAPIMockRecorder) RemoveRoles(id, roles interface{}, opts ...interface{}) *gomock.Call

RemoveRoles indicates an expected call of RemoveRoles.

func (*MockUserAPIMockRecorder) Roles

func (mr *MockUserAPIMockRecorder) Roles(id interface{}, opts ...interface{}) *gomock.Call

Roles indicates an expected call of Roles.

func (*MockUserAPIMockRecorder) Search

func (mr *MockUserAPIMockRecorder) Search(opts ...interface{}) *gomock.Call

Search indicates an expected call of Search.

func (*MockUserAPIMockRecorder) Unblock

func (mr *MockUserAPIMockRecorder) Unblock(id interface{}, opts ...interface{}) *gomock.Call

Unblock indicates an expected call of Unblock.

func (*MockUserAPIMockRecorder) Update

func (mr *MockUserAPIMockRecorder) Update(id, u interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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