privateregistryclient

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivateOffchainWorkflowRequest

type ActivateOffchainWorkflowRequest struct {
	WorkflowID string `json:"workflowId"`
}

type ActivateOffchainWorkflowResponse

type ActivateOffchainWorkflowResponse struct {
	Workflow OffchainWorkflow `json:"workflow"`
}

type Client

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

func New

func New(gql *graphqlclient.Client, log *zerolog.Logger) *Client

func (*Client) ActivateWorkflowInRegistry

func (c *Client) ActivateWorkflowInRegistry(workflowID string) (OffchainWorkflow, error)

func (*Client) CreateServiceContextWithTimeout

func (c *Client) CreateServiceContextWithTimeout() (context.Context, context.CancelFunc)

func (*Client) DeleteWorkflowInRegistry

func (c *Client) DeleteWorkflowInRegistry(workflowID string) (string, error)

func (*Client) GetWorkflowByName

func (c *Client) GetWorkflowByName(workflowName string) (OffchainWorkflow, error)

func (*Client) PauseWorkflowInRegistry

func (c *Client) PauseWorkflowInRegistry(workflowID string) (OffchainWorkflow, error)

func (*Client) SetServiceTimeout

func (c *Client) SetServiceTimeout(timeout time.Duration)

func (*Client) UpsertWorkflowInRegistry

func (c *Client) UpsertWorkflowInRegistry(workflow OffchainWorkflowInput) (OffchainWorkflow, error)

type DeleteOffchainWorkflowRequest

type DeleteOffchainWorkflowRequest struct {
	WorkflowID string `json:"workflowId"`
}

type DeleteOffchainWorkflowResponse

type DeleteOffchainWorkflowResponse struct {
	WorkflowID string `json:"workflowId"`
}

type GetOffchainWorkflowByNameRequest

type GetOffchainWorkflowByNameRequest struct {
	WorkflowName string `json:"workflowName"`
}

type GetOffchainWorkflowByNameResponse

type GetOffchainWorkflowByNameResponse struct {
	Workflow OffchainWorkflow `json:"workflow"`
}

type OffchainWorkflow

type OffchainWorkflow struct {
	WorkflowID     string                 `json:"workflowId"`
	Owner          string                 `json:"owner"`
	CreatedAt      string                 `json:"createdAt"`
	Status         OffchainWorkflowStatus `json:"status"`
	WorkflowName   string                 `json:"workflowName"`
	BinaryURL      string                 `json:"binaryUrl"`
	ConfigURL      string                 `json:"configUrl"`
	Tag            string                 `json:"tag"`
	Attributes     string                 `json:"attributes"`
	DonFamily      string                 `json:"donFamily"`
	OrganizationID string                 `json:"organizationId"`
}

type OffchainWorkflowInput

type OffchainWorkflowInput struct {
	WorkflowID   string                 `json:"workflowId"`
	Status       OffchainWorkflowStatus `json:"status"`
	WorkflowName string                 `json:"workflowName"`
	BinaryURL    string                 `json:"binaryUrl"`
	ConfigURL    *string                `json:"configUrl,omitempty"`
	Tag          *string                `json:"tag,omitempty"`
	Attributes   *string                `json:"attributes,omitempty"`
	DonFamily    string                 `json:"donFamily"`
}

type OffchainWorkflowStatus

type OffchainWorkflowStatus string
const (
	WorkflowStatusUnspecified OffchainWorkflowStatus = "WORKFLOW_STATUS_UNSPECIFIED"
	WorkflowStatusActive      OffchainWorkflowStatus = "WORKFLOW_STATUS_ACTIVE"
	WorkflowStatusPaused      OffchainWorkflowStatus = "WORKFLOW_STATUS_PAUSED"
)

type PauseOffchainWorkflowRequest

type PauseOffchainWorkflowRequest struct {
	WorkflowID string `json:"workflowId"`
}

type PauseOffchainWorkflowResponse

type PauseOffchainWorkflowResponse struct {
	Workflow OffchainWorkflow `json:"workflow"`
}

type UpsertOffchainWorkflowRequest

type UpsertOffchainWorkflowRequest struct {
	Workflow OffchainWorkflowInput `json:"workflow"`
}

type UpsertOffchainWorkflowResponse

type UpsertOffchainWorkflowResponse struct {
	Workflow OffchainWorkflow `json:"workflow"`
}

Jump to

Keyboard shortcuts

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