client

package
v1.3.31 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUserPublicKey

func AddUserPublicKey(user, key string) error

func CreateExperiment

func CreateExperiment(caller, name, project, description string) error

func DeleteExperiment

func DeleteExperiment(eid, pid string) error

func DeleteUser

func DeleteUser(user string) error

func DeleteUserPublicKey

func DeleteUserPublicKey(user, fingerprint string) error

func DestroyXdc

func DestroyXdc(user, proj, xdc string) error

func FreeExperimentResources

func FreeExperimentResources(pid, eid string) error

FreeExperimentResources - free the exeperiments XDCs and realizations.

func FreeProjectResources

func FreeProjectResources(pid string) error

FreeProjectResources - free all experiment resources and project member resources.

func FreeUserResources

func FreeUserResources(uid string) error

FreeUserResources - delete all resouces held by the user.

func GetUser

func GetUser(name string) (*portal.User, error)

func InitUser

func InitUser(user, email string) error

func ListExperiments

func ListExperiments(project string) ([]*portal.Experiment, error)

func ListUsers

func ListUsers() ([]*portal.User, error)

func ReadExperiment

func ReadExperiment(project, name string) (*portal.Experiment, error)

func ReadUserPublicKeys

func ReadUserPublicKeys(user string) ([]*portal.PublicKey, error)

func ReadXdcToken

func ReadXdcToken(proj, xdc string) (string, error)

func SpawnXdc

func SpawnXdc(user, proj, xdc string) error

func UpdateExperiment

func UpdateExperiment(e *portal.Experiment) error

func UpdateUser

func UpdateUser(user *portal.User) error

func Workspace

func Workspace(f func(portal.WorkspaceClient) error) error

func WorkspaceClient

func WorkspaceClient() (*grpc.ClientConn, portal.WorkspaceClient, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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