create

package
v0.0.1-alpha.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Namespace

func Namespace(mgr *controllertools.Manager, defaults ...defaulting.Func) (*corev1.Namespace, error)

func ServiceAccount

func ServiceAccount(
	mgr *controllertools.Manager,
	options ...func(object client.Object),
) (*corev1.ServiceAccount, error)

ServiceAccount creates a new service account with a random name. Default values can be applied with options functions e.g. ServiceAccount(mgr, func(obj client.Object) { obj.SetName("my-service-account") })

Types

This section is empty.

Jump to

Keyboard shortcuts

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