projects

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesProjectsResponse

type KubernetesProjectsResponse struct {
	ProjectID string `json:"projectId"`
	State     string `json:"state"`
}

KubernetesProjectsResponse is the project ID and state response

type KubernetesProjectsService

type KubernetesProjectsService common.Service

KubernetesProjectsService is the service that handles enabling / disabling SKE for a project

func New

New returns a new handler for the service

func (*KubernetesProjectsService) Create

func (svc *KubernetesProjectsService) Create(ctx context.Context, projectID string) (res KubernetesProjectsResponse, w *wait.Handler, err error)

Create creates a SKE project See also https://api.stackit.schwarz/ske-service/openapi.v1.html#operation/SkeService_GetProject

func (*KubernetesProjectsService) Delete

func (svc *KubernetesProjectsService) Delete(ctx context.Context, projectID string) (w *wait.Handler, err error)

Delete deletes a SKE project IMPORTANT: existing clusters to be automatically deleted See also https://api.stackit.schwarz/ske-service/openapi.v1.html#operation/SkeService_GetProject

func (*KubernetesProjectsService) Get

Get returns the SKE project status See also https://api.stackit.schwarz/ske-service/openapi.v1.html#operation/SkeService_GetProject

Jump to

Keyboard shortcuts

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