dummy

package
v0.6.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClusterManager added in v0.6.0

type MockClusterManager struct {
	DeployedBlueprints map[string]*v1alpha1.Blueprint
	Clusters           []multicluster.Cluster
}

MockClusterManager is meant to be used for testing

func NewDummyClusterManager added in v0.6.0

func NewDummyClusterManager(blueprints map[string]*v1alpha1.Blueprint, clusters []multicluster.Cluster) MockClusterManager

func (*MockClusterManager) CreateBlueprint added in v0.6.0

func (m *MockClusterManager) CreateBlueprint(cluster string, blueprint *v1alpha1.Blueprint) error

func (*MockClusterManager) DeleteBlueprint added in v0.6.0

func (m *MockClusterManager) DeleteBlueprint(cluster string, namespace string, name string) error

func (*MockClusterManager) GetBlueprint added in v0.6.0

func (m *MockClusterManager) GetBlueprint(cluster string, namespace string, name string) (*v1alpha1.Blueprint, error)

func (*MockClusterManager) GetClusters added in v0.6.0

func (m *MockClusterManager) GetClusters() ([]multicluster.Cluster, error)

func (*MockClusterManager) UpdateBlueprint added in v0.6.0

func (m *MockClusterManager) UpdateBlueprint(cluster string, blueprint *v1alpha1.Blueprint) error

Jump to

Keyboard shortcuts

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