status.proto 1.34 KiB
// Copyright 2016 The Kubernetes Authors All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
package hapi.release;
import "google/protobuf/any.proto";
option go_package = "release";
// Status defines the status of a release.
message Status {
	enum Code {
		// Status_UNKNOWN indicates that a release is in an uncertain state.
		UNKNOWN = 0;
		// Status_DEPLOYED indicates that the release has been pushed to Kubernetes.
		DEPLOYED = 1;
		// Status_DELETED indicates that a release has been deleted from Kubermetes.
		DELETED = 2;
		// Status_SUPERSEDED indicates that this release object is outdated and a newer one exists.
		SUPERSEDED = 3;
		// Status_FAILED indicates that the release was not successfully deployed.
		FAILED = 4;
	Code code = 1;
	google.protobuf.Any details = 2;
        string cluster_status = 3;