Versions in this module Expand all Collapse all v0 v0.1.1 Jun 29, 2013 v0.1.0 Jun 28, 2013 Changes in this version + func Artifact(client *rpc.Client) *artifact + func Build(client *rpc.Client) *build + func Builder(client *rpc.Client) *builder + func Cache(client *rpc.Client) *cache + func Command(client *rpc.Client) *command + func Communicator(client *rpc.Client) *communicator + func Hook(client *rpc.Client) *hook + func PortRange(min, max int) + func PostProcessor(client *rpc.Client) *postProcessor + func Provisioner(client *rpc.Client) *provisioner + func RegisterArtifact(s *rpc.Server, a packer.Artifact) + func RegisterBuild(s *rpc.Server, b packer.Build) + func RegisterBuilder(s *rpc.Server, b packer.Builder) + func RegisterCache(s *rpc.Server, c packer.Cache) + func RegisterCommand(s *rpc.Server, c packer.Command) + func RegisterCommunicator(s *rpc.Server, c packer.Communicator) + func RegisterEnvironment(s *rpc.Server, e packer.Environment) + func RegisterHook(s *rpc.Server, hook packer.Hook) + func RegisterPostProcessor(s *rpc.Server, p packer.PostProcessor) + func RegisterProvisioner(s *rpc.Server, p packer.Provisioner) + func RegisterUi(s *rpc.Server, ui packer.Ui) + type ArtifactServer struct + func (s *ArtifactServer) BuilderId(args *interface{}, reply *string) error + func (s *ArtifactServer) Destroy(args *interface{}, reply *error) error + func (s *ArtifactServer) Files(args *interface{}, reply *[]string) error + func (s *ArtifactServer) Id(args *interface{}, reply *string) error + func (s *ArtifactServer) String(args *interface{}, reply *string) error + type BasicError struct + Message string + func NewBasicError(err error) *BasicError + func (e *BasicError) Error() string + type BuildRunArgs struct + UiRPCAddress string + type BuildServer struct + func (b *BuildServer) Cancel(args *interface{}, reply *interface{}) error + func (b *BuildServer) Name(args *interface{}, reply *string) error + func (b *BuildServer) Prepare(args interface{}, reply *error) error + func (b *BuildServer) Run(args *BuildRunArgs, reply *[]string) error + func (b *BuildServer) SetDebug(val *bool, reply *interface{}) error + type BuilderPrepareArgs struct + Configs []interface{} + type BuilderRunArgs struct + RPCAddress string + ResponseAddress string + type BuilderRunResponse struct + Err error + RPCAddress string + type BuilderServer struct + func (b *BuilderServer) Cancel(args *interface{}, reply *interface{}) error + func (b *BuilderServer) Prepare(args *BuilderPrepareArgs, reply *error) error + func (b *BuilderServer) Run(args *BuilderRunArgs, reply *interface{}) error + type CacheRLockResponse struct + Exists bool + Path string + type CacheServer struct + func (c *CacheServer) Lock(key string, result *string) error + func (c *CacheServer) RLock(key string, result *CacheRLockResponse) error + func (c *CacheServer) RUnlock(key string, result *interface{}) error + func (c *CacheServer) Unlock(key string, result *interface{}) error + type CommandFinished struct + ExitStatus int + type CommandRunArgs struct + Args []string + RPCAddress string + type CommandServer struct + func (c *CommandServer) Help(args *interface{}, reply *string) error + func (c *CommandServer) Run(args *CommandRunArgs, reply *int) error + func (c *CommandServer) Synopsis(args *CommandSynopsisArgs, reply *string) error + type CommandSynopsisArgs byte + type CommunicatorDownloadArgs struct + Path string + WriterAddress string + type CommunicatorServer struct + func (c *CommunicatorServer) Download(args *CommunicatorDownloadArgs, reply *interface{}) (err error) + func (c *CommunicatorServer) Start(args *CommunicatorStartArgs, reply *interface{}) (err error) + func (c *CommunicatorServer) Upload(args *CommunicatorUploadArgs, reply *interface{}) (err error) + type CommunicatorStartArgs struct + Command string + ResponseAddress string + StderrAddress string + StdinAddress string + StdoutAddress string + type CommunicatorUploadArgs struct + Path string + ReaderAddress string + type Environment struct + func (e *Environment) Builder(name string) (b packer.Builder, err error) + func (e *Environment) Cache() packer.Cache + func (e *Environment) Cli(args []string) (result int, err error) + func (e *Environment) Hook(name string) (h packer.Hook, err error) + func (e *Environment) PostProcessor(name string) (p packer.PostProcessor, err error) + func (e *Environment) Provisioner(name string) (p packer.Provisioner, err error) + func (e *Environment) Ui() packer.Ui + type EnvironmentCliArgs struct + Args []string + type EnvironmentServer struct + func (e *EnvironmentServer) Builder(name *string, reply *string) error + func (e *EnvironmentServer) Cache(args *interface{}, reply *string) error + func (e *EnvironmentServer) Cli(args *EnvironmentCliArgs, reply *int) (err error) + func (e *EnvironmentServer) Hook(name *string, reply *string) error + func (e *EnvironmentServer) PostProcessor(name *string, reply *string) error + func (e *EnvironmentServer) Provisioner(name *string, reply *string) error + func (e *EnvironmentServer) Ui(args *interface{}, reply *string) error + type HookRunArgs struct + Data interface{} + Name string + RPCAddress string + type HookServer struct + func (h *HookServer) Run(args *HookRunArgs, reply *interface{}) error + type PostProcessorProcessResponse struct + Err error + RPCAddress string + type PostProcessorServer struct + func (p *PostProcessorServer) Configure(raw *interface{}, reply *error) error + func (p *PostProcessorServer) PostProcess(address string, reply *PostProcessorProcessResponse) error + type ProvisionerPrepareArgs struct + Configs []interface{} + type ProvisionerProvisionArgs struct + RPCAddress string + type ProvisionerServer struct + func (p *ProvisionerServer) Prepare(args *ProvisionerPrepareArgs, reply *error) error + func (p *ProvisionerServer) Provision(args *ProvisionerProvisionArgs, reply *interface{}) error + type Ui struct + func (u *Ui) Ask(query string) (result string, err error) + func (u *Ui) Error(message string) + func (u *Ui) Message(message string) + func (u *Ui) Say(message string) + type UiServer struct + func (u *UiServer) Ask(query string, reply *string) (err error) + func (u *UiServer) Error(message *string, reply *interface{}) error + func (u *UiServer) Message(message *string, reply *interface{}) error + func (u *UiServer) Say(message *string, reply *interface{}) error