/** * KubeBlocks Cloud Internal API * The Internal API is using for interaction of ApeCloud platform microservices. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { ImageRegistry } from '../models'; /** * ImagepullsecretApi - axios parameter creator * @export */ export declare const ImagepullsecretApiAxiosParamCreator: (configuration?: Configuration) => { /** * Create image pull secret for environment bootstrap. The environment\'s imageRegistry value must be a registry URL matching image_registries.url (not image_registries.name). * @summary Create image pull secret for environment * @param {string} environmentName name of the Environment * @param {object} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ imagePullSecret: (environmentName: string, body?: object, options?: RawAxiosRequestConfig) => Promise; }; /** * ImagepullsecretApi - functional programming interface * @export */ export declare const ImagepullsecretApiFp: (configuration?: Configuration) => { /** * Create image pull secret for environment bootstrap. The environment\'s imageRegistry value must be a registry URL matching image_registries.url (not image_registries.name). * @summary Create image pull secret for environment * @param {string} environmentName name of the Environment * @param {object} [body] * @param {*} [options] Override http request option. * @throws {RequiredError} */ imagePullSecret(environmentName: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ImagepullsecretApi - factory interface * @export */ export declare const ImagepullsecretApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Create image pull secret for environment bootstrap. The environment\'s imageRegistry value must be a registry URL matching image_registries.url (not image_registries.name). * @summary Create image pull secret for environment * @param {ImagepullsecretApiImagePullSecretRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} */ imagePullSecret(requestParameters: ImagepullsecretApiImagePullSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * ImagepullsecretApi - interface * @export * @interface ImagepullsecretApi */ export interface ImagepullsecretApiInterface { /** * Create image pull secret for environment bootstrap. The environment\'s imageRegistry value must be a registry URL matching image_registries.url (not image_registries.name). * @summary Create image pull secret for environment * @param {ImagepullsecretApiImagePullSecretRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ImagepullsecretApiInterface */ imagePullSecret(requestParameters: ImagepullsecretApiImagePullSecretRequest, options?: RawAxiosRequestConfig): AxiosPromise; } /** * Request parameters for imagePullSecret operation in ImagepullsecretApi. * @export * @interface ImagepullsecretApiImagePullSecretRequest */ export interface ImagepullsecretApiImagePullSecretRequest { /** * name of the Environment * @type {string} * @memberof ImagepullsecretApiImagePullSecret */ readonly environmentName: string; /** * * @type {object} * @memberof ImagepullsecretApiImagePullSecret */ readonly body?: object; } /** * ImagepullsecretApi - object-oriented interface * @export * @class ImagepullsecretApi * @extends {BaseAPI} */ export declare class ImagepullsecretApi extends BaseAPI implements ImagepullsecretApiInterface { /** * Create image pull secret for environment bootstrap. The environment\'s imageRegistry value must be a registry URL matching image_registries.url (not image_registries.name). * @summary Create image pull secret for environment * @param {ImagepullsecretApiImagePullSecretRequest} requestParameters Request parameters. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ImagepullsecretApi */ imagePullSecret(requestParameters: ImagepullsecretApiImagePullSecretRequest, options?: RawAxiosRequestConfig): Promise>; } //# sourceMappingURL=imagepullsecret-api.d.ts.map