Documentation ¶
Index ¶
- func LoadFile(path string, embedded reader, v interface{}) error
- func NewEdgeSyncerFixture(t *testing.T, server framework.RunningServer, path logicalcluster.Path) *edgeSyncerFixture
- func RunKcpEdgeCliPlugin(t *testing.T, kubeconfigPath string, subcommand []string) []byte
- type StartedEdgeSyncerFixture
- type SyncerOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.