github.com/grahambrereton-form3/tilt@v0.10.18/internal/synclet/proto/synclet.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: internal/synclet/synclet.proto
     3  
     4  package proto
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	math "math"
    10  
    11  	proto "github.com/golang/protobuf/proto"
    12  	grpc "google.golang.org/grpc"
    13  	codes "google.golang.org/grpc/codes"
    14  	status "google.golang.org/grpc/status"
    15  )
    16  
    17  // Reference imports to suppress errors if they are not otherwise used.
    18  var _ = proto.Marshal
    19  var _ = fmt.Errorf
    20  var _ = math.Inf
    21  
    22  // This is a compile-time assertion to ensure that this generated file
    23  // is compatible with the proto package it is being compiled against.
    24  // A compilation error at this line likely means your copy of the
    25  // proto package needs to be updated.
    26  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    27  
    28  type LogLevel int32
    29  
    30  const (
    31  	LogLevel_INFO    LogLevel = 0
    32  	LogLevel_VERBOSE LogLevel = 1
    33  	LogLevel_DEBUG   LogLevel = 2
    34  )
    35  
    36  var LogLevel_name = map[int32]string{
    37  	0: "INFO",
    38  	1: "VERBOSE",
    39  	2: "DEBUG",
    40  }
    41  
    42  var LogLevel_value = map[string]int32{
    43  	"INFO":    0,
    44  	"VERBOSE": 1,
    45  	"DEBUG":   2,
    46  }
    47  
    48  func (x LogLevel) String() string {
    49  	return proto.EnumName(LogLevel_name, int32(x))
    50  }
    51  
    52  func (LogLevel) EnumDescriptor() ([]byte, []int) {
    53  	return fileDescriptor_6f1080a1433c7af1, []int{0}
    54  }
    55  
    56  type Cmd struct {
    57  	Argv                 []string `protobuf:"bytes,1,rep,name=argv,proto3" json:"argv,omitempty"`
    58  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    59  	XXX_unrecognized     []byte   `json:"-"`
    60  	XXX_sizecache        int32    `json:"-"`
    61  }
    62  
    63  func (m *Cmd) Reset()         { *m = Cmd{} }
    64  func (m *Cmd) String() string { return proto.CompactTextString(m) }
    65  func (*Cmd) ProtoMessage()    {}
    66  func (*Cmd) Descriptor() ([]byte, []int) {
    67  	return fileDescriptor_6f1080a1433c7af1, []int{0}
    68  }
    69  
    70  func (m *Cmd) XXX_Unmarshal(b []byte) error {
    71  	return xxx_messageInfo_Cmd.Unmarshal(m, b)
    72  }
    73  func (m *Cmd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    74  	return xxx_messageInfo_Cmd.Marshal(b, m, deterministic)
    75  }
    76  func (m *Cmd) XXX_Merge(src proto.Message) {
    77  	xxx_messageInfo_Cmd.Merge(m, src)
    78  }
    79  func (m *Cmd) XXX_Size() int {
    80  	return xxx_messageInfo_Cmd.Size(m)
    81  }
    82  func (m *Cmd) XXX_DiscardUnknown() {
    83  	xxx_messageInfo_Cmd.DiscardUnknown(m)
    84  }
    85  
    86  var xxx_messageInfo_Cmd proto.InternalMessageInfo
    87  
    88  func (m *Cmd) GetArgv() []string {
    89  	if m != nil {
    90  		return m.Argv
    91  	}
    92  	return nil
    93  }
    94  
    95  type UpdateContainerRequest struct {
    96  	ContainerId          string    `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
    97  	TarArchive           []byte    `protobuf:"bytes,2,opt,name=tar_archive,json=tarArchive,proto3" json:"tar_archive,omitempty"`
    98  	FilesToDelete        []string  `protobuf:"bytes,3,rep,name=files_to_delete,json=filesToDelete,proto3" json:"files_to_delete,omitempty"`
    99  	Commands             []*Cmd    `protobuf:"bytes,4,rep,name=commands,proto3" json:"commands,omitempty"`
   100  	LogStyle             *LogStyle `protobuf:"bytes,5,opt,name=log_style,json=logStyle,proto3" json:"log_style,omitempty"`
   101  	HotReload            bool      `protobuf:"varint,6,opt,name=hot_reload,json=hotReload,proto3" json:"hot_reload,omitempty"`
   102  	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
   103  	XXX_unrecognized     []byte    `json:"-"`
   104  	XXX_sizecache        int32     `json:"-"`
   105  }
   106  
   107  func (m *UpdateContainerRequest) Reset()         { *m = UpdateContainerRequest{} }
   108  func (m *UpdateContainerRequest) String() string { return proto.CompactTextString(m) }
   109  func (*UpdateContainerRequest) ProtoMessage()    {}
   110  func (*UpdateContainerRequest) Descriptor() ([]byte, []int) {
   111  	return fileDescriptor_6f1080a1433c7af1, []int{1}
   112  }
   113  
   114  func (m *UpdateContainerRequest) XXX_Unmarshal(b []byte) error {
   115  	return xxx_messageInfo_UpdateContainerRequest.Unmarshal(m, b)
   116  }
   117  func (m *UpdateContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   118  	return xxx_messageInfo_UpdateContainerRequest.Marshal(b, m, deterministic)
   119  }
   120  func (m *UpdateContainerRequest) XXX_Merge(src proto.Message) {
   121  	xxx_messageInfo_UpdateContainerRequest.Merge(m, src)
   122  }
   123  func (m *UpdateContainerRequest) XXX_Size() int {
   124  	return xxx_messageInfo_UpdateContainerRequest.Size(m)
   125  }
   126  func (m *UpdateContainerRequest) XXX_DiscardUnknown() {
   127  	xxx_messageInfo_UpdateContainerRequest.DiscardUnknown(m)
   128  }
   129  
   130  var xxx_messageInfo_UpdateContainerRequest proto.InternalMessageInfo
   131  
   132  func (m *UpdateContainerRequest) GetContainerId() string {
   133  	if m != nil {
   134  		return m.ContainerId
   135  	}
   136  	return ""
   137  }
   138  
   139  func (m *UpdateContainerRequest) GetTarArchive() []byte {
   140  	if m != nil {
   141  		return m.TarArchive
   142  	}
   143  	return nil
   144  }
   145  
   146  func (m *UpdateContainerRequest) GetFilesToDelete() []string {
   147  	if m != nil {
   148  		return m.FilesToDelete
   149  	}
   150  	return nil
   151  }
   152  
   153  func (m *UpdateContainerRequest) GetCommands() []*Cmd {
   154  	if m != nil {
   155  		return m.Commands
   156  	}
   157  	return nil
   158  }
   159  
   160  func (m *UpdateContainerRequest) GetLogStyle() *LogStyle {
   161  	if m != nil {
   162  		return m.LogStyle
   163  	}
   164  	return nil
   165  }
   166  
   167  func (m *UpdateContainerRequest) GetHotReload() bool {
   168  	if m != nil {
   169  		return m.HotReload
   170  	}
   171  	return false
   172  }
   173  
   174  type LogMessage struct {
   175  	Level                LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=synclet.LogLevel" json:"level,omitempty"`
   176  	Message              []byte   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
   177  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   178  	XXX_unrecognized     []byte   `json:"-"`
   179  	XXX_sizecache        int32    `json:"-"`
   180  }
   181  
   182  func (m *LogMessage) Reset()         { *m = LogMessage{} }
   183  func (m *LogMessage) String() string { return proto.CompactTextString(m) }
   184  func (*LogMessage) ProtoMessage()    {}
   185  func (*LogMessage) Descriptor() ([]byte, []int) {
   186  	return fileDescriptor_6f1080a1433c7af1, []int{2}
   187  }
   188  
   189  func (m *LogMessage) XXX_Unmarshal(b []byte) error {
   190  	return xxx_messageInfo_LogMessage.Unmarshal(m, b)
   191  }
   192  func (m *LogMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   193  	return xxx_messageInfo_LogMessage.Marshal(b, m, deterministic)
   194  }
   195  func (m *LogMessage) XXX_Merge(src proto.Message) {
   196  	xxx_messageInfo_LogMessage.Merge(m, src)
   197  }
   198  func (m *LogMessage) XXX_Size() int {
   199  	return xxx_messageInfo_LogMessage.Size(m)
   200  }
   201  func (m *LogMessage) XXX_DiscardUnknown() {
   202  	xxx_messageInfo_LogMessage.DiscardUnknown(m)
   203  }
   204  
   205  var xxx_messageInfo_LogMessage proto.InternalMessageInfo
   206  
   207  func (m *LogMessage) GetLevel() LogLevel {
   208  	if m != nil {
   209  		return m.Level
   210  	}
   211  	return LogLevel_INFO
   212  }
   213  
   214  func (m *LogMessage) GetMessage() []byte {
   215  	if m != nil {
   216  		return m.Message
   217  	}
   218  	return nil
   219  }
   220  
   221  type FailedRunStep struct {
   222  	Cmd                  string   `protobuf:"bytes,1,opt,name=cmd,proto3" json:"cmd,omitempty"`
   223  	ExitCode             int32    `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
   224  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   225  	XXX_unrecognized     []byte   `json:"-"`
   226  	XXX_sizecache        int32    `json:"-"`
   227  }
   228  
   229  func (m *FailedRunStep) Reset()         { *m = FailedRunStep{} }
   230  func (m *FailedRunStep) String() string { return proto.CompactTextString(m) }
   231  func (*FailedRunStep) ProtoMessage()    {}
   232  func (*FailedRunStep) Descriptor() ([]byte, []int) {
   233  	return fileDescriptor_6f1080a1433c7af1, []int{3}
   234  }
   235  
   236  func (m *FailedRunStep) XXX_Unmarshal(b []byte) error {
   237  	return xxx_messageInfo_FailedRunStep.Unmarshal(m, b)
   238  }
   239  func (m *FailedRunStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   240  	return xxx_messageInfo_FailedRunStep.Marshal(b, m, deterministic)
   241  }
   242  func (m *FailedRunStep) XXX_Merge(src proto.Message) {
   243  	xxx_messageInfo_FailedRunStep.Merge(m, src)
   244  }
   245  func (m *FailedRunStep) XXX_Size() int {
   246  	return xxx_messageInfo_FailedRunStep.Size(m)
   247  }
   248  func (m *FailedRunStep) XXX_DiscardUnknown() {
   249  	xxx_messageInfo_FailedRunStep.DiscardUnknown(m)
   250  }
   251  
   252  var xxx_messageInfo_FailedRunStep proto.InternalMessageInfo
   253  
   254  func (m *FailedRunStep) GetCmd() string {
   255  	if m != nil {
   256  		return m.Cmd
   257  	}
   258  	return ""
   259  }
   260  
   261  func (m *FailedRunStep) GetExitCode() int32 {
   262  	if m != nil {
   263  		return m.ExitCode
   264  	}
   265  	return 0
   266  }
   267  
   268  type UpdateContainerReply struct {
   269  	LogMessage *LogMessage `protobuf:"bytes,1,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"`
   270  	// Contains info about run step failure (if any)
   271  	FailedRunStep        *FailedRunStep `protobuf:"bytes,2,opt,name=failed_run_step,json=failedRunStep,proto3" json:"failed_run_step,omitempty"`
   272  	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
   273  	XXX_unrecognized     []byte         `json:"-"`
   274  	XXX_sizecache        int32          `json:"-"`
   275  }
   276  
   277  func (m *UpdateContainerReply) Reset()         { *m = UpdateContainerReply{} }
   278  func (m *UpdateContainerReply) String() string { return proto.CompactTextString(m) }
   279  func (*UpdateContainerReply) ProtoMessage()    {}
   280  func (*UpdateContainerReply) Descriptor() ([]byte, []int) {
   281  	return fileDescriptor_6f1080a1433c7af1, []int{4}
   282  }
   283  
   284  func (m *UpdateContainerReply) XXX_Unmarshal(b []byte) error {
   285  	return xxx_messageInfo_UpdateContainerReply.Unmarshal(m, b)
   286  }
   287  func (m *UpdateContainerReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   288  	return xxx_messageInfo_UpdateContainerReply.Marshal(b, m, deterministic)
   289  }
   290  func (m *UpdateContainerReply) XXX_Merge(src proto.Message) {
   291  	xxx_messageInfo_UpdateContainerReply.Merge(m, src)
   292  }
   293  func (m *UpdateContainerReply) XXX_Size() int {
   294  	return xxx_messageInfo_UpdateContainerReply.Size(m)
   295  }
   296  func (m *UpdateContainerReply) XXX_DiscardUnknown() {
   297  	xxx_messageInfo_UpdateContainerReply.DiscardUnknown(m)
   298  }
   299  
   300  var xxx_messageInfo_UpdateContainerReply proto.InternalMessageInfo
   301  
   302  func (m *UpdateContainerReply) GetLogMessage() *LogMessage {
   303  	if m != nil {
   304  		return m.LogMessage
   305  	}
   306  	return nil
   307  }
   308  
   309  func (m *UpdateContainerReply) GetFailedRunStep() *FailedRunStep {
   310  	if m != nil {
   311  		return m.FailedRunStep
   312  	}
   313  	return nil
   314  }
   315  
   316  type LogStyle struct {
   317  	ColorsEnabled        bool     `protobuf:"varint,1,opt,name=colors_enabled,json=colorsEnabled,proto3" json:"colors_enabled,omitempty"`
   318  	Level                LogLevel `protobuf:"varint,2,opt,name=level,proto3,enum=synclet.LogLevel" json:"level,omitempty"`
   319  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   320  	XXX_unrecognized     []byte   `json:"-"`
   321  	XXX_sizecache        int32    `json:"-"`
   322  }
   323  
   324  func (m *LogStyle) Reset()         { *m = LogStyle{} }
   325  func (m *LogStyle) String() string { return proto.CompactTextString(m) }
   326  func (*LogStyle) ProtoMessage()    {}
   327  func (*LogStyle) Descriptor() ([]byte, []int) {
   328  	return fileDescriptor_6f1080a1433c7af1, []int{5}
   329  }
   330  
   331  func (m *LogStyle) XXX_Unmarshal(b []byte) error {
   332  	return xxx_messageInfo_LogStyle.Unmarshal(m, b)
   333  }
   334  func (m *LogStyle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   335  	return xxx_messageInfo_LogStyle.Marshal(b, m, deterministic)
   336  }
   337  func (m *LogStyle) XXX_Merge(src proto.Message) {
   338  	xxx_messageInfo_LogStyle.Merge(m, src)
   339  }
   340  func (m *LogStyle) XXX_Size() int {
   341  	return xxx_messageInfo_LogStyle.Size(m)
   342  }
   343  func (m *LogStyle) XXX_DiscardUnknown() {
   344  	xxx_messageInfo_LogStyle.DiscardUnknown(m)
   345  }
   346  
   347  var xxx_messageInfo_LogStyle proto.InternalMessageInfo
   348  
   349  func (m *LogStyle) GetColorsEnabled() bool {
   350  	if m != nil {
   351  		return m.ColorsEnabled
   352  	}
   353  	return false
   354  }
   355  
   356  func (m *LogStyle) GetLevel() LogLevel {
   357  	if m != nil {
   358  		return m.Level
   359  	}
   360  	return LogLevel_INFO
   361  }
   362  
   363  func init() {
   364  	proto.RegisterEnum("synclet.LogLevel", LogLevel_name, LogLevel_value)
   365  	proto.RegisterType((*Cmd)(nil), "synclet.Cmd")
   366  	proto.RegisterType((*UpdateContainerRequest)(nil), "synclet.UpdateContainerRequest")
   367  	proto.RegisterType((*LogMessage)(nil), "synclet.LogMessage")
   368  	proto.RegisterType((*FailedRunStep)(nil), "synclet.FailedRunStep")
   369  	proto.RegisterType((*UpdateContainerReply)(nil), "synclet.UpdateContainerReply")
   370  	proto.RegisterType((*LogStyle)(nil), "synclet.LogStyle")
   371  }
   372  
   373  func init() { proto.RegisterFile("internal/synclet/synclet.proto", fileDescriptor_6f1080a1433c7af1) }
   374  
   375  var fileDescriptor_6f1080a1433c7af1 = []byte{
   376  	// 536 bytes of a gzipped FileDescriptorProto
   377  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x93, 0xdf, 0x6f, 0xd3, 0x30,
   378  	0x10, 0xc7, 0x97, 0x75, 0x5d, 0x93, 0xcb, 0xba, 0x15, 0x83, 0xa6, 0x00, 0x1a, 0x0b, 0x91, 0x80,
   379  	0x08, 0xa1, 0x16, 0x15, 0x1e, 0x10, 0x48, 0x93, 0x58, 0xd7, 0xa1, 0x49, 0x85, 0x4a, 0x2e, 0xe5,
   380  	0x61, 0x2f, 0xc1, 0x8d, 0xaf, 0x69, 0x24, 0x27, 0x0e, 0x89, 0x5b, 0xe8, 0xff, 0xc0, 0xbf, 0x8c,
   381  	0x84, 0xea, 0x34, 0xdd, 0xc6, 0x80, 0x97, 0xfa, 0xee, 0x73, 0xbe, 0x1f, 0xdf, 0x6b, 0x0c, 0x8f,
   382  	0xe2, 0x54, 0x61, 0x9e, 0x32, 0xd1, 0x29, 0x96, 0x69, 0x28, 0x50, 0x55, 0x67, 0x3b, 0xcb, 0xa5,
   383  	0x92, 0xa4, 0xb1, 0x76, 0xbd, 0xfb, 0x50, 0xeb, 0x25, 0x9c, 0x10, 0xd8, 0x61, 0x79, 0xb4, 0x70,
   384  	0x0c, 0xb7, 0xe6, 0x5b, 0x54, 0xdb, 0xde, 0x2f, 0x03, 0x0e, 0xc7, 0x19, 0x67, 0x0a, 0x7b, 0x32,
   385  	0x55, 0x2c, 0x4e, 0x31, 0xa7, 0xf8, 0x6d, 0x8e, 0x85, 0x22, 0x8f, 0x61, 0x2f, 0xac, 0x58, 0x10,
   386  	0x73, 0xc7, 0x70, 0x0d, 0xdf, 0xa2, 0xf6, 0x86, 0x5d, 0x70, 0x72, 0x0c, 0xb6, 0x62, 0x79, 0xc0,
   387  	0xf2, 0x70, 0x16, 0x2f, 0xd0, 0xd9, 0x76, 0x0d, 0x7f, 0x8f, 0x82, 0x62, 0xf9, 0xfb, 0x92, 0x90,
   388  	0xa7, 0x70, 0x30, 0x8d, 0x05, 0x16, 0x81, 0x92, 0x01, 0x47, 0x81, 0x0a, 0x9d, 0x9a, 0xee, 0xde,
   389  	0xd4, 0xf8, 0xb3, 0x3c, 0xd3, 0x90, 0xf8, 0x60, 0x86, 0x32, 0x49, 0x58, 0xca, 0x0b, 0x67, 0xc7,
   390  	0xad, 0xf9, 0x76, 0x77, 0xaf, 0x5d, 0x89, 0xe9, 0x25, 0x9c, 0x6e, 0xa2, 0xa4, 0x0d, 0x96, 0x90,
   391  	0x51, 0x50, 0xa8, 0xa5, 0x40, 0xa7, 0xee, 0x1a, 0xbe, 0xdd, 0xbd, 0xb3, 0xb9, 0x3a, 0x90, 0xd1,
   392  	0x68, 0x15, 0xa0, 0xa6, 0x58, 0x5b, 0xe4, 0x08, 0x60, 0x26, 0x55, 0x90, 0xa3, 0x90, 0x8c, 0x3b,
   393  	0xbb, 0xae, 0xe1, 0x9b, 0xd4, 0x9a, 0x49, 0x45, 0x35, 0xf0, 0x86, 0x00, 0x03, 0x19, 0x7d, 0xc4,
   394  	0xa2, 0x60, 0x11, 0x92, 0x67, 0x50, 0x17, 0xb8, 0x40, 0xa1, 0xb5, 0xee, 0xdf, 0x2c, 0x3c, 0x58,
   395  	0x05, 0x68, 0x19, 0x27, 0x0e, 0x34, 0x92, 0x32, 0x67, 0x2d, 0xba, 0x72, 0xbd, 0x13, 0x68, 0x9e,
   396  	0xb3, 0x58, 0x20, 0xa7, 0xf3, 0x74, 0xa4, 0x30, 0x23, 0x2d, 0xa8, 0x85, 0x49, 0xb5, 0xbd, 0x95,
   397  	0x49, 0x1e, 0x82, 0x85, 0x3f, 0x62, 0x15, 0x84, 0x92, 0x97, 0xe9, 0x75, 0x6a, 0xae, 0x40, 0x4f,
   398  	0x72, 0xf4, 0x7e, 0x1a, 0x70, 0xef, 0xd6, 0x1f, 0x92, 0x89, 0x25, 0x79, 0x0d, 0xf6, 0x4a, 0x78,
   399  	0xd5, 0xd6, 0xd0, 0xd2, 0xef, 0x5e, 0x9f, 0x70, 0xad, 0x82, 0x82, 0xb8, 0x52, 0x74, 0x02, 0x07,
   400  	0x53, 0x3d, 0x4e, 0x90, 0xcf, 0xd3, 0xa0, 0x50, 0x98, 0xe9, 0x8e, 0x76, 0xf7, 0x70, 0x93, 0x79,
   401  	0x63, 0x5c, 0xda, 0x9c, 0x5e, 0x77, 0xbd, 0x4b, 0x30, 0xab, 0xa5, 0x92, 0x27, 0xb0, 0x1f, 0x4a,
   402  	0x21, 0xf3, 0x22, 0xc0, 0x94, 0x4d, 0x04, 0x96, 0xa2, 0x4c, 0xda, 0x2c, 0x69, 0xbf, 0x84, 0x57,
   403  	0x4b, 0xdc, 0xfe, 0xff, 0x12, 0x9f, 0xbf, 0xd0, 0xb5, 0x35, 0x22, 0x26, 0xec, 0x5c, 0x7c, 0x3a,
   404  	0x1f, 0xb6, 0xb6, 0x88, 0x0d, 0x8d, 0x2f, 0x7d, 0x7a, 0x3a, 0x1c, 0xf5, 0x5b, 0x06, 0xb1, 0xa0,
   405  	0x7e, 0xd6, 0x3f, 0x1d, 0x7f, 0x68, 0x6d, 0x77, 0xbf, 0x42, 0x63, 0x54, 0x16, 0x22, 0x63, 0x38,
   406  	0xf8, 0x63, 0x45, 0xe4, 0x78, 0xd3, 0xe5, 0xef, 0x5f, 0xf3, 0x83, 0xa3, 0x7f, 0x5f, 0xc8, 0xc4,
   407  	0xd2, 0xdb, 0x7a, 0x69, 0x9c, 0xbe, 0xbd, 0x7c, 0x13, 0xc5, 0x6a, 0x36, 0x9f, 0xb4, 0x43, 0x99,
   408  	0x74, 0xbe, 0xc7, 0x29, 0x4f, 0x62, 0x21, 0x30, 0x8d, 0x3a, 0x2a, 0x16, 0xaa, 0x73, 0xeb, 0xb5,
   409  	0xe9, 0x57, 0xf6, 0x4e, 0xff, 0x4e, 0x76, 0xf5, 0xf1, 0xea, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff,
   410  	0x77, 0xf9, 0xa2, 0x42, 0x94, 0x03, 0x00, 0x00,
   411  }
   412  
   413  // Reference imports to suppress errors if they are not otherwise used.
   414  var _ context.Context
   415  var _ grpc.ClientConn
   416  
   417  // This is a compile-time assertion to ensure that this generated file
   418  // is compatible with the grpc package it is being compiled against.
   419  const _ = grpc.SupportPackageIsVersion4
   420  
   421  // SyncletClient is the client API for Synclet service.
   422  //
   423  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   424  type SyncletClient interface {
   425  	// updates the specified container and then restarts it
   426  	// (much functionality packed into one rpc to minimize latency)
   427  	UpdateContainer(ctx context.Context, in *UpdateContainerRequest, opts ...grpc.CallOption) (Synclet_UpdateContainerClient, error)
   428  }
   429  
   430  type syncletClient struct {
   431  	cc *grpc.ClientConn
   432  }
   433  
   434  func NewSyncletClient(cc *grpc.ClientConn) SyncletClient {
   435  	return &syncletClient{cc}
   436  }
   437  
   438  func (c *syncletClient) UpdateContainer(ctx context.Context, in *UpdateContainerRequest, opts ...grpc.CallOption) (Synclet_UpdateContainerClient, error) {
   439  	stream, err := c.cc.NewStream(ctx, &_Synclet_serviceDesc.Streams[0], "/synclet.Synclet/UpdateContainer", opts...)
   440  	if err != nil {
   441  		return nil, err
   442  	}
   443  	x := &syncletUpdateContainerClient{stream}
   444  	if err := x.ClientStream.SendMsg(in); err != nil {
   445  		return nil, err
   446  	}
   447  	if err := x.ClientStream.CloseSend(); err != nil {
   448  		return nil, err
   449  	}
   450  	return x, nil
   451  }
   452  
   453  type Synclet_UpdateContainerClient interface {
   454  	Recv() (*UpdateContainerReply, error)
   455  	grpc.ClientStream
   456  }
   457  
   458  type syncletUpdateContainerClient struct {
   459  	grpc.ClientStream
   460  }
   461  
   462  func (x *syncletUpdateContainerClient) Recv() (*UpdateContainerReply, error) {
   463  	m := new(UpdateContainerReply)
   464  	if err := x.ClientStream.RecvMsg(m); err != nil {
   465  		return nil, err
   466  	}
   467  	return m, nil
   468  }
   469  
   470  // SyncletServer is the server API for Synclet service.
   471  type SyncletServer interface {
   472  	// updates the specified container and then restarts it
   473  	// (much functionality packed into one rpc to minimize latency)
   474  	UpdateContainer(*UpdateContainerRequest, Synclet_UpdateContainerServer) error
   475  }
   476  
   477  // UnimplementedSyncletServer can be embedded to have forward compatible implementations.
   478  type UnimplementedSyncletServer struct {
   479  }
   480  
   481  func (*UnimplementedSyncletServer) UpdateContainer(req *UpdateContainerRequest, srv Synclet_UpdateContainerServer) error {
   482  	return status.Errorf(codes.Unimplemented, "method UpdateContainer not implemented")
   483  }
   484  
   485  func RegisterSyncletServer(s *grpc.Server, srv SyncletServer) {
   486  	s.RegisterService(&_Synclet_serviceDesc, srv)
   487  }
   488  
   489  func _Synclet_UpdateContainer_Handler(srv interface{}, stream grpc.ServerStream) error {
   490  	m := new(UpdateContainerRequest)
   491  	if err := stream.RecvMsg(m); err != nil {
   492  		return err
   493  	}
   494  	return srv.(SyncletServer).UpdateContainer(m, &syncletUpdateContainerServer{stream})
   495  }
   496  
   497  type Synclet_UpdateContainerServer interface {
   498  	Send(*UpdateContainerReply) error
   499  	grpc.ServerStream
   500  }
   501  
   502  type syncletUpdateContainerServer struct {
   503  	grpc.ServerStream
   504  }
   505  
   506  func (x *syncletUpdateContainerServer) Send(m *UpdateContainerReply) error {
   507  	return x.ServerStream.SendMsg(m)
   508  }
   509  
   510  var _Synclet_serviceDesc = grpc.ServiceDesc{
   511  	ServiceName: "synclet.Synclet",
   512  	HandlerType: (*SyncletServer)(nil),
   513  	Methods:     []grpc.MethodDesc{},
   514  	Streams: []grpc.StreamDesc{
   515  		{
   516  			StreamName:    "UpdateContainer",
   517  			Handler:       _Synclet_UpdateContainer_Handler,
   518  			ServerStreams: true,
   519  		},
   520  	},
   521  	Metadata: "internal/synclet/synclet.proto",
   522  }