github.com/koderover/helm@v2.17.0+incompatible/_proto/hapi/release/status.proto (about)

     1  // Copyright The Helm Authors.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  syntax = "proto3";
    16  
    17  package hapi.release;
    18  
    19  import "hapi/release/test_suite.proto";
    20  
    21  import "google/protobuf/any.proto";
    22  
    23  option go_package = "release";
    24  
    25  // Status defines the status of a release.
    26  message Status {
    27          enum Code {
    28                  // Status_UNKNOWN indicates that a release is in an uncertain state.
    29                  UNKNOWN = 0;
    30                  // Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
    31                  DEPLOYED = 1;
    32                  // Status_DELETED indicates that a release has been deleted from Kubernetes.
    33                  DELETED = 2;
    34                  // Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
    35                  SUPERSEDED = 3;
    36                  // Status_FAILED indicates that the release was not successfully deployed.
    37                  FAILED = 4;
    38                  // Status_DELETING indicates that a delete operation is underway.
    39                  DELETING = 5;
    40                  // Status_PENDING_INSTALL indicates that an install operation is underway.
    41                  PENDING_INSTALL = 6;
    42                  // Status_PENDING_UPGRADE indicates that an upgrade operation is underway.
    43                  PENDING_UPGRADE = 7;
    44                  // Status_PENDING_ROLLBACK indicates that a rollback operation is underway.
    45                  PENDING_ROLLBACK = 8;
    46          }
    47  
    48          Code code = 1;
    49  
    50          // Deprecated
    51          // google.protobuf.Any details = 2;
    52  
    53          // Cluster resources as kubectl would print them.
    54          string resources = 3;
    55  
    56          // Contains the rendered templates/NOTES.txt if available
    57          string notes = 4;
    58  
    59          // LastTestSuiteRun provides results on the last test run on a release
    60          hapi.release.TestSuite last_test_suite_run = 5;
    61  }