UNPKG

@controlplane/cli

Version:

Control Plane Corporation CLI

53 lines 1.55 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.K8sObjectShape = exports.K8sMetadataShape = exports.K8sKeyValuePairShape = exports.K8sLoggingIgnore = exports.K8sMappableKinds = exports.K8sAutoscalableKinds = void 0; /*** Constants ***/ exports.K8sAutoscalableKinds = [ 'ReplicationController', 'ReplicationControllerList', 'ReplicaSet', 'ReplicaSetList', 'Deployment', 'DeploymentList', 'StatefulSet', 'StatefulSetList', ]; exports.K8sMappableKinds = [ 'StatefulSet', 'StatefulSetList', 'ConfigMap', 'ConfigMapList', 'PersistentVolumeClaim', 'PersistentVolumeClaimList', 'PersistentVolume', 'PersistentVolumeList', 'StorageClass', 'StorageClassList', 'HorizontalPodAutoscaler', 'HorizontalPodAutoscalerList', 'ServiceAccount', 'ServiceAccountList', ]; exports.K8sLoggingIgnore = ['Secret', 'SecretList']; /** * ----------------------------------------------------- * K8s Recognized Shapes * ----------------------------------------------------- * These shapes define the fields we consider "converted." * If you add or remove properties in your TS interfaces, * please update these objects accordingly! */ exports.K8sKeyValuePairShape = { $keyValuePair: true, }; exports.K8sMetadataShape = { name: true, namespace: true, labels: exports.K8sKeyValuePairShape, }; exports.K8sObjectShape = { apiVersion: true, kind: true, metadata: exports.K8sMetadataShape, }; //# sourceMappingURL=index.js.map