protomappers

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

All is the list of all mappers as raw function pointers.

Functions

func DatadirApp

func DatadirApp(input *pb.Args_DataDir_App) *datadir.App

DatadirApp maps *pb.Args_DataDir_App to *datadir.App

func DatadirAppProto

func DatadirAppProto(input *datadir.App) *pb.Args_DataDir_App

func DatadirComponent

func DatadirComponent(input *pb.Args_DataDir_Component) *datadir.Component

DatadirComponent maps *pb.Args_DataDir_Component to *datadir.Component

func DatadirComponentProto

func DatadirComponentProto(input *datadir.Component) *pb.Args_DataDir_Component

func DatadirProject

func DatadirProject(input *pb.Args_DataDir_Project) *datadir.Project

DatadirProject maps *pb.Args_DataDir_Project to *datadir.Project

func DatadirProjectProto

func DatadirProjectProto(input *datadir.Project) *pb.Args_DataDir_Project

func DeclaredResourcesComponent

func DeclaredResourcesComponent(input *pb.DeclaredResources) (*component.DeclaredResources, error)

DeclaredResourcesComponent maps *pb.DeclaredResources to *component.DeclaredResources

func DeclaredResourcesComponentProto

func DeclaredResourcesComponentProto(input *component.DeclaredResources) (*pb.DeclaredResources, error)

func DeploymentConfig

func DeploymentConfig(input *pb.Args_DeploymentConfig) (*component.DeploymentConfig, error)

DeploymentConfig

func DeploymentConfigProto

func DeploymentConfigProto(input *component.DeploymentConfig) (*pb.Args_DeploymentConfig, error)

func ExecSessionInfo

func ExecSessionInfo(
	ctx context.Context,
	input *pb.Args_ExecSessionInfo,
	log hclog.Logger,
	internal *pluginargs.Internal,
) (*component.ExecSessionInfo, error)

ExecSessioInfo maps *pb.Args_ExecSessionInfo to a *component.ExecSessioInfo

func ExecSessionInfoProto

func ExecSessionInfoProto(
	esi *component.ExecSessionInfo,
	log hclog.Logger,
	internal *pluginargs.Internal,
) *pb.Args_ExecSessionInfo

ExecSessionInfoProto maps a *component.ExecSessionInfo to a *pb.Args_ExecSessionInfo

func JobInfo

func JobInfo(input *pb.Args_JobInfo) (*component.JobInfo, error)

JobInfo maps Args.JobInfo to component.JobInfo.

func JobInfoProto

func JobInfoProto(input *component.JobInfo) (*pb.Args_JobInfo, error)

JobInfoProto

func LabelSet

func LabelSet(input *pb.Args_LabelSet) *component.LabelSet

func LabelSetProto

func LabelSetProto(labels *component.LabelSet) *pb.Args_LabelSet

func LogViewer

func LogViewer(
	ctx context.Context,
	input *pb.Args_LogViewer,
	log hclog.Logger,
	internal *pluginargs.Internal,
) (*component.LogViewer, error)

LogViewer maps *pb.Args_LogViewer to a *component.LogViewer

func LogViewerProto

func LogViewerProto(
	lv *component.LogViewer,
	log hclog.Logger,
	internal *pluginargs.Internal,
) *pb.Args_LogViewer

LogViewerProto maps a *component.LogViewer.Args_LogViewer

func Logger

func Logger(input *pb.Args_Logger) hclog.Logger

Logger maps *pb.Args_Logger to an hclog.Logger

func LoggerProto

func LoggerProto(log hclog.Logger) *pb.Args_Logger

func Source

func Source(input *pb.Args_Source) (*component.Source, error)

Source maps Args.Source to component.Source.

func SourceProto

func SourceProto(input *component.Source) (*pb.Args_Source, error)

SourceProto

func TaskLaunchInfo

func TaskLaunchInfo(input *pb.Args_TaskLaunchInfo) (*component.TaskLaunchInfo, error)

TaskLaunchInfo maps Args.Args_TaskLaunchInfo to component.TaskLaunchInfo.

func TaskLaunchInfoProto

func TaskLaunchInfoProto(input *component.TaskLaunchInfo) (*pb.Args_TaskLaunchInfo, error)

TaskLaunchInfoProto

func TerminalUI

func TerminalUI(
	ctx context.Context,
	input *pb.Args_TerminalUI,
	log hclog.Logger,
	internal *pluginargs.Internal,
) (terminal.UI, error)

TerminalUI maps *pb.Args_TerminalUI to an hclog.TerminalUI

func TerminalUIProto

func TerminalUIProto(
	ui terminal.UI,
	log hclog.Logger,
	internal *pluginargs.Internal,
) *pb.Args_TerminalUI

Types

This section is empty.

Jump to

Keyboard shortcuts

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