workspacesrepo

package
v0.0.0-...-14e2bc2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

TODO: This library is imported from ror, should determine if its a public library or not

Index

Constants

View Source
const (
	CollectionName         = "workspaces"
	ClustersCollectionName = "clusters"
)

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, workspaceInput *apicontracts.Workspace) (*apicontracts.Workspace, error)

func FindByName

func FindByName(ctx context.Context, name string) (*apicontracts.Workspace, error)

func GetAllByIdentity

func GetAllByIdentity(ctx context.Context) (*[]apicontracts.Workspace, error)

func GetById

func GetById(ctx context.Context, id string) (*apicontracts.Workspace, error)

func GetByName

func GetByName(ctx context.Context, workspaceName string) (*apicontracts.Workspace, error)

func GetTotalCount

func GetTotalCount(ctx context.Context) (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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