hello

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *raftApp

Types

type CancelJobResponse

type CancelJobResponse entity.DeploymentJob

type Client

type Client struct {
	*raft_runner.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context) *Client

func (*Client) GetGreeting

func (c *Client) GetGreeting(ctx context.Context, payload []byte, applied bool) (string, error)

type SubmitJobResponse

type SubmitJobResponse struct {
	SubmitJobStatus SubmitJobStatus      `json:"submit_job_status,omitempty"` // Ephemeral field, only populated after job reply
	Job             entity.DeploymentJob `json:"job"`
}

type SubmitJobStatus

type SubmitJobStatus string
const (
	SubmitJobStatusNeedRetry SubmitJobStatus = "NEED_RETRY"
	SubmitJobStatusSuccess   SubmitJobStatus = "SUCCESS"
)

Jump to

Keyboard shortcuts

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