sscat

package
v0.0.0-...-498dd23 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(apiHost, ssHost string, account int, token string) (*Client, error)

func (*Client) CompileTemplate

func (c *Client) CompileTemplate(file io.Reader) error

func (*Client) DeleteTemplate

func (c *Client) DeleteTemplate(id string) error

func (*Client) Execution

func (c *Client) Execution(id string) (*ssm.Execution, error)

func (*Client) FindTemplate

func (c *Client) FindTemplate(finder TemplateFinder) (*ssd.Template, error)

func (*Client) StartExecution

func (c *Client) StartExecution(name, desc, templateHref string) (*ssm.Execution, error)

func (*Client) UploadTemplate

func (c *Client) UploadTemplate(name, fileName string, file io.Reader) (*ssd.Template, error)

type TemplateFinder

type TemplateFinder func(*ssd.Template) bool

func TemplateByName

func TemplateByName(name string) TemplateFinder

Jump to

Keyboard shortcuts

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