kubernetes_mocks

package
v0.0.0-...-e391bab Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRoleBindingExpansion

type ClusterRoleBindingExpansion struct {
	mock.Mock
}

ClusterRoleBindingExpansion is an autogenerated mock type for the ClusterRoleBindingExpansion type

type ClusterRoleBindingInterface

type ClusterRoleBindingInterface struct {
	mock.Mock
}

ClusterRoleBindingInterface is an autogenerated mock type for the ClusterRoleBindingInterface type

func (*ClusterRoleBindingInterface) Create

Create provides a mock function with given fields: ctx, clusterRoleBinding, opts

func (*ClusterRoleBindingInterface) Delete

Delete provides a mock function with given fields: ctx, name, opts

func (*ClusterRoleBindingInterface) DeleteCollection

func (_m *ClusterRoleBindingInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*ClusterRoleBindingInterface) Get

Get provides a mock function with given fields: ctx, name, opts

func (*ClusterRoleBindingInterface) List

List provides a mock function with given fields: ctx, opts

func (*ClusterRoleBindingInterface) Patch

func (_m *ClusterRoleBindingInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (*v1alpha1.ClusterRoleBinding, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*ClusterRoleBindingInterface) Update

Update provides a mock function with given fields: ctx, clusterRoleBinding, opts

func (*ClusterRoleBindingInterface) Watch

Watch provides a mock function with given fields: ctx, opts

type ClusterRoleBindingsGetter

type ClusterRoleBindingsGetter struct {
	mock.Mock
}

ClusterRoleBindingsGetter is an autogenerated mock type for the ClusterRoleBindingsGetter type

func (*ClusterRoleBindingsGetter) ClusterRoleBindings

ClusterRoleBindings provides a mock function with given fields:

type ClusterRoleExpansion

type ClusterRoleExpansion struct {
	mock.Mock
}

ClusterRoleExpansion is an autogenerated mock type for the ClusterRoleExpansion type

type ClusterRoleInterface

type ClusterRoleInterface struct {
	mock.Mock
}

ClusterRoleInterface is an autogenerated mock type for the ClusterRoleInterface type

func (*ClusterRoleInterface) Create

Create provides a mock function with given fields: ctx, clusterRole, opts

func (*ClusterRoleInterface) Delete

func (_m *ClusterRoleInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, opts

func (*ClusterRoleInterface) DeleteCollection

func (_m *ClusterRoleInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*ClusterRoleInterface) Get

Get provides a mock function with given fields: ctx, name, opts

func (*ClusterRoleInterface) List

List provides a mock function with given fields: ctx, opts

func (*ClusterRoleInterface) Patch

func (_m *ClusterRoleInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (*v1alpha1.ClusterRole, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*ClusterRoleInterface) Update

Update provides a mock function with given fields: ctx, clusterRole, opts

func (*ClusterRoleInterface) Watch

Watch provides a mock function with given fields: ctx, opts

type ClusterRolesGetter

type ClusterRolesGetter struct {
	mock.Mock
}

ClusterRolesGetter is an autogenerated mock type for the ClusterRolesGetter type

func (*ClusterRolesGetter) ClusterRoles

ClusterRoles provides a mock function with given fields:

type RbacV1alpha1Interface

type RbacV1alpha1Interface struct {
	mock.Mock
}

RbacV1alpha1Interface is an autogenerated mock type for the RbacV1alpha1Interface type

func (*RbacV1alpha1Interface) ClusterRoleBindings

ClusterRoleBindings provides a mock function with given fields:

func (*RbacV1alpha1Interface) ClusterRoles

ClusterRoles provides a mock function with given fields:

func (*RbacV1alpha1Interface) RESTClient

func (_m *RbacV1alpha1Interface) RESTClient() rest.Interface

RESTClient provides a mock function with given fields:

func (*RbacV1alpha1Interface) RoleBindings

func (_m *RbacV1alpha1Interface) RoleBindings(namespace string) v1alpha1.RoleBindingInterface

RoleBindings provides a mock function with given fields: namespace

func (*RbacV1alpha1Interface) Roles

func (_m *RbacV1alpha1Interface) Roles(namespace string) v1alpha1.RoleInterface

Roles provides a mock function with given fields: namespace

type RoleBindingExpansion

type RoleBindingExpansion struct {
	mock.Mock
}

RoleBindingExpansion is an autogenerated mock type for the RoleBindingExpansion type

type RoleBindingInterface

type RoleBindingInterface struct {
	mock.Mock
}

RoleBindingInterface is an autogenerated mock type for the RoleBindingInterface type

func (*RoleBindingInterface) Create

Create provides a mock function with given fields: ctx, roleBinding, opts

func (*RoleBindingInterface) Delete

func (_m *RoleBindingInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, opts

func (*RoleBindingInterface) DeleteCollection

func (_m *RoleBindingInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*RoleBindingInterface) Get

Get provides a mock function with given fields: ctx, name, opts

func (*RoleBindingInterface) List

List provides a mock function with given fields: ctx, opts

func (*RoleBindingInterface) Patch

func (_m *RoleBindingInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (*v1alpha1.RoleBinding, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*RoleBindingInterface) Update

Update provides a mock function with given fields: ctx, roleBinding, opts

func (*RoleBindingInterface) Watch

Watch provides a mock function with given fields: ctx, opts

type RoleBindingsGetter

type RoleBindingsGetter struct {
	mock.Mock
}

RoleBindingsGetter is an autogenerated mock type for the RoleBindingsGetter type

func (*RoleBindingsGetter) RoleBindings

func (_m *RoleBindingsGetter) RoleBindings(namespace string) v1alpha1.RoleBindingInterface

RoleBindings provides a mock function with given fields: namespace

type RoleExpansion

type RoleExpansion struct {
	mock.Mock
}

RoleExpansion is an autogenerated mock type for the RoleExpansion type

type RoleInterface

type RoleInterface struct {
	mock.Mock
}

RoleInterface is an autogenerated mock type for the RoleInterface type

func (*RoleInterface) Create

func (_m *RoleInterface) Create(ctx context.Context, role *v1alpha1.Role, opts v1.CreateOptions) (*v1alpha1.Role, error)

Create provides a mock function with given fields: ctx, role, opts

func (*RoleInterface) Delete

func (_m *RoleInterface) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete provides a mock function with given fields: ctx, name, opts

func (*RoleInterface) DeleteCollection

func (_m *RoleInterface) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection provides a mock function with given fields: ctx, opts, listOpts

func (*RoleInterface) Get

func (_m *RoleInterface) Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Role, error)

Get provides a mock function with given fields: ctx, name, opts

func (*RoleInterface) List

List provides a mock function with given fields: ctx, opts

func (*RoleInterface) Patch

func (_m *RoleInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (*v1alpha1.Role, error)

Patch provides a mock function with given fields: ctx, name, pt, data, opts, subresources

func (*RoleInterface) Update

func (_m *RoleInterface) Update(ctx context.Context, role *v1alpha1.Role, opts v1.UpdateOptions) (*v1alpha1.Role, error)

Update provides a mock function with given fields: ctx, role, opts

func (*RoleInterface) Watch

func (_m *RoleInterface) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch provides a mock function with given fields: ctx, opts

type RolesGetter

type RolesGetter struct {
	mock.Mock
}

RolesGetter is an autogenerated mock type for the RolesGetter type

func (*RolesGetter) Roles

func (_m *RolesGetter) Roles(namespace string) v1alpha1.RoleInterface

Roles provides a mock function with given fields: namespace

Jump to

Keyboard shortcuts

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