sdk

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDeployment added in v0.1.0

func CreateDeployment(ctx context.Context, httpClient *module.HTTPClient, serverURL string, request model.DeploymentRequest, token string) (model.Job, error)

CreateDeployment Get Application

func DeleteJob

func DeleteJob(ctx context.Context, httpClient *module.HTTPClient, serverURL, uuid, token string) (bool, error)

DeleteJob Delete Job

func GetApplication added in v0.1.0

func GetApplication(ctx context.Context, httpClient *module.HTTPClient, serverURL, cluster, namespace, application, token string) (model.Application, error)

GetApplication Get Application

func GetApplications added in v0.1.0

func GetApplications(ctx context.Context, httpClient *module.HTTPClient, serverURL, cluster, namespace, token string) (model.Applications, error)

GetApplications Get Applications List

func GetCluster

func GetCluster(ctx context.Context, httpClient *module.HTTPClient, serverURL, cluster, token string) (model.Cluster, error)

GetCluster Get Cluster

func GetClusters

func GetClusters(ctx context.Context, httpClient *module.HTTPClient, serverURL, token string) (model.Clusters, error)

GetClusters Get Clusters List

func GetJob

func GetJob(ctx context.Context, httpClient *module.HTTPClient, serverURL, uuid, token string) (model.Job, error)

GetJob Get Job

func GetJobs

func GetJobs(ctx context.Context, httpClient *module.HTTPClient, serverURL, token string) (model.Jobs, error)

GetJobs Get Jobs List

func GetNamespace

func GetNamespace(ctx context.Context, httpClient *module.HTTPClient, serverURL, cluster, namespace, token string) (model.Namespace, error)

GetNamespace Get Namespace

func GetNamespaces

func GetNamespaces(ctx context.Context, httpClient *module.HTTPClient, serverURL, cluster, token string) (model.Namespaces, error)

GetNamespaces Get Namespaces List

Types

This section is empty.

Jump to

Keyboard shortcuts

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