rest

package
v2.0.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceAccountEndpoints

type ServiceAccountEndpoints struct {
	AuthFilter                 restmachinery.Filter
	ServiceAccountSchemaLoader gojsonschema.JSONLoader
	Service                    authn.ServiceAccountsService
}

func (*ServiceAccountEndpoints) Register

func (s *ServiceAccountEndpoints) Register(router *mux.Router)

type SessionsEndpoints

type SessionsEndpoints struct {
	AuthFilter restmachinery.Filter
	Service    authn.SessionsService
}

SessionsEndpoints implements restmachinery.Endpoints to provide Session-related URL --> action mappings to a restmachinery.Server.

func (*SessionsEndpoints) Register

func (s *SessionsEndpoints) Register(router *mux.Router)

Register is invoked by restmachinery.Server to register Session-related URL --> action mappings to a restmachinery.Server.

type UsersEndpoints

type UsersEndpoints struct {
	AuthFilter restmachinery.Filter
	Service    authn.UsersService
}

func (*UsersEndpoints) Register

func (u *UsersEndpoints) Register(router *mux.Router)

Jump to

Keyboard shortcuts

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