Documentation ¶
Index ¶
- func CreateProject(ctx context.Context, be *backend.Backend, name string) (*types.Project, error)
- func From(ctx context.Context) *types.Project
- func GetProjectFromAPIKey(ctx context.Context, be *backend.Backend, apiKey string) (*types.Project, error)
- func ListProjects(ctx context.Context, be *backend.Backend) ([]*types.Project, error)
- func UpdateProject(ctx context.Context, be *backend.Backend, project *types.Project) error
- func With(ctx context.Context, project *types.Project) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateProject ¶
func CreateProject( ctx context.Context, be *backend.Backend, name string, ) (*types.Project, error)
CreateProject creates a project.
func GetProjectFromAPIKey ¶
func GetProjectFromAPIKey(ctx context.Context, be *backend.Backend, apiKey string) (*types.Project, error)
GetProjectFromAPIKey returns a project from an API key.
func ListProjects ¶
ListProjects lists all projects.
func UpdateProject ¶
UpdateProject updates a project.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.