Documentation
¶
Index ¶
- Constants
- type Client
- func (self *Client) AddHost(gossipAddress string) error
- func (self *Client) Close() error
- func (self *Client) DeployService(serviceNamespace string, serviceName string, templateNamespace string, ...) error
- func (self *Client) GetPackageFile(namespace string, type_ string, name string, path string, coerce bool, ...) error
- func (self *Client) GetVersion() (string, error)
- func (self *Client) Interact(identifier []string, stdin io.Reader, stdout io.Writer, stderr io.Writer, ...) error
- func (self *Client) InteractRelay(server api.Agent_InteractServer, start *api.Interaction_Start) error
- func (self *Client) ListHosts() ([]Host, error)
- func (self *Client) ListNamespaces() ([]string, error)
- func (self *Client) ListPackageFiles(namespace string, type_ string, name string) ([]PackageFile, error)
- func (self *Client) ListPackages(namespace string, type_ string) ([]PackageIdentifier, error)
- func (self *Client) ListResources(namespace string, serviceName string, type_ string) ([]Resource, error)
- func (self *Client) RemovePackage(namespace string, type_ string, name string) error
- func (self *Client) SetPackageFiles(context contextpkg.Context, namespace string, type_ string, name string, ...) error
- type Host
- type PackageFile
- type PackageIdentifier
- type Resource
Constants ¶
View Source
const BUFFER_SIZE = 65536
View Source
const DEFAULT_TIMEOUT = 10 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) DeployService ¶
func (*Client) GetPackageFile ¶
func (*Client) GetVersion ¶
func (*Client) InteractRelay ¶
func (self *Client) InteractRelay(server api.Agent_InteractServer, start *api.Interaction_Start) error
func (*Client) ListNamespaces ¶
func (*Client) ListPackageFiles ¶
func (*Client) ListPackages ¶
func (self *Client) ListPackages(namespace string, type_ string) ([]PackageIdentifier, error)
func (*Client) ListResources ¶
func (*Client) RemovePackage ¶
func (*Client) SetPackageFiles ¶
func (self *Client) SetPackageFiles(context contextpkg.Context, namespace string, type_ string, name string, streamPackage streampackage.StreamPackage) error
type PackageFile ¶
type PackageIdentifier ¶
Click to show internal directories.
Click to hide internal directories.