Documentation ¶
Index ¶
- Variables
- func DatadirApp(input *pb.Args_DataDir_App) *datadir.App
- func DatadirAppProto(input *datadir.App) *pb.Args_DataDir_App
- func DatadirComponent(input *pb.Args_DataDir_Component) *datadir.Component
- func DatadirComponentProto(input *datadir.Component) *pb.Args_DataDir_Component
- func DatadirProject(input *pb.Args_DataDir_Project) *datadir.Project
- func DatadirProjectProto(input *datadir.Project) *pb.Args_DataDir_Project
- func DeclaredResourcesComponent(input *pb.DeclaredResources) (*component.DeclaredResources, error)
- func DeclaredResourcesComponentProto(input *component.DeclaredResources) (*pb.DeclaredResources, error)
- func DeploymentConfig(input *pb.Args_DeploymentConfig) (*component.DeploymentConfig, error)
- func DeploymentConfigProto(input *component.DeploymentConfig) (*pb.Args_DeploymentConfig, error)
- func ExecSessionInfo(ctx context.Context, input *pb.Args_ExecSessionInfo, log hclog.Logger, ...) (*component.ExecSessionInfo, error)
- func ExecSessionInfoProto(esi *component.ExecSessionInfo, log hclog.Logger, ...) *pb.Args_ExecSessionInfo
- func JobInfo(input *pb.Args_JobInfo) (*component.JobInfo, error)
- func JobInfoProto(input *component.JobInfo) (*pb.Args_JobInfo, error)
- func LabelSet(input *pb.Args_LabelSet) *component.LabelSet
- func LabelSetProto(labels *component.LabelSet) *pb.Args_LabelSet
- func LogViewer(ctx context.Context, input *pb.Args_LogViewer, log hclog.Logger, ...) (*component.LogViewer, error)
- func LogViewerProto(lv *component.LogViewer, log hclog.Logger, internal *pluginargs.Internal) *pb.Args_LogViewer
- func Logger(input *pb.Args_Logger) hclog.Logger
- func LoggerProto(log hclog.Logger) *pb.Args_Logger
- func Source(input *pb.Args_Source) (*component.Source, error)
- func SourceProto(input *component.Source) (*pb.Args_Source, error)
- func TaskLaunchInfo(input *pb.Args_TaskLaunchInfo) (*component.TaskLaunchInfo, error)
- func TaskLaunchInfoProto(input *component.TaskLaunchInfo) (*pb.Args_TaskLaunchInfo, error)
- func TerminalUI(ctx context.Context, input *pb.Args_TerminalUI, log hclog.Logger, ...) (terminal.UI, error)
- func TerminalUIProto(ui terminal.UI, log hclog.Logger, internal *pluginargs.Internal) *pb.Args_TerminalUI
Constants ¶
This section is empty.
Variables ¶
var All = []interface{}{ Source, SourceProto, JobInfo, JobInfoProto, DeploymentConfig, DeploymentConfigProto, DatadirProject, DatadirApp, DatadirComponent, DatadirProjectProto, DatadirAppProto, DatadirComponentProto, DeclaredResourcesComponent, DeclaredResourcesComponentProto, Logger, LoggerProto, TerminalUI, TerminalUIProto, LabelSet, LabelSetProto, ExecSessionInfo, ExecSessionInfoProto, LogViewer, LogViewerProto, TaskLaunchInfo, TaskLaunchInfoProto, }
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 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 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.