dummy

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 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]*app.Blueprint
	Clusters           []multicluster.Cluster
}

MockClusterManager is meant to be used for testing

func NewDummyClusterManager added in v0.6.0

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

func (*MockClusterManager) CreateBlueprint added in v0.6.0

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

func (*MockClusterManager) DeleteBlueprint added in v0.6.0

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

func (*MockClusterManager) GetBlueprint added in v0.6.0

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

func (*MockClusterManager) GetClusters added in v0.6.0

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

func (*MockClusterManager) IsMultiClusterSetup added in v1.0.0

func (m *MockClusterManager) IsMultiClusterSetup() bool

func (*MockClusterManager) UpdateBlueprint added in v0.6.0

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

Jump to

Keyboard shortcuts

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