tenantcluster

package
v8.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAPINotAvailableError

func IsAPINotAvailableError(err error) bool

IsAPINotAvailableError asserts apiNotAvailableError.

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Factory

type Factory interface {
	GetAllClients(ctx context.Context, cr *capi.Cluster) (k8sclient.Interface, error)
	GetClient(ctx context.Context, cr *capi.Cluster) (client.Client, error)
}

func NewCachedFactory

func NewCachedFactory(tenantClientFactory Factory, logger micrologger.Logger) (Factory, error)

func NewFactory

func NewFactory(certsSearcher certs.Interface, logger micrologger.Logger) (Factory, error)

Jump to

Keyboard shortcuts

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