github.com/GoogleContainerTools/skaffold/v2@v2.13.2/docs-v1/content/en/docs/references/api-v2/grpc.md (about) 1 --- 2 title: "gRPC API" 3 linkTitle: "gRPC API" 4 weight: 30 5 --- 6 <!-- 7 ****** 8 WARNING!!! 9 10 The file docs-v2/content/en/docs/references/api/grpc.md is generated based on proto/markdown.tmpl, 11 and generated with ./hack/generate_proto.sh! 12 Please edit the template file and not the markdown one directly! 13 14 ****** 15 --> 16 This is a generated reference for the [Skaffold API]({{<relref "/docs/design/api">}}) gRPC layer. 17 18 We also generate the [reference doc for the HTTP layer]({{<relref "/docs/references/api/swagger">}}). 19 20 21 22 <a name="v2/skaffold.proto"></a> 23 24 ## v2/skaffold.proto 25 26 You can find the source for v2/skaffold.proto [on Github](https://github.com/GoogleContainerTools/skaffold/blob/main/proto/v2/skaffold.proto). 27 28 29 30 ### Services 31 32 <a name="proto.v2.SkaffoldV2Service"></a> 33 34 #### SkaffoldV2Service 35 Describes all the methods for the Skaffold API 36 37 | Method Name | Request Type | Response Type | Description | 38 | ----------- | ------------ | ------------- | ------------| 39 | GetState | [.google.protobuf.Empty](#google.protobuf.Empty) | [State](#proto.v2.State) | Returns the state of the current Skaffold execution | 40 | Events | [.google.protobuf.Empty](#google.protobuf.Empty) | [Event](#proto.v2.Event) stream | Returns all the events of the current Skaffold execution from the start | 41 | ApplicationLogs | [.google.protobuf.Empty](#google.protobuf.Empty) | [Event](#proto.v2.Event) stream | Returns all the user application logs of the current Skaffold execution | 42 | Execute | [UserIntentRequest](#proto.v2.UserIntentRequest) | [.google.protobuf.Empty](#google.protobuf.Empty) | Allows for a single execution of some or all of the phases (build, sync, deploy) in case autoBuild, autoDeploy or autoSync are disabled. | 43 | AutoBuild | [TriggerRequest](#proto.v2.TriggerRequest) | [.google.protobuf.Empty](#google.protobuf.Empty) | Allows for enabling or disabling automatic build trigger | 44 | AutoSync | [TriggerRequest](#proto.v2.TriggerRequest) | [.google.protobuf.Empty](#google.protobuf.Empty) | Allows for enabling or disabling automatic sync trigger | 45 | AutoDeploy | [TriggerRequest](#proto.v2.TriggerRequest) | [.google.protobuf.Empty](#google.protobuf.Empty) | Allows for enabling or disabling automatic deploy trigger | 46 | Handle | [Event](#proto.v2.Event) | [.google.protobuf.Empty](#google.protobuf.Empty) | EXPERIMENTAL. It allows for custom events to be implemented in custom builders for example. | 47 48 <!-- end services --> 49 50 51 ### Data types 52 53 54 55 <a name="proto.v2.ActionableErr"></a> 56 #### ActionableErr 57 `ActionableErr` defines an error that occurred along with an optional list of suggestions 58 59 60 | Field | Type | Label | Description | 61 | ----- | ---- | ----- | ----------- | 62 | errCode | [proto.enums.StatusCode](#proto.enums.StatusCode) | | error code representing the error | 63 | message | [string](#string) | | message describing the error. | 64 | suggestions | [Suggestion](#proto.v2.Suggestion) | repeated | list of suggestions | 65 66 67 68 69 70 71 72 <a name="proto.v2.ApplicationLogEvent"></a> 73 #### ApplicationLogEvent 74 `ApplicationLogEvent` represents a log that comes from one of the pods running in the user's application. 75 76 77 | Field | Type | Label | Description | 78 | ----- | ---- | ----- | ----------- | 79 | containerName | [string](#string) | | container that the log came from | 80 | podName | [string](#string) | | pod that the log came from | 81 | prefix | [string](#string) | | | 82 | message | [string](#string) | | contents of the log | 83 | richFormattedMessage | [string](#string) | | full message that skaffold writes, with format and color | 84 85 86 87 88 89 90 91 <a name="proto.v2.BuildMetadata"></a> 92 #### BuildMetadata 93 94 95 96 | Field | Type | Label | Description | 97 | ----- | ---- | ----- | ----------- | 98 | artifacts | [BuildMetadata.Artifact](#proto.v2.BuildMetadata.Artifact) | repeated | | 99 | type | [proto.enums.BuildType](#proto.enums.BuildType) | | | 100 | additional | [BuildMetadata.AdditionalEntry](#proto.v2.BuildMetadata.AdditionalEntry) | repeated | Additional key value pairs to describe the build pipeline | 101 102 103 104 105 106 107 108 <a name="proto.v2.BuildMetadata.AdditionalEntry"></a> 109 #### BuildMetadata.AdditionalEntry 110 111 112 113 | Field | Type | Label | Description | 114 | ----- | ---- | ----- | ----------- | 115 | key | [string](#string) | | | 116 | value | [string](#string) | | | 117 118 119 120 121 122 123 124 <a name="proto.v2.BuildMetadata.Artifact"></a> 125 #### BuildMetadata.Artifact 126 127 128 129 | Field | Type | Label | Description | 130 | ----- | ---- | ----- | ----------- | 131 | type | [proto.enums.BuilderType](#proto.enums.BuilderType) | | | 132 | name | [string](#string) | | image name | 133 | context | [string](#string) | | skaffold.yaml context field | 134 | dockerfile | [string](#string) | | skaffold.yaml path to dockerfile. Not guaranteed to be filled | 135 136 137 138 139 140 141 142 <a name="proto.v2.BuildState"></a> 143 #### BuildState 144 `BuildState` maps Skaffold artifacts to their current build states 145 146 147 | Field | Type | Label | Description | 148 | ----- | ---- | ----- | ----------- | 149 | artifacts | [BuildState.ArtifactsEntry](#proto.v2.BuildState.ArtifactsEntry) | repeated | A map of `artifact name -> build-state`. Artifact name is defined in the `skaffold.yaml`. The `build-state` can be: <br> - `"NotStarted"`: not yet started <br> - `"InProgress"`: build started <br> - `"Complete"`: build succeeded <br> - `"Failed"`: build failed | 150 | autoTrigger | [bool](#bool) | | | 151 | statusCode | [proto.enums.StatusCode](#proto.enums.StatusCode) | | | 152 153 154 155 156 157 158 159 <a name="proto.v2.BuildState.ArtifactsEntry"></a> 160 #### BuildState.ArtifactsEntry 161 162 163 164 | Field | Type | Label | Description | 165 | ----- | ---- | ----- | ----------- | 166 | key | [string](#string) | | | 167 | value | [string](#string) | | | 168 169 170 171 172 173 174 175 <a name="proto.v2.BuildSubtaskEvent"></a> 176 #### BuildSubtaskEvent 177 `BuildSubtaskvent` describes the build status per artifact, and will be emitted by Skaffold anytime a build starts or finishes, successfully or not. 178 If the build fails, an error will be attached to the event. 179 180 181 | Field | Type | Label | Description | 182 | ----- | ---- | ----- | ----------- | 183 | id | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 184 | task_id | [string](#string) | | id of the task of skaffold that this event came from | 185 | artifact | [string](#string) | | artifact name | 186 | step | [string](#string) | | which step of the build for the artifact oneof: Cache, Build, Push | 187 | status | [string](#string) | | artifact build status oneof: InProgress, Completed, Failed | 188 | actionableErr | [ActionableErr](#proto.v2.ActionableErr) | | actionable error message | 189 | hostPlatform | [string](#string) | | platform of the host machine. For example `linux/amd64` | 190 | targetPlatforms | [string](#string) | | comma-delimited list of build target platforms. For example `linux/amd64,linux/arm64` | 191 192 193 194 195 196 197 198 <a name="proto.v2.CloudRunReadyEvent"></a> 199 #### CloudRunReadyEvent 200 A Resource StatusCheck Event for a Cloud Run Service. 201 Indicates that a Cloud Run Service has deployed successfully and is serving 202 on the specified URL 203 204 205 | Field | Type | Label | Description | 206 | ----- | ---- | ----- | ----------- | 207 | id | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 208 | task_id | [string](#string) | | id of the task of skaffold that this event came from | 209 | resource | [string](#string) | | the Cloud Run resource that was deployed | 210 | url | [string](#string) | | the base URL that the Cloud Run service is serving on. | 211 | ready_revision | [string](#string) | | the name of the revision that went ready. | 212 213 214 215 216 217 218 219 <a name="proto.v2.DebuggingContainerEvent"></a> 220 #### DebuggingContainerEvent 221 DebuggingContainerEvent is raised when a debugging container is started or terminated 222 223 224 | Field | Type | Label | Description | 225 | ----- | ---- | ----- | ----------- | 226 | id | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 227 | task_id | [string](#string) | | id of the task of skaffold that this event came from | 228 | status | [string](#string) | | the container status oneof: Started, Terminated | 229 | podName | [string](#string) | | the pod name with the debugging container | 230 | containerName | [string](#string) | | the name of the container configured for debugging | 231 | namespace | [string](#string) | | the namespace of the debugging container | 232 | artifact | [string](#string) | | the corresponding artifact's image name | 233 | runtime | [string](#string) | | the detected language runtime | 234 | workingDir | [string](#string) | | the working directory in the container image | 235 | debugPorts | [DebuggingContainerEvent.DebugPortsEntry](#proto.v2.DebuggingContainerEvent.DebugPortsEntry) | repeated | the exposed debugging-related ports | 236 237 238 239 240 241 242 243 <a name="proto.v2.DebuggingContainerEvent.DebugPortsEntry"></a> 244 #### DebuggingContainerEvent.DebugPortsEntry 245 246 247 248 | Field | Type | Label | Description | 249 | ----- | ---- | ----- | ----------- | 250 | key | [string](#string) | | | 251 | value | [uint32](#uint32) | | | 252 253 254 255 256 257 258 259 <a name="proto.v2.DeployMetadata"></a> 260 #### DeployMetadata 261 262 263 264 | Field | Type | Label | Description | 265 | ----- | ---- | ----- | ----------- | 266 | deployers | [DeployMetadata.Deployer](#proto.v2.DeployMetadata.Deployer) | repeated | | 267 | cluster | [proto.enums.ClusterType](#proto.enums.ClusterType) | | | 268 269 270 271 272 273 274 275 <a name="proto.v2.DeployMetadata.Deployer"></a> 276 #### DeployMetadata.Deployer 277 278 279 280 | Field | Type | Label | Description | 281 | ----- | ---- | ----- | ----------- | 282 | type | [proto.enums.DeployerType](#proto.enums.DeployerType) | | | 283 | count | [int32](#int32) | | | 284 285 286 287 288 289 290 291 <a name="proto.v2.DeployState"></a> 292 #### DeployState 293 `DeployState` describes the status of the current deploy 294 295 296 | Field | Type | Label | Description | 297 | ----- | ---- | ----- | ----------- | 298 | status | [string](#string) | | | 299 | autoTrigger | [bool](#bool) | | | 300 | statusCode | [proto.enums.StatusCode](#proto.enums.StatusCode) | | | 301 302 303 304 305 306 307 308 <a name="proto.v2.DeploySubtaskEvent"></a> 309 #### DeploySubtaskEvent 310 `DeploySubtaskEvent` represents the status of a deployment, and is emitted by Skaffold 311 anytime a deployment starts or completes, successfully or not. 312 313 314 | Field | Type | Label | Description | 315 | ----- | ---- | ----- | ----------- | 316 | id | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 317 | task_id | [string](#string) | | id of the task of skaffold that this event came from | 318 | status | [string](#string) | | deployment status oneof: InProgress, Completed, Failed | 319 | actionableErr | [ActionableErr](#proto.v2.ActionableErr) | | actionable error message | 320 321 322 323 324 325 326 327 <a name="proto.v2.Event"></a> 328 #### Event 329 `Event` describes an event in the Skaffold process. 330 It is one of MetaEvent, BuildEvent, TestEvent, DeployEvent, PortEvent, StatusCheckEvent, ResourceStatusCheckEvent, FileSyncEvent, or DebuggingContainerEvent. 331 332 333 | Field | Type | Label | Description | 334 | ----- | ---- | ----- | ----------- | 335 | timestamp | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | timestamp of the event. | 336 | metaEvent | [MetaEvent](#proto.v2.MetaEvent) | | contains general information regarding Skaffold like version info | 337 | skaffoldLogEvent | [SkaffoldLogEvent](#proto.v2.SkaffoldLogEvent) | | describes a log that comes from a skaffold phase | 338 | applicationLogEvent | [ApplicationLogEvent](#proto.v2.ApplicationLogEvent) | | describes a log that comes from the user's running application | 339 | taskEvent | [TaskEvent](#proto.v2.TaskEvent) | | describes the start, end, or failure of a skaffold phase | 340 | buildSubtaskEvent | [BuildSubtaskEvent](#proto.v2.BuildSubtaskEvent) | | describes if the build status per artifact. Status could be one of "InProgress", "Completed" or "Failed". | 341 | deploySubtaskEvent | [DeploySubtaskEvent](#proto.v2.DeploySubtaskEvent) | | describes if the deployment has started, is in progress or is complete. | 342 | portEvent | [PortForwardEvent](#proto.v2.PortForwardEvent) | | describes each port forwarding event. | 343 | statusCheckSubtaskEvent | [StatusCheckSubtaskEvent](#proto.v2.StatusCheckSubtaskEvent) | | describes if the Status check has started, is in progress, has succeeded or failed. | 344 | fileSyncEvent | [FileSyncEvent](#proto.v2.FileSyncEvent) | | describes the sync status. | 345 | debuggingContainerEvent | [DebuggingContainerEvent](#proto.v2.DebuggingContainerEvent) | | describes the appearance or disappearance of a debugging container | 346 | terminationEvent | [TerminationEvent](#proto.v2.TerminationEvent) | | describes a skaffold termination event | 347 | testEvent | [TestSubtaskEvent](#proto.v2.TestSubtaskEvent) | | describes if the test has started, is in progress or is complete. | 348 | renderEvent | [RenderSubtaskEvent](#proto.v2.RenderSubtaskEvent) | | describes if the render has started, is in progress or is complete. | 349 | verifyEvent | [VerifySubtaskEvent](#proto.v2.VerifySubtaskEvent) | | describes if the render has started, is in progress or is complete. | 350 | cloudRunReadyEvent | [CloudRunReadyEvent](#proto.v2.CloudRunReadyEvent) | | describes a deployed Cloud Run service. | 351 | execEvent | [ExecSubtaskEvent](#proto.v2.ExecSubtaskEvent) | | describes if the exec has started, is in progress or is complete. | 352 353 354 355 356 357 358 359 <a name="proto.v2.ExecState"></a> 360 #### ExecState 361 `ExecState` describes the state of the current exec 362 363 364 | Field | Type | Label | Description | 365 | ----- | ---- | ----- | ----------- | 366 | status | [string](#string) | | Status of the current exec | 367 | statusCode | [proto.enums.StatusCode](#proto.enums.StatusCode) | | ExecState status code | 368 369 370 371 372 373 374 375 <a name="proto.v2.ExecSubtaskEvent"></a> 376 #### ExecSubtaskEvent 377 `ExecSubtaskEvent` represents the status of an exec, and is emitted by Skaffold 378 anytime an exec starts or completes, successfully or not. 379 380 381 | Field | Type | Label | Description | 382 | ----- | ---- | ----- | ----------- | 383 | id | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 384 | task_id | [string](#string) | | id of the task of skaffold that this event came from | 385 | status | [string](#string) | | exec status oneof: InProgress, Completed, Failed | 386 | actionableErr | [ActionableErr](#proto.v2.ActionableErr) | | actionable error message | 387 388 389 390 391 392 393 394 <a name="proto.v2.FileSyncEvent"></a> 395 #### FileSyncEvent 396 FileSyncEvent describes the sync status. 397 398 399 | Field | Type | Label | Description | 400 | ----- | ---- | ----- | ----------- | 401 | id | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 402 | task_id | [string](#string) | | id of the task of skaffold that this event came from | 403 | fileCount | [int32](#int32) | | number of files synced | 404 | image | [string](#string) | | the container image to which files are sycned. | 405 | status | [string](#string) | | status of file sync. one of: Not Started, InProgress, Succeeded, Failed. | 406 | actionableErr | [ActionableErr](#proto.v2.ActionableErr) | | actionable error message | 407 408 409 410 411 412 413 414 <a name="proto.v2.FileSyncState"></a> 415 #### FileSyncState 416 `FileSyncState` contains the status of the current file sync 417 418 419 | Field | Type | Label | Description | 420 | ----- | ---- | ----- | ----------- | 421 | status | [string](#string) | | | 422 | autoTrigger | [bool](#bool) | | | 423 424 425 426 427 428 429 430 <a name="proto.v2.IntOrString"></a> 431 #### IntOrString 432 IntOrString is a type that can hold an int32 or a string. 433 434 435 | Field | Type | Label | Description | 436 | ----- | ---- | ----- | ----------- | 437 | type | [int32](#int32) | | type of stored value | 438 | intVal | [int32](#int32) | | int value | 439 | strVal | [string](#string) | | string value | 440 441 442 443 444 445 446 447 <a name="proto.v2.Intent"></a> 448 #### Intent 449 Intent represents user intents for a given phase. 450 451 452 | Field | Type | Label | Description | 453 | ----- | ---- | ----- | ----------- | 454 | build | [bool](#bool) | | in case skaffold dev is ran with autoBuild=false, a build intent enables building once | 455 | sync | [bool](#bool) | | in case skaffold dev is ran with autoSync=false, a sync intent enables file sync once | 456 | deploy | [bool](#bool) | | in case skaffold dev is ran with autoDeploy=false, a deploy intent enables deploys once | 457 | devloop | [bool](#bool) | | in case skaffold dev is ran with autoDeploy=false, autoSync=false and autoBuild=false a devloop intent enables the entire dev loop once | 458 459 460 461 462 463 464 465 <a name="proto.v2.MetaEvent"></a> 466 #### MetaEvent 467 `MetaEvent` provides general information regarding Skaffold 468 469 470 | Field | Type | Label | Description | 471 | ----- | ---- | ----- | ----------- | 472 | entry | [string](#string) | | entry, for example: `"Starting Skaffold: {Version:v0.39.0-16-g5bb7c9e0 ConfigVersion:skaffold/v1 GitVersion: GitCommit:5bb7c9e078e4d522a5ffc42a2f1274fd17d75902 GitTreeState:dirty BuildDate01:29Z GoVersion:go1.13rc1 Compiler:gc Platform:linux/amd64}"` | 473 | metadata | [Metadata](#proto.v2.Metadata) | | Metadata describing skaffold pipeline | 474 475 476 477 478 479 480 481 <a name="proto.v2.Metadata"></a> 482 #### Metadata 483 484 485 486 | Field | Type | Label | Description | 487 | ----- | ---- | ----- | ----------- | 488 | build | [BuildMetadata](#proto.v2.BuildMetadata) | | | 489 | deploy | [DeployMetadata](#proto.v2.DeployMetadata) | | | 490 | test | [TestMetadata](#proto.v2.TestMetadata) | | | 491 | runID | [string](#string) | | | 492 | render | [RenderMetadata](#proto.v2.RenderMetadata) | | | 493 | additional | [Metadata.AdditionalEntry](#proto.v2.Metadata.AdditionalEntry) | repeated | Additional key value pairs to describe the build pipeline | 494 495 496 497 498 499 500 501 <a name="proto.v2.Metadata.AdditionalEntry"></a> 502 #### Metadata.AdditionalEntry 503 504 505 506 | Field | Type | Label | Description | 507 | ----- | ---- | ----- | ----------- | 508 | key | [string](#string) | | | 509 | value | [string](#string) | | | 510 511 512 513 514 515 516 517 <a name="proto.v2.PortForwardEvent"></a> 518 #### PortForwardEvent 519 PortForwardEvent Event describes each port forwarding event. 520 521 522 | Field | Type | Label | Description | 523 | ----- | ---- | ----- | ----------- | 524 | id | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 525 | task_id | [string](#string) | | id of the task of skaffold that this event came from | 526 | localPort | [int32](#int32) | | local port for forwarded resource | 527 | podName | [string](#string) | | pod name if port forwarded resourceType is Pod | 528 | containerName | [string](#string) | | container name if specified in the kubernetes spec | 529 | namespace | [string](#string) | | the namespace of the resource to port forward. | 530 | portName | [string](#string) | | | 531 | resourceType | [string](#string) | | resource type e.g. "pod", "service". | 532 | resourceName | [string](#string) | | name of the resource to forward. | 533 | address | [string](#string) | | address on which to bind | 534 | targetPort | [IntOrString](#proto.v2.IntOrString) | | target port is the resource port that will be forwarded. | 535 536 537 538 539 540 541 542 <a name="proto.v2.RenderMetadata"></a> 543 #### RenderMetadata 544 RenderMetadata describes the render pipeline 545 546 547 | Field | Type | Label | Description | 548 | ----- | ---- | ----- | ----------- | 549 | Renderers | [RenderMetadata.Renderer](#proto.v2.RenderMetadata.Renderer) | repeated | | 550 551 552 553 554 555 556 557 <a name="proto.v2.RenderMetadata.Renderer"></a> 558 #### RenderMetadata.Renderer 559 560 561 562 | Field | Type | Label | Description | 563 | ----- | ---- | ----- | ----------- | 564 | type | [proto.enums.RenderType](#proto.enums.RenderType) | | | 565 | count | [int32](#int32) | | | 566 567 568 569 570 571 572 573 <a name="proto.v2.RenderState"></a> 574 #### RenderState 575 `RenderState` describes the current state of the render 576 577 578 | Field | Type | Label | Description | 579 | ----- | ---- | ----- | ----------- | 580 | status | [string](#string) | | Status of the current render | 581 | statusCode | [proto.enums.StatusCode](#proto.enums.StatusCode) | | Renderstate status code | 582 583 584 585 586 587 588 589 <a name="proto.v2.RenderSubtaskEvent"></a> 590 #### RenderSubtaskEvent 591 `RenderSubtaskEvent` represents the status of a render, and is emitted by Skaffold 592 anytime a render starts or completes, successfully or not. 593 594 595 | Field | Type | Label | Description | 596 | ----- | ---- | ----- | ----------- | 597 | id | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 598 | task_id | [string](#string) | | id of the task of skaffold that this event came from | 599 | status | [string](#string) | | render status oneof: InProgress, Completed, Failed | 600 | actionableErr | [ActionableErr](#proto.v2.ActionableErr) | | actionable error message | 601 602 603 604 605 606 607 608 <a name="proto.v2.Request"></a> 609 #### Request 610 611 612 613 | Field | Type | Label | Description | 614 | ----- | ---- | ----- | ----------- | 615 | name | [string](#string) | | | 616 617 618 619 620 621 622 623 <a name="proto.v2.Response"></a> 624 #### Response 625 626 627 628 | Field | Type | Label | Description | 629 | ----- | ---- | ----- | ----------- | 630 | msg | [string](#string) | | | 631 632 633 634 635 636 637 638 <a name="proto.v2.SkaffoldLogEvent"></a> 639 #### SkaffoldLogEvent 640 `SkaffoldLogEvent` represents a piece of output that comes from a skaffold run, for example: "Generating tags...", "Step 1/3 : FROM gcr.io/distroless/base" 641 642 643 | Field | Type | Label | Description | 644 | ----- | ---- | ----- | ----------- | 645 | task_id | [string](#string) | | id of the task of skaffold that this log came from | 646 | subtask_id | [string](#string) | | id of the subtask that the log came from | 647 | level | [proto.enums.LogLevel](#proto.enums.LogLevel) | | string origin = 3; // REMOVED: which tool the output came from ex: skaffold, docker 648 649 log level | 650 | message | [string](#string) | | contents of the log | 651 652 653 654 655 656 657 658 <a name="proto.v2.State"></a> 659 #### State 660 `State` represents the current state of the Skaffold components 661 662 663 | Field | Type | Label | Description | 664 | ----- | ---- | ----- | ----------- | 665 | buildState | [BuildState](#proto.v2.BuildState) | | | 666 | deployState | [DeployState](#proto.v2.DeployState) | | | 667 | forwardedPorts | [State.ForwardedPortsEntry](#proto.v2.State.ForwardedPortsEntry) | repeated | | 668 | statusCheckState | [StatusCheckState](#proto.v2.StatusCheckState) | | | 669 | fileSyncState | [FileSyncState](#proto.v2.FileSyncState) | | | 670 | debuggingContainers | [DebuggingContainerEvent](#proto.v2.DebuggingContainerEvent) | repeated | | 671 | metadata | [Metadata](#proto.v2.Metadata) | | | 672 | testState | [TestState](#proto.v2.TestState) | | | 673 | renderState | [RenderState](#proto.v2.RenderState) | | | 674 | verifyState | [VerifyState](#proto.v2.VerifyState) | | | 675 | execState | [ExecState](#proto.v2.ExecState) | | | 676 677 678 679 680 681 682 683 <a name="proto.v2.State.ForwardedPortsEntry"></a> 684 #### State.ForwardedPortsEntry 685 686 687 688 | Field | Type | Label | Description | 689 | ----- | ---- | ----- | ----------- | 690 | key | [int32](#int32) | | | 691 | value | [PortForwardEvent](#proto.v2.PortForwardEvent) | | | 692 693 694 695 696 697 698 699 <a name="proto.v2.StateResponse"></a> 700 #### StateResponse 701 702 703 704 | Field | Type | Label | Description | 705 | ----- | ---- | ----- | ----------- | 706 | state | [State](#proto.v2.State) | | | 707 708 709 710 711 712 713 714 <a name="proto.v2.StatusCheckState"></a> 715 #### StatusCheckState 716 `StatusCheckState` describes the state of status check of current deployed resources. 717 718 719 | Field | Type | Label | Description | 720 | ----- | ---- | ----- | ----------- | 721 | status | [string](#string) | | | 722 | resources | [StatusCheckState.ResourcesEntry](#proto.v2.StatusCheckState.ResourcesEntry) | repeated | A map of `resource name -> status-check-state`. Where `resource-name` is the kubernetes resource name. The `status-check-state` can be <br> - `"NotStarted"`: indicates that `status-check` has just started. <br> - `"InProgress"`: InProgress is sent after every resource check is complete. <br> - `"Succeeded"`: - `"Failed"`: | 723 | statusCode | [proto.enums.StatusCode](#proto.enums.StatusCode) | | StatusCheck statusCode | 724 725 726 727 728 729 730 731 <a name="proto.v2.StatusCheckState.ResourcesEntry"></a> 732 #### StatusCheckState.ResourcesEntry 733 734 735 736 | Field | Type | Label | Description | 737 | ----- | ---- | ----- | ----------- | 738 | key | [string](#string) | | | 739 | value | [string](#string) | | | 740 741 742 743 744 745 746 747 <a name="proto.v2.StatusCheckSubtaskEvent"></a> 748 #### StatusCheckSubtaskEvent 749 A Resource StatusCheck Event, indicates progress for each kubernetes deployment. 750 For every resource, there will be exactly one event with `status` *Succeeded* or *Failed* event. 751 There can be multiple events with `status` *Pending*. 752 Skaffold polls for resource status every 0.5 second. If the resource status changes, an event with `status` “Pending”, “Complete” and “Failed” 753 will be sent with the new status. 754 755 756 | Field | Type | Label | Description | 757 | ----- | ---- | ----- | ----------- | 758 | id | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 759 | task_id | [string](#string) | | id of the task of skaffold that this event came from | 760 | resource | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 761 | status | [string](#string) | | id of the task of skaffold that this event came from | 762 | message | [string](#string) | | | 763 | statusCode | [proto.enums.StatusCode](#proto.enums.StatusCode) | | | 764 | actionableErr | [ActionableErr](#proto.v2.ActionableErr) | | actionable error message | 765 766 767 768 769 770 771 772 <a name="proto.v2.Suggestion"></a> 773 #### Suggestion 774 Suggestion defines the action a user needs to recover from an error. 775 776 777 | Field | Type | Label | Description | 778 | ----- | ---- | ----- | ----------- | 779 | suggestionCode | [proto.enums.SuggestionCode](#proto.enums.SuggestionCode) | | code representing a suggestion | 780 | action | [string](#string) | | action represents the suggestion action | 781 782 783 784 785 786 787 788 <a name="proto.v2.TaskEvent"></a> 789 #### TaskEvent 790 `TaskEvent` represent the different larger phases of a skaffold session, for example Build, Deploy, etc. 791 If a phase fails, an actionable error will be attached 792 793 794 | Field | Type | Label | Description | 795 | ----- | ---- | ----- | ----------- | 796 | id | [string](#string) | | will be used by SkaffoldLog to link it to a task. Follows the form "{task_name}-{iteration-number}" | 797 | task | [string](#string) | | task name oneof: Tag, Build, Test, Deploy, StatusCheck, PortForward, DevLoop | 798 | description | [string](#string) | | additional more descriptive text for the task | 799 | iteration | [int32](#int32) | | which dev/debug iteration is currently running | 800 | status | [string](#string) | | artifact build status oneof: InProgress, Completed, Failed | 801 | actionableErr | [ActionableErr](#proto.v2.ActionableErr) | | actionable error message | 802 803 804 805 806 807 808 809 <a name="proto.v2.TerminationEvent"></a> 810 #### TerminationEvent 811 `TerminationEvent` marks the end of the skaffold session 812 813 814 | Field | Type | Label | Description | 815 | ----- | ---- | ----- | ----------- | 816 | status | [string](#string) | | status oneof: Completed or Failed | 817 | err | [ActionableErr](#proto.v2.ActionableErr) | | actionable error message | 818 819 820 821 822 823 824 825 <a name="proto.v2.TestMetadata"></a> 826 #### TestMetadata 827 TestMetadata describes the test pipeline 828 829 830 | Field | Type | Label | Description | 831 | ----- | ---- | ----- | ----------- | 832 | Testers | [TestMetadata.Tester](#proto.v2.TestMetadata.Tester) | repeated | | 833 834 835 836 837 838 839 840 <a name="proto.v2.TestMetadata.Tester"></a> 841 #### TestMetadata.Tester 842 843 844 845 | Field | Type | Label | Description | 846 | ----- | ---- | ----- | ----------- | 847 | type | [proto.enums.TesterType](#proto.enums.TesterType) | | | 848 | count | [int32](#int32) | | | 849 850 851 852 853 854 855 856 <a name="proto.v2.TestState"></a> 857 #### TestState 858 `TestState` describes the current state of the test 859 860 861 | Field | Type | Label | Description | 862 | ----- | ---- | ----- | ----------- | 863 | status | [string](#string) | | Status of the current test | 864 | statusCode | [proto.enums.StatusCode](#proto.enums.StatusCode) | | Teststate status code | 865 866 867 868 869 870 871 872 <a name="proto.v2.TestSubtaskEvent"></a> 873 #### TestSubtaskEvent 874 `TestSubtaskEvent` represents the status of a test, and is emitted by Skaffold 875 anytime a test starts or completes, successfully or not. 876 877 878 | Field | Type | Label | Description | 879 | ----- | ---- | ----- | ----------- | 880 | id | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 881 | task_id | [string](#string) | | id of the task of skaffold that this event came from | 882 | status | [string](#string) | | test status oneof: InProgress, Completed, Failed | 883 | actionableErr | [ActionableErr](#proto.v2.ActionableErr) | | actionable error message | 884 885 886 887 888 889 890 891 <a name="proto.v2.TriggerRequest"></a> 892 #### TriggerRequest 893 894 895 896 | Field | Type | Label | Description | 897 | ----- | ---- | ----- | ----------- | 898 | state | [TriggerState](#proto.v2.TriggerState) | | | 899 900 901 902 903 904 905 906 <a name="proto.v2.TriggerState"></a> 907 #### TriggerState 908 TriggerState represents trigger state for a given phase. 909 910 911 | Field | Type | Label | Description | 912 | ----- | ---- | ----- | ----------- | 913 | enabled | [bool](#bool) | | enable or disable a trigger state | 914 915 916 917 918 919 920 921 <a name="proto.v2.UserIntentRequest"></a> 922 #### UserIntentRequest 923 924 925 926 | Field | Type | Label | Description | 927 | ----- | ---- | ----- | ----------- | 928 | intent | [Intent](#proto.v2.Intent) | | | 929 930 931 932 933 934 935 936 <a name="proto.v2.VerifyState"></a> 937 #### VerifyState 938 `VerifyState` describes the current state of the render 939 940 941 | Field | Type | Label | Description | 942 | ----- | ---- | ----- | ----------- | 943 | status | [string](#string) | | Status of the current render | 944 | statusCode | [proto.enums.StatusCode](#proto.enums.StatusCode) | | Verifystate status code | 945 946 947 948 949 950 951 952 <a name="proto.v2.VerifySubtaskEvent"></a> 953 #### VerifySubtaskEvent 954 `VerifyEvent` represents the status of a render, and is emitted by Skaffold 955 anytime a render starts or completes, successfully or not. 956 957 958 | Field | Type | Label | Description | 959 | ----- | ---- | ----- | ----------- | 960 | id | [string](#string) | | id of the subtask which will be used in SkaffoldLog | 961 | task_id | [string](#string) | | id of the task of skaffold that this event came from | 962 | status | [string](#string) | | render status oneof: InProgress, Completed, Failed | 963 | actionableErr | [ActionableErr](#proto.v2.ActionableErr) | | actionable error message | 964 965 966 967 968 969 <!-- end messages --> 970 971 <!-- end HasExtensions --> 972 973 974 975 976 <a name="proto.enums.BuildType"></a> 977 978 ### BuildType 979 Enum indicating build type i.e. local, cluster vs GCB 980 981 | Name | Number | Description | 982 | ---- |:------:| ----------- | 983 | UNKNOWN_BUILD_TYPE | 0 | Could not determine Build Type | 984 | CLUSTER | 1 | Cluster Build | 985 | GCB | 2 | GCB Build | 986 | LOCAL | 3 | Local Build | 987 988 989 990 <a name="proto.enums.BuilderType"></a> 991 992 ### BuilderType 993 Enum indicating builders used 994 995 | Name | Number | Description | 996 | ---- |:------:| ----------- | 997 | UNKNOWN_BUILDER_TYPE | 0 | Could not determine builder type | 998 | JIB | 1 | JIB Builder | 999 | BAZEL | 2 | Bazel Builder | 1000 | BUILDPACKS | 3 | Buildpacks Builder | 1001 | CUSTOM | 4 | Custom Builder | 1002 | KANIKO | 5 | Kaniko Builder | 1003 | DOCKER | 6 | Docker Builder | 1004 | KO | 7 | Ko Builder | 1005 1006 1007 1008 <a name="proto.enums.ClusterType"></a> 1009 1010 ### ClusterType 1011 Enum indicating cluster type the application is deployed to 1012 1013 | Name | Number | Description | 1014 | ---- |:------:| ----------- | 1015 | UNKNOWN_CLUSTER_TYPE | 0 | Could not determine Cluster Type | 1016 | MINIKUBE | 1 | Minikube Cluster | 1017 | GKE | 2 | GKE cluster | 1018 | OTHER | 3 | All Cluster except Minikube and GKE | 1019 1020 1021 1022 <a name="proto.enums.DeployerType"></a> 1023 1024 ### DeployerType 1025 Enum indicating deploy tools used 1026 1027 | Name | Number | Description | 1028 | ---- |:------:| ----------- | 1029 | UNKNOWN_DEPLOYER_TYPE | 0 | Could not determine Deployer Type | 1030 | HELM | 1 | Helm Deployer | 1031 | KUSTOMIZE | 2 | Kustomize Deployer | 1032 | KUBECTL | 3 | Kubectl Deployer | 1033 | KPT | 4 | kpt Deployer | 1034 1035 1036 1037 <a name="proto.enums.LogLevel"></a> 1038 1039 ### LogLevel 1040 Enum indicating the log level of a line of output 1041 1042 | Name | Number | Description | 1043 | ---- |:------:| ----------- | 1044 | DEBUG | 0 | Debug Level | 1045 | INFO | 1 | Info Level | 1046 | WARN | 2 | Warn Level | 1047 | ERROR | 3 | Error Level | 1048 | FATAL | 4 | Fatal Level | 1049 | PANIC | 5 | Panic Level | 1050 | TRACE | 6 | Trace Level | 1051 | STANDARD | 7 | User-visible output level | 1052 1053 1054 1055 <a name="proto.enums.RenderType"></a> 1056 1057 ### RenderType 1058 Enum indicating render manifests type 1059 1060 | Name | Number | Description | 1061 | ---- |:------:| ----------- | 1062 | UNKNOWN_RENDER_TYPE | 0 | Could not determine Render Type | 1063 | RAWK8S | 1 | Raw Manifests | 1064 | KUSTOMIZE_MANIFEST | 2 | kustomize manifests | 1065 | HELM_CHART | 3 | helm charts | 1066 | KPT_MANIFEST | 4 | kpt manifests | 1067 1068 1069 1070 <a name="proto.enums.StatusCode"></a> 1071 1072 ### StatusCode 1073 Enum for Status codes<br> 1074 These error codes are prepended by Phase Name e.g. 1075 INIT, BUILD, TEST, DEPLOY, STATUSCHECK, DEVINIT<br> 1076 For Success Error codes, use range 200 to 250.<br> 1077 For Unknown error codes, use range 500 to 600.<br> 1078 For Cancelled Error code, use range 800 to 850.<br> 1079 1080 | Name | Number | Description | 1081 | ---- |:------:| ----------- | 1082 | OK | 0 | A default status code for events that do not have an associated phase. Typically seen with the DevEndEvent event on success. | 1083 | STATUSCHECK_SUCCESS | 200 | Status Check Success | 1084 | BUILD_SUCCESS | 201 | Build Success | 1085 | RENDER_SUCCESS | 204 | Render Success | 1086 | DEPLOY_SUCCESS | 202 | Deploy Success | 1087 | TEST_SUCCESS | 203 | Test Success | 1088 | BUILD_PUSH_ACCESS_DENIED | 101 | Build error due to push access denied | 1089 | BUILD_PROJECT_NOT_FOUND | 102 | Build error due to GCP project not found. | 1090 | BUILD_DOCKER_DAEMON_NOT_RUNNING | 103 | Docker build error due to docker daemon not running | 1091 | BUILD_USER_ERROR | 104 | Build error due to user application code, e.g. compilation error, dockerfile error etc | 1092 | BUILD_DOCKER_UNAVAILABLE | 105 | Build error due to docker not available | 1093 | BUILD_DOCKER_UNAUTHORIZED | 106 | Docker build error due to user not authorized to perform the action | 1094 | BUILD_DOCKER_SYSTEM_ERR | 107 | Docker system build error | 1095 | BUILD_DOCKER_NOT_MODIFIED_ERR | 108 | Docker build error due to Docker build container is already in the desired state | 1096 | BUILD_DOCKER_NOT_IMPLEMENTED_ERR | 109 | Docker build error indicating a feature not supported | 1097 | BUILD_DOCKER_DATA_LOSS_ERR | 110 | Docker build error indicates that for given build, data was lost or there is data corruption | 1098 | BUILD_DOCKER_FORBIDDEN_ERR | 111 | Docker build error indicates user is forbidden to perform the build or step/action. | 1099 | BUILD_DOCKER_CONFLICT_ERR | 112 | Docker build error due to some internal error and docker container state conflicts with the requested action and can't be performed | 1100 | BUILD_DOCKER_ERROR_NOT_FOUND | 113 | Docker build error indicates the requested object does not exist | 1101 | BUILD_DOCKER_INVALID_PARAM_ERR | 114 | Docker build error indication invalid parameter sent to docker command | 1102 | BUILD_DOCKERFILE_NOT_FOUND | 115 | Docker build failed due to dockerfile not found | 1103 | BUILD_DOCKER_CACHE_FROM_PULL_ERR | 116 | Docker build failed due `cacheFrom` user config error | 1104 | BUILD_DOCKER_GET_DIGEST_ERR | 117 | Build error due to digest for built artifact could not be retrieved from docker daemon. | 1105 | BUILD_DOCKER_NO_SPACE_ERR | 127 | Build error due no space left in docker. | 1106 | BUILD_REGISTRY_GET_DIGEST_ERR | 118 | Build error due to digest for built artifact could not be retrieved from registry. | 1107 | BUILD_UNKNOWN_JIB_PLUGIN_TYPE | 119 | Build error indicating unknown Jib plugin type. Should be one of [maven, gradle] | 1108 | BUILD_JIB_GRADLE_DEP_ERR | 120 | Build error determining dependency for jib gradle project. | 1109 | BUILD_JIB_MAVEN_DEP_ERR | 121 | Build error determining dependency for jib gradle project. | 1110 | INIT_DOCKER_NETWORK_LISTING_CONTAINERS | 122 | Docker build error when listing containers. | 1111 | INIT_DOCKER_NETWORK_INVALID_CONTAINER_NAME | 123 | Docker build error indicating an invalid container name (or id). | 1112 | INIT_DOCKER_NETWORK_CONTAINER_DOES_NOT_EXIST | 124 | Docker build error indicating the container referenced does not exists in the docker context used. | 1113 | INIT_DOCKER_NETWORK_INVALID_MODE | 125 | Docker Network invalid mode | 1114 | INIT_DOCKER_NETWORK_PARSE_ERR | 126 | Error parsing Docker Network mode | 1115 | BUILD_GCB_CREATE_BUILD_ERR | 128 | GCB Create Build Error | 1116 | BUILD_GCB_GET_BUILD_ID_ERR | 129 | GCB error indicating an error to fetch build id. | 1117 | BUILD_GCB_GET_BUILD_STATUS_ERR | 130 | GCB error indicating an error to fetch build status. | 1118 | BUILD_GCB_GET_BUILD_LOG_ERR | 131 | GCB error indicating an error to fetch build logs. | 1119 | BUILD_GCB_COPY_BUILD_LOG_ERR | 132 | GCB error indicating an error to fetch build status. | 1120 | BUILD_GCB_GET_BUILT_IMAGE_ERR | 133 | GCB error indicating an error retrieving the built image id. | 1121 | BUILD_GCB_BUILD_FAILED | 134 | GCB error indicating build failure. | 1122 | BUILD_GCB_BUILD_INTERNAL_ERR | 135 | GCB error indicating build failure due to internal errror. | 1123 | BUILD_GCB_BUILD_TIMEOUT | 136 | GCB error indicating build failure due to timeout. | 1124 | BUILD_GCB_GENERATE_BUILD_DESCRIPTOR_ERR | 137 | GCB error to generate the build descriptor. | 1125 | BUILD_GCB_UPLOAD_TO_GCS_ERR | 138 | GCB error to upload to GCS. | 1126 | BUILD_GCB_JIB_DEPENDENCY_ERR | 139 | GCB error to fetch jib artifact dependency. | 1127 | BUILD_GCB_GET_DEPENDENCY_ERR | 140 | GCB error to fetch artifact dependency. | 1128 | BUILD_GCB_GET_GCS_BUCKET_ERR | 141 | GCB error to get GCS bucket. | 1129 | BUILD_GCB_CREATE_BUCKET_ERR | 142 | GCB error to create a GCS bucket. | 1130 | BUILD_GCB_EXTRACT_PROJECT_ID | 143 | GCB error to extract Project ID. | 1131 | BUILD_GET_CLOUD_STORAGE_CLIENT_ERR | 144 | GCB error to get cloud storage client to perform GCS operation. | 1132 | BUILD_GET_CLOUD_BUILD_CLIENT_ERR | 145 | GCB error to get cloud build client to perform GCB operations. | 1133 | BUILD_UNKNOWN_PLATFORM_FLAG | 150 | Value provided to --platform flag cannot be parsed | 1134 | BUILD_CROSS_PLATFORM_ERR | 151 | Cross-platform build failures | 1135 | BUILD_CROSS_PLATFORM_NO_REGISTRY_ERR | 152 | Multi-platfor build fails due to no container registry set | 1136 | STATUSCHECK_IMAGE_PULL_ERR | 300 | Container image pull error | 1137 | STATUSCHECK_CONTAINER_CREATING | 301 | Container creating error | 1138 | STATUSCHECK_RUN_CONTAINER_ERR | 302 | Container run error | 1139 | STATUSCHECK_CONTAINER_TERMINATED | 303 | Container is already terminated | 1140 | STATUSCHECK_DEPLOYMENT_ROLLOUT_PENDING | 304 | Deployment waiting for rollout | 1141 | STATUSCHECK_STANDALONE_PODS_PENDING | 305 | Standalone pods pending to stabilize | 1142 | STATUSCHECK_CONTAINER_RESTARTING | 356 | Container restarting error | 1143 | STATUSCHECK_UNHEALTHY | 357 | Readiness probe failed | 1144 | STATUSCHECK_CONTAINER_EXEC_ERROR | 358 | Executable binary format error | 1145 | STATUSCHECK_NODE_MEMORY_PRESSURE | 400 | Node memory pressure error | 1146 | STATUSCHECK_NODE_DISK_PRESSURE | 401 | Node disk pressure error | 1147 | STATUSCHECK_NODE_NETWORK_UNAVAILABLE | 402 | Node network unavailable error | 1148 | STATUSCHECK_NODE_PID_PRESSURE | 403 | Node PID pressure error | 1149 | STATUSCHECK_NODE_UNSCHEDULABLE | 404 | Node unschedulable error | 1150 | STATUSCHECK_NODE_UNREACHABLE | 405 | Node unreachable error | 1151 | STATUSCHECK_NODE_NOT_READY | 406 | Node not ready error | 1152 | STATUSCHECK_FAILED_SCHEDULING | 407 | Scheduler failure error | 1153 | STATUSCHECK_KUBECTL_CONNECTION_ERR | 409 | Kubectl connection error | 1154 | STATUSCHECK_KUBECTL_PID_KILLED | 410 | Kubectl process killed error | 1155 | STATUSCHECK_KUBECTL_CLIENT_FETCH_ERR | 411 | Kubectl client fetch err | 1156 | STATUSCHECK_DEPLOYMENT_FETCH_ERR | 412 | | 1157 | STATUSCHECK_STANDALONE_PODS_FETCH_ERR | 413 | | 1158 | STATUSCHECK_CONFIG_CONNECTOR_RESOURCES_FETCH_ERR | 414 | | 1159 | STATUSCHECK_STATEFULSET_FETCH_ERR | 415 | | 1160 | STATUSCHECK_CUSTOM_RESOURCE_FETCH_ERR | 416 | | 1161 | STATUSCHECK_POD_INITIALIZING | 451 | Pod Initializing | 1162 | STATUSCHECK_CONFIG_CONNECTOR_IN_PROGRESS | 452 | The actual state of the resource has not yet reached the desired state | 1163 | STATUSCHECK_CONFIG_CONNECTOR_FAILED | 453 | The process of reconciling the actual state with the desired state has encountered an error | 1164 | STATUSCHECK_CONFIG_CONNECTOR_TERMINATING | 454 | The resource is in the process of being deleted | 1165 | STATUSCHECK_CONFIG_CONNECTOR_NOT_FOUND | 455 | The resource does not exist | 1166 | STATUSCHECK_CUSTOM_RESOURCE_IN_PROGRESS | 456 | The actual state of the resource has not yet reached the desired state | 1167 | STATUSCHECK_CUSTOM_RESOURCE_FAILED | 457 | The process of reconciling the actual state with the desired state has encountered an error | 1168 | STATUSCHECK_CUSTOM_RESOURCE_TERMINATING | 458 | The resource is in the process of being deleted | 1169 | STATUSCHECK_CUSTOM_RESOURCE_NOT_FOUND | 459 | The resource does not exist | 1170 | UNKNOWN_ERROR | 500 | Could not determine error and phase | 1171 | STATUSCHECK_UNKNOWN | 501 | Status Check error unknown | 1172 | STATUSCHECK_UNKNOWN_UNSCHEDULABLE | 502 | Container is unschedulable due to unknown reasons | 1173 | STATUSCHECK_CONTAINER_WAITING_UNKNOWN | 503 | Container is waiting due to unknown reason | 1174 | STATUSCHECK_UNKNOWN_EVENT | 509 | Container event reason unknown | 1175 | STATUSCHECK_INTERNAL_ERROR | 514 | Status Check internal error | 1176 | DEPLOY_UNKNOWN | 504 | Deploy failed due to unknown reason | 1177 | SYNC_UNKNOWN | 505 | SYNC failed due to known reason | 1178 | BUILD_UNKNOWN | 506 | Build failed due to unknown reason | 1179 | DEVINIT_UNKNOWN | 507 | Dev Init failed due to unknown reason | 1180 | CLEANUP_UNKNOWN | 508 | Cleanup failed due to unknown reason | 1181 | INIT_UNKNOWN | 510 | Initialization of the Skaffold session failed due to unknown reason(s) | 1182 | BUILD_DOCKER_UNKNOWN | 511 | Build failed due to docker unknown error | 1183 | TEST_UNKNOWN | 512 | Test failed due to unknown reason | 1184 | BUILD_GCB_BUILD_UNKNOWN_STATUS | 513 | GCB error indicating build failed due to unknown status. | 1185 | SYNC_INIT_ERROR | 601 | File Sync Initialize failure | 1186 | DEVINIT_REGISTER_BUILD_DEPS | 701 | Failed to configure watcher for build dependencies in dev loop | 1187 | DEVINIT_REGISTER_TEST_DEPS | 702 | Failed to configure watcher for test dependencies in dev loop | 1188 | DEVINIT_REGISTER_DEPLOY_DEPS | 703 | Failed to configure watcher for deploy dependencies in dev loop | 1189 | DEVINIT_REGISTER_CONFIG_DEP | 704 | Failed to configure watcher for Skaffold configuration file. | 1190 | DEVINIT_UNSUPPORTED_V1_MANIFEST | 705 | Failed to configure watcher for build dependencies for a base image with v1 manifest. | 1191 | DEVINIT_REGISTER_RENDER_DEPS | 706 | Failed to configure watcher for render dependencies in dev loop | 1192 | STATUSCHECK_USER_CANCELLED | 800 | User cancelled the skaffold dev run | 1193 | STATUSCHECK_DEADLINE_EXCEEDED | 801 | Deadline for status check exceeded | 1194 | BUILD_CANCELLED | 802 | Build Cancelled | 1195 | DEPLOY_CANCELLED | 803 | Deploy cancelled due to user cancellation or one or more deployers failed. | 1196 | BUILD_DOCKER_CANCELLED | 804 | Docker build cancelled. | 1197 | BUILD_DOCKER_DEADLINE | 805 | Build error due to docker deadline was reached before the docker action completed | 1198 | BUILD_GCB_BUILD_CANCELLED | 806 | GCB Build cancelled. | 1199 | INIT_CREATE_TAGGER_ERROR | 901 | Skaffold was unable to create the configured tagger | 1200 | INIT_MINIKUBE_PAUSED_ERROR | 902 | Skaffold was unable to start as Minikube appears to be paused | 1201 | INIT_MINIKUBE_NOT_RUNNING_ERROR | 903 | Skaffold was unable to start as Minikube appears to be stopped | 1202 | INIT_CREATE_BUILDER_ERROR | 904 | Skaffold was unable to create a configured image builder | 1203 | INIT_CREATE_DEPLOYER_ERROR | 905 | Skaffold was unable to create a configured deployer | 1204 | INIT_CREATE_TEST_DEP_ERROR | 906 | Skaffold was unable to create a configured test | 1205 | INIT_CACHE_ERROR | 907 | Skaffold encountered an error validating the artifact cache | 1206 | INIT_CREATE_WATCH_TRIGGER_ERROR | 908 | Skaffold encountered an error when configuring file watching | 1207 | INIT_CREATE_ARTIFACT_DEP_ERROR | 909 | Skaffold encountered an error when evaluating artifact dependencies | 1208 | INIT_CLOUD_RUN_LOCATION_ERROR | 910 | No Location was specified for Cloud Run | 1209 | DEPLOY_CLUSTER_CONNECTION_ERR | 1001 | Unable to connect to cluster | 1210 | DEPLOY_DEBUG_HELPER_RETRIEVE_ERR | 1002 | Could not retrieve debug helpers. | 1211 | DEPLOY_CLEANUP_ERR | 1003 | Deploy clean up error | 1212 | DEPLOY_HELM_APPLY_LABELS | 1004 | Unable to apply helm labels. | 1213 | DEPLOY_HELM_USER_ERR | 1005 | Deploy error due to user deploy config for helm deployer | 1214 | DEPLOY_NO_MATCHING_BUILD | 1006 | An image was referenced with no matching build result | 1215 | DEPLOY_HELM_VERSION_ERR | 1007 | Unable to get helm client version | 1216 | DEPLOY_HELM_MIN_VERSION_ERR | 1008 | Helm version not supported. | 1217 | DEPLOY_KUBECTL_VERSION_ERR | 1109 | Unable to retrieve kubectl version | 1218 | DEPLOY_KUBECTL_OFFLINE_MODE_ERR | 1010 | User specified offline mode for rendering but remote manifests presents. | 1219 | DEPLOY_ERR_WAITING_FOR_DELETION | 1011 | Error waiting for previous version deletion before next version is active. | 1220 | DEPLOY_READ_MANIFEST_ERR | 1012 | Error reading manifests | 1221 | DEPLOY_READ_REMOTE_MANIFEST_ERR | 1013 | Error reading remote manifests | 1222 | DEPLOY_LIST_MANIFEST_ERR | 1014 | Errors listing manifests | 1223 | DEPLOY_KUBECTL_USER_ERR | 1015 | Deploy error due to user deploy config for kubectl deployer | 1224 | DEPLOY_KUSTOMIZE_USER_ERR | 1016 | Deploy error due to user deploy config for kustomize deployer | 1225 | DEPLOY_REPLACE_IMAGE_ERR | 1017 | Error replacing a built artifact in the manifests | 1226 | DEPLOY_TRANSFORM_MANIFEST_ERR | 1018 | Error transforming a manifest during skaffold debug | 1227 | DEPLOY_SET_LABEL_ERR | 1019 | Error setting user specified additional labels. | 1228 | DEPLOY_MANIFEST_WRITE_ERR | 1020 | Error writing hydrated kubernetes manifests. | 1229 | DEPLOY_PARSE_MANIFEST_IMAGES_ERR | 1021 | Error getting images from a kubernetes manifest. | 1230 | DEPLOY_HELM_CREATE_NS_NOT_AVAILABLE | 1022 | Helm config `createNamespace` not available | 1231 | DEPLOY_CLUSTER_INTERNAL_SYSTEM_ERR | 1023 | Kubernetes cluster reported an internal system error | 1232 | DEPLOY_KPTFILE_INIT_ERR | 1024 | The Kptfile cannot be created via `kpt live init`. | 1233 | DEPLOY_KPT_SOURCE_ERR | 1025 | The `kpt fn source` cannot read the given manifests. | 1234 | DEPLOY_KPTFILE_INVALID_YAML_ERR | 1026 | The Kptfile exists but cannot be opened or parsed. | 1235 | DEPLOY_KPT_APPLY_ERR | 1027 | kpt fails to live apply the manifests to the cluster. | 1236 | DEPLOY_GET_CLOUD_RUN_CLIENT_ERR | 1028 | The Cloud Run Client could not be created | 1237 | DEPLOY_CLOUD_RUN_GET_SERVICE_ERR | 1029 | The Cloud Run Client could not get details about the service. | 1238 | DEPLOY_CLOUD_RUN_UPDATE_SERVICE_ERR | 1030 | The Cloud Run Client was unable to update the service. | 1239 | DEPLOY_CLOUD_RUN_DELETE_SERVICE_ERR | 1031 | The Cloud Run Client was unable to delete the service. | 1240 | TEST_USER_CONFIG_ERR | 1101 | Error expanding paths | 1241 | TEST_CST_USER_ERR | 1102 | Error running container-structure-test | 1242 | TEST_IMG_PULL_ERR | 1103 | Unable to docker pull image | 1243 | TEST_CUSTOM_CMD_PARSE_ERR | 1104 | Unable to parse test command | 1244 | TEST_CUSTOM_CMD_RUN_NON_ZERO_EXIT_ERR | 1105 | Command returned non-zero exit code | 1245 | TEST_CUSTOM_CMD_RUN_TIMEDOUT_ERR | 1106 | command cancelled or timed out | 1246 | TEST_CUSTOM_CMD_RUN_CANCELLED_ERR | 1107 | command cancelled or timed out | 1247 | TEST_CUSTOM_CMD_RUN_EXECUTION_ERR | 1108 | command context error | 1248 | TEST_CUSTOM_CMD_RUN_EXITED_ERR | 1110 | command exited | 1249 | TEST_CUSTOM_CMD_RUN_ERR | 1111 | error running cmd | 1250 | TEST_CUSTOM_DEPENDENCIES_CMD_ERR | 1112 | Error getting dependencies from command | 1251 | TEST_CUSTOM_DEPENDENCIES_UNMARSHALL_ERR | 1113 | Unmarshalling dependency output error | 1252 | TEST_CUSTOM_CMD_RETRIEVE_ERR | 1114 | Error retrieving the command | 1253 | RENDER_KPTFILE_INIT_ERR | 1501 | Render errors The Kptfile cannot be created via `kpt pkg init`. | 1254 | RENDER_KPTFILE_INVALID_YAML_ERR | 1401 | The Kptfile is not a valid yaml file | 1255 | RENDER_KPTFILE_INVALID_SCHEMA_ERR | 1402 | The Kptfile is not a valid API schema | 1256 | RENDER_SET_NAMESPACE_ERR | 1403 | Error setting namespace. | 1257 | RENDER_NAMESPACE_ALREADY_SET_ERR | 1404 | Namespace is already set. | 1258 | RENDER_REPLACE_IMAGE_ERR | 1405 | Error replacing a built artifact in the manifests | 1259 | RENDER_TRANSFORM_MANIFEST_ERR | 1406 | Error transforming a manifest during skaffold debug | 1260 | RENDER_SET_LABEL_ERR | 1407 | Error setting user specified additional labels. | 1261 | RENDER_MANIFEST_WRITE_ERR | 1408 | Error writing hydrated kubernetes manifests. | 1262 | RENDER_PARSE_MANIFEST_IMAGES_ERR | 1409 | Error getting images from a kubernetes manifest. | 1263 | CONFIG_FILE_PARSING_ERR | 1201 | Catch-all configuration file parsing error | 1264 | CONFIG_FILE_NOT_FOUND_ERR | 1202 | Main configuration file not found | 1265 | CONFIG_DEPENDENCY_NOT_FOUND_ERR | 1203 | Dependency configuration file not found | 1266 | CONFIG_DUPLICATE_NAMES_SAME_FILE_ERR | 1204 | Duplicate config names in the same configuration file | 1267 | CONFIG_DUPLICATE_NAMES_ACROSS_FILES_ERR | 1205 | Duplicate config names in two configuration files | 1268 | CONFIG_BAD_FILTER_ERR | 1206 | No configs matching configs filter | 1269 | CONFIG_ZERO_FOUND_ERR | 1207 | No configs parsed from current file | 1270 | CONFIG_APPLY_PROFILES_ERR | 1208 | Failed to apply profiles to config | 1271 | CONFIG_DEFAULT_VALUES_ERR | 1209 | Failed to set default config values | 1272 | CONFIG_FILE_PATHS_SUBSTITUTION_ERR | 1210 | Failed to substitute absolute file paths in config | 1273 | CONFIG_MULTI_IMPORT_PROFILE_CONFLICT_ERR | 1211 | Same config imported at least twice with different set of profiles | 1274 | CONFIG_PROFILES_NOT_FOUND_ERR | 1212 | Profile selection did not match known profile names | 1275 | CONFIG_UNKNOWN_API_VERSION_ERR | 1213 | Config API version not found | 1276 | CONFIG_UNKNOWN_VALIDATOR | 1214 | The validator is not allowed in skaffold-managed mode. | 1277 | CONFIG_UNKNOWN_TRANSFORMER | 1215 | The transformer is not allowed in skaffold-managed mode. | 1278 | CONFIG_MISSING_MANIFEST_FILE_ERR | 1216 | Manifest file not found | 1279 | CONFIG_REMOTE_REPO_CACHE_NOT_FOUND_ERR | 1217 | Remote config repository cache not found and sync disabled | 1280 | CONFIG_UPGRADE_ERR | 1218 | Skaffold config version mismatch | 1281 | INSPECT_UNKNOWN_ERR | 1301 | Catch-all `skaffold inspect` command error | 1282 | INSPECT_BUILD_ENV_ALREADY_EXISTS_ERR | 1302 | Trying to add new build environment that already exists | 1283 | INSPECT_BUILD_ENV_INCORRECT_TYPE_ERR | 1303 | Trying to modify build environment that doesn't exist | 1284 | INSPECT_PROFILE_NOT_FOUND_ERR | 1304 | Trying to modify a profile that doesn't exist | 1285 | PORT_FORWARD_RUN_GCLOUD_NOT_FOUND | 1601 | | 1286 | PORT_FORWARD_RUN_PROXY_START_ERROR | 1602 | | 1287 | LOG_STREAM_RUN_GCLOUD_NOT_FOUND | 1603 | GCloud not found error | 1288 1289 1290 1291 <a name="proto.enums.SuggestionCode"></a> 1292 1293 ### SuggestionCode 1294 Enum for Suggestion codes 1295 1296 | Name | Number | Description | 1297 | ---- |:------:| ----------- | 1298 | NIL | 0 | default nil suggestion. This is usually set when no error happens. | 1299 | ADD_DEFAULT_REPO | 100 | Add Default Repo | 1300 | CHECK_DEFAULT_REPO | 101 | Verify Default Repo | 1301 | CHECK_DEFAULT_REPO_GLOBAL_CONFIG | 102 | Verify default repo in the global config | 1302 | GCLOUD_DOCKER_AUTH_CONFIGURE | 103 | run gcloud docker auth configure | 1303 | DOCKER_AUTH_CONFIGURE | 104 | Run docker auth configure | 1304 | CHECK_GCLOUD_PROJECT | 105 | Verify Gcloud Project | 1305 | CHECK_DOCKER_RUNNING | 106 | Check if docker is running | 1306 | FIX_USER_BUILD_ERR | 107 | Fix User Build Error | 1307 | DOCKER_BUILD_RETRY | 108 | Docker build internal error, try again | 1308 | FIX_CACHE_FROM_ARTIFACT_CONFIG | 109 | Fix `cacheFrom` config for given artifact and try again | 1309 | FIX_SKAFFOLD_CONFIG_DOCKERFILE | 110 | Fix `dockerfile` config for a given artifact and try again. | 1310 | FIX_JIB_PLUGIN_CONFIGURATION | 111 | Use a supported Jib plugin type | 1311 | FIX_DOCKER_NETWORK_CONTAINER_NAME | 112 | Docker build network invalid docker container name (or id). | 1312 | CHECK_DOCKER_NETWORK_CONTAINER_RUNNING | 113 | Docker build network container not existing in the current context. | 1313 | FIX_DOCKER_NETWORK_MODE_WHEN_EXTRACTING_CONTAINER_NAME | 114 | Executing extractContainerNameFromNetworkMode with a non valid mode (only container mode allowed) | 1314 | RUN_DOCKER_PRUNE | 115 | Prune Docker image | 1315 | SET_CLEANUP_FLAG | 116 | Set Cleanup flag for skaffold command. | 1316 | BUILD_FIX_UNKNOWN_PLATFORM_FLAG | 117 | Check value provided to the `--platform` flag | 1317 | BUILD_INSTALL_PLATFORM_EMULATORS | 118 | Check if QEMU platform emulators are installed | 1318 | SET_PUSH_AND_CONTAINER_REGISTRY | 119 | Set --push and container registry to run a multi-platform build | 1319 | CHECK_CLUSTER_CONNECTION | 201 | Check cluster connection | 1320 | CHECK_MINIKUBE_STATUS | 202 | Check minikube status | 1321 | INSTALL_HELM | 203 | Install helm tool | 1322 | UPGRADE_HELM | 204 | Upgrade helm tool | 1323 | FIX_SKAFFOLD_CONFIG_HELM_ARTIFACT_OVERRIDES | 205 | Fix helm `releases.artifactOverrides` config to match with `build.artifacts` (no longer used in Skaffold v2) | 1324 | UPGRADE_HELM32 | 206 | Upgrade helm version to v3.2.0 and higher. | 1325 | FIX_SKAFFOLD_CONFIG_HELM_CREATE_NAMESPACE | 207 | Set `releases.createNamespace` to false. | 1326 | INVALID_KPT_MANIFESTS | 208 | check the Kptfile validation. | 1327 | ALIGN_KPT_INVENTORY | 209 | align the inventory info in kpt live apply. | 1328 | INSTALL_KUBECTL | 220 | Install kubectl tool | 1329 | SPECIFY_CLOUD_RUN_LOCATION | 230 | Specify Cloud Run Location | 1330 | CHECK_CONTAINER_LOGS | 301 | Container run error | 1331 | CHECK_READINESS_PROBE | 302 | Pod Health check error | 1332 | CHECK_CONTAINER_IMAGE | 303 | Check Container image | 1333 | ADDRESS_NODE_MEMORY_PRESSURE | 400 | Node pressure error | 1334 | ADDRESS_NODE_DISK_PRESSURE | 401 | Node disk pressure error | 1335 | ADDRESS_NODE_NETWORK_UNAVAILABLE | 402 | Node network unavailable error | 1336 | ADDRESS_NODE_PID_PRESSURE | 403 | Node PID pressure error | 1337 | ADDRESS_NODE_UNSCHEDULABLE | 404 | Node unschedulable error | 1338 | ADDRESS_NODE_UNREACHABLE | 405 | Node unreachable error | 1339 | ADDRESS_NODE_NOT_READY | 406 | Node not ready error | 1340 | ADDRESS_FAILED_SCHEDULING | 407 | Scheduler failure error | 1341 | CHECK_HOST_CONNECTION | 408 | Cluster Connectivity error | 1342 | START_MINIKUBE | 501 | Minikube is stopped: use `minikube start` | 1343 | UNPAUSE_MINIKUBE | 502 | Minikube is paused: use `minikube unpause` | 1344 | RUN_DOCKER_PULL | 551 | Run Docker pull for the image with v1 manifest and try again. | 1345 | SET_RENDER_FLAG_OFFLINE_FALSE | 600 | Rerun with correct offline flag value. | 1346 | KPTFILE_MANUAL_INIT | 601 | Manually run `kpt pkg init` or `kpt live init` | 1347 | KPTFILE_CHECK_YAML | 602 | Check if the Kptfile is correct. | 1348 | REMOVE_NAMESPACE_FROM_MANIFESTS | 603 | Remove namespace from manifests | 1349 | CONFIG_CHECK_FILE_PATH | 700 | Check configuration file path | 1350 | CONFIG_CHECK_DEPENDENCY_DEFINITION | 701 | Check dependency config definition | 1351 | CONFIG_CHANGE_NAMES | 702 | Change config name to avoid duplicates | 1352 | CONFIG_CHECK_FILTER | 703 | Check config filter | 1353 | CONFIG_CHECK_PROFILE_DEFINITION | 704 | Check profile definition in current config | 1354 | CONFIG_CHECK_DEPENDENCY_PROFILES_SELECTION | 705 | Check active profile selection for dependency config | 1355 | CONFIG_CHECK_PROFILE_SELECTION | 706 | Check profile selection flag | 1356 | CONFIG_FIX_API_VERSION | 707 | Fix config API version or upgrade the skaffold binary | 1357 | CONFIG_ALLOWLIST_VALIDATORS | 708 | Only the allow listed validators are acceptable in skaffold-managed mode. | 1358 | CONFIG_ALLOWLIST_transformers | 709 | Only the allow listed transformers are acceptable in skaffold-managed mode. | 1359 | CONFIG_FIX_MISSING_MANIFEST_FILE | 710 | Check mising manifest file section of config and fix as needed. | 1360 | CONFIG_ENABLE_REMOTE_REPO_SYNC | 711 | Enable remote repo sync, or clone manually | 1361 | CONFIG_FIX_SKAFFOLD_CONFIG_VERSION | 712 | Upgrade skaffold config version to latest | 1362 | INSPECT_USE_MODIFY_OR_NEW_PROFILE | 800 | Create new build env in a profile instead, or use the 'modify' command | 1363 | INSPECT_USE_ADD_BUILD_ENV | 801 | Check profile selection, or use the 'add' command instead | 1364 | INSPECT_CHECK_INPUT_PROFILE | 802 | Check profile flag value | 1365 | OPEN_ISSUE | 900 | Open an issue so this situation can be diagnosed | 1366 | CHECK_CUSTOM_COMMAND | 1000 | Test error suggestion codes | 1367 | FIX_CUSTOM_COMMAND_TIMEOUT | 1001 | | 1368 | CHECK_CUSTOM_COMMAND_DEPENDENCIES_CMD | 1002 | | 1369 | CHECK_CUSTOM_COMMAND_DEPENDENCIES_PATHS | 1003 | | 1370 | CHECK_TEST_COMMAND_AND_IMAGE_NAME | 1004 | | 1371 1372 1373 1374 <a name="proto.enums.TesterType"></a> 1375 1376 ### TesterType 1377 Enum indicating test tools used 1378 1379 | Name | Number | Description | 1380 | ---- |:------:| ----------- | 1381 | UNKNOWN_TEST_TYPE | 0 | Could not determine Test Type | 1382 | UNIT | 1 | Unit tests | 1383 | CONTAINER_STRUCTURE_TEST | 2 | Container Structure tests | 1384 1385 1386 <!-- end enums -->