github.com/aclisp/heapster@v0.19.2-0.20160613100040-51756f899a96/Godeps/_workspace/src/k8s.io/kubernetes/pkg/watch/versioned/generated.proto (about)

     1  /*
     2  Copyright 2016 The Kubernetes Authors All rights reserved.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  
    18  // This file was autogenerated by go-to-protobuf. Do not edit it manually!
    19  
    20  syntax = 'proto2';
    21  
    22  package k8s.io.kubernetes.pkg.watch.versioned;
    23  
    24  import "k8s.io/kubernetes/pkg/runtime/generated.proto";
    25  import "k8s.io/kubernetes/pkg/util/intstr/generated.proto";
    26  
    27  // Package-wide variables from generator "generated".
    28  option go_package = "versioned";
    29  
    30  // Event represents a single event to a watched resource.
    31  // 
    32  // +protobuf=true
    33  message Event {
    34    optional string type = 1;
    35  
    36    // Object is:
    37    //  * If Type is Added or Modified: the new state of the object.
    38    //  * If Type is Deleted: the state of the object immediately before deletion.
    39    //  * If Type is Error: *api.Status is recommended; other types may make sense
    40    //    depending on context.
    41    optional k8s.io.kubernetes.pkg.runtime.RawExtension object = 2;
    42  }
    43