Documentation ¶
Index ¶
- type Template
- func (*Template) Descriptor() ([]byte, []int)
- func (m *Template) GetCmd() string
- func (m *Template) GetName() string
- func (m *Template) GetPOptions() *TemplatePOptions
- func (*Template) ProtoMessage()
- func (m *Template) Reset()
- func (m *Template) String() string
- func (m *Template) XXX_DiscardUnknown()
- func (m *Template) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Template) XXX_Merge(src proto.Message)
- func (m *Template) XXX_Size() int
- func (m *Template) XXX_Unmarshal(b []byte) error
- type TemplatePOptions
- func (*TemplatePOptions) Descriptor() ([]byte, []int)
- func (m *TemplatePOptions) GetArgs() []string
- func (m *TemplatePOptions) GetAutoTerminate() bool
- func (m *TemplatePOptions) GetCpuAffinity() string
- func (m *TemplatePOptions) GetCpuAffinityDelay() string
- func (m *TemplatePOptions) GetDetach() bool
- func (m *TemplatePOptions) GetErrWriter() bool
- func (m *TemplatePOptions) GetNotify() bool
- func (m *TemplatePOptions) GetOutWriter() bool
- func (m *TemplatePOptions) GetRestart() int32
- func (m *TemplatePOptions) GetRunOnStartup() bool
- func (*TemplatePOptions) ProtoMessage()
- func (m *TemplatePOptions) Reset()
- func (m *TemplatePOptions) String() string
- func (m *TemplatePOptions) XXX_DiscardUnknown()
- func (m *TemplatePOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TemplatePOptions) XXX_Merge(src proto.Message)
- func (m *TemplatePOptions) XXX_Size() int
- func (m *TemplatePOptions) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Template ¶
type Template struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Cmd string `protobuf:"bytes,2,opt,name=cmd,proto3" json:"cmd,omitempty"` POptions *TemplatePOptions `protobuf:"bytes,3,opt,name=p_options,json=pOptions,proto3" json:"p_options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Template) Descriptor ¶
func (*Template) GetPOptions ¶
func (m *Template) GetPOptions() *TemplatePOptions
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) XXX_DiscardUnknown ¶
func (m *Template) XXX_DiscardUnknown()
func (*Template) XXX_Marshal ¶
func (*Template) XXX_Unmarshal ¶
type TemplatePOptions ¶
type TemplatePOptions struct { Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` OutWriter bool `protobuf:"varint,2,opt,name=out_writer,json=outWriter,proto3" json:"out_writer,omitempty"` ErrWriter bool `protobuf:"varint,3,opt,name=err_writer,json=errWriter,proto3" json:"err_writer,omitempty"` Restart int32 `protobuf:"varint,4,opt,name=restart,proto3" json:"restart,omitempty"` Detach bool `protobuf:"varint,5,opt,name=detach,proto3" json:"detach,omitempty"` RunOnStartup bool `protobuf:"varint,6,opt,name=run_on_startup,json=runOnStartup,proto3" json:"run_on_startup,omitempty"` Notify bool `protobuf:"varint,7,opt,name=notify,proto3" json:"notify,omitempty"` AutoTerminate bool `protobuf:"varint,8,opt,name=auto_terminate,json=autoTerminate,proto3" json:"auto_terminate,omitempty"` CpuAffinity string `protobuf:"bytes,9,opt,name=cpu_affinity,json=cpuAffinity,proto3" json:"cpu_affinity,omitempty"` CpuAffinityDelay string `protobuf:"bytes,10,opt,name=cpu_affinity_delay,json=cpuAffinityDelay,proto3" json:"cpu_affinity_delay,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TemplatePOptions) Descriptor ¶
func (*TemplatePOptions) Descriptor() ([]byte, []int)
func (*TemplatePOptions) GetArgs ¶
func (m *TemplatePOptions) GetArgs() []string
func (*TemplatePOptions) GetAutoTerminate ¶
func (m *TemplatePOptions) GetAutoTerminate() bool
func (*TemplatePOptions) GetCpuAffinity ¶
func (m *TemplatePOptions) GetCpuAffinity() string
func (*TemplatePOptions) GetCpuAffinityDelay ¶
func (m *TemplatePOptions) GetCpuAffinityDelay() string
func (*TemplatePOptions) GetDetach ¶
func (m *TemplatePOptions) GetDetach() bool
func (*TemplatePOptions) GetErrWriter ¶
func (m *TemplatePOptions) GetErrWriter() bool
func (*TemplatePOptions) GetNotify ¶
func (m *TemplatePOptions) GetNotify() bool
func (*TemplatePOptions) GetOutWriter ¶
func (m *TemplatePOptions) GetOutWriter() bool
func (*TemplatePOptions) GetRestart ¶
func (m *TemplatePOptions) GetRestart() int32
func (*TemplatePOptions) GetRunOnStartup ¶
func (m *TemplatePOptions) GetRunOnStartup() bool
func (*TemplatePOptions) ProtoMessage ¶
func (*TemplatePOptions) ProtoMessage()
func (*TemplatePOptions) Reset ¶
func (m *TemplatePOptions) Reset()
func (*TemplatePOptions) String ¶
func (m *TemplatePOptions) String() string
func (*TemplatePOptions) XXX_DiscardUnknown ¶
func (m *TemplatePOptions) XXX_DiscardUnknown()
func (*TemplatePOptions) XXX_Marshal ¶
func (m *TemplatePOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TemplatePOptions) XXX_Merge ¶
func (m *TemplatePOptions) XXX_Merge(src proto.Message)
func (*TemplatePOptions) XXX_Size ¶
func (m *TemplatePOptions) XXX_Size() int
func (*TemplatePOptions) XXX_Unmarshal ¶
func (m *TemplatePOptions) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.