client

package
v0.0.0-...-2f48117 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 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 AgentSecret

type AgentSecret struct {
	DockerConfigJson string `json:"docker_config_json"`
}

type AgentVersion

type AgentVersion struct {
	Version string `json:"version"`
}

type Client

type Client struct {
	*Options
}

func NewClient

func NewClient() *Client

func (*Client) DeliveryLogsUpdate

func (client *Client) DeliveryLogsUpdate(deliveryId string, logs string) error

func (*Client) DeliveryUpdate

func (client *Client) DeliveryUpdate(deliveryId string, status string) error

func (*Client) Get

func (client *Client) Get(url string, data interface{}) error

func (*Client) GetSecret

func (client *Client) GetSecret() (AgentSecret, error)

func (*Client) GetVersion

func (client *Client) GetVersion() (AgentVersion, error)

func (*Client) Put

func (client *Client) Put(url string, body interface{}) (*http.Response, error)

type Options

type Options = config.ClientOptions

Jump to

Keyboard shortcuts

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