status

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package status contains auto-generated files. DO NOT MODIFY

Package status contains auto-generated files. DO NOT MODIFY

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
}

Client for managing a specific build status resource

func New

func New(client *client.Client, properties ClientProperties) *Client

New creates a new instance of the status client

func (Client) Fetch

func (c Client) Fetch() (*FetchStatusResponse, error)

Fetch retrieves a build status resource Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information

func (Client) FetchWithContext

func (c Client) FetchWithContext(context context.Context) (*FetchStatusResponse, error)

FetchWithContext retrieves a build status resource

type ClientProperties

type ClientProperties struct {
	BuildSid   string
	ServiceSid string
}

ClientProperties are the properties required to manage the status resources

type FetchStatusResponse

type FetchStatusResponse struct {
	AccountSid string `json:"account_sid"`
	ServiceSid string `json:"service_sid"`
	Sid        string `json:"sid"`
	Status     string `json:"status"`
	URL        string `json:"url"`
}

FetchStatusResponse defines the response fields for the retrieved build status

Jump to

Keyboard shortcuts

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