util

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright Contributors to the Open Cluster Management project

Copyright Contributors to the Open Cluster Management project

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandledOutput

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

func (*HandledOutput) Host

func (h *HandledOutput) Host() string

Host return the hub-apiserver

func (*HandledOutput) RawCommand

func (h *HandledOutput) RawCommand() string

RawCommand return the clusteradm join command

func (*HandledOutput) Token

func (h *HandledOutput) Token() string

Token return the hub-token

type TestE2eConfig

type TestE2eConfig struct {
	ClearEnv func()
	// contains filtered or unexported fields
}

func NewTestE2eConfig

func NewTestE2eConfig(
	hub string,
	hubctx string,
	mcl1 string,
	mcl1ctx string,
	mcl2 string,
	mcl2ctx string,
) *TestE2eConfig

func PrepareE2eEnvironment

func PrepareE2eEnvironment() *TestE2eConfig

PrepareE2eEnvironment will init the e2e environment and join managedcluster1 to hub.

func (*TestE2eConfig) Cluster

func (tec *TestE2eConfig) Cluster() *clusterValues

func (*TestE2eConfig) Clusteradm

func (tec *TestE2eConfig) Clusteradm() clusteradmInterface

func (*TestE2eConfig) CommandResult

func (tec *TestE2eConfig) CommandResult() *HandledOutput

func (*TestE2eConfig) ResetEnv

func (tec *TestE2eConfig) ResetEnv()

Jump to

Keyboard shortcuts

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