-
Notifications
You must be signed in to change notification settings - Fork 242
/
Copy pathlock_v1beta1.json
156 lines (156 loc) · 6.09 KB
/
lock_v1beta1.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"description": "Lock is the CRD type that tracks package dependencies.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"packages": {
"items": {
"description": "LockPackage is a package that is in the lock.",
"properties": {
"apiVersion": {
"description": "APIVersion of the package.",
"type": "string"
},
"dependencies": {
"description": "Dependencies are the list of dependencies of this package. The order of\nthe dependencies will dictate the order in which they are resolved.",
"items": {
"description": "A Dependency is a dependency of a package in the lock.",
"properties": {
"apiVersion": {
"description": "APIVersion of the package.",
"type": "string"
},
"constraints": {
"description": "Constraints is a valid semver range or a digest, which will be used to select a valid\ndependency version.",
"type": "string"
},
"kind": {
"description": "Kind of the package (not the kind of the package revision).",
"type": "string"
},
"package": {
"description": "Package is the OCI image name without a tag or digest.",
"type": "string"
},
"type": {
"description": "Type is the type of package. Can be either Configuration or Provider.\nDeprecated: Specify an apiVersion and kind instead.",
"enum": [
"Configuration",
"Provider",
"Function"
],
"type": "string"
}
},
"required": [
"constraints",
"package"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"kind": {
"description": "Kind of the package (not the kind of the package revision).",
"type": "string"
},
"name": {
"description": "Name corresponds to the name of the package revision for this package.",
"type": "string"
},
"source": {
"description": "Source is the OCI image name without a tag or digest.",
"type": "string"
},
"type": {
"description": "Type is the type of package.\nDeprecated: Specify an apiVersion and kind instead.",
"enum": [
"Configuration",
"Provider",
"Function"
],
"type": "string"
},
"version": {
"description": "Version is the tag or digest of the OCI image.",
"type": "string"
}
},
"required": [
"dependencies",
"name",
"source",
"version"
],
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"status": {
"description": "Status of the Lock.",
"properties": {
"conditions": {
"description": "Conditions of the resource.",
"items": {
"description": "A Condition that may apply to a resource.",
"properties": {
"lastTransitionTime": {
"description": "LastTransitionTime is the last time this condition transitioned from one\nstatus to another.",
"format": "date-time",
"type": "string"
},
"message": {
"description": "A Message containing details about this condition's last transition from\none status to another, if any.",
"type": "string"
},
"observedGeneration": {
"description": "ObservedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
"format": "int64",
"type": "integer"
},
"reason": {
"description": "A Reason for this condition's last transition from one status to another.",
"type": "string"
},
"status": {
"description": "Status of this condition; is it currently True, False, or Unknown?",
"type": "string"
},
"type": {
"description": "Type of this condition. At most one of each condition type may apply to\na resource at any point in time.",
"type": "string"
}
},
"required": [
"lastTransitionTime",
"reason",
"status",
"type"
],
"type": "object",
"additionalProperties": false
},
"type": "array",
"x-kubernetes-list-map-keys": [
"type"
],
"x-kubernetes-list-type": "map"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object"
}