@digitalocean/dots - v1.0.1
    Preparing search index...

    Interface KubernetesRequestBuilder

    Builds and executes requests for operations under /v2/1-clicks/kubernetes

    interface KubernetesRequestBuilder {
        post(
            body: OneClicks_create,
            requestConfiguration?: RequestConfiguration<object>,
        ): Promise<undefined | KubernetesPostResponse>;
        toPostRequestInformation(
            body: OneClicks_create,
            requestConfiguration?: RequestConfiguration<object>,
        ): RequestInformation;
        withUrl(rawUrl: string): KubernetesRequestBuilder;
    }

    Hierarchy

    Index

    Methods

    post

    • post(
          body: OneClicks_create,
          requestConfiguration?: RequestConfiguration<object>,
      ): Promise<undefined | KubernetesPostResponse>

      To install a Kubernetes 1-Click application on a cluster, send a POST request to/v2/1-clicks/kubernetes. The addon_slugs and cluster_uuid must be provided as bodyparameter in order to specify which 1-Click application(s) to install. To list all available1-Click Kubernetes applications, send a request to /v2/1-clicks?type=kubernetes.

      Parameters

      • body: OneClicks_create

        The request body

      • OptionalrequestConfiguration: RequestConfiguration<object>

        Configuration for the request such as headers, query parameters, and middleware options.

      Returns Promise<undefined | KubernetesPostResponse>

      error when the service returns a 401 status code

      error when the service returns a 429 status code

      error when the service returns a 500 status code

      error when the service returns a 4XX or 5XX status code

    • To install a Kubernetes 1-Click application on a cluster, send a POST request to/v2/1-clicks/kubernetes. The addon_slugs and cluster_uuid must be provided as bodyparameter in order to specify which 1-Click application(s) to install. To list all available1-Click Kubernetes applications, send a request to /v2/1-clicks?type=kubernetes.

      Parameters

      • body: OneClicks_create

        The request body

      • OptionalrequestConfiguration: RequestConfiguration<object>

        Configuration for the request such as headers, query parameters, and middleware options.

      Returns RequestInformation