mapper

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: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = &Mapper{}

Functions

This section is empty.

Types

type Mapper

type Mapper struct{}

func (*Mapper) InternalWorkspaceListToWorkspaceList

func (m *Mapper) InternalWorkspaceListToWorkspaceList(workspaces *workspacesv1alpha1.InternalWorkspaceList) (*restworkspacesv1alpha1.WorkspaceList, error)

func (*Mapper) InternalWorkspaceToWorkspace

func (m *Mapper) InternalWorkspaceToWorkspace(workspace *workspacesv1alpha1.InternalWorkspace) (*restworkspacesv1alpha1.Workspace, error)

func (*Mapper) WorkspaceListToInternalWorkspaceList

func (m *Mapper) WorkspaceListToInternalWorkspaceList(workspaces *restworkspacesv1alpha1.WorkspaceList) (*workspacesv1alpha1.InternalWorkspaceList, error)

func (*Mapper) WorkspaceToInternalWorkspace

func (m *Mapper) WorkspaceToInternalWorkspace(workspace *restworkspacesv1alpha1.Workspace) (*workspacesv1alpha1.InternalWorkspace, error)

WorkspaceToInternalWorkspace builds an InternalWorkspace starting from a Workspace. IMPORTANT: The Name and Namespace fields are left empty.

Jump to

Keyboard shortcuts

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