import { Resource } from '@c6o/kubeclient-contracts'; import { RawExtension } from '../runtime'; export interface APIGroup { apiVersion?: 'v1'; kind?: 'APIGroup'; name: string; preferredVersion?: GroupVersionForDiscovery; serverAddressByClientCIDRs?: Array; versions: Array; } export interface APIGroupList { apiVersion?: 'v1'; groups: Array; kind?: 'APIGroupList'; } export interface APIResource { categories?: Array; group?: string; kind: string; name: string; namespaced: boolean; shortNames?: Array; singularName: string; storageVersionHash?: string; verbs: Array; version?: string; } export interface APIResourceList { apiVersion?: 'v1'; groupVersion: string; kind?: 'APIResourceList'; resources: Array; } export interface APIVersions { apiVersion?: 'v1'; kind?: 'APIVersions'; serverAddressByClientCIDRs: Array; versions: Array; } export interface Condition { lastTransitionTime: Time; message: string; observedGeneration?: number; reason: string; status: string; type: string; } export interface DeleteOptions { apiVersion?: string; dryRun?: Array; gracePeriodSeconds?: number; kind?: string; orphanDependents?: boolean; preconditions?: Preconditions; propagationPolicy?: string; } export interface FieldsV1 { } export interface GroupVersionForDiscovery { groupVersion: string; version: string; } export interface LabelSelector { matchExpressions?: Array; matchLabels?: { [name: string]: string; }; } export interface LabelSelectorRequirement { key: string; operator: string; values?: Array; } export interface ListMeta { continue?: string; remainingItemCount?: number; readonly resourceVersion?: string; readonly selfLink?: string; } export interface ManagedFieldsEntry { apiVersion?: string; fieldsType?: string; fieldsV1?: FieldsV1; manager?: string; operation?: string; time?: Time; } export declare type MicroTime = string; export interface ObjectMeta { annotations?: { [name: string]: string; }; clusterName?: string; readonly creationTimestamp?: Time; readonly deletionGracePeriodSeconds?: number; readonly deletionTimestamp?: Time; finalizers?: Array; generateName?: string; readonly generation?: number; labels?: { [name: string]: string; }; managedFields?: Array; name?: string; namespace?: string; ownerReferences?: Array; readonly resourceVersion?: string; readonly selfLink?: string; readonly uid?: string; } export interface OwnerReference { apiVersion: string; blockOwnerDeletion?: boolean; controller?: boolean; kind: string; name: string; uid: string; } export interface Patch { } export interface Preconditions { resourceVersion?: string; uid?: string; } export interface ServerAddressByClientCIDR { clientCIDR: string; serverAddress: string; } export interface Status extends Resource { apiVersion?: 'v1'; code?: number; details?: StatusDetails; kind?: 'Status'; message?: string; metadata?: ListMeta; reason?: string; status?: string; } export interface StatusCause { field?: string; message?: string; reason?: string; } export interface StatusDetails { causes?: Array; group?: string; kind?: string; name?: string; retryAfterSeconds?: number; uid?: string; } export declare type Time = string; export interface WatchEvent { object: RawExtension; type: string; }