recipe_engine

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exception

type Exception struct {
	// Traceback of an exception which occurred.
	Traceback            []string `protobuf:"bytes,1,rep,name=traceback,proto3" json:"traceback,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An unexpected exception occurred during execution. Caused by the builtin Exception class.

func (*Exception) Descriptor

func (*Exception) Descriptor() ([]byte, []int)

func (*Exception) GetTraceback

func (m *Exception) GetTraceback() []string

func (*Exception) ProtoMessage

func (*Exception) ProtoMessage()

func (*Exception) Reset

func (m *Exception) Reset()

func (*Exception) String

func (m *Exception) String() string

func (*Exception) XXX_DiscardUnknown

func (m *Exception) XXX_DiscardUnknown()

func (*Exception) XXX_Marshal

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

func (*Exception) XXX_Merge

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

func (*Exception) XXX_Size

func (m *Exception) XXX_Size() int

func (*Exception) XXX_Unmarshal

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

type Failure

type Failure struct {
	// A reason readable by humans. Printed to the UI, and will be seen by users.
	HumanReason string `protobuf:"bytes,1,opt,name=human_reason,json=humanReason,proto3" json:"human_reason,omitempty"`
	// The cause of this failure.
	//
	// Types that are valid to be assigned to FailureType:
	//	*Failure_Timeout
	//	*Failure_Exception
	//	*Failure_StepData
	//	*Failure_Failure
	FailureType          isFailure_FailureType `protobuf_oneof:"failure_type"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*Failure) Descriptor

func (*Failure) Descriptor() ([]byte, []int)

func (*Failure) GetException

func (m *Failure) GetException() *Exception

func (*Failure) GetFailure

func (m *Failure) GetFailure() *StepFailure

func (*Failure) GetFailureType

func (m *Failure) GetFailureType() isFailure_FailureType

func (*Failure) GetHumanReason

func (m *Failure) GetHumanReason() string

func (*Failure) GetStepData

func (m *Failure) GetStepData() *StepData

func (*Failure) GetTimeout

func (m *Failure) GetTimeout() *Timeout

func (*Failure) ProtoMessage

func (*Failure) ProtoMessage()

func (*Failure) Reset

func (m *Failure) Reset()

func (*Failure) String

func (m *Failure) String() string

func (*Failure) XXX_DiscardUnknown

func (m *Failure) XXX_DiscardUnknown()

func (*Failure) XXX_Marshal

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

func (*Failure) XXX_Merge

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

func (*Failure) XXX_OneofWrappers

func (*Failure) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Failure) XXX_Size

func (m *Failure) XXX_Size() int

func (*Failure) XXX_Unmarshal

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

type Failure_Exception

type Failure_Exception struct {
	Exception *Exception `protobuf:"bytes,3,opt,name=exception,proto3,oneof"`
}

type Failure_Failure

type Failure_Failure struct {
	Failure *StepFailure `protobuf:"bytes,5,opt,name=failure,proto3,oneof"`
}

type Failure_StepData

type Failure_StepData struct {
	StepData *StepData `protobuf:"bytes,4,opt,name=step_data,json=stepData,proto3,oneof"`
}

type Failure_Timeout

type Failure_Timeout struct {
	Timeout *Timeout `protobuf:"bytes,2,opt,name=timeout,proto3,oneof"`
}

type Result

type Result struct {
	// Types that are valid to be assigned to OneofResult:
	//	*Result_JsonResult
	//	*Result_Failure
	OneofResult          isResult_OneofResult `protobuf_oneof:"oneof_result"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

The result of a recipe execution.

func (*Result) Descriptor

func (*Result) Descriptor() ([]byte, []int)

func (*Result) GetFailure

func (m *Result) GetFailure() *Failure

func (*Result) GetJsonResult

func (m *Result) GetJsonResult() string

func (*Result) GetOneofResult

func (m *Result) GetOneofResult() isResult_OneofResult

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) Reset

func (m *Result) Reset()

func (*Result) String

func (m *Result) String() string

func (*Result) XXX_DiscardUnknown

func (m *Result) XXX_DiscardUnknown()

func (*Result) XXX_Marshal

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

func (*Result) XXX_Merge

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

func (*Result) XXX_OneofWrappers

func (*Result) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Result) XXX_Size

func (m *Result) XXX_Size() int

func (*Result) XXX_Unmarshal

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

type Result_Failure

type Result_Failure struct {
	Failure *Failure `protobuf:"bytes,2,opt,name=failure,proto3,oneof"`
}

type Result_JsonResult

type Result_JsonResult struct {
	JsonResult string `protobuf:"bytes,1,opt,name=json_result,json=jsonResult,proto3,oneof"`
}

type StepData

type StepData struct {
	// The step which attempted to access invalid data.
	Step                 string   `protobuf:"bytes,1,opt,name=step,proto3" json:"step,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A step attempted to access data which did not exist. Caused by StepDataAttributeError in types.py.

func (*StepData) Descriptor

func (*StepData) Descriptor() ([]byte, []int)

func (*StepData) GetStep

func (m *StepData) GetStep() string

func (*StepData) ProtoMessage

func (*StepData) ProtoMessage()

func (*StepData) Reset

func (m *StepData) Reset()

func (*StepData) String

func (m *StepData) String() string

func (*StepData) XXX_DiscardUnknown

func (m *StepData) XXX_DiscardUnknown()

func (*StepData) XXX_Marshal

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

func (*StepData) XXX_Merge

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

func (*StepData) XXX_Size

func (m *StepData) XXX_Size() int

func (*StepData) XXX_Unmarshal

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

type StepFailure

type StepFailure struct {
	// The step which failed.
	Step                 string   `protobuf:"bytes,1,opt,name=step,proto3" json:"step,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A step failed to execute "correctly". Correct generally is indicated by a return code of 0, but the step can allow for other return codes as well.

func (*StepFailure) Descriptor

func (*StepFailure) Descriptor() ([]byte, []int)

func (*StepFailure) GetStep

func (m *StepFailure) GetStep() string

func (*StepFailure) ProtoMessage

func (*StepFailure) ProtoMessage()

func (*StepFailure) Reset

func (m *StepFailure) Reset()

func (*StepFailure) String

func (m *StepFailure) String() string

func (*StepFailure) XXX_DiscardUnknown

func (m *StepFailure) XXX_DiscardUnknown()

func (*StepFailure) XXX_Marshal

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

func (*StepFailure) XXX_Merge

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

func (*StepFailure) XXX_Size

func (m *StepFailure) XXX_Size() int

func (*StepFailure) XXX_Unmarshal

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

type Timeout

type Timeout struct {
	// The timeout set for the step.
	TimeoutS             float32  `protobuf:"fixed32,1,opt,name=timeout_s,json=timeoutS,proto3" json:"timeout_s,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A step timed out during its execution. Caused by StepTimeout in recipe_api.py

func (*Timeout) Descriptor

func (*Timeout) Descriptor() ([]byte, []int)

func (*Timeout) GetTimeoutS

func (m *Timeout) GetTimeoutS() float32

func (*Timeout) ProtoMessage

func (*Timeout) ProtoMessage()

func (*Timeout) Reset

func (m *Timeout) Reset()

func (*Timeout) String

func (m *Timeout) String() string

func (*Timeout) XXX_DiscardUnknown

func (m *Timeout) XXX_DiscardUnknown()

func (*Timeout) XXX_Marshal

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

func (*Timeout) XXX_Merge

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

func (*Timeout) XXX_Size

func (m *Timeout) XXX_Size() int

func (*Timeout) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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