mock_organization

package
v0.33.4 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: members.go

Generated by this command:

mockgen -source=members.go -destination=./mock/members.go

Package mock_organization is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: namespace.go

Generated by this command:

mockgen -source=namespace.go -destination=./mock/namespace.go

Package mock_organization is a generated GoMock package.

Code generated by MockGen. DO NOT EDIT. Source: rolebindings.go

Generated by this command:

mockgen -source=rolebindings.go -destination=./mock/rolebindings.go

Package mock_organization is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockmemberProvider added in v0.3.0

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

MockmemberProvider is a mock of memberProvider interface.

func NewMockmemberProvider added in v0.3.0

func NewMockmemberProvider(ctrl *gomock.Controller) *MockmemberProvider

NewMockmemberProvider creates a new mock instance.

func (*MockmemberProvider) CreateMembers added in v0.3.0

func (m *MockmemberProvider) CreateMembers(ctx context.Context, members *v1.OrganizationMembers) error

CreateMembers mocks base method.

func (*MockmemberProvider) EXPECT added in v0.3.0

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

type MockmemberProviderMockRecorder added in v0.3.0

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

MockmemberProviderMockRecorder is the mock recorder for MockmemberProvider.

func (*MockmemberProviderMockRecorder) CreateMembers added in v0.3.0

func (mr *MockmemberProviderMockRecorder) CreateMembers(ctx, members any) *gomock.Call

CreateMembers indicates an expected call of CreateMembers.

type MocknamespaceProvider

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

MocknamespaceProvider is a mock of namespaceProvider interface.

func NewMocknamespaceProvider

func NewMocknamespaceProvider(ctrl *gomock.Controller) *MocknamespaceProvider

NewMocknamespaceProvider creates a new mock instance.

func (*MocknamespaceProvider) CreateNamespace

func (m *MocknamespaceProvider) CreateNamespace(ctx context.Context, ns *v1.Namespace, options *v10.CreateOptions) (*v1.Namespace, error)

CreateNamespace mocks base method.

func (*MocknamespaceProvider) DeleteNamespace

func (m *MocknamespaceProvider) DeleteNamespace(ctx context.Context, name string, options *v10.DeleteOptions) (*v1.Namespace, error)

DeleteNamespace mocks base method.

func (*MocknamespaceProvider) EXPECT

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

func (*MocknamespaceProvider) GetNamespace

func (m *MocknamespaceProvider) GetNamespace(ctx context.Context, name string, options *v10.GetOptions) (*v1.Namespace, error)

GetNamespace mocks base method.

func (*MocknamespaceProvider) ListNamespaces

ListNamespaces mocks base method.

func (*MocknamespaceProvider) UpdateNamespace

func (m *MocknamespaceProvider) UpdateNamespace(ctx context.Context, ns *v1.Namespace, options *v10.UpdateOptions) error

UpdateNamespace mocks base method.

func (*MocknamespaceProvider) WatchNamespaces

WatchNamespaces mocks base method.

type MocknamespaceProviderMockRecorder

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

MocknamespaceProviderMockRecorder is the mock recorder for MocknamespaceProvider.

func (*MocknamespaceProviderMockRecorder) CreateNamespace

func (mr *MocknamespaceProviderMockRecorder) CreateNamespace(ctx, ns, options any) *gomock.Call

CreateNamespace indicates an expected call of CreateNamespace.

func (*MocknamespaceProviderMockRecorder) DeleteNamespace

func (mr *MocknamespaceProviderMockRecorder) DeleteNamespace(ctx, name, options any) *gomock.Call

DeleteNamespace indicates an expected call of DeleteNamespace.

func (*MocknamespaceProviderMockRecorder) GetNamespace

func (mr *MocknamespaceProviderMockRecorder) GetNamespace(ctx, name, options any) *gomock.Call

GetNamespace indicates an expected call of GetNamespace.

func (*MocknamespaceProviderMockRecorder) ListNamespaces

func (mr *MocknamespaceProviderMockRecorder) ListNamespaces(ctx, options any) *gomock.Call

ListNamespaces indicates an expected call of ListNamespaces.

func (*MocknamespaceProviderMockRecorder) UpdateNamespace

func (mr *MocknamespaceProviderMockRecorder) UpdateNamespace(ctx, ns, options any) *gomock.Call

UpdateNamespace indicates an expected call of UpdateNamespace.

func (*MocknamespaceProviderMockRecorder) WatchNamespaces

func (mr *MocknamespaceProviderMockRecorder) WatchNamespaces(ctx, options any) *gomock.Call

WatchNamespaces indicates an expected call of WatchNamespaces.

type MockroleBindingCreator added in v0.3.0

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

MockroleBindingCreator is a mock of roleBindingCreator interface.

func NewMockroleBindingCreator added in v0.3.0

func NewMockroleBindingCreator(ctrl *gomock.Controller) *MockroleBindingCreator

NewMockroleBindingCreator creates a new mock instance.

func (*MockroleBindingCreator) CreateRoleBindings added in v0.3.0

func (m *MockroleBindingCreator) CreateRoleBindings(ctx context.Context, namespace, username string) error

CreateRoleBindings mocks base method.

func (*MockroleBindingCreator) EXPECT added in v0.3.0

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

type MockroleBindingCreatorMockRecorder added in v0.3.0

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

MockroleBindingCreatorMockRecorder is the mock recorder for MockroleBindingCreator.

func (*MockroleBindingCreatorMockRecorder) CreateRoleBindings added in v0.3.0

func (mr *MockroleBindingCreatorMockRecorder) CreateRoleBindings(ctx, namespace, username any) *gomock.Call

CreateRoleBindings indicates an expected call of CreateRoleBindings.

Jump to

Keyboard shortcuts

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