Documentation ¶
Index ¶
- Variables
- func Array(input *vagrant_plugin_sdk.Args_Array, log hclog.Logger, ...) ([]interface{}, error)
- func ArrayProto(input []interface{}, log hclog.Logger, internal pluginargs.Internal, ...) (*vagrant_plugin_sdk.Args_Array, error)
- func Basis(ctx context.Context, input *vagrant_plugin_sdk.Args_Basis, log hclog.Logger, ...) (core.Basis, error)
- func BasisProto(b core.Basis, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Basis, error)
- func Boolean(input *wrapperspb.BoolValue) bool
- func BooleanProto(input bool) *wrapperspb.BoolValue
- func BooleanPtr(input *wrapperspb.BoolValue) *bool
- func BooleanPtrProto(input *bool) *wrapperspb.BoolValue
- func Box(ctx context.Context, input *vagrant_plugin_sdk.Args_Box, log hclog.Logger, ...) (core.Box, error)
- func BoxCollection(ctx context.Context, input *vagrant_plugin_sdk.Args_BoxCollection, ...) (core.BoxCollection, error)
- func BoxCollectionProto(boxCollection core.BoxCollection, log hclog.Logger, ...) (*vagrant_plugin_sdk.Args_BoxCollection, error)
- func BoxMetadata(ctx context.Context, input *vagrant_plugin_sdk.Args_BoxMetadata, ...) (core.BoxMetadata, error)
- func BoxMetadataProto(boxMetadata core.BoxMetadata, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_BoxMetadata, error)
- func BoxProto(box core.Box, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Box, error)
- func BoxResponse(ctx context.Context, input *vagrant_plugin_sdk.Target_Machine_BoxResponse, ...) (core.Box, error)
- func BoxResponseProto(box core.Box, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Target_Machine_BoxResponse, error)
- func Bytes(input *wrapperspb.BytesValue) []byte
- func BytesProto(input []byte) *wrapperspb.BytesValue
- func Class(input *vagrant_plugin_sdk.Args_Class) types.Class
- func ClassProto(input types.Class) *vagrant_plugin_sdk.Args_Class
- func Command(ctx context.Context, input *vagrant_plugin_sdk.Args_Command, log hclog.Logger, ...) (core.Command, error)
- func CommandInfo(input *vagrant_plugin_sdk.Command_CommandInfo) (*component.CommandInfo, error)
- func CommandInfoFromResponse(input *vagrant_plugin_sdk.Command_CommandInfoResp) *vagrant_plugin_sdk.Command_CommandInfo
- func CommandInfoProto(input *component.CommandInfo) (*vagrant_plugin_sdk.Command_CommandInfo, error)
- func CommandParams(input *vagrant_plugin_sdk.Command_Arguments) (c *component.CommandParams)
- func CommandProto(c component.Command, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Command, error)
- func Communicator(ctx context.Context, input *vagrant_plugin_sdk.Args_Communicator, ...) (core.Communicator, error)
- func CommunicatorCommand(c *vagrant_plugin_sdk.Communicator_Command) ([]string, error)
- func CommunicatorCommandProto(c []string) (*vagrant_plugin_sdk.Communicator_Command, error)
- func CommunicatorProto(c component.Communicator, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Communicator, error)
- func ConfigData(input *vagrant_plugin_sdk.Args_ConfigData, log hclog.Logger, ...) (*component.ConfigData, error)
- func ConfigDataProto(input *component.ConfigData, log hclog.Logger, internal pluginargs.Internal, ...) (*vagrant_plugin_sdk.Args_ConfigData, error)
- func ConfigDataToFinalize(input *component.ConfigData) *component.ConfigFinalize
- func ConfigFinalize(input *vagrant_plugin_sdk.Config_Finalize, log hclog.Logger, ...) (*component.ConfigFinalize, error)
- func ConfigFinalizeProto(input *component.ConfigFinalize, log hclog.Logger, ...) (*vagrant_plugin_sdk.Config_Finalize, error)
- func ConfigMerge(input *vagrant_plugin_sdk.Config_Merge, log hclog.Logger, ...) (*component.ConfigMerge, error)
- func ConfigMergeProto(input *component.ConfigMerge, log hclog.Logger, internal pluginargs.Internal, ...) (*vagrant_plugin_sdk.Config_Merge, error)
- func CorePluginManager(ctx context.Context, input *vagrant_plugin_sdk.Args_CorePluginManager, ...) (core.CorePluginManager, error)
- func CorePluginManagerProto(impl core.CorePluginManager, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_CorePluginManager, error)
- func DatadirBasis(input *vagrant_plugin_sdk.Args_DataDir_Basis) *datadir.Basis
- func DatadirBasisProto(input *datadir.Basis) *vagrant_plugin_sdk.Args_DataDir_Basis
- func DatadirComponent(input *vagrant_plugin_sdk.Args_DataDir_Project) *datadir.Component
- func DatadirComponentProto(input *datadir.Component) *vagrant_plugin_sdk.Args_DataDir_Component
- func DatadirProject(input *vagrant_plugin_sdk.Args_DataDir_Project) *datadir.Project
- func DatadirProjectProto(input *datadir.Project) *vagrant_plugin_sdk.Args_DataDir_Project
- func DatadirTarget(input *vagrant_plugin_sdk.Args_DataDir_Target) *datadir.Target
- func DatadirTargetProto(input *datadir.Target) *vagrant_plugin_sdk.Args_DataDir_Target
- func Direct(input *vagrant_plugin_sdk.Args_Direct, log hclog.Logger, ...) (*component.Direct, error)
- func DirectProto(input *component.Direct, log hclog.Logger, internal pluginargs.Internal, ...) (*vagrant_plugin_sdk.Args_Direct, error)
- func Double(input *wrapperspb.DoubleValue) float64
- func DoubleProto(input float64) *wrapperspb.DoubleValue
- func DoublePtr(input *wrapperspb.DoubleValue) *float64
- func DoublePtrProto(input *float64) *wrapperspb.DoubleValue
- func Flags(input []*vagrant_plugin_sdk.Command_Flag) (flags []*component.CommandFlag, err error)
- func FlagsProto(input []*component.CommandFlag) (output []*vagrant_plugin_sdk.Command_Flag, err error)
- func Float(input *wrapperspb.FloatValue) float32
- func FloatProto(input float32) *wrapperspb.FloatValue
- func FloatPtr(input *wrapperspb.FloatValue) *float32
- func FloatPtrProto(input *float32) *wrapperspb.FloatValue
- func FolderToVagrantfileSyncedFolder(f *core.Folder, log hclog.Logger, internal pluginargs.Internal, ...) (*vagrant_plugin_sdk.Target_Machine_SyncedFoldersResponse_Folder, error)
- func Folders(input *vagrant_plugin_sdk.Args_Folders, log hclog.Logger, ...) (result types.Folders, err error)
- func FoldersProto(input types.Folders, log hclog.Logger, internal pluginargs.Internal, ...) (opts *vagrant_plugin_sdk.Args_Folders, err error)
- func Guest(ctx context.Context, input *vagrant_plugin_sdk.Args_Guest, log hclog.Logger, ...) (core.Guest, error)
- func GuestProto(input component.Guest, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Guest, error)
- func Hash(input *vagrant_plugin_sdk.Args_Hash, log hclog.Logger, ...) (result map[interface{}]interface{}, err error)
- func HashProto(input map[interface{}]interface{}, log hclog.Logger, ...) (*vagrant_plugin_sdk.Args_Hash, error)
- func HclRange(input *vagrant_plugin_sdk.Args_Range) (*config.Range, error)
- func HclRangeProto(input *config.Range) (*vagrant_plugin_sdk.Args_Range, error)
- func Host(ctx context.Context, input *vagrant_plugin_sdk.Args_Host, log hclog.Logger, ...) (core.Host, error)
- func HostProto(input component.Host, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Host, error)
- func Int32(input *wrapperspb.Int32Value) int32
- func Int32Proto(input int32) *wrapperspb.Int32Value
- func Int32Ptr(input *wrapperspb.Int32Value) *int32
- func Int32PtrProto(input *int32) *wrapperspb.Int32Value
- func Int64(input *wrapperspb.Int64Value) int64
- func Int64Proto(input int64) *wrapperspb.Int64Value
- func Int64Ptr(input *wrapperspb.Int64Value) *int64
- func Int64PtrProto(input *int64) *wrapperspb.Int64Value
- func JobInfo(input *vagrant_plugin_sdk.Args_JobInfo) (*component.JobInfo, error)
- func JobInfoProto(input *component.JobInfo) (*vagrant_plugin_sdk.Args_JobInfo, error)
- func Logger(input *vagrant_plugin_sdk.Args_Logger) hclog.Logger
- func LoggerProto(log hclog.Logger) *vagrant_plugin_sdk.Args_Logger
- func MachineProject(m core.Machine) (core.Project, error)
- func MachineState(input *vagrant_plugin_sdk.Args_Target_Machine_State) (*core.MachineState, error)
- func MachineStateProto(input *core.MachineState) (*vagrant_plugin_sdk.Args_Target_Machine_State, error)
- func MapKeyInterface(input map[string]interface{}) map[interface{}]interface{}
- func MapKeyString(input map[interface{}]interface{}) (map[string]interface{}, error)
- func MapToProto(input map[string]interface{}) (*structpb.Struct, error)
- func Metadata(m *vagrant_plugin_sdk.Args_MetadataSet) map[string]string
- func MetadataProto(m map[string]string) *vagrant_plugin_sdk.Args_MetadataSet
- func MetadataSet(input *vagrant_plugin_sdk.Args_MetadataSet) *component.MetadataSet
- func MetadataSetProto(meta *component.MetadataSet) *vagrant_plugin_sdk.Args_MetadataSet
- func NamedCapability(input *vagrant_plugin_sdk.Args_NamedCapability) *component.NamedCapability
- func NamedCapabilityProto(input *component.NamedCapability) *vagrant_plugin_sdk.Args_NamedCapability
- func Options(input *vagrant_plugin_sdk.Args_Options, log hclog.Logger, ...) (result types.Options, err error)
- func OptionsProto(input types.Options, log hclog.Logger, internal pluginargs.Internal, ...) (opts *vagrant_plugin_sdk.Args_Options, err error)
- func Path(input *vagrant_plugin_sdk.Args_Path) path.Path
- func PathProto(p path.Path) *vagrant_plugin_sdk.Args_Path
- func Plugin(ctx context.Context, input *vagrant_plugin_sdk.PluginManager_Plugin, ...) (*core.NamedPlugin, error)
- func PluginManager(ctx context.Context, input *vagrant_plugin_sdk.Args_PluginManager, ...) (core.PluginManager, error)
- func PluginManagerProto(input core.PluginManager, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_PluginManager, error)
- func PluginProto(input *core.NamedPlugin, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.PluginManager_Plugin, error)
- func Plugins(ctx context.Context, input *vagrant_plugin_sdk.PluginManager_PluginsResponse, ...) ([]*core.NamedPlugin, error)
- func PluginsProto(input []*core.NamedPlugin, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.PluginManager_PluginsResponse, error)
- func Project(ctx context.Context, input *vagrant_plugin_sdk.Args_Project, log hclog.Logger, ...) (core.Project, error)
- func ProjectProto(p core.Project, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Project, error)
- func ProtoToMap(input *structpb.Struct) (map[string]interface{}, error)
- func Provider(ctx context.Context, input *vagrant_plugin_sdk.Args_Provider, log hclog.Logger, ...) (core.Provider, error)
- func ProviderProto(t component.Provider, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Provider, error)
- func Provisioner(ctx context.Context, input *vagrant_plugin_sdk.Args_Provisioner, ...) (core.Provisioner, error)
- func ProvisionerProto(t component.Provisioner, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Provisioner, error)
- func Push(ctx context.Context, input *vagrant_plugin_sdk.Args_Push, log hclog.Logger, ...) (core.Push, error)
- func PushProto(c component.Push, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Push, error)
- func Range(input *vagrant_plugin_sdk.Args_Range) (types.Range, error)
- func RangeProto(input types.Range) *vagrant_plugin_sdk.Args_Range
- func RawRubyValue(input *vagrant_plugin_sdk.Config_RawRubyValue, log hclog.Logger, ...) (*types.RawRubyValue, error)
- func RawRubyValueProto(input *types.RawRubyValue, log hclog.Logger, internal pluginargs.Internal, ...) (*vagrant_plugin_sdk.Config_RawRubyValue, error)
- func Seeds(input *vagrant_plugin_sdk.Args_Seeds, log hclog.Logger, ...) (*core.Seeds, error)
- func SeedsProto(input *core.Seeds, log hclog.Logger, internal pluginargs.Internal, ...) (*vagrant_plugin_sdk.Args_Seeds, error)
- func SeedsProtoFull(input *core.Seeds, log hclog.Logger, internal pluginargs.Internal, ...) (*vagrant_plugin_sdk.Args_Seeds, error)
- func SshInfo(input *vagrant_plugin_sdk.Args_Connection_SSHInfo) (*core.SshInfo, error)
- func SshInfoProto(input *core.SshInfo) (*vagrant_plugin_sdk.Args_Connection_SSHInfo, error)
- func State(s *vagrant_plugin_sdk.Args_Target_State) (state core.State)
- func StateBag(ctx context.Context, input *vagrant_plugin_sdk.Args_StateBag, log hclog.Logger, ...) (core.StateBag, error)
- func StateBagProto(bag core.StateBag, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_StateBag, error)
- func StateProto(s core.State) *vagrant_plugin_sdk.Args_Target_State
- func String(input *wrapperspb.StringValue) string
- func StringProto(input string) *wrapperspb.StringValue
- func StringPtr(input *wrapperspb.StringValue) *string
- func StringPtrProto(input *string) *wrapperspb.StringValue
- func Symbol(input *vagrant_plugin_sdk.Args_Symbol) types.Symbol
- func SymbolProto(input types.Symbol) *vagrant_plugin_sdk.Args_Symbol
- func SyncedFolder(ctx context.Context, input *vagrant_plugin_sdk.Args_Provider, log hclog.Logger, ...) (core.SyncedFolder, error)
- func SyncedFolderProto(s component.SyncedFolder, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_SyncedFolder, error)
- func Target(ctx context.Context, input *vagrant_plugin_sdk.Args_Target, log hclog.Logger, ...) (core.Target, error)
- func TargetIndex(ctx context.Context, input *vagrant_plugin_sdk.Args_TargetIndex, ...) (core.TargetIndex, error)
- func TargetIndexProto(t core.TargetIndex, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_TargetIndex, error)
- func TargetMachine(ctx context.Context, input *vagrant_plugin_sdk.Args_Target_Machine, ...) (core.Machine, error)
- func TargetMachineProto(m core.Machine, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Target_Machine, error)
- func TargetProject(t core.Target) (core.Project, error)
- func TargetProto(t core.Target, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Target, error)
- func TargetToMachine(input core.Target) (core.Machine, error)
- func TerminalUI(ctx context.Context, input *vagrant_plugin_sdk.Args_TerminalUI, ...) (terminal.UI, error)
- func TerminalUIProto(ui terminal.UI, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_TerminalUI, error)
- func Timestamp(input *timestamppb.Timestamp) time.Time
- func TimestampProto(input time.Time) *timestamppb.Timestamp
- func TimestampPtr(input *timestamppb.Timestamp) *time.Time
- func TimestampPtrProto(input *time.Time) *timestamppb.Timestamp
- func UInt32(input *wrapperspb.UInt32Value) uint32
- func UInt32Proto(input uint32) *wrapperspb.UInt32Value
- func UInt32Ptr(input *wrapperspb.UInt32Value) *uint32
- func UInt32PtrProto(input *uint32) *wrapperspb.UInt32Value
- func UInt64(input *wrapperspb.UInt64Value) uint64
- func UInt64Proto(input uint64) *wrapperspb.UInt64Value
- func UInt64Ptr(input *wrapperspb.UInt64Value) *uint64
- func UInt64PtrProto(input *uint64) *wrapperspb.UInt64Value
- func Vagrantfile(ctx context.Context, input *vagrant_plugin_sdk.Args_Vagrantfile, ...) (core.Vagrantfile, error)
- func VagrantfileProto(v core.Vagrantfile, log hclog.Logger, internal pluginargs.Internal) (*vagrant_plugin_sdk.Args_Vagrantfile, error)
- func VagrantfileSyncedFolderToFolder(f *vagrant_plugin_sdk.Target_Machine_SyncedFoldersResponse_Folder) (*core.Folder, error)
- func ValueToBool(input *structpb.Value) (bool, error)
- func ValueToList(input *structpb.Value) ([]*structpb.Value, error)
- func ValueToNull(input *structpb.Value) (interface{}, error)
- func ValueToNumber(input *structpb.Value) (float64, error)
- func ValueToString(input *structpb.Value) (string, error)
- func ValueToStruct(input *structpb.Value) (map[string]*structpb.Value, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var All = []interface{}{}/* 124 elements not displayed */
All is the list of all mappers as raw function pointers.
View Source
var AllFns []*argmapper.Func
View Source
var WellKnownFns []*argmapper.Func
View Source
var WellKnownTypes = []interface{}{ Boolean, BooleanPtr, BooleanProto, BooleanPtrProto, Bytes, BytesProto, Double, DoublePtr, DoubleProto, DoublePtrProto, Float, FloatPtr, FloatProto, FloatPtrProto, Int32, Int32Ptr, Int32Proto, Int32PtrProto, Int64, Int64Ptr, Int64Proto, Int64PtrProto, String, StringPtr, StringProto, StringPtrProto, Timestamp, TimestampPtr, TimestampProto, TimestampPtrProto, UInt32, UInt32Ptr, UInt32Proto, UInt32PtrProto, UInt64, UInt64Ptr, UInt64Proto, UInt64PtrProto, ValueToBool, ValueToList, ValueToNull, ValueToNumber, ValueToString, ValueToStruct, ValueToString, }
Functions ¶
func Array ¶
func Array( input *vagrant_plugin_sdk.Args_Array, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) ([]interface{}, error)
func ArrayProto ¶
func ArrayProto( input []interface{}, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*vagrant_plugin_sdk.Args_Array, error)
func Basis ¶
func Basis( ctx context.Context, input *vagrant_plugin_sdk.Args_Basis, log hclog.Logger, internal pluginargs.Internal, ) (core.Basis, error)
func BasisProto ¶
func BasisProto( b core.Basis, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Basis, error)
func Boolean ¶
func Boolean( input *wrapperspb.BoolValue, ) bool
func BooleanProto ¶
func BooleanProto( input bool, ) *wrapperspb.BoolValue
func BooleanPtr ¶
func BooleanPtr( input *wrapperspb.BoolValue, ) *bool
func BooleanPtrProto ¶
func BooleanPtrProto( input *bool, ) *wrapperspb.BoolValue
func Box ¶
func Box(ctx context.Context, input *vagrant_plugin_sdk.Args_Box, log hclog.Logger, internal pluginargs.Internal, ) (core.Box, error)
func BoxCollection ¶
func BoxCollection(ctx context.Context, input *vagrant_plugin_sdk.Args_BoxCollection, log hclog.Logger, internal pluginargs.Internal, ) (core.BoxCollection, error)
func BoxCollectionProto ¶
func BoxCollectionProto( boxCollection core.BoxCollection, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_BoxCollection, error)
func BoxMetadata ¶
func BoxMetadata(ctx context.Context, input *vagrant_plugin_sdk.Args_BoxMetadata, log hclog.Logger, internal pluginargs.Internal, ) (core.BoxMetadata, error)
func BoxMetadataProto ¶
func BoxMetadataProto( boxMetadata core.BoxMetadata, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_BoxMetadata, error)
func BoxProto ¶
func BoxProto( box core.Box, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Box, error)
func BoxResponse ¶
func BoxResponse(ctx context.Context, input *vagrant_plugin_sdk.Target_Machine_BoxResponse, log hclog.Logger, internal pluginargs.Internal, ) (core.Box, error)
func BoxResponseProto ¶
func BoxResponseProto( box core.Box, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Target_Machine_BoxResponse, error)
func Bytes ¶
func Bytes( input *wrapperspb.BytesValue, ) []byte
func BytesProto ¶
func BytesProto( input []byte, ) *wrapperspb.BytesValue
func Class ¶
func Class( input *vagrant_plugin_sdk.Args_Class, ) types.Class
func ClassProto ¶
func ClassProto( input types.Class, ) *vagrant_plugin_sdk.Args_Class
func Command ¶
func Command( ctx context.Context, input *vagrant_plugin_sdk.Args_Command, log hclog.Logger, internal pluginargs.Internal, ) (core.Command, error)
func CommandInfo ¶
func CommandInfo(input *vagrant_plugin_sdk.Command_CommandInfo) (*component.CommandInfo, error)
func CommandInfoFromResponse ¶
func CommandInfoFromResponse( input *vagrant_plugin_sdk.Command_CommandInfoResp, ) *vagrant_plugin_sdk.Command_CommandInfo
func CommandInfoProto ¶
func CommandInfoProto(input *component.CommandInfo) (*vagrant_plugin_sdk.Command_CommandInfo, error)
func CommandParams ¶
func CommandParams( input *vagrant_plugin_sdk.Command_Arguments, ) (c *component.CommandParams)
func CommandProto ¶
func CommandProto( c component.Command, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Command, error)
func Communicator ¶
func Communicator( ctx context.Context, input *vagrant_plugin_sdk.Args_Communicator, log hclog.Logger, internal pluginargs.Internal, ) (core.Communicator, error)
func CommunicatorCommand ¶
func CommunicatorCommand( c *vagrant_plugin_sdk.Communicator_Command, ) ([]string, error)
func CommunicatorCommandProto ¶
func CommunicatorCommandProto( c []string, ) (*vagrant_plugin_sdk.Communicator_Command, error)
func CommunicatorProto ¶
func CommunicatorProto( c component.Communicator, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Communicator, error)
func ConfigData ¶
func ConfigData( input *vagrant_plugin_sdk.Args_ConfigData, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*component.ConfigData, error)
func ConfigDataProto ¶
func ConfigDataProto( input *component.ConfigData, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*vagrant_plugin_sdk.Args_ConfigData, error)
func ConfigDataToFinalize ¶
func ConfigDataToFinalize( input *component.ConfigData, ) *component.ConfigFinalize
func ConfigFinalize ¶
func ConfigFinalize( input *vagrant_plugin_sdk.Config_Finalize, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*component.ConfigFinalize, error)
func ConfigFinalizeProto ¶
func ConfigFinalizeProto( input *component.ConfigFinalize, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*vagrant_plugin_sdk.Config_Finalize, error)
func ConfigMerge ¶
func ConfigMerge( input *vagrant_plugin_sdk.Config_Merge, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*component.ConfigMerge, error)
func ConfigMergeProto ¶
func ConfigMergeProto( input *component.ConfigMerge, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*vagrant_plugin_sdk.Config_Merge, error)
func CorePluginManager ¶
func CorePluginManager(ctx context.Context, input *vagrant_plugin_sdk.Args_CorePluginManager, log hclog.Logger, internal pluginargs.Internal, ) (core.CorePluginManager, error)
func CorePluginManagerProto ¶
func CorePluginManagerProto( impl core.CorePluginManager, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_CorePluginManager, error)
func DatadirBasis ¶
func DatadirBasis(input *vagrant_plugin_sdk.Args_DataDir_Basis) *datadir.Basis
func DatadirBasisProto ¶
func DatadirBasisProto(input *datadir.Basis) *vagrant_plugin_sdk.Args_DataDir_Basis
func DatadirComponent ¶
func DatadirComponent(input *vagrant_plugin_sdk.Args_DataDir_Project) *datadir.Component
func DatadirComponentProto ¶
func DatadirComponentProto(input *datadir.Component) *vagrant_plugin_sdk.Args_DataDir_Component
func DatadirProject ¶
func DatadirProject(input *vagrant_plugin_sdk.Args_DataDir_Project) *datadir.Project
func DatadirProjectProto ¶
func DatadirProjectProto(input *datadir.Project) *vagrant_plugin_sdk.Args_DataDir_Project
func DatadirTarget ¶
func DatadirTarget(input *vagrant_plugin_sdk.Args_DataDir_Target) *datadir.Target
func DatadirTargetProto ¶
func DatadirTargetProto(input *datadir.Target) *vagrant_plugin_sdk.Args_DataDir_Target
func Direct ¶
func Direct( input *vagrant_plugin_sdk.Args_Direct, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*component.Direct, error)
func DirectProto ¶
func DirectProto( input *component.Direct, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*vagrant_plugin_sdk.Args_Direct, error)
func Double ¶
func Double( input *wrapperspb.DoubleValue, ) float64
func DoubleProto ¶
func DoubleProto( input float64, ) *wrapperspb.DoubleValue
func DoublePtr ¶
func DoublePtr( input *wrapperspb.DoubleValue, ) *float64
func DoublePtrProto ¶
func DoublePtrProto( input *float64, ) *wrapperspb.DoubleValue
func Flags ¶
func Flags(input []*vagrant_plugin_sdk.Command_Flag) (flags []*component.CommandFlag, err error)
func FlagsProto ¶
func FlagsProto(input []*component.CommandFlag) (output []*vagrant_plugin_sdk.Command_Flag, err error)
Flags maps
func Float ¶
func Float( input *wrapperspb.FloatValue, ) float32
func FloatProto ¶
func FloatProto( input float32, ) *wrapperspb.FloatValue
func FloatPtr ¶
func FloatPtr( input *wrapperspb.FloatValue, ) *float32
func FloatPtrProto ¶
func FloatPtrProto( input *float32, ) *wrapperspb.FloatValue
func FolderToVagrantfileSyncedFolder ¶
func FolderToVagrantfileSyncedFolder( f *core.Folder, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*vagrant_plugin_sdk.Target_Machine_SyncedFoldersResponse_Folder, error)
func Folders ¶
func Folders( input *vagrant_plugin_sdk.Args_Folders, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (result types.Folders, err error)
func FoldersProto ¶
func FoldersProto( input types.Folders, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (opts *vagrant_plugin_sdk.Args_Folders, err error)
func Guest ¶
func Guest( ctx context.Context, input *vagrant_plugin_sdk.Args_Guest, log hclog.Logger, internal pluginargs.Internal, ) (core.Guest, error)
func GuestProto ¶
func GuestProto( input component.Guest, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Guest, error)
func Hash ¶
func Hash( input *vagrant_plugin_sdk.Args_Hash, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (result map[interface{}]interface{}, err error)
func HashProto ¶
func HashProto( input map[interface{}]interface{}, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*vagrant_plugin_sdk.Args_Hash, error)
func HclRange ¶
func HclRange( input *vagrant_plugin_sdk.Args_Range, ) (*config.Range, error)
func HclRangeProto ¶
func HclRangeProto( input *config.Range, ) (*vagrant_plugin_sdk.Args_Range, error)
func Host ¶
func Host( ctx context.Context, input *vagrant_plugin_sdk.Args_Host, log hclog.Logger, internal pluginargs.Internal, ) (core.Host, error)
func HostProto ¶
func HostProto( input component.Host, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Host, error)
func Int32 ¶
func Int32( input *wrapperspb.Int32Value, ) int32
func Int32Proto ¶
func Int32Proto( input int32, ) *wrapperspb.Int32Value
func Int32Ptr ¶
func Int32Ptr( input *wrapperspb.Int32Value, ) *int32
func Int32PtrProto ¶
func Int32PtrProto( input *int32, ) *wrapperspb.Int32Value
func Int64 ¶
func Int64( input *wrapperspb.Int64Value, ) int64
func Int64Proto ¶
func Int64Proto( input int64, ) *wrapperspb.Int64Value
func Int64Ptr ¶
func Int64Ptr( input *wrapperspb.Int64Value, ) *int64
func Int64PtrProto ¶
func Int64PtrProto( input *int64, ) *wrapperspb.Int64Value
func JobInfo ¶
func JobInfo(input *vagrant_plugin_sdk.Args_JobInfo) (*component.JobInfo, error)
JobInfo maps Args.JobInfo to component.JobInfo.
func JobInfoProto ¶
func JobInfoProto(input *component.JobInfo) (*vagrant_plugin_sdk.Args_JobInfo, error)
JobInfoProto
func Logger ¶
func Logger(input *vagrant_plugin_sdk.Args_Logger) hclog.Logger
Logger maps *vagrant_plugin_sdk.Args_Logger to an hclog.Logger
func LoggerProto ¶
func LoggerProto(log hclog.Logger) *vagrant_plugin_sdk.Args_Logger
func MachineState ¶
func MachineState(input *vagrant_plugin_sdk.Args_Target_Machine_State) (*core.MachineState, error)
func MachineStateProto ¶
func MachineStateProto(input *core.MachineState) (*vagrant_plugin_sdk.Args_Target_Machine_State, error)
func MapKeyInterface ¶
func MapKeyInterface( input map[string]interface{}, ) map[interface{}]interface{}
func MapKeyString ¶
func Metadata ¶
func Metadata(m *vagrant_plugin_sdk.Args_MetadataSet) map[string]string
func MetadataProto ¶
func MetadataProto(m map[string]string) *vagrant_plugin_sdk.Args_MetadataSet
func MetadataSet ¶
func MetadataSet(input *vagrant_plugin_sdk.Args_MetadataSet) *component.MetadataSet
func MetadataSetProto ¶
func MetadataSetProto(meta *component.MetadataSet) *vagrant_plugin_sdk.Args_MetadataSet
func NamedCapability ¶
func NamedCapability( input *vagrant_plugin_sdk.Args_NamedCapability, ) *component.NamedCapability
func NamedCapabilityProto ¶
func NamedCapabilityProto( input *component.NamedCapability, ) *vagrant_plugin_sdk.Args_NamedCapability
func Options ¶
func Options( input *vagrant_plugin_sdk.Args_Options, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (result types.Options, err error)
func OptionsProto ¶
func OptionsProto( input types.Options, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (opts *vagrant_plugin_sdk.Args_Options, err error)
func Plugin ¶
func Plugin( ctx context.Context, input *vagrant_plugin_sdk.PluginManager_Plugin, log hclog.Logger, internal pluginargs.Internal, ) (*core.NamedPlugin, error)
func PluginManager ¶
func PluginManager( ctx context.Context, input *vagrant_plugin_sdk.Args_PluginManager, log hclog.Logger, internal pluginargs.Internal, ) (core.PluginManager, error)
func PluginManagerProto ¶
func PluginManagerProto( input core.PluginManager, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_PluginManager, error)
func PluginProto ¶
func PluginProto( input *core.NamedPlugin, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.PluginManager_Plugin, error)
func Plugins ¶
func Plugins( ctx context.Context, input *vagrant_plugin_sdk.PluginManager_PluginsResponse, log hclog.Logger, internal pluginargs.Internal, ) ([]*core.NamedPlugin, error)
func PluginsProto ¶
func PluginsProto( input []*core.NamedPlugin, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.PluginManager_PluginsResponse, error)
func Project ¶
func Project( ctx context.Context, input *vagrant_plugin_sdk.Args_Project, log hclog.Logger, internal pluginargs.Internal, ) (core.Project, error)
func ProjectProto ¶
func ProjectProto( p core.Project, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Project, error)
func Provider ¶
func Provider( ctx context.Context, input *vagrant_plugin_sdk.Args_Provider, log hclog.Logger, internal pluginargs.Internal, ) (core.Provider, error)
func ProviderProto ¶
func ProviderProto( t component.Provider, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Provider, error)
func Provisioner ¶
func Provisioner( ctx context.Context, input *vagrant_plugin_sdk.Args_Provisioner, log hclog.Logger, internal pluginargs.Internal, ) (core.Provisioner, error)
func ProvisionerProto ¶
func ProvisionerProto( t component.Provisioner, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Provisioner, error)
func Push ¶
func Push( ctx context.Context, input *vagrant_plugin_sdk.Args_Push, log hclog.Logger, internal pluginargs.Internal, ) (core.Push, error)
func PushProto ¶
func PushProto( c component.Push, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Push, error)
func Range ¶
func Range( input *vagrant_plugin_sdk.Args_Range, ) (types.Range, error)
func RangeProto ¶
func RangeProto( input types.Range, ) *vagrant_plugin_sdk.Args_Range
func RawRubyValue ¶
func RawRubyValue( input *vagrant_plugin_sdk.Config_RawRubyValue, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*types.RawRubyValue, error)
func RawRubyValueProto ¶
func RawRubyValueProto( input *types.RawRubyValue, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*vagrant_plugin_sdk.Config_RawRubyValue, error)
func Seeds ¶
func Seeds( input *vagrant_plugin_sdk.Args_Seeds, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*core.Seeds, error)
NOTE: This does not convert the proto back to the Seeds fully. It will only convert the base type, but the contents will remain as any values to prevent large numbers of grpc service/client setups
func SeedsProto ¶
func SeedsProto( input *core.Seeds, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*vagrant_plugin_sdk.Args_Seeds, error)
func SeedsProtoFull ¶
func SeedsProtoFull( input *core.Seeds, log hclog.Logger, internal pluginargs.Internal, ctx context.Context, ) (*vagrant_plugin_sdk.Args_Seeds, error)
func SshInfo ¶
func SshInfo(input *vagrant_plugin_sdk.Args_Connection_SSHInfo) (*core.SshInfo, error)
func SshInfoProto ¶
func SshInfoProto(input *core.SshInfo) (*vagrant_plugin_sdk.Args_Connection_SSHInfo, error)
func State ¶
func State(s *vagrant_plugin_sdk.Args_Target_State) (state core.State)
func StateBag ¶
func StateBag( ctx context.Context, input *vagrant_plugin_sdk.Args_StateBag, log hclog.Logger, internal pluginargs.Internal, ) (core.StateBag, error)
StateBag maps StateBag proto to core.StateBag.
func StateBagProto ¶
func StateBagProto( bag core.StateBag, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_StateBag, error)
func StateProto ¶
func StateProto(s core.State) *vagrant_plugin_sdk.Args_Target_State
func String ¶
func String( input *wrapperspb.StringValue, ) string
func StringProto ¶
func StringProto( input string, ) *wrapperspb.StringValue
func StringPtr ¶
func StringPtr( input *wrapperspb.StringValue, ) *string
func StringPtrProto ¶
func StringPtrProto( input *string, ) *wrapperspb.StringValue
func Symbol ¶
func Symbol( input *vagrant_plugin_sdk.Args_Symbol, ) types.Symbol
func SymbolProto ¶
func SymbolProto( input types.Symbol, ) *vagrant_plugin_sdk.Args_Symbol
func SyncedFolder ¶
func SyncedFolder( ctx context.Context, input *vagrant_plugin_sdk.Args_Provider, log hclog.Logger, internal pluginargs.Internal, ) (core.SyncedFolder, error)
func SyncedFolderProto ¶
func SyncedFolderProto( s component.SyncedFolder, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_SyncedFolder, error)
func Target ¶
func Target( ctx context.Context, input *vagrant_plugin_sdk.Args_Target, log hclog.Logger, internal pluginargs.Internal, ) (core.Target, error)
func TargetIndex ¶
func TargetIndex( ctx context.Context, input *vagrant_plugin_sdk.Args_TargetIndex, log hclog.Logger, internal pluginargs.Internal, ) (core.TargetIndex, error)
func TargetIndexProto ¶
func TargetIndexProto( t core.TargetIndex, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_TargetIndex, error)
func TargetMachine ¶
func TargetMachine( ctx context.Context, input *vagrant_plugin_sdk.Args_Target_Machine, log hclog.Logger, internal pluginargs.Internal, ) (core.Machine, error)
func TargetMachineProto ¶
func TargetMachineProto( m core.Machine, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Target_Machine, error)
func TargetProto ¶
func TargetProto( t core.Target, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Target, error)
func TerminalUI ¶
func TerminalUI( ctx context.Context, input *vagrant_plugin_sdk.Args_TerminalUI, log hclog.Logger, internal pluginargs.Internal, ) (terminal.UI, error)
TerminalUI maps *vagrant_plugin_sdk.Args_TerminalUI to an hclog.TerminalUI
func TerminalUIProto ¶
func TerminalUIProto( ui terminal.UI, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_TerminalUI, error)
func TimestampProto ¶
func TimestampProto( input time.Time, ) *timestamppb.Timestamp
func TimestampPtr ¶
func TimestampPtr( input *timestamppb.Timestamp, ) *time.Time
func TimestampPtrProto ¶
func TimestampPtrProto( input *time.Time, ) *timestamppb.Timestamp
func UInt32 ¶
func UInt32( input *wrapperspb.UInt32Value, ) uint32
func UInt32Proto ¶
func UInt32Proto( input uint32, ) *wrapperspb.UInt32Value
func UInt32Ptr ¶
func UInt32Ptr( input *wrapperspb.UInt32Value, ) *uint32
func UInt32PtrProto ¶
func UInt32PtrProto( input *uint32, ) *wrapperspb.UInt32Value
func UInt64 ¶
func UInt64( input *wrapperspb.UInt64Value, ) uint64
func UInt64Proto ¶
func UInt64Proto( input uint64, ) *wrapperspb.UInt64Value
func UInt64Ptr ¶
func UInt64Ptr( input *wrapperspb.UInt64Value, ) *uint64
func UInt64PtrProto ¶
func UInt64PtrProto( input *uint64, ) *wrapperspb.UInt64Value
func Vagrantfile ¶
func Vagrantfile( ctx context.Context, input *vagrant_plugin_sdk.Args_Vagrantfile, log hclog.Logger, internal pluginargs.Internal, ) (core.Vagrantfile, error)
func VagrantfileProto ¶
func VagrantfileProto( v core.Vagrantfile, log hclog.Logger, internal pluginargs.Internal, ) (*vagrant_plugin_sdk.Args_Vagrantfile, error)
func VagrantfileSyncedFolderToFolder ¶
func VagrantfileSyncedFolderToFolder( f *vagrant_plugin_sdk.Target_Machine_SyncedFoldersResponse_Folder, ) (*core.Folder, error)
func ValueToNull ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.