Package io.lakefs.clients.api
Class ConfigApi
- java.lang.Object
-
- io.lakefs.clients.api.ConfigApi
-
public class ConfigApi extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()VersionConfiggetLakeFSVersion()get version of lakeFS serverokhttp3.CallgetLakeFSVersionAsync(ApiCallback<VersionConfig> _callback)(asynchronously) get version of lakeFS serverokhttp3.CallgetLakeFSVersionCall(ApiCallback _callback)Build call for getLakeFSVersionApiResponse<VersionConfig>getLakeFSVersionWithHttpInfo()get version of lakeFS serverSetupStategetSetupState()check if the lakeFS installation is already set upokhttp3.CallgetSetupStateAsync(ApiCallback<SetupState> _callback)check if the lakeFS installation is already set up (asynchronously)okhttp3.CallgetSetupStateCall(ApiCallback _callback)Build call for getSetupStateApiResponse<SetupState>getSetupStateWithHttpInfo()check if the lakeFS installation is already set upStorageConfiggetStorageConfig()retrieve lakeFS storage configurationokhttp3.CallgetStorageConfigAsync(ApiCallback<StorageConfig> _callback)(asynchronously) retrieve lakeFS storage configurationokhttp3.CallgetStorageConfigCall(ApiCallback _callback)Build call for getStorageConfigApiResponse<StorageConfig>getStorageConfigWithHttpInfo()retrieve lakeFS storage configurationvoidsetApiClient(ApiClient apiClient)CredentialsWithSecretsetup(Setup setup)setup lakeFS and create a first userokhttp3.CallsetupAsync(Setup setup, ApiCallback<CredentialsWithSecret> _callback)setup lakeFS and create a first user (asynchronously)okhttp3.CallsetupCall(Setup setup, ApiCallback _callback)Build call for setupApiResponse<CredentialsWithSecret>setupWithHttpInfo(Setup setup)setup lakeFS and create a first user
-
-
-
Constructor Detail
-
ConfigApi
public ConfigApi()
-
ConfigApi
public ConfigApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getLakeFSVersionCall
public okhttp3.Call getLakeFSVersionCall(ApiCallback _callback) throws ApiException
Build call for getLakeFSVersion- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 lakeFS version - 401 Unauthorized -
-
getLakeFSVersion
public VersionConfig getLakeFSVersion() throws ApiException
get version of lakeFS server- Returns:
- VersionConfig
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 lakeFS version - 401 Unauthorized -
-
getLakeFSVersionWithHttpInfo
public ApiResponse<VersionConfig> getLakeFSVersionWithHttpInfo() throws ApiException
get version of lakeFS server- Returns:
- ApiResponse<VersionConfig>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 lakeFS version - 401 Unauthorized -
-
getLakeFSVersionAsync
public okhttp3.Call getLakeFSVersionAsync(ApiCallback<VersionConfig> _callback) throws ApiException
(asynchronously) get version of lakeFS server- Parameters:
_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- Http Response Details:
Status Code Description Response Headers 200 lakeFS version - 401 Unauthorized -
-
getSetupStateCall
public okhttp3.Call getSetupStateCall(ApiCallback _callback) throws ApiException
Build call for getSetupState- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 lakeFS setup state - 0 Internal Server Error -
-
getSetupState
public SetupState getSetupState() throws ApiException
check if the lakeFS installation is already set up- Returns:
- SetupState
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 lakeFS setup state - 0 Internal Server Error -
-
getSetupStateWithHttpInfo
public ApiResponse<SetupState> getSetupStateWithHttpInfo() throws ApiException
check if the lakeFS installation is already set up- Returns:
- ApiResponse<SetupState>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 lakeFS setup state - 0 Internal Server Error -
-
getSetupStateAsync
public okhttp3.Call getSetupStateAsync(ApiCallback<SetupState> _callback) throws ApiException
check if the lakeFS installation is already set up (asynchronously)- Parameters:
_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- Http Response Details:
Status Code Description Response Headers 200 lakeFS setup state - 0 Internal Server Error -
-
getStorageConfigCall
public okhttp3.Call getStorageConfigCall(ApiCallback _callback) throws ApiException
Build call for getStorageConfig- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 lakeFS storage configuration - 401 Unauthorized -
-
getStorageConfig
public StorageConfig getStorageConfig() throws ApiException
retrieve lakeFS storage configuration- Returns:
- StorageConfig
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 lakeFS storage configuration - 401 Unauthorized -
-
getStorageConfigWithHttpInfo
public ApiResponse<StorageConfig> getStorageConfigWithHttpInfo() throws ApiException
retrieve lakeFS storage configuration- Returns:
- ApiResponse<StorageConfig>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 lakeFS storage configuration - 401 Unauthorized -
-
getStorageConfigAsync
public okhttp3.Call getStorageConfigAsync(ApiCallback<StorageConfig> _callback) throws ApiException
(asynchronously) retrieve lakeFS storage configuration- Parameters:
_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- Http Response Details:
Status Code Description Response Headers 200 lakeFS storage configuration - 401 Unauthorized -
-
setupCall
public okhttp3.Call setupCall(Setup setup, ApiCallback _callback) throws ApiException
Build call for setup- Parameters:
setup- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 user created successfully - 400 bad request - 409 setup was already called - 0 Internal Server Error -
-
setup
public CredentialsWithSecret setup(Setup setup) throws ApiException
setup lakeFS and create a first user- Parameters:
setup- (required)- Returns:
- CredentialsWithSecret
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 user created successfully - 400 bad request - 409 setup was already called - 0 Internal Server Error -
-
setupWithHttpInfo
public ApiResponse<CredentialsWithSecret> setupWithHttpInfo(Setup setup) throws ApiException
setup lakeFS and create a first user- Parameters:
setup- (required)- Returns:
- ApiResponse<CredentialsWithSecret>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 user created successfully - 400 bad request - 409 setup was already called - 0 Internal Server Error -
-
setupAsync
public okhttp3.Call setupAsync(Setup setup, ApiCallback<CredentialsWithSecret> _callback) throws ApiException
setup lakeFS and create a first user (asynchronously)- Parameters:
setup- (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- Http Response Details:
Status Code Description Response Headers 200 user created successfully - 400 bad request - 409 setup was already called - 0 Internal Server Error -
-
-