@daocloud-proto/kairship 0.2.2-12 → 0.2.2-16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,22 +10,22 @@ import * as KairshipIoApiPolicyV1alpha1Types from "./types.pb"
10
10
 
11
11
  export enum SpreadFieldValue {
12
12
  SPREAD_FIELD_VALUE_UNSPECIFIED = "SPREAD_FIELD_VALUE_UNSPECIFIED",
13
- SpreadByFieldCluster = "SpreadByFieldCluster",
14
- SpreadByFieldRegion = "SpreadByFieldRegion",
15
- SpreadByFieldZone = "SpreadByFieldZone",
16
- SpreadByFieldProvider = "SpreadByFieldProvider",
13
+ cluster = "cluster",
14
+ region = "region",
15
+ zone = "zone",
16
+ provider = "provider",
17
17
  }
18
18
 
19
19
  export enum ReplicaSchedulingType {
20
20
  REPLICA_SCHEDULING_TYPE_UNSPECIFIED = "REPLICA_SCHEDULING_TYPE_UNSPECIFIED",
21
- ReplicaSchedulingTypeDuplicated = "ReplicaSchedulingTypeDuplicated",
22
- ReplicaSchedulingTypeDivided = "ReplicaSchedulingTypeDivided",
21
+ Duplicated = "Duplicated",
22
+ Divided = "Divided",
23
23
  }
24
24
 
25
25
  export enum ReplicaDivisionPreference {
26
26
  REPLICA_DIVISION_PREFERENCE_UNSPECIFIED = "REPLICA_DIVISION_PREFERENCE_UNSPECIFIED",
27
- ReplicaDivisionPreferenceAggregated = "ReplicaDivisionPreferenceAggregated",
28
- ReplicaDivisionPreferenceWeighted = "ReplicaDivisionPreferenceWeighted",
27
+ Aggregated = "Aggregated",
28
+ Weighted = "Weighted",
29
29
  }
30
30
 
31
31
  export enum DynamicWeightFactor {
@@ -16,4 +16,5 @@ export type ResourceSelector = {
16
16
  export type ClusterAffinity = {
17
17
  labelSelector?: KairshipIoApiTypesObjectmeta.LabelSelector
18
18
  clusterNames?: string[]
19
+ exclude?: string[]
19
20
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kairship",
3
- "version":"0.2.2-12",
3
+ "version":"0.2.2-16",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {