Documentation ¶
Index ¶
- Constants
- func SleepWithBackoff(iteration int)
- func TaskErrorString(task zest.TaskResponse) string
- type RpmZest
- func (r *RpmZest) CreateRepository(domain, name, url string) (repoHref string, remoteHref string, err error)
- func (r *RpmZest) GetRpmRepositoryByName(domain, name string) (*zest.RpmRpmRepositoryResponse, error)
- func (r *RpmZest) GetTask(taskHref string) (zest.TaskResponse, error)
- func (r *RpmZest) LookupDomain(name string) (string, error)
- func (r *RpmZest) LookupOrCreateDomain(name string) (string, error)
- func (r *RpmZest) PollTask(taskHref string) (*zest.TaskResponse, error)
- func (r *RpmZest) SyncRpmRepository(rpmRpmRepositoryHref string, remoteHref string) (string, error)
- func (r *RpmZest) UpdateRemote(remoteHref string, url string) error
Constants ¶
View Source
const ( COMPLETED string = "completed" WAITING string = "waiting" RUNNING string = "running" SKIPPED string = "skipped" CANCELED string = "canceled" CANCELING string = "canceling" FAILED string = "failed" )
View Source
const DefaultDomain = "default"
Variables ¶
This section is empty.
Functions ¶
func SleepWithBackoff ¶
func SleepWithBackoff(iteration int)
func TaskErrorString ¶
func TaskErrorString(task zest.TaskResponse) string
Types ¶
type RpmZest ¶
type RpmZest struct {
// contains filtered or unexported fields
}
func (*RpmZest) CreateRepository ¶
func (*RpmZest) GetRpmRepositoryByName ¶
func (r *RpmZest) GetRpmRepositoryByName(domain, name string) (*zest.RpmRpmRepositoryResponse, error)
func (*RpmZest) GetTask ¶
func (r *RpmZest) GetTask(taskHref string) (zest.TaskResponse, error)
GetTask Fetch a pulp task
func (*RpmZest) LookupOrCreateDomain ¶
func (*RpmZest) PollTask ¶
func (r *RpmZest) PollTask(taskHref string) (*zest.TaskResponse, error)
PollTask Poll a task and return the final task object
func (*RpmZest) SyncRpmRepository ¶
Click to show internal directories.
Click to hide internal directories.