client

package
v15.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

func IsTooManyCRsError

func IsTooManyCRsError(err error) bool

IsTooManyCRsError asserts tooManyCRsError.

func NewControlPlane

func NewControlPlane(config ControlPlaneConfig) (k8sclient.Interface, error)

func NewTenantCluster

func NewTenantCluster(config TenantClusterConfig) (k8sclient.Interface, error)

Types

type ControlPlaneConfig

type ControlPlaneConfig struct {
	Logger micrologger.Logger

	KubeConfig string
}

type TenantClusterConfig

type TenantClusterConfig struct {
	ControlPlane k8sclient.Interface
	Logger       micrologger.Logger

	TenantCluster string
}

Jump to

Keyboard shortcuts

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