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. Fs afero.Fs HelmClient helmclient.Interface K8sClient k8sclient.Interface Logger micrologger.Logger // Settings. HTTPClientTimeout time.Duration }
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.