core

package
v0.0.0-...-7ae29b8 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasisPlugin

type BasisPlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl core.Basis
	*vplugin.BasePlugin
}

func (*BasisPlugin) GRPCClient

func (p *BasisPlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

func (*BasisPlugin) GRPCServer

func (p *BasisPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error

type BoxCollectionPlugin

type BoxCollectionPlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl core.BoxCollection
	*vplugin.BasePlugin
}

func (*BoxCollectionPlugin) GRPCClient

func (p *BoxCollectionPlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

func (*BoxCollectionPlugin) GRPCServer

func (p *BoxCollectionPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error

type BoxMetadataPlugin

type BoxMetadataPlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl core.BoxMetadata
	*vplugin.BasePlugin
}

func (*BoxMetadataPlugin) GRPCClient

func (p *BoxMetadataPlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

func (*BoxMetadataPlugin) GRPCServer

func (p *BoxMetadataPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error

type BoxPlugin

type BoxPlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl core.Box
	*vplugin.BasePlugin
}

func (*BoxPlugin) GRPCClient

func (p *BoxPlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

func (*BoxPlugin) GRPCServer

func (p *BoxPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error

type CorePluginManagerPlugin

type CorePluginManagerPlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl core.CorePluginManager
	*vplugin.BasePlugin
}

func (*CorePluginManagerPlugin) GRPCClient

func (p *CorePluginManagerPlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

func (*CorePluginManagerPlugin) GRPCServer

func (p *CorePluginManagerPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error

type PluginManagerPlugin

type PluginManagerPlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl core.PluginManager
	*vplugin.BasePlugin
}

func (*PluginManagerPlugin) GRPCClient

func (p *PluginManagerPlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

func (*PluginManagerPlugin) GRPCServer

func (p *PluginManagerPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error

type ProjectPlugin

type ProjectPlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl core.Project
	*vplugin.BasePlugin
}

ProjectPlugin is just a GRPC client for a project

func (*ProjectPlugin) GRPCClient

func (p *ProjectPlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

Implements plugin.GRPCPlugin

func (*ProjectPlugin) GRPCServer

func (p *ProjectPlugin) GRPCServer(
	broker *plugin.GRPCBroker,
	s *grpc.Server,
) error

type StateBagPlugin

type StateBagPlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl core.StateBag
	*vplugin.BasePlugin
}

func (*StateBagPlugin) GRPCClient

func (p *StateBagPlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

func (*StateBagPlugin) GRPCServer

func (p *StateBagPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error

type TargetIndexPlugin

type TargetIndexPlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl core.TargetIndex
	*vplugin.BasePlugin
}

func (*TargetIndexPlugin) GRPCClient

func (p *TargetIndexPlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

func (*TargetIndexPlugin) GRPCServer

func (p *TargetIndexPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error

type TargetMachinePlugin

type TargetMachinePlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl       core.Machine
	TargetImpl core.Target
	*vplugin.BasePlugin
}

func (*TargetMachinePlugin) GRPCClient

func (t *TargetMachinePlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

Implements plugin.GRPCPlugin

func (*TargetMachinePlugin) GRPCServer

func (t *TargetMachinePlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error

type TargetPlugin

type TargetPlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl core.Target
	*vplugin.BasePlugin
}

func (*TargetPlugin) GRPCClient

func (p *TargetPlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

Implements plugin.GRPCPlugin

func (*TargetPlugin) GRPCServer

func (p *TargetPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error

type VagrantfilePlugin

type VagrantfilePlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl core.Vagrantfile
	*vplugin.BasePlugin
}

VagrantfilePlugin is just a GRPC client for a vagrantfile

func (*VagrantfilePlugin) GRPCClient

func (p *VagrantfilePlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

Implements plugin.GRPCPlugin

func (*VagrantfilePlugin) GRPCServer

func (p *VagrantfilePlugin) GRPCServer(
	broker *plugin.GRPCBroker,
	s *grpc.Server,
) error

Jump to

Keyboard shortcuts

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