mocks

package
v2.14.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

type Clientset struct {
	mock.Mock
}

Clientset is an autogenerated mock type for the Clientset type

func NewClientset

func NewClientset(t interface {
	mock.TestingT
	Cleanup(func())
}) *Clientset

NewClientset creates a new instance of Clientset. 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 (*Clientset) NewCommitServerClient

func (_m *Clientset) NewCommitServerClient() (io.Closer, apiclient.CommitServiceClient, error)

NewCommitServerClient provides a mock function with given fields:

type CommitServiceClient

type CommitServiceClient struct {
	mock.Mock
}

CommitServiceClient is an autogenerated mock type for the CommitServiceClient type

func NewCommitServiceClient

func NewCommitServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *CommitServiceClient

NewCommitServiceClient creates a new instance of CommitServiceClient. 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 (*CommitServiceClient) CommitHydratedManifests

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

Jump to

Keyboard shortcuts

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