fake

package
v1.10.0 Latest Latest
Warning

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

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

Documentation

Overview

Package fake implements a fake ClusterModuleService for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CMService

type CMService struct {
	mock.Mock
}

func (*CMService) Create

func (f *CMService) Create(ctx context.Context, clusterCtx *capvcontext.ClusterContext, wrapper clustermodule.Wrapper) (string, error)

func (*CMService) DoesExist

func (f *CMService) DoesExist(ctx context.Context, clusterCtx *capvcontext.ClusterContext, wrapper clustermodule.Wrapper, moduleUUID string) (bool, error)

func (*CMService) Remove

func (f *CMService) Remove(ctx context.Context, clusterCtx *capvcontext.ClusterContext, moduleUUID string) error

Jump to

Keyboard shortcuts

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