workspacesutil

package
v0.0.0-...-837e63c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrWorkspaceWithoutOwner = fmt.Errorf("error workspace has no owner")

ErrWorkspaceWithoutOwner is the error returned if the workspace has no owner label

Functions

func GetOwner

func GetOwner(w *workspacesv1alpha1.Workspace) (*string, error)

GetOwner returns the value of owner label if present, otherwise an error ErrWorkspaceWithoutOwner

Types

This section is empty.

Jump to

Keyboard shortcuts

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