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

     1  // Copyright 2016 The Kubernetes Authors All rights reserved.
     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 "google/protobuf/any.proto";
    20  
    21  option go_package = "release";
    22  
    23  // Status defines the status of a release.
    24  message Status {
    25          enum Code {
    26                  // Status_UNKNOWN indicates that a release is in an uncertain state.
    27                  UNKNOWN = 0;
    28                  // Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
    29                  DEPLOYED = 1;
    30                  // Status_DELETED indicates that a release has been deleted from Kubermetes.
    31                  DELETED = 2;
    32                  // Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
    33                  SUPERSEDED = 3;
    34                  // Status_FAILED indicates that the release was not successfully deployed.
    35                  FAILED = 4;
    36                  // Status_DELETING indicates that a delete operation is underway.
    37                  DELETING = 5;
    38          }
    39  
    40          Code code = 1;
    41  
    42          google.protobuf.Any details = 2;
    43  
    44          // Cluster resources as kubectl would print them.
    45          string resources = 3;
    46  
    47          // Contains the rendered templates/NOTES.txt if available
    48          string notes = 4;
    49  }