Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Name is the identifier of the resource.
Name = "clients"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { // Dependencies. ClientCache *clientcache.Resource HelmClient helmclient.Interface K8sClient k8sclient.Interface Logger micrologger.Logger }
Config represents the configuration used to create a new clients resource.
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource implements the clients resource.
func (*Resource) EnsureCreated ¶
EnsureCreated adds g8s and k8s clients to the controller context based on the kubeconfig settings for the app CR.
func (*Resource) EnsureDeleted ¶
EnsureDeleted adds g8s and k8s clients to the controller context based on the kubeconfig settings for the app CR.
Click to show internal directories.
Click to hide internal directories.