Documentation
¶
Index ¶
- Variables
- type Client
- func (c *Client) AppList() ([]*ct.App, error)
- func (c *Client) Close() error
- func (c *Client) CreateApp(app *ct.App) error
- func (c *Client) CreateArtifact(artifact *ct.Artifact) error
- func (c *Client) CreateKey(pubKey string) (*ct.Key, error)
- func (c *Client) CreateProvider(provider *ct.Provider) error
- func (c *Client) CreateRelease(release *ct.Release) error
- func (c *Client) CreateRoute(appID string, route *strowger.Route) error
- func (c *Client) DeleteJob(appID, jobID string) error
- func (c *Client) DeleteKey(id string) error
- func (c *Client) DeleteRoute(appID string, routeID string) error
- func (c *Client) GetApp(appID string) (*ct.App, error)
- func (c *Client) GetAppRelease(appID string) (*ct.Release, error)
- func (c *Client) GetArtifact(artifactID string) (*ct.Artifact, error)
- func (c *Client) GetFormation(appID, releaseID string) (*ct.Formation, error)
- func (c *Client) GetJobLog(appID, jobID string) (io.ReadCloser, error)
- func (c *Client) GetRelease(releaseID string) (*ct.Release, error)
- func (c *Client) JobList(appID string) ([]*ct.Job, error)
- func (c *Client) KeyList() ([]*ct.Key, error)
- func (c *Client) ProviderList() ([]*ct.Provider, error)
- func (c *Client) ProvisionResource(req *ct.ResourceReq) (*ct.Resource, error)
- func (c *Client) PutFormation(formation *ct.Formation) error
- func (c *Client) PutJob(job *ct.Job) error
- func (c *Client) PutResource(resource *ct.Resource) error
- func (c *Client) RouteList(appID string) ([]*strowger.Route, error)
- func (c *Client) RunJobAttached(appID string, job *ct.NewJob) (utils.ReadWriteCloser, error)
- func (c *Client) RunJobDetached(appID string, req *ct.NewJob) (*ct.Job, error)
- func (c *Client) SetAppRelease(appID, releaseID string) error
- func (c *Client) StreamFormations(since *time.Time) (*FormationUpdates, *error)
- type FormationUpdates
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("controller: not found")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateRoute ¶
func (*Client) GetFormation ¶
func (*Client) ProvisionResource ¶
func (*Client) RunJobAttached ¶
func (*Client) RunJobDetached ¶
func (*Client) SetAppRelease ¶
func (*Client) StreamFormations ¶
func (c *Client) StreamFormations(since *time.Time) (*FormationUpdates, *error)
type FormationUpdates ¶
type FormationUpdates struct { Chan <-chan *ct.ExpandedFormation // contains filtered or unexported fields }
func (*FormationUpdates) Close ¶
func (u *FormationUpdates) Close() error
Click to show internal directories.
Click to hide internal directories.