package
0.38.1
Repository: https://github.com/determined-ai/determined.git
Documentation: pkg.go.dev

# Functions

AddWorkspace adds the given workspace to the database.
AddWorkspaceNamespaceBinding adds a workspace-namespace binding.
AllWorkspaces returns all the workspaces that exist.
DeleteWorkspaceNamespaceBindings deletes the workspace-namespace binding.
Exists returns if the workspace exists and is not archived.
GetAllNamespacesForRM gets all namespaces associated with a particular kubernetes cluster.
GetNamespaceFromWorkspace returns the namespace for the given workspace and kubernetes cluster.
GetNumWorkspacesUsingNamespaceInCluster gets the number of Workspaces that are using a particular namespace for the given cluster.
GetWorkspaceNamespaceBindings gets the workspace-namespace bindings for a given workspace.
WorkspaceByName returns a workspace given it's name.
WorkspaceByProjectID returns a workspace given a project ID.
WorkspaceIDsFromNames returns an unordered slice of workspaceIDs that correlate with the given workspace names.
WorkspacesIDsByExperimentIDs gets workspace IDs associated with each experiment.

# Variables

AuthZProvider providers WorkspaceAuthZ implementations.
ErrLookup is the error returned when a user's permissions couldn't be looked up.

# Structs

WorkspaceAuthZBasic is classic OSS Determined authentication for workspaces.
WorkspaceAuthZPermissive is the permission implementation.
WorkspaceAuthZRBAC is the RBAC implementation of WorkspaceAuthZ.

# Interfaces

WorkspaceAuthZ is the interface for workspace authorization.