fuse

package
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 New

func New(client *hcloud.Client) *Client

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) CreateJob added in v0.0.21

func (c *Client) CreateJob(organization string, space string, job *entities.CronjobCreation) (*entities.Cronjob, *http.Response, *hcloud.ErrorResponse)

func (*Client) DeleteApp added in v0.0.21

func (c *Client) DeleteApp(organization string, app string) (*http.Response, *hcloud.ErrorResponse)

func (*Client) DeleteJob added in v0.0.21

func (c *Client) DeleteJob(organization string, space string, jobId string) (*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) GetApp added in v0.0.21

func (c *Client) GetApp(organization string, app string) (*entities.FuseSpace, *http.Response, *hcloud.ErrorResponse)

func (*Client) GetJobById added in v0.0.21

func (c *Client) GetJobById(organization string, space string, jobId string) (*entities.Cronjob, *http.Response, *hcloud.ErrorResponse)

func (*Client) GetJobLogById added in v0.0.21

func (client *Client) GetJobLogById(organization string, space string, cronJobId string, cronJobLogId string) (*entities.CronjobLog, *http.Response, *hcloud.ErrorResponse)

func (*Client) GetJobLogs added in v0.0.21

func (client *Client) GetJobLogs(orgName string, space string, cronjobId string, limit int, page int) (*[]entities.CronjobLog, entities.Total, *http.Response, *hcloud.ErrorResponse)

func (*Client) GetJobs added in v0.0.21

func (c *Client) GetJobs(organization string, space string, limit int, page int) (*[]entities.Cronjob, entities.Total, *http.Response, *hcloud.ErrorResponse)

func (*Client) GetNextJobExecutions added in v0.0.21

func (c *Client) GetNextJobExecutions(organization string, space string, jobId string, amount int) (*[]int64, *http.Response, *hcloud.ErrorResponse)

func (*Client) GetSpaces added in v0.0.21

func (c *Client) GetSpaces(organization string, limit int, page int) (*[]entities.FuseSpace, entities.Total, *http.Response, *hcloud.ErrorResponse)

func (*Client) PatchAppPermissions added in v0.0.21

func (c *Client) PatchAppPermissions(organization string, app string, permission *entities.SpacePermissionPatch) (*entities.FuseSpace, *http.Response, *hcloud.ErrorResponse)

func (*Client) PatchJobExpression added in v0.0.21

func (c *Client) PatchJobExpression(organization string, space string, jobId string, expression *entities.CronjobExpression) (*entities.Cronjob, *http.Response, *hcloud.ErrorResponse)

func (*Client) UpdateApp added in v0.0.21

func (c *Client) UpdateApp(organization string, app string, updatedApp *entities.SpaceCreation) (*entities.FuseSpace, *http.Response, *hcloud.ErrorResponse)

func (*Client) UpdateJob added in v0.0.21

func (c *Client) UpdateJob(organization string, space string, jobId string, job *entities.CronjobCreation) (*entities.Cronjob, *http.Response, *hcloud.ErrorResponse)

func (*Client) Version added in v0.0.20

func (c *Client) Version() (*entities.Version, *http.Response, *hcloud.ErrorResponse)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL