Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateApp(organization string, app *entities.SpaceCreation) (*entities.FuseSpace, *http.Response, *hcloud.ErrorResponse)
- func (client *Client) CreateCronjobLog(orgId string, spaceId string, cronjobId string, ...) (*entities.CronjobLog, *http.Response, *hcloud.ErrorResponse)
- func (c *Client) CreateJob(organization string, space string, job *entities.CronjobCreation) (*entities.Cronjob, *http.Response, *hcloud.ErrorResponse)
- func (c *Client) DeleteApp(organization string, app string) (*http.Response, *hcloud.ErrorResponse)
- func (c *Client) DeleteJob(organization string, space string, jobId string) (*http.Response, *hcloud.ErrorResponse)
- func (c *Client) GetAllJobs(limit int, page int) (*[]entities.CronjobInternal, entities.Total, *http.Response, ...)
- func (c *Client) GetApp(organization string, app string) (*entities.FuseSpace, *http.Response, *hcloud.ErrorResponse)
- func (c *Client) GetJobById(organization string, space string, jobId string) (*entities.Cronjob, *http.Response, *hcloud.ErrorResponse)
- func (client *Client) GetJobLogById(organization string, space string, cronJobId string, cronJobLogId string) (*entities.CronjobLog, *http.Response, *hcloud.ErrorResponse)
- func (client *Client) GetJobLogs(orgName string, space string, cronjobId string, limit int, page int) (*[]entities.CronjobLog, entities.Total, *http.Response, *hcloud.ErrorResponse)
- func (c *Client) GetJobs(organization string, space string, limit int, page int) (*[]entities.Cronjob, entities.Total, *http.Response, *hcloud.ErrorResponse)
- func (c *Client) GetNextJobExecutions(organization string, space string, jobId string, amount int) (*[]int64, *http.Response, *hcloud.ErrorResponse)
- func (c *Client) GetSpaces(organization string, limit int, page int) (*[]entities.FuseSpace, entities.Total, *http.Response, *hcloud.ErrorResponse)
- func (c *Client) PatchAppPermissions(organization string, app string, permission *entities.SpacePermissionPatch) (*entities.FuseSpace, *http.Response, *hcloud.ErrorResponse)
- func (c *Client) PatchJobExpression(organization string, space string, jobId string, ...) (*entities.Cronjob, *http.Response, *hcloud.ErrorResponse)
- func (c *Client) UpdateApp(organization string, app string, updatedApp *entities.SpaceCreation) (*entities.FuseSpace, *http.Response, *hcloud.ErrorResponse)
- func (c *Client) UpdateJob(organization string, space string, jobId string, job *entities.CronjobCreation) (*entities.Cronjob, *http.Response, *hcloud.ErrorResponse)
- func (c *Client) Version() (*entities.Version, *http.Response, *hcloud.ErrorResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateApp ¶ added in v0.0.21
func (c *Client) CreateApp(organization string, app *entities.SpaceCreation) (*entities.FuseSpace, *http.Response, *hcloud.ErrorResponse)
func (*Client) CreateCronjobLog ¶ added in v0.0.21
func (client *Client) CreateCronjobLog(orgId string, spaceId string, cronjobId string, log entities.CronjobLogCreation) (*entities.CronjobLog, *http.Response, *hcloud.ErrorResponse)
func (*Client) GetAllJobs ¶ added in v0.0.21
func (c *Client) GetAllJobs(limit int, page int) (*[]entities.CronjobInternal, entities.Total, *http.Response, *hcloud.ErrorResponse)
GetAll requests all existing jobs form the backend
INTERNAL ENDPOINT ONLY, REQUIRES MAIN 'hcloud' USER
func (*Client) GetJobById ¶ added in v0.0.21
func (*Client) GetJobLogById ¶ added in v0.0.21
func (*Client) GetJobLogs ¶ added in v0.0.21
func (*Client) GetNextJobExecutions ¶ added in v0.0.21
func (*Client) PatchAppPermissions ¶ added in v0.0.21
func (*Client) PatchJobExpression ¶ added in v0.0.21
Click to show internal directories.
Click to hide internal directories.