framework

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFile

func LoadFile(path string, embedded embed.FS, v interface{}) error

func NewEdgeSyncerFixture

func NewEdgeSyncerFixture(t *testing.T, server framework.RunningServer, path logicalcluster.Path) *edgeSyncerFixture

Types

type StartedEdgeSyncerFixture

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

StartedEdgeSyncerFixture contains the configuration used to start a syncer and interact with its downstream cluster.

func (*StartedEdgeSyncerFixture) DeleteRootComputeAPIBinding

func (sf *StartedEdgeSyncerFixture) DeleteRootComputeAPIBinding(t *testing.T)

func (StartedEdgeSyncerFixture) RunSyncer

func (sf StartedEdgeSyncerFixture) RunSyncer(t *testing.T) *StartedEdgeSyncerFixture

RunSyncer runs a new Syncer against the upstream kcp workspaces Whether the syncer runs in-process or deployed on a pcluster will depend whether --pcluster-kubeconfig and --syncer-image are supplied to the test invocation.

type SyncerOption

type SyncerOption func(t *testing.T, fs *edgeSyncerFixture)

Jump to

Keyboard shortcuts

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