Documentation ¶
Index ¶
- Variables
- func AddVersionAnnotations(annotations map[string]string) map[string]string
- func AfterSuite(ctx context.Context)
- func ConfigureLoggers(output io.Writer)
- func EnsureReady(ctx context.Context, object client.Object, timeouts ...interface{})
- func GetClient(ctx context.Context) client.Client
- func GetEnvironment(ctx context.Context) *envtest.Environment
- func GetGVK(ctx context.Context, object runtime.Object) schema.GroupVersionKind
- func GetManager(ctx context.Context) manager.Manager
- func GetNamespacedName(object runtime.Object) types.NamespacedName
- func GetRestConfig(ctx context.Context) *rest.Config
- func GetScheme(ctx context.Context) *runtime.Scheme
- func GetVersion() string
- func InitNamespace(ctxFactory func() context.Context) *corev1.Namespace
- func InitSuite() context.Context
- func NewClient(ctx context.Context) client.Client
- func NewContext() context.Context
- func NewManager(ctx context.Context) manager.Manager
- func NewName(prefix string) string
- func NewRestConfig(ctx context.Context) *rest.Config
- func ScaleUp(ctx context.Context, object client.Object)
- func StartManager(ctx context.Context)
- func WithClient(ctx context.Context, c client.Client) context.Context
- func WithEnvironment(ctx context.Context, env *envtest.Environment) context.Context
- func WithManager(ctx context.Context, mgr manager.Manager) context.Context
- func WithRestConfig(ctx context.Context, cfg *rest.Config) context.Context
- func WithScheme(ctx context.Context, s *runtime.Scheme) context.Context
Constants ¶
This section is empty.
Variables ¶
View Source
var SuccessOrExists = gomega.SatisfyAny( gomega.Succeed(), gomega.WithTransform(apierrors.IsAlreadyExists, gomega.BeTrue()), )
Functions ¶
func AddVersionAnnotations ¶
func AfterSuite ¶
func ConfigureLoggers ¶
func EnsureReady ¶
func GetEnvironment ¶
func GetEnvironment(ctx context.Context) *envtest.Environment
func GetNamespacedName ¶
func GetNamespacedName(object runtime.Object) types.NamespacedName
func GetVersion ¶
func GetVersion() string
func NewContext ¶
func StartManager ¶
func WithEnvironment ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.