Documentation ¶
Index ¶
- func GrpcClient(host, password string) (pb.ProviderServiceClient, func() error)
- type Client
- func (c *Client) AppDomainUpdate(name, domain string) error
- 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) CreateBuildBare(app *pb.App, version, tag string, procfile []byte) (*pb.Build, error)
- func (c *Client) CreateBuildDocker(app *pb.App, ref string, images []string, in io.ReadCloser, procfile []byte) (*pb.Build, error)
- func (c *Client) CreateBuildGit(app *pb.App, version string, procfile []byte) (*pb.Build, error)
- func (c *Client) CreateCertificate(app, domain, cert, key string) 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) DeleteCertificate(app, domain 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, limit int) (pb.Builds, error)
- func (c *Client) GetDockerCreds() (*pb.DockerCred, 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, opts pb.ProcessRunOptions) 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.ReadCloser, out io.Writer) error
- func (c *Client) StreamAppLogs(name string, follow bool, since time.Duration, process string, lines int, ...) error
- func (c *Client) StreamClient(path string, headers map[string]string) (*websocket.Conn, error)
- func (c *Client) UpdateProcessLimits(name, resource string, limits map[string]string) 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) AppDomainUpdate ¶
func (*Client) CreateBuild ¶
func (*Client) CreateBuildBare ¶
func (*Client) CreateBuildDocker ¶
func (*Client) CreateBuildGit ¶
func (*Client) CreateCertificate ¶
func (*Client) CreateResource ¶
func (*Client) CreateResourceLink ¶
func (*Client) DeleteBuild ¶
func (*Client) DeleteCertificate ¶
func (*Client) DeleteRelease ¶
func (*Client) DeleteResource ¶
func (*Client) DeleteResourceLink ¶
func (*Client) GetDockerCreds ¶
func (c *Client) GetDockerCreds() (*pb.DockerCred, error)
func (*Client) GetEnvironment ¶
func (c *Client) GetEnvironment(name string) (pb.Environment, error)
func (*Client) ProxyRemote ¶
func (*Client) ReleaseBuild ¶
func (*Client) RestartApp ¶
func (*Client) RunProcess ¶
func (*Client) SaveProcess ¶
func (*Client) StreamAppLogs ¶
func (*Client) StreamClient ¶
Click to show internal directories.
Click to hide internal directories.