localdb

package
v0.0.0-...-c92af4d Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: AGPL-3.0, Apache-2.0, CC-BY-SA-3.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OIDCAccessTokenAuthorizer

func OIDCAccessTokenAuthorizer(cluster *arvados.Cluster, getdb func(context.Context) (*sqlx.DB, error)) *oidcTokenAuthorizer

Types

type Conn

type Conn struct {
	// contains filtered or unexported fields
}

func NewConn

func NewConn(cluster *arvados.Cluster) *Conn

func (*Conn) ContainerSSH

func (conn *Conn) ContainerSSH(ctx context.Context, opts arvados.ContainerSSHOptions) (sshconn arvados.ContainerSSHConnection, err error)

ContainerSSH returns a connection to the SSH server in the appropriate crunch-run process on the worker node where the specified container is running.

If the returned error is nil, the caller is responsible for closing sshconn.Conn.

func (*Conn) CreateAPIClientAuthorization

func (conn *Conn) CreateAPIClientAuthorization(ctx context.Context, rootToken string, authinfo rpc.UserSessionAuthInfo) (resp arvados.APIClientAuthorization, err error)

func (*Conn) GroupContents

func (conn *Conn) GroupContents(ctx context.Context, options arvados.GroupContentsOptions) (arvados.ObjectList, error)

func (*Conn) Login

func (conn *Conn) Login(ctx context.Context, opts arvados.LoginOptions) (arvados.LoginResponse, error)

Login handles the login of conn giving to the appropriate loginController

func (*Conn) Logout

func (conn *Conn) Logout(ctx context.Context, opts arvados.LogoutOptions) (arvados.LogoutResponse, error)

Logout handles the logout of conn giving to the appropriate loginController

func (*Conn) UserAuthenticate

UserAuthenticate handles the User Authentication of conn giving to the appropriate loginController

Jump to

Keyboard shortcuts

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