Documentation ¶
Index ¶
- Variables
- func ApiextensionsClient(t *testing.T, config *rest.Config) apiextensionsclient.Interface
- func Bind(t *testing.T, authURLCh chan<- string, invocations chan<- SubCommandInvocation, ...)
- func BindAPIService(t *testing.T, Stdin []byte, positionalArg string, flags ...string)
- func BrowerEventuallyAtPath(t *testing.T, browser *browser.Browser, path string)
- func ClientConfig(t *testing.T) *rest.Config
- func DiscoveryClient(t *testing.T, config *rest.Config) discovery.DiscoveryInterface
- func DynamicClient(t *testing.T, config *rest.Config) dynamic.Interface
- func KubeClient(t *testing.T, config *rest.Config) kubernetes.Interface
- func NewWorkspace(t *testing.T, config *rest.Config, options ...ClusterWorkspaceOption) (*rest.Config, string)
- func RestToKubeconfig(config *rest.Config, namespace string) clientcmdapi.Config
- func StartBackend(t *testing.T, clientConfig *rest.Config, args ...string) (net.Addr, *backend.Server)
- func StartBackendWithoutDefaultArgs(t *testing.T, clientConfig *rest.Config, args ...string) (net.Addr, *backend.Server)
- func StartKonnector(t *testing.T, clientConfig *rest.Config, args ...string) *konnector.Server
- type ClusterWorkspaceOption
- type SubCommandInvocation
Constants ¶
This section is empty.
Variables ¶
View Source
var (
WorkDir = os.Getenv("WORK_DIR")
)
Functions ¶
func ApiextensionsClient ¶
func BindAPIService ¶ added in v0.0.14
func BrowerEventuallyAtPath ¶
func DiscoveryClient ¶
func KubeClient ¶
func NewWorkspace ¶
func RestToKubeconfig ¶
func RestToKubeconfig(config *rest.Config, namespace string) clientcmdapi.Config
func StartBackend ¶
Types ¶
type ClusterWorkspaceOption ¶
type ClusterWorkspaceOption func(ws *tenancyv1beta1.Workspace)
func WithGenerateName ¶
func WithGenerateName(s string, formatArgs ...interface{}) ClusterWorkspaceOption
func WithName ¶
func WithName(s string, formatArgs ...interface{}) ClusterWorkspaceOption
type SubCommandInvocation ¶ added in v0.0.14
Click to show internal directories.
Click to hide internal directories.