Documentation ¶
Index ¶
- type IJobs
- type SJobs
- func (j *SJobs) Delete(jobID, svcID string) error
- func (j *SJobs) Deploy(redeploy bool, releaseName, target, svcID string) error
- func (j *SJobs) DeployRelease(releaseName, svcID string) error
- func (j *SJobs) DeployTarget(target, svcID string) error
- func (j *SJobs) List(svcID string, page, pageSize int) (*[]models.Job, error)
- func (j *SJobs) PollForStatus(statuses []string, jobID, svcID string) (string, error)
- func (j *SJobs) PollTillFinished(jobID, svcID string) (string, error)
- func (j *SJobs) Redeploy(svcID string) error
- func (j *SJobs) Retrieve(jobID, svcID string, includeSpec bool) (*models.Job, error)
- func (j *SJobs) RetrieveByStatus(svcID, status string) (*[]models.Job, error)
- func (j *SJobs) RetrieveByTarget(svcID, target string, page, pageSize int) (*[]models.Job, error)
- func (j *SJobs) RetrieveByType(svcID, jobType string, page, pageSize int) (*[]models.Job, error)
- func (j *SJobs) WaitToAppear(jobID, svcID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IJobs ¶
type IJobs interface { Delete(jobID, svcID string) error Deploy(redeploy bool, releaseName, target, svcID string) error DeployRelease(releaseName, svcID string) error DeployTarget(target, svcID string) error Redeploy(svcID string) error Retrieve(jobID, svcID string, includeSpec bool) (*models.Job, error) RetrieveByStatus(svcID, status string) (*[]models.Job, error) RetrieveByType(svcID, jobType string, page, pageSize int) (*[]models.Job, error) RetrieveByTarget(svcID, target string, page, pageSize int) (*[]models.Job, error) PollForStatus(statuses []string, jobID, svcID string) (string, error) PollTillFinished(jobID, svcID string) (string, error) List(svcID string, page, pageSize int) (*[]models.Job, error) WaitToAppear(jobID, svcID string) error }
IJobs
type SJobs ¶
SJobs is a concrete implementation of IJobs
func (*SJobs) DeployRelease ¶
func (*SJobs) DeployTarget ¶
func (*SJobs) PollForStatus ¶
func (*SJobs) PollTillFinished ¶
func (*SJobs) RetrieveByStatus ¶
func (*SJobs) RetrieveByTarget ¶
func (*SJobs) RetrieveByType ¶
func (*SJobs) WaitToAppear ¶
Click to show internal directories.
Click to hide internal directories.