84 lines
2.8 KiB
Go
84 lines
2.8 KiB
Go
// Code generated by protoc-gen-gogo.
|
|
// source: github.com/docker/containerd/api/types/state/state.proto
|
|
// DO NOT EDIT!
|
|
|
|
/*
|
|
Package state is a generated protocol buffer package.
|
|
|
|
It is generated from these files:
|
|
github.com/docker/containerd/api/types/state/state.proto
|
|
|
|
It has these top-level messages:
|
|
*/
|
|
package state
|
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
// At the moment we have same State type for Container and Process
|
|
type State int32
|
|
|
|
const (
|
|
State_UNKNOWN State = 0
|
|
State_CREATED State = 1
|
|
State_RUNNING State = 2
|
|
State_STOPPED State = 3
|
|
State_PAUSED State = 4
|
|
)
|
|
|
|
var State_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "CREATED",
|
|
2: "RUNNING",
|
|
3: "STOPPED",
|
|
4: "PAUSED",
|
|
}
|
|
var State_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"CREATED": 1,
|
|
"RUNNING": 2,
|
|
"STOPPED": 3,
|
|
"PAUSED": 4,
|
|
}
|
|
|
|
func (x State) String() string {
|
|
return proto.EnumName(State_name, int32(x))
|
|
}
|
|
func (State) EnumDescriptor() ([]byte, []int) { return fileDescriptorState, []int{0} }
|
|
|
|
func init() {
|
|
proto.RegisterEnum("containerd.v1.types.State", State_name, State_value)
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("github.com/docker/containerd/api/types/state/state.proto", fileDescriptorState)
|
|
}
|
|
|
|
var fileDescriptorState = []byte{
|
|
// 184 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0xb2, 0x48, 0xcf, 0x2c, 0xc9,
|
|
0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xc9, 0x4f, 0xce, 0x4e, 0x2d, 0xd2, 0x4f, 0xce,
|
|
0xcf, 0x2b, 0x49, 0xcc, 0xcc, 0x4b, 0x2d, 0x4a, 0xd1, 0x4f, 0x2c, 0xc8, 0xd4, 0x2f, 0xa9, 0x2c,
|
|
0x48, 0x2d, 0xd6, 0x2f, 0x2e, 0x49, 0x2c, 0x49, 0x85, 0x90, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9,
|
|
0x42, 0xc2, 0x08, 0x75, 0x7a, 0x65, 0x86, 0x7a, 0x60, 0x65, 0x5a, 0xee, 0x5c, 0xac, 0xc1, 0x20,
|
|
0x35, 0x42, 0xdc, 0x5c, 0xec, 0xa1, 0x7e, 0xde, 0x7e, 0xfe, 0xe1, 0x7e, 0x02, 0x0c, 0x20, 0x8e,
|
|
0x73, 0x90, 0xab, 0x63, 0x88, 0xab, 0x8b, 0x00, 0x23, 0x88, 0x13, 0x14, 0xea, 0xe7, 0xe7, 0xe9,
|
|
0xe7, 0x2e, 0xc0, 0x04, 0xe2, 0x04, 0x87, 0xf8, 0x07, 0x04, 0xb8, 0xba, 0x08, 0x30, 0x0b, 0x71,
|
|
0x71, 0xb1, 0x05, 0x38, 0x86, 0x06, 0xbb, 0xba, 0x08, 0xb0, 0x38, 0x49, 0x9c, 0x78, 0x28, 0xc7,
|
|
0x70, 0xe3, 0xa1, 0x1c, 0x43, 0xc3, 0x23, 0x39, 0xc6, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92,
|
|
0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x31, 0x89, 0x0d, 0x6c, 0xbd, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff,
|
|
0xcd, 0xc9, 0x58, 0x29, 0xba, 0x00, 0x00, 0x00,
|
|
}
|