common

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SimpleMapper

func SimpleMapper(str string) string

Types

type DatabaseInterface

type DatabaseInterface interface {
	ProcessUser(ctx context.Context) error
	DeleteUser(ctx context.Context) error
}

type KubeInterface

type KubeInterface interface {
	CreateV1Secret(ctx context.Context, resourceReference *authv1alpha1.User, data map[string][]byte, logger logr.Logger) error
	GetV1Secret(ctx context.Context, name, namespace string, logger logr.Logger) (*v1.Secret, error)
	DeleteV1Secret(ctx context.Context, secretResource *v1.Secret, logger logr.Logger) error
	client.Reader
	client.Writer
	client.StatusClient
}

Jump to

Keyboard shortcuts

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