db

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteApiKey added in v0.8.0

func DeleteApiKey(key string) error

func DeleteWorkspace

func DeleteWorkspace(workspace *types.Workspace) error

func FindApiKey added in v0.8.0

func FindApiKey(key string) (*types.ApiKey, error)

func FindApiKeyByName added in v0.8.0

func FindApiKeyByName(name string) (*types.ApiKey, error)

func FindWorkspaceById added in v0.2.0

func FindWorkspaceById(workspaceId string) (*types.Workspace, error)

func FindWorkspaceByIdOrName added in v0.2.0

func FindWorkspaceByIdOrName(workspaceIdOrName string) (*types.Workspace, error)

func FindWorkspaceByName added in v0.2.0

func FindWorkspaceByName(workspaceName string) (*types.Workspace, error)

func ListApiKeys added in v0.8.0

func ListApiKeys() ([]*types.ApiKey, error)

func ListWorkspaces

func ListWorkspaces() ([]*types.Workspace, error)

func SaveApiKey added in v0.8.0

func SaveApiKey(apiKey *types.ApiKey) error

func SaveWorkspace

func SaveWorkspace(workspace *types.Workspace) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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