spuser

package
v0.0.0-...-a352208 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanAllocateResources

func CanAllocateResources(userID string, db store.Store, aws *utils.AWS) (bool, error)

func CreateGetSPUserHandler

func CreateGetSPUserHandler(db store.Store) http.HandlerFunc

func CreatePutImageSignedUrlHandler

func CreatePutImageSignedUrlHandler(db store.Store, aws *utils.AWS) http.HandlerFunc

func CreateRefreshSPUserTokenHandler

func CreateRefreshSPUserTokenHandler(db store.Store) http.HandlerFunc

func CreateUpdateSPUserHandler

func CreateUpdateSPUserHandler(db store.Store) http.HandlerFunc

Types

type GetPutImageUrlRequest

type GetPutImageUrlRequest struct {
	APIToken string `json:"api_token"`
	Suffix   string `json:"suffix"`
}

type GetPutImageUrlResponse

type GetPutImageUrlResponse struct {
	URL     string            `json:"url"`
	Headers map[string]string `json:"headers"`
}

Jump to

Keyboard shortcuts

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