mockup

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterLister

type ClusterLister struct {
}

ClusterLister is a mockup cluster manager

func (*ClusterLister) GetClusters

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

GetClusters returns the cluster config for testing

type DataCatalogDummy

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

func NewTestCatalog

func NewTestCatalog() *DataCatalogDummy

func (*DataCatalogDummy) Close

func (d *DataCatalogDummy) Close() error

func (*DataCatalogDummy) GetAssetInfo added in v0.6.0

type MockPolicyManager

type MockPolicyManager struct {
	connectors.PolicyManager
}

MockPolicyManager is a mock for PolicyManager interface used in tests

func (*MockPolicyManager) GetPoliciesDecisions

GetPoliciesDecisions implements the PolicyCompiler interface

Jump to

Keyboard shortcuts

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