clientinterface

package
v0.0.0-...-cb42e1a Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirectAccessChecker

type DirectAccessChecker interface {
	UserHasDirectAccess(context.Context, string, string) (bool, error)
}

type InternalWorkspacesMapper

type InternalWorkspacesMapper interface {
	InternalWorkspaceListToWorkspaceList(*workspacesv1alpha1.InternalWorkspaceList) (*restworkspacesv1alpha1.WorkspaceList, error)
	InternalWorkspaceToWorkspace(*workspacesv1alpha1.InternalWorkspace) (*restworkspacesv1alpha1.Workspace, error)
	WorkspaceToInternalWorkspace(*restworkspacesv1alpha1.Workspace) (*workspacesv1alpha1.InternalWorkspace, error)
}

InternalWorkspacesMapper is the definition for a InternalWorkspaces/Workspaces Mapper

type InternalWorkspacesReadClient

type InternalWorkspacesReadClient interface {
	InternalWorkspacesReader
	DirectAccessChecker
}

type InternalWorkspacesReader

InternalWorkspacesReader is the definition for a InternalWorkspaces Read Client

type SpaceKey

type SpaceKey struct {
	Owner string
	Name  string
}

SpaceKey comprises a Space name, with a mandatory owner.

Jump to

Keyboard shortcuts

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