* centralise iam api
* centralise folder api client
* rename to baseAPI
* centralise provisioning api
* remove iam feature folder from CODEOWNERS
* fix type name
* Update public/app/features/provisioning/utils/selectors.ts
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
exporttypeGetFolderResponse=/** status 200 OK */Folder;
exporttypeGetFolderArg={
exporttypeGetFolderApiResponse=/** status 200 OK */Folder;
exporttypeGetFolderApiArg={
/** name of the Folder */
name: string;
/** If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */
exporttypeListJobResponse=/** status 200 OK */JobList;
exporttypeListJobArg={
exporttypeListJobApiResponse=/** status 200 OK */JobList;
exporttypeListJobApiArg={
/** allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. */
/** Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */
watch?: boolean;
};
exporttypeGetJobResponse=/** status 200 OK */Job;
exporttypeGetJobArg={
exporttypeGetJobApiResponse=/** status 200 OK */Job;
exporttypeGetJobApiArg={
/** name of the Job */
name: string;
/** If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */
pretty?: string;
};
exporttypeListRepositoryResponse=/** status 200 OK */RepositoryList;
exporttypeListRepositoryArg={
exporttypeListRepositoryApiResponse=/** status 200 OK */RepositoryList;
exporttypeListRepositoryApiArg={
/** If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */
pretty?: string;
/** allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. */
@ -372,11 +381,11 @@ export type ListRepositoryArg = {
/** Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. */
watch?: boolean;
};
exporttypeCreateRepositoryResponse=/** status 200 OK */
exporttypeCreateRepositoryApiResponse=/** status 200 OK */
|Repository
|/** status 201 Created */Repository
|/** status 202 Accepted */Repository;
exporttypeCreateRepositoryArg={
exporttypeCreateRepositoryApiArg={
/** If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */
pretty?: string;
/** When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed */
@ -387,8 +396,8 @@ export type CreateRepositoryArg = {
fieldValidation?: string;
repository: Repository;
};
exporttypeDeletecollectionRepositoryResponse=/** status 200 OK */Status;
exporttypeDeletecollectionRepositoryArg={
exporttypeDeletecollectionRepositoryApiResponse=/** status 200 OK */Status;
exporttypeDeletecollectionRepositoryApiArg={
/** If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */
@ -438,15 +447,15 @@ export type DeletecollectionRepositoryArg = {
/** Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. */
timeoutSeconds?: number;
};
exporttypeGetRepositoryResponse=/** status 200 OK */Repository;
exporttypeGetRepositoryArg={
exporttypeGetRepositoryApiResponse=/** status 200 OK */Repository;
exporttypeGetRepositoryApiArg={
/** name of the Repository */
name: string;
/** If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */
pretty?: string;
};
exporttypeReplaceRepositoryResponse=/** status 200 OK */Repository|/** status 201 Created */Repository;
exporttypeReplaceRepositoryArg={
exporttypeReplaceRepositoryApiResponse=/** status 200 OK */Repository|/** status 201 Created */Repository;
exporttypeReplaceRepositoryApiArg={
/** name of the Repository */
name: string;
/** If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */
@ -459,8 +468,8 @@ export type ReplaceRepositoryArg = {
fieldValidation?: string;
repository: Repository;
};
exporttypeDeleteRepositoryResponse=/** status 200 OK */Status|/** status 202 Accepted */Status;
exporttypeDeleteRepositoryArg={
exporttypeDeleteRepositoryApiResponse=/** status 200 OK */Status|/** status 202 Accepted */Status;
exporttypeDeleteRepositoryApiArg={
/** name of the Repository */
name: string;
/** If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */
@ -476,8 +485,8 @@ export type DeleteRepositoryArg = {
/** Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. */
propagationPolicy?: string;
};
exporttypeCreateRepositoryExportResponse=/** status 200 OK */Job;
exporttypeCreateRepositoryExportArg={
exporttypeCreateRepositoryExportApiResponse=/** status 200 OK */Job;
exporttypeCreateRepositoryExportApiArg={
/** name of the Job */
name: string;
body:{
@ -491,7 +500,7 @@ export type CreateRepositoryExportArg = {
prefix?: string;
};
};
exporttypeGetRepositoryFilesResponse=/** status 200 OK */{
exporttypeGetRepositoryFilesApiResponse=/** status 200 OK */{
/** APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources */
apiVersion?: string;
items?: any[];
@ -499,14 +508,14 @@ export type GetRepositoryFilesResponse = /** status 200 OK */ {
kind?: string;
metadata?: any;
};
exporttypeGetRepositoryFilesArg={
exporttypeGetRepositoryFilesApiArg={
/** name of the ResourceWrapper */
name: string;
/** branch or commit hash */
ref?: string;
};
exporttypeGetRepositoryFilesWithPathResponse=/** status 200 OK */ResourceWrapper;
exporttypeGetRepositoryFilesWithPathArg={
exporttypeGetRepositoryFilesWithPathApiResponse=/** status 200 OK */ResourceWrapper;
exporttypeGetRepositoryFilesWithPathApiArg={
/** name of the ResourceWrapper */
name: string;
/** path to the resource */
@ -514,8 +523,8 @@ export type GetRepositoryFilesWithPathArg = {
/** branch or commit hash */
ref?: string;
};
exporttypeReplaceRepositoryFilesWithPathResponse=/** status 200 OK */ResourceWrapper;
exporttypeReplaceRepositoryFilesWithPathArg={
exporttypeReplaceRepositoryFilesWithPathApiResponse=/** status 200 OK */ResourceWrapper;
exporttypeReplaceRepositoryFilesWithPathApiArg={
/** name of the ResourceWrapper */
name: string;
/** path to the resource */
@ -528,8 +537,8 @@ export type ReplaceRepositoryFilesWithPathArg = {
[key: string]:any;
};
};
exporttypeCreateRepositoryFilesWithPathResponse=/** status 200 OK */ResourceWrapper;
exporttypeCreateRepositoryFilesWithPathArg={
exporttypeCreateRepositoryFilesWithPathApiResponse=/** status 200 OK */ResourceWrapper;
exporttypeCreateRepositoryFilesWithPathApiArg={
/** name of the ResourceWrapper */
name: string;
/** path to the resource */
@ -542,8 +551,8 @@ export type CreateRepositoryFilesWithPathArg = {
[key: string]:any;
};
};
exporttypeDeleteRepositoryFilesWithPathResponse=/** status 200 OK */ResourceWrapper;
exporttypeDeleteRepositoryFilesWithPathArg={
exporttypeDeleteRepositoryFilesWithPathApiResponse=/** status 200 OK */ResourceWrapper;
exporttypeDeleteRepositoryFilesWithPathApiArg={
/** name of the ResourceWrapper */
name: string;
/** path to the resource */
@ -553,15 +562,15 @@ export type DeleteRepositoryFilesWithPathArg = {
/** optional message sent with any changes */
message?: string;
};
exporttypeGetRepositoryHistoryResponse=/** status 200 OK */string;
exporttypeGetRepositoryHistoryArg={
exporttypeGetRepositoryHistoryApiResponse=/** status 200 OK */string;
exporttypeGetRepositoryHistoryApiArg={
/** name of the HistoryList */
name: string;
/** branch or commit hash */
ref?: string;
};
exporttypeGetRepositoryHistoryWithPathResponse=/** status 200 OK */string;
exporttypeGetRepositoryHistoryWithPathArg={
exporttypeGetRepositoryHistoryWithPathApiResponse=/** status 200 OK */string;
exporttypeGetRepositoryHistoryWithPathApiArg={
/** name of the HistoryList */
name: string;
/** path to the resource */
@ -569,8 +578,8 @@ export type GetRepositoryHistoryWithPathArg = {
/** branch or commit hash */
ref?: string;
};
exporttypeCreateRepositoryMigrateResponse=/** status 200 OK */Job;
exporttypeCreateRepositoryMigrateArg={
exporttypeCreateRepositoryMigrateApiResponse=/** status 200 OK */Job;
exporttypeCreateRepositoryMigrateApiArg={
/** name of the Job */
name: string;
body:{
@ -582,27 +591,27 @@ export type CreateRepositoryMigrateArg = {
exporttypeGetRepositoryResourcesResponse=/** status 200 OK */ResourceList;
exporttypeGetRepositoryResourcesArg={
exporttypeGetRepositoryResourcesApiResponse=/** status 200 OK */ResourceList;
exporttypeGetRepositoryResourcesApiArg={
/** name of the ResourceList */
name: string;
};
exporttypeGetRepositoryStatusResponse=/** status 200 OK */Repository;
exporttypeGetRepositoryStatusArg={
exporttypeGetRepositoryStatusApiResponse=/** status 200 OK */Repository;
exporttypeGetRepositoryStatusApiArg={
/** name of the Repository */
name: string;
/** If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */
pretty?: string;
};
exporttypeReplaceRepositoryStatusResponse=/** status 200 OK */Repository|/** status 201 Created */Repository;
exporttypeReplaceRepositoryStatusArg={
exporttypeReplaceRepositoryStatusApiResponse=/** status 200 OK */Repository|/** status 201 Created */Repository;
exporttypeReplaceRepositoryStatusApiArg={
/** name of the Repository */
name: string;
/** If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). */
@ -615,8 +624,8 @@ export type ReplaceRepositoryStatusArg = {
fieldValidation?: string;
repository: Repository;
};
exporttypeCreateRepositorySyncResponse=/** status 200 OK */Job;
exporttypeCreateRepositorySyncArg={
exporttypeCreateRepositorySyncApiResponse=/** status 200 OK */Job;
exporttypeCreateRepositorySyncApiArg={
/** name of the Job */
name: string;
body:{
@ -624,8 +633,8 @@ export type CreateRepositorySyncArg = {
incremental: boolean;
};
};
exporttypeCreateRepositoryTestResponse=/** status 200 OK */TestResults;
exporttypeCreateRepositoryTestArg={
exporttypeCreateRepositoryTestApiResponse=/** status 200 OK */TestResults;
exporttypeCreateRepositoryTestApiArg={
/** name of the TestResults */
name: string;
body:{
@ -638,20 +647,20 @@ export type CreateRepositoryTestArg = {
status?: any;
};
};
exporttypeGetRepositoryWebhookResponse=/** status 200 OK */WebhookResponse;
exporttypeGetRepositoryWebhookArg={
exporttypeGetRepositoryWebhookApiResponse=/** status 200 OK */WebhookResponse;
exporttypeGetRepositoryWebhookApiArg={
/** name of the WebhookResponse */
name: string;
};
exporttypeCreateRepositoryWebhookResponse=/** status 200 OK */WebhookResponse;
exporttypeCreateRepositoryWebhookArg={
exporttypeCreateRepositoryWebhookApiResponse=/** status 200 OK */WebhookResponse;
exporttypeCreateRepositoryWebhookApiArg={
/** name of the WebhookResponse */
name: string;
};
exporttypeGetFrontendSettingsResponse=/** status 200 undefined */RepositoryViewList;
exporttypeGetFrontendSettingsArg=void;
exporttypeGetResourceStatsResponse=/** status 200 undefined */ResourceStats;
exporttypeGetResourceStatsArg=void;
exporttypeGetFrontendSettingsApiResponse=/** status 200 undefined */RepositoryViewList;
exporttypeGetFrontendSettingsApiArg=void;
exporttypeGetResourceStatsApiResponse=/** status 200 undefined */ResourceStats;