Documentation ¶
Index ¶
- type AddonSubscription
- type Client
- func (c *Client) ConfigureAddon(input *ConfigureAddonInput) (*ConfigureAddonOutput, error)
- func (c *Client) ConfigureService(input *ConfigureServiceInput) (*ConfigureServiceOutput, error)
- func (c *Client) Create(input *CreateProjectInput) (*CreateProjectOutput, error)
- func (c *Client) Delete(input *DeleteProjectInput) (*DeleteProjectOutput, error)
- func (c *Client) Get(input *GetProjectInput) (*GetProjectOutput, error)
- func (c *Client) GetKubeconfig(input *GetKubeconfigInput) (*GetKubeconfigOutput, error)
- func (c *Client) GetManifest(input *GetProjectManifestInput) (*GetProjectManifestOutput, error)
- func (c *Client) InstallAddon(input *InstallAddonInput) (*InstallAddonOutput, error)
- func (c *Client) InstallService(input *InstallServiceInput) (*InstallServiceOutput, error)
- func (c *Client) List(input *ListProjectInput) (*ListProjectOutput, error)
- func (c *Client) ListAddons(input *ListAddonsInput) (*ListAddonsOutput, error)
- func (c *Client) ListServices(input *ListServicesInput) (*ListServicesOutput, error)
- func (c *Client) Pause(input *PauseProjectInput) (*PauseProjectOutput, error)
- func (c *Client) Resume(input *ResumeProjectInput) (*ResumeProjectOutput, error)
- func (c *Client) UninstallAddon(input *UninstallAddonInput) (*UninstallAddonOutput, error)
- func (c *Client) UninstallService(input *UninstallServiceInput) (*UninstallServiceOutput, error)
- func (c *Client) Update(input *UpdateProjectInput) (*UpdateProjectOutput, error)
- type ConfigureAddonInput
- type ConfigureAddonOutput
- type ConfigureServiceInput
- type ConfigureServiceOutput
- type CreateProjectInput
- type CreateProjectOutput
- type DeleteProjectInput
- type DeleteProjectOutput
- type GetKubeconfigInput
- type GetKubeconfigOutput
- type GetProjectInput
- type GetProjectManifestInput
- type GetProjectManifestOutput
- type GetProjectOutput
- type InstallAddonInput
- type InstallAddonOutput
- type InstallServiceInput
- type InstallServiceOutput
- type ListAddonsInput
- type ListAddonsOutput
- type ListProjectInput
- type ListProjectOutput
- type ListServicesInput
- type ListServicesOutput
- type Manifest
- type PauseProjectInput
- type PauseProjectOutput
- type Project
- type ProjectAddon
- type ProjectService
- type ResumeProjectInput
- type ResumeProjectOutput
- type UninstallAddonInput
- type UninstallAddonOutput
- type UninstallServiceInput
- type UninstallServiceOutput
- type UpdateProjectInput
- type UpdateProjectOutput
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddonSubscription ¶ added in v1.4.0
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ConfigureAddon ¶
func (c *Client) ConfigureAddon(input *ConfigureAddonInput) (*ConfigureAddonOutput, error)
func (*Client) ConfigureService ¶ added in v1.6.0
func (c *Client) ConfigureService(input *ConfigureServiceInput) (*ConfigureServiceOutput, error)
func (*Client) Create ¶
func (c *Client) Create(input *CreateProjectInput) (*CreateProjectOutput, error)
func (*Client) Delete ¶
func (c *Client) Delete(input *DeleteProjectInput) (*DeleteProjectOutput, error)
func (*Client) Get ¶
func (c *Client) Get(input *GetProjectInput) (*GetProjectOutput, error)
func (*Client) GetKubeconfig ¶
func (c *Client) GetKubeconfig(input *GetKubeconfigInput) (*GetKubeconfigOutput, error)
func (*Client) GetManifest ¶ added in v1.4.0
func (c *Client) GetManifest(input *GetProjectManifestInput) (*GetProjectManifestOutput, error)
func (*Client) InstallAddon ¶ added in v1.3.0
func (c *Client) InstallAddon(input *InstallAddonInput) (*InstallAddonOutput, error)
func (*Client) InstallService ¶ added in v1.6.0
func (c *Client) InstallService(input *InstallServiceInput) (*InstallServiceOutput, error)
func (*Client) List ¶
func (c *Client) List(input *ListProjectInput) (*ListProjectOutput, error)
func (*Client) ListAddons ¶ added in v1.3.0
func (c *Client) ListAddons(input *ListAddonsInput) (*ListAddonsOutput, error)
func (*Client) ListServices ¶ added in v1.6.0
func (c *Client) ListServices(input *ListServicesInput) (*ListServicesOutput, error)
func (*Client) Pause ¶
func (c *Client) Pause(input *PauseProjectInput) (*PauseProjectOutput, error)
func (*Client) Resume ¶
func (c *Client) Resume(input *ResumeProjectInput) (*ResumeProjectOutput, error)
func (*Client) UninstallAddon ¶
func (c *Client) UninstallAddon(input *UninstallAddonInput) (*UninstallAddonOutput, error)
func (*Client) UninstallService ¶ added in v1.6.0
func (c *Client) UninstallService(input *UninstallServiceInput) (*UninstallServiceOutput, error)
func (*Client) Update ¶
func (c *Client) Update(input *UpdateProjectInput) (*UpdateProjectOutput, error)
type ConfigureAddonInput ¶
type ConfigureAddonInput struct { }
type ConfigureAddonOutput ¶
type ConfigureAddonOutput struct { }
type ConfigureServiceInput ¶ added in v1.6.0
type ConfigureServiceInput struct { }
type ConfigureServiceOutput ¶ added in v1.6.0
type ConfigureServiceOutput struct { }
type CreateProjectInput ¶
type CreateProjectOutput ¶
type CreateProjectOutput struct {
Project *Project `json:"project"`
}
type DeleteProjectInput ¶
type DeleteProjectInput struct { }
type DeleteProjectOutput ¶
type DeleteProjectOutput struct { }
type GetKubeconfigInput ¶
type GetKubeconfigInput struct { }
type GetKubeconfigOutput ¶
type GetKubeconfigOutput struct { }
type GetProjectInput ¶
type GetProjectInput struct {
ProjectId int
}
type GetProjectManifestInput ¶ added in v1.4.0
type GetProjectManifestInput struct {
ProjectId int
}
type GetProjectManifestOutput ¶ added in v1.4.0
type GetProjectManifestOutput struct {
Manifest *Manifest `json:"project"`
}
type GetProjectOutput ¶
type GetProjectOutput struct {
Project *Project `json:"project"`
}
type InstallAddonInput ¶ added in v1.3.0
type InstallAddonOutput ¶ added in v1.3.0
type InstallAddonOutput struct {
ProjectAddon *ProjectAddon `json:"project_addon"`
}
type InstallServiceInput ¶ added in v1.6.0
type InstallServiceOutput ¶ added in v1.6.0
type InstallServiceOutput struct {
ProjectService *ProjectService `json:"service_subscription"`
}
type ListAddonsInput ¶ added in v1.3.0
type ListAddonsInput struct {
ProjectId int
}
type ListAddonsOutput ¶ added in v1.3.0
type ListAddonsOutput struct {
ProjectAddons []ProjectAddon `json:"project_addons"`
}
type ListProjectInput ¶
type ListProjectInput struct { }
func (*ListProjectInput) ToQueryParams ¶
func (i *ListProjectInput) ToQueryParams() map[string]string
type ListProjectOutput ¶
type ListProjectOutput struct {
Projects []Project `json:"projects"`
}
type ListServicesInput ¶ added in v1.6.0
type ListServicesInput struct {
ProjectId int
}
type ListServicesOutput ¶ added in v1.6.0
type ListServicesOutput struct {
ProjectServices []ProjectService `json:"service_subscriptions"`
}
type Manifest ¶ added in v1.4.0
type Manifest struct { Id int `json:"id"` Name string `json:"name"` Status string `json:"status,omitempty"` Slug string `json:"slug"` ClusterId int `json:"cluster_id"` Memory int `json:"memory"` Cpu int `json:"cpu"` Disk int `json:"disk"` KubernetesVersion string `json:"kubernetes_version,omitempty"` AddonSubscriptions []AddonSubscription `json:"addon_subscriptions"` User User `json:"user"` }
type PauseProjectInput ¶
type PauseProjectInput struct {
ProjectId int
}
type PauseProjectOutput ¶
type PauseProjectOutput struct {
Project *Project `json:"project"`
}
type Project ¶
type Project struct { Id int `json:"id"` Name string `json:"name"` Status string `json:"status"` Slug string `json:"slug"` ClusterId int `json:"cluster_id"` Memory int `json:"memory"` Cpu int `json:"cpu"` Disk int `json:"disk"` KubernetesVersion string `json:"kubernetes_version,omitempty"` LastPausedAt time.Time `json:"last_paused_at"` LastStartedAt time.Time `json:"last_started_at"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Host string `json:"host"` CaCertificate string `json:"ca_certificate"` }
type ProjectAddon ¶ added in v1.3.0
type ProjectService ¶ added in v1.6.0
type ResumeProjectInput ¶
type ResumeProjectInput struct {
ProjectId int
}
type ResumeProjectOutput ¶
type ResumeProjectOutput struct {
Project *Project `json:"project"`
}
type UninstallAddonInput ¶
type UninstallAddonOutput ¶
type UninstallAddonOutput struct { }
type UninstallServiceInput ¶ added in v1.6.0
type UninstallServiceOutput ¶ added in v1.6.0
type UninstallServiceOutput struct { }
type UpdateProjectInput ¶
type UpdateProjectInput struct { ProjectId int `json:"-"` Memory int `json:"memory,omitempty"` Cpu int `json:"cpu,omitempty"` Disk int `json:"disk,omitempty"` Name string `json:"name,omitempty"` Status string `json:"status,omitempty"` CaCertificate string `json:"ca_certificate,omitempty"` KubernetesVersion string `json:"kubernetes_version,omitempty"` }
type UpdateProjectOutput ¶
type UpdateProjectOutput struct {
Project *Project `json:"project"`
}
Source Files ¶
- client.go
- operation_ConfigureAddon.go
- operation_ConfigureService.go
- operation_Create.go
- operation_Delete.go
- operation_Get.go
- operation_GetKubeconfig.go
- operation_InstallAddon.go
- operation_InstallService.go
- operation_List.go
- operation_ListAddons.go
- operation_ListServices.go
- operation_Manifest.go
- operation_Pause.go
- operation_Resume.go
- operation_UninstallAddon.go
- operation_UninstallService.go
- operation_Update.go
Click to show internal directories.
Click to hide internal directories.