status

package
v0.0.0-...-ceada53 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(c *client.Client, longPollDuration time.Duration, longPollRetries int) *Client

func (*Client) ActionStatusLongPoll

func (c *Client) ActionStatusLongPoll(ctx context.Context, id string) error

type Data

type Data struct {
	Activity        []string `json:"activity"`
	StatusID        string   `json:"statusId"`
	CurrentActivity string   `json:"currentActivity"`
	Status          string   `json:"status"`
}

type OperationInProgressError

type OperationInProgressError struct{}

func (*OperationInProgressError) Error

type Status

type Status struct {
	Validation Data    `json:"validation"`
	Data       []Data  `json:"data"`
	Summary    Summary `json:"summary"`
}

type Summary

type Summary struct {
	Action    string `json:"action"`
	Name      string `json:"name"`
	StartTime string `json:"startTime"`
	EndTime   string `json:"endTime"`
	Status    string `json:"status"`
}

Jump to

Keyboard shortcuts

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