Skip to content

Latest commit

 

History

History
175 lines (101 loc) · 4.6 KB

ClusterApi.md

File metadata and controls

175 lines (101 loc) · 4.6 KB

\ClusterApi

All URIs are relative to http://localhost

Method HTTP request Description
ClusterCreate Post /1.3/provisioner/clusters
ClusterDelete Delete /1.3/provisioner/clusters/{cluster_name}
ClusterInfo Get /1.8/provisioner/clusters/{cluster_name}
ClusterList Get /1.3/provisioner/clusters
ClusterUpdate Post /1.4/provisioner/clusters/{cluster_name}
ProvisionerList Get /1.7/provisioner

ClusterCreate

ClusterCreate(ctx, cluster)

Create cluster.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
cluster Cluster

Return type

(empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/x-json-stream

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ClusterDelete

ClusterDelete(ctx, clusterName)

Delete cluster.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
clusterName string Cluster name.

Return type

(empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/x-json-stream

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ClusterInfo

Cluster ClusterInfo(ctx, clusterName)

Cluster info

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
clusterName string Cluster name.

Return type

Cluster

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ClusterList

[]Cluster ClusterList(ctx, )

List cluster

Required Parameters

This endpoint does not need any parameter.

Return type

[]Cluster

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ClusterUpdate

ClusterUpdate(ctx, clusterName, cluster)

Update cluster.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
clusterName string Cluster name.
cluster Cluster

Return type

(empty response body)

Authorization

Bearer

HTTP request headers

  • Content-Type: application/json
  • Accept: application/x-json-stream

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ProvisionerList

[]Provisioner ProvisionerList(ctx, )

List provisioners

Required Parameters

This endpoint does not need any parameter.

Return type

[]Provisioner

Authorization

Bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]