user

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountGetter

type AccountGetter interface {
	Get(ctx context.Context, accountRefName string, namespace string) (account *v1alpha1.Account, err error)
}

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(accounts AccountGetter, secretClient SecretClient) *Manager

func (*Manager) CreateOrUpdate

func (u *Manager) CreateOrUpdate(ctx context.Context, state *v1alpha1.User) error

func (*Manager) Delete

func (u *Manager) Delete(ctx context.Context, state *v1alpha1.User) error

type SecretClient

type SecretClient interface {
	Apply(ctx context.Context, owner *secret.Owner, meta metav1.ObjectMeta, valueMap map[string]string) error
	Get(ctx context.Context, namespace string, name string) (map[string]string, error)
	GetByLabels(ctx context.Context, namespace string, labels map[string]string) (*v1.SecretList, error)
	Delete(ctx context.Context, namespace string, name string) error
	Label(ctx context.Context, namespace, name string, labels map[string]string) error
}

Jump to

Keyboard shortcuts

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