models

package
v0.0.0-...-a548ab7 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const UserTable = "harbor_user"

UserTable is the name of table in DB that holds the user object

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

Option ...

func WithDefaultAdmin

func WithDefaultAdmin() Option

WithDefaultAdmin set the IncludeAdmin = true

type Options

type Options struct {
	IncludeDefaultAdmin bool
}

Options ...

func NewOptions

func NewOptions(options ...Option) *Options

NewOptions ...

Jump to

Keyboard shortcuts

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