pbresourcemock

package
v1.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IsCloningResourceServiceClient

type IsCloningResourceServiceClient struct {
	mock.Mock
}

IsCloningResourceServiceClient is an autogenerated mock type for the IsCloningResourceServiceClient type

func NewIsCloningResourceServiceClient

func NewIsCloningResourceServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IsCloningResourceServiceClient

NewIsCloningResourceServiceClient creates a new instance of IsCloningResourceServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*IsCloningResourceServiceClient) IsCloningResourceServiceClient

func (_m *IsCloningResourceServiceClient) IsCloningResourceServiceClient() bool

IsCloningResourceServiceClient provides a mock function with given fields:

type ResourceServiceClient

type ResourceServiceClient struct {
	mock.Mock
}

ResourceServiceClient is an autogenerated mock type for the ResourceServiceClient type

func NewResourceServiceClient

func NewResourceServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ResourceServiceClient

NewResourceServiceClient creates a new instance of ResourceServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ResourceServiceClient) Delete

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

func (*ResourceServiceClient) List

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

func (*ResourceServiceClient) ListByOwner

ListByOwner provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) MutateAndValidate

MutateAndValidate provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) Read

Read provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) WatchList

WatchList provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) Write

Write provides a mock function with given fields: ctx, in, opts

func (*ResourceServiceClient) WriteStatus

WriteStatus provides a mock function with given fields: ctx, in, opts

type ResourceServiceServer

type ResourceServiceServer struct {
	mock.Mock
}

ResourceServiceServer is an autogenerated mock type for the ResourceServiceServer type

func NewResourceServiceServer

func NewResourceServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *ResourceServiceServer

NewResourceServiceServer creates a new instance of ResourceServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ResourceServiceServer) Delete

Delete provides a mock function with given fields: _a0, _a1

func (*ResourceServiceServer) List

List provides a mock function with given fields: _a0, _a1

func (*ResourceServiceServer) ListByOwner

ListByOwner provides a mock function with given fields: _a0, _a1

func (*ResourceServiceServer) MutateAndValidate

MutateAndValidate provides a mock function with given fields: _a0, _a1

func (*ResourceServiceServer) Read

Read provides a mock function with given fields: _a0, _a1

func (*ResourceServiceServer) WatchList

WatchList provides a mock function with given fields: _a0, _a1

func (*ResourceServiceServer) Write

Write provides a mock function with given fields: _a0, _a1

func (*ResourceServiceServer) WriteStatus

WriteStatus provides a mock function with given fields: _a0, _a1

type ResourceService_WatchListClient

type ResourceService_WatchListClient struct {
	mock.Mock
}

ResourceService_WatchListClient is an autogenerated mock type for the ResourceService_WatchListClient type

func NewResourceService_WatchListClient

func NewResourceService_WatchListClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ResourceService_WatchListClient

NewResourceService_WatchListClient creates a new instance of ResourceService_WatchListClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ResourceService_WatchListClient) CloseSend

func (_m *ResourceService_WatchListClient) CloseSend() error

CloseSend provides a mock function with given fields:

func (*ResourceService_WatchListClient) Context

Context provides a mock function with given fields:

func (*ResourceService_WatchListClient) Header

Header provides a mock function with given fields:

func (*ResourceService_WatchListClient) Recv

Recv provides a mock function with given fields:

func (*ResourceService_WatchListClient) RecvMsg

func (_m *ResourceService_WatchListClient) RecvMsg(m interface{}) error

RecvMsg provides a mock function with given fields: m

func (*ResourceService_WatchListClient) SendMsg

func (_m *ResourceService_WatchListClient) SendMsg(m interface{}) error

SendMsg provides a mock function with given fields: m

func (*ResourceService_WatchListClient) Trailer

Trailer provides a mock function with given fields:

type ResourceService_WatchListServer

type ResourceService_WatchListServer struct {
	mock.Mock
}

ResourceService_WatchListServer is an autogenerated mock type for the ResourceService_WatchListServer type

func NewResourceService_WatchListServer

func NewResourceService_WatchListServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *ResourceService_WatchListServer

NewResourceService_WatchListServer creates a new instance of ResourceService_WatchListServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ResourceService_WatchListServer) Context

Context provides a mock function with given fields:

func (*ResourceService_WatchListServer) RecvMsg

func (_m *ResourceService_WatchListServer) RecvMsg(m interface{}) error

RecvMsg provides a mock function with given fields: m

func (*ResourceService_WatchListServer) Send

Send provides a mock function with given fields: _a0

func (*ResourceService_WatchListServer) SendHeader

func (_m *ResourceService_WatchListServer) SendHeader(_a0 metadata.MD) error

SendHeader provides a mock function with given fields: _a0

func (*ResourceService_WatchListServer) SendMsg

func (_m *ResourceService_WatchListServer) SendMsg(m interface{}) error

SendMsg provides a mock function with given fields: m

func (*ResourceService_WatchListServer) SetHeader

func (_m *ResourceService_WatchListServer) SetHeader(_a0 metadata.MD) error

SetHeader provides a mock function with given fields: _a0

func (*ResourceService_WatchListServer) SetTrailer

func (_m *ResourceService_WatchListServer) SetTrailer(_a0 metadata.MD)

SetTrailer provides a mock function with given fields: _a0

type UnsafeResourceServiceServer

type UnsafeResourceServiceServer struct {
	mock.Mock
}

UnsafeResourceServiceServer is an autogenerated mock type for the UnsafeResourceServiceServer type

func NewUnsafeResourceServiceServer

func NewUnsafeResourceServiceServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *UnsafeResourceServiceServer

NewUnsafeResourceServiceServer creates a new instance of UnsafeResourceServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

Jump to

Keyboard shortcuts

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