process

package
v2.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2019 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Template) GetCmd

func (m *Template) GetCmd() string

func (*Template) GetName

func (m *Template) GetName() string

func (*Template) GetPOptions

func (m *Template) GetPOptions() *TemplatePOptions

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) Reset

func (m *Template) Reset()

func (*Template) String

func (m *Template) String() string

func (*Template) XXX_DiscardUnknown

func (m *Template) XXX_DiscardUnknown()

func (*Template) XXX_Marshal

func (m *Template) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Template) XXX_Merge

func (m *Template) XXX_Merge(src proto.Message)

func (*Template) XXX_Size

func (m *Template) XXX_Size() int

func (*Template) XXX_Unmarshal

func (m *Template) XXX_Unmarshal(b []byte) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL