Documentation
¶
Index ¶
- func CreateObject(ctx context.Context, k8sClient client.Client, obj client.Object, ...)
- func CreateServiceAccount(ctx context.Context, k8sClient client.Client, name string, namespace string, ...)
- func CreateServiceAccountSecret(ctx context.Context, k8sClient client.Client, ...)
- func DefaultConfiguration() *dashboardv1alpha1.ControllerManagerConfiguration
- func StringWithCharset(length int, charset string) string
- type Environment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateObject ¶
func CreateServiceAccount ¶
func DefaultConfiguration ¶
func DefaultConfiguration() *dashboardv1alpha1.ControllerManagerConfiguration
func StringWithCharset ¶
Types ¶
type Environment ¶
type Environment struct {
Env *envtest.Environment
K8sManager ctrl.Manager
Config *rest.Config
K8sClient client.Client
}
func New ¶
func New(cmConfig *dashboardv1alpha1.ControllerManagerConfiguration, mutator admission.Handler, validator admission.Handler) Environment
func (Environment) Start ¶
func (e Environment) Start()
Click to show internal directories.
Click to hide internal directories.