Documentation
¶
Index ¶
- func GrpcClient(host, password string) (pb.ProviderServiceClient, func() error)
- type Client
- func (c *Client) CreateApp(name, repo string) (*pb.App, error)
- func (c *Client) CreateBuild(app *pb.App, data []byte, procfile []byte) (*pb.Build, error)
- func (c *Client) CreateBuildGit(app *pb.App, version string, procfile []byte) (*pb.Build, error)
- func (c *Client) CreateResource(kind string, options map[string]string) (*pb.Resource, error)
- func (c *Client) CreateResourceLink(app, name string) error
- func (c *Client) DeleteApp(name string) error
- func (c *Client) DeleteBuild(app, id string) error
- func (c *Client) DeleteRelease(app, id string) error
- func (c *Client) DeleteResource(name string) error
- func (c *Client) DeleteResourceLink(app, name string) error
- func (c *Client) GetApp(name string) (*pb.App, error)
- func (c *Client) GetApps() (pb.Apps, error)
- func (c *Client) GetBuild(app, id string) (*pb.Build, error)
- func (c *Client) GetBuilds(app string) (pb.Builds, error)
- func (c *Client) GetEnvironment(name string) (pb.Environment, error)
- func (c *Client) GetReleases(app string) (models.Releases, error)
- func (c *Client) GetResource(name string) (*pb.Resource, error)
- func (c *Client) IsAWS() bool
- func (c *Client) IsGCP() bool
- func (c *Client) IsLocal() bool
- func (c *Client) ListProcess(name string) ([]*pb.Process, error)
- func (c *Client) ListResources() (pb.Resources, error)
- func (c *Client) ProxyRemote(host string, port int, conn io.ReadWriteCloser) error
- func (c *Client) ReleaseBuild(build *models.Build, options models.ReleaseOptions) (*models.Release, error)
- func (c *Client) RestartApp(name string) error
- func (c *Client) RunProcess(name string, args []string) error
- func (c *Client) SaveProcess(name string, options map[string]string) error
- func (c *Client) SetEnvironment(name string, data string) error
- func (c *Client) SetStack(auth *stdcli.Auth)
- func (c *Client) Stream(path string, headers map[string]string, in io.Reader, out io.Writer) error
- func (c *Client) StreamAppLogs(name string, follow bool, since time.Duration, process string, out io.Writer) error
- func (c *Client) StreamClient(path string, headers map[string]string) (*websocket.Conn, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrpcClient ¶
func GrpcClient(host, password string) (pb.ProviderServiceClient, func() error)
Types ¶
type Client ¶
type Client struct {
Version string
pb.ProviderServiceClient
stdcli.Auth
}
func (*Client) CreateBuild ¶
func (*Client) CreateBuildGit ¶
func (*Client) CreateResource ¶
func (*Client) CreateResourceLink ¶
func (*Client) DeleteBuild ¶
func (*Client) DeleteRelease ¶
func (*Client) DeleteResource ¶
func (*Client) DeleteResourceLink ¶
func (*Client) GetEnvironment ¶
func (c *Client) GetEnvironment(name string) (pb.Environment, error)
func (*Client) ProxyRemote ¶
func (*Client) ReleaseBuild ¶
func (*Client) RestartApp ¶
func (*Client) SaveProcess ¶
func (*Client) StreamAppLogs ¶
Click to show internal directories.
Click to hide internal directories.