workflowstepexecution

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetRequest

type GetRequest struct {
	model.WorkflowStepExecutionQueryInput `path:",inline"`
}

type GetResponse

type GetResponse = *model.WorkflowStepExecutionOutput

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func Handle

func Handle(mc model.ClientSet, kc *rest.Config, wc pkgworkflow.Client) Handler

func (Handler) Get

func (h Handler) Get(req GetRequest) (GetResponse, error)

func (Handler) Kind

func (Handler) Kind() string

func (Handler) RouteApprove

func (h Handler) RouteApprove(req RouteApproveRequest) error

func (Handler) RouteLog

func (h Handler) RouteLog(req RouteLogRequest) error

type RouteApproveRequest

type RouteApproveRequest struct {
	model.WorkflowStepExecutionQueryInput `path:",inline"`

	Approve bool `json:"approve"`
	// contains filtered or unexported fields
}

func (*RouteApproveRequest) Validate

func (r *RouteApproveRequest) Validate() error

type RouteLogRequest

type RouteLogRequest struct {
	model.WorkflowStepExecutionQueryInput `path:",inline"`

	Previous     bool   `query:"previous,omitempty"`
	SinceSeconds *int64 `query:"sinceSeconds,omitempty"`
	TailLines    *int64 `query:"tailLines,omitempty"`
	Timestamps   bool   `query:"timestamps,omitempty"`

	Stream *runtime.RequestUnidiStream
	// contains filtered or unexported fields
}

func (*RouteLogRequest) SetStream

func (r *RouteLogRequest) SetStream(stream runtime.RequestUnidiStream)

func (*RouteLogRequest) Validate

func (r *RouteLogRequest) Validate() error

type UpdateRequest

type UpdateRequest struct {
	model.WorkflowStepExecutionUpdateInput `path:",inline" json:",inline"`

	Status string `json:"status"`
}

func (*UpdateRequest) Validate

func (r *UpdateRequest) Validate() error

Jump to

Keyboard shortcuts

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