user

package
v0.0.0-...-a134451 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Strategy = strategy{ObjectTyper: v1.Scheme}

Strategy is the default logic that applies when creating and updating objects via the REST API.

Functions

This section is empty.

Types

type DashboardDataArray

type DashboardDataArray []meta.DashboardData

func (DashboardDataArray) Len

func (d DashboardDataArray) Len() int

func (DashboardDataArray) Less

func (d DashboardDataArray) Less(i, j int) bool

func (DashboardDataArray) Swap

func (d DashboardDataArray) Swap(i, j int)

type REST

type REST struct {
	*registry.Store
	// contains filtered or unexported fields
}

func NewREST

func NewREST(config *config.Config, options *options.StoreOptions) (*REST, error)

func (*REST) Actions

func (r *REST) Actions() []rest.SubResourceAction

func (*REST) Handle

func (r *REST) Handle(verb, subresource string, req *restful.Request, resp *restful.Response)

type UserStorage

type UserStorage struct {
	REST *REST
}

func NewStorage

func NewStorage(config *config.Config, options *options.StoreOptions) (UserStorage, error)

Jump to

Keyboard shortcuts

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