osbuildconfig

package
v0.0.0-...-87359d1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package osbuildconfig is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRRepository

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

func NewOSBuildConfigRepository

func NewOSBuildConfigRepository(client client.Client) *CRRepository

func (*CRRepository) ListByOSBuildConfigTemplate

func (r *CRRepository) ListByOSBuildConfigTemplate(ctx context.Context, templateName string, namespace string) ([]v1alpha1.OSBuildConfig, error)

func (*CRRepository) Patch

func (r *CRRepository) Patch(ctx context.Context, old, new *v1alpha1.OSBuildConfig) error

func (*CRRepository) PatchStatus

func (r *CRRepository) PatchStatus(ctx context.Context, osbuildConfig *v1alpha1.OSBuildConfig, patch *client.Patch) error

func (*CRRepository) Read

func (r *CRRepository) Read(ctx context.Context, name string, namespace string) (*v1alpha1.OSBuildConfig, error)

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) EXPECT

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

func (*MockRepository) ListByOSBuildConfigTemplate

func (m *MockRepository) ListByOSBuildConfigTemplate(arg0 context.Context, arg1, arg2 string) ([]v1alpha1.OSBuildConfig, error)

ListByOSBuildConfigTemplate mocks base method.

func (*MockRepository) Patch

func (m *MockRepository) Patch(arg0 context.Context, arg1, arg2 *v1alpha1.OSBuildConfig) error

Patch mocks base method.

func (*MockRepository) PatchStatus

func (m *MockRepository) PatchStatus(arg0 context.Context, arg1 *v1alpha1.OSBuildConfig, arg2 *client.Patch) error

PatchStatus mocks base method.

func (*MockRepository) Read

func (m *MockRepository) Read(arg0 context.Context, arg1, arg2 string) (*v1alpha1.OSBuildConfig, error)

Read mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) ListByOSBuildConfigTemplate

func (mr *MockRepositoryMockRecorder) ListByOSBuildConfigTemplate(arg0, arg1, arg2 interface{}) *gomock.Call

ListByOSBuildConfigTemplate indicates an expected call of ListByOSBuildConfigTemplate.

func (*MockRepositoryMockRecorder) Patch

func (mr *MockRepositoryMockRecorder) Patch(arg0, arg1, arg2 interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockRepositoryMockRecorder) PatchStatus

func (mr *MockRepositoryMockRecorder) PatchStatus(arg0, arg1, arg2 interface{}) *gomock.Call

PatchStatus indicates an expected call of PatchStatus.

func (*MockRepositoryMockRecorder) Read

func (mr *MockRepositoryMockRecorder) Read(arg0, arg1, arg2 interface{}) *gomock.Call

Read indicates an expected call of Read.

type Repository

type Repository interface {
	Read(ctx context.Context, name string, namespace string) (*v1alpha1.OSBuildConfig, error)
	Patch(ctx context.Context, old, new *v1alpha1.OSBuildConfig) error
	PatchStatus(ctx context.Context, osbuildConfig *v1alpha1.OSBuildConfig, patch *client.Patch) error
	ListByOSBuildConfigTemplate(ctx context.Context, templateName string, namespace string) ([]v1alpha1.OSBuildConfig, error)
}

Jump to

Keyboard shortcuts

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