Class ClusterApi


  • public class ClusterApi
    extends Object
    • Constructor Detail

      • ClusterApi

        public ClusterApi()
      • ClusterApi

        public ClusterApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • connectCluster

        public ConnectClusterResponse connectCluster​(String orgName,
                                                     ConnectClusterRequest data)
                                              throws ApiException
        Connect Cluster Connect a new Kubernetes cluster with Signadot
        Parameters:
        orgName - Signadot Org Name (required)
        data - Request to create cluster (required)
        Returns:
        ConnectClusterResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • connectClusterWithHttpInfo

        public ApiResponse<ConnectClusterResponse> connectClusterWithHttpInfo​(String orgName,
                                                                              ConnectClusterRequest data)
                                                                       throws ApiException
        Connect Cluster Connect a new Kubernetes cluster with Signadot
        Parameters:
        orgName - Signadot Org Name (required)
        data - Request to create cluster (required)
        Returns:
        ApiResponse<ConnectClusterResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • connectClusterAsync

        public com.squareup.okhttp.Call connectClusterAsync​(String orgName,
                                                            ConnectClusterRequest data,
                                                            ApiCallback<ConnectClusterResponse> callback)
                                                     throws ApiException
        Connect Cluster (asynchronously) Connect a new Kubernetes cluster with Signadot
        Parameters:
        orgName - Signadot Org Name (required)
        data - Request to create cluster (required)
        callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • createClusterToken

        public CreateClusterTokenResponse createClusterToken​(String orgName,
                                                             String clusterName)
                                                      throws ApiException
        Create Cluster Token Create a new token for connecting a cluster
        Parameters:
        orgName - Signadot Org Name (required)
        clusterName - Cluster Name (required)
        Returns:
        CreateClusterTokenResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createClusterTokenWithHttpInfo

        public ApiResponse<CreateClusterTokenResponse> createClusterTokenWithHttpInfo​(String orgName,
                                                                                      String clusterName)
                                                                               throws ApiException
        Create Cluster Token Create a new token for connecting a cluster
        Parameters:
        orgName - Signadot Org Name (required)
        clusterName - Cluster Name (required)
        Returns:
        ApiResponse<CreateClusterTokenResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createClusterTokenAsync

        public com.squareup.okhttp.Call createClusterTokenAsync​(String orgName,
                                                                String clusterName,
                                                                ApiCallback<CreateClusterTokenResponse> callback)
                                                         throws ApiException
        Create Cluster Token (asynchronously) Create a new token for connecting a cluster
        Parameters:
        orgName - Signadot Org Name (required)
        clusterName - Cluster Name (required)
        callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • deleteClusterTokenCall

        public com.squareup.okhttp.Call deleteClusterTokenCall​(String orgName,
                                                               String clusterName,
                                                               String tokenId,
                                                               ProgressResponseBody.ProgressListener progressListener,
                                                               ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                        throws ApiException
        Build call for deleteClusterToken
        Parameters:
        orgName - Signadot Org Name (required)
        clusterName - Cluster Name (required)
        tokenId - Token Id (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • deleteClusterToken

        public HandlerEmptyResponse deleteClusterToken​(String orgName,
                                                       String clusterName,
                                                       String tokenId)
                                                throws ApiException
        Delete Cluster Token Delete a cluster token associated with a cluster
        Parameters:
        orgName - Signadot Org Name (required)
        clusterName - Cluster Name (required)
        tokenId - Token Id (required)
        Returns:
        HandlerEmptyResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteClusterTokenWithHttpInfo

        public ApiResponse<HandlerEmptyResponse> deleteClusterTokenWithHttpInfo​(String orgName,
                                                                                String clusterName,
                                                                                String tokenId)
                                                                         throws ApiException
        Delete Cluster Token Delete a cluster token associated with a cluster
        Parameters:
        orgName - Signadot Org Name (required)
        clusterName - Cluster Name (required)
        tokenId - Token Id (required)
        Returns:
        ApiResponse<HandlerEmptyResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • deleteClusterTokenAsync

        public com.squareup.okhttp.Call deleteClusterTokenAsync​(String orgName,
                                                                String clusterName,
                                                                String tokenId,
                                                                ApiCallback<HandlerEmptyResponse> callback)
                                                         throws ApiException
        Delete Cluster Token (asynchronously) Delete a cluster token associated with a cluster
        Parameters:
        orgName - Signadot Org Name (required)
        clusterName - Cluster Name (required)
        tokenId - Token Id (required)
        callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object
      • getClusters

        public GetClustersResponse getClusters​(String orgName)
                                        throws ApiException
        List clusters List clusters.
        Parameters:
        orgName - Signadot Org Name (required)
        Returns:
        GetClustersResponse
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getClustersWithHttpInfo

        public ApiResponse<GetClustersResponse> getClustersWithHttpInfo​(String orgName)
                                                                 throws ApiException
        List clusters List clusters.
        Parameters:
        orgName - Signadot Org Name (required)
        Returns:
        ApiResponse<GetClustersResponse>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getClustersAsync

        public com.squareup.okhttp.Call getClustersAsync​(String orgName,
                                                         ApiCallback<GetClustersResponse> callback)
                                                  throws ApiException
        List clusters (asynchronously) List clusters.
        Parameters:
        orgName - Signadot Org Name (required)
        callback - The callback to be executed when the API call finishes
        Returns:
        The request call
        Throws:
        ApiException - If fail to process the API call, e.g. serializing the request body object