user

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(db *gorm.DB) globalstore.User

Types

type Store

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

func (*Store) Create

func (s *Store) Create(ctx context.Context, user *v1.User, opts metav1.CreateOptions) error

Create creates a new user account.

func (*Store) Get

func (s *Store) Get(ctx context.Context, username string, opts metav1.GetOptions) (*v1.User, error)

Create creates a new user account.

Jump to

Keyboard shortcuts

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