Documentation ¶
Index ¶
- type AgentSecret
- type AgentVersion
- type Client
- func (client *Client) DeliveryLogsUpdate(deliveryId string, logs string) error
- func (client *Client) DeliveryUpdate(deliveryId string, status string) error
- func (client *Client) Get(url string, data interface{}) error
- func (client *Client) GetSecret() (AgentSecret, error)
- func (client *Client) GetVersion() (AgentVersion, error)
- func (client *Client) Put(url string, body interface{}) (*http.Response, error)
- type Options
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 (*Client) DeliveryLogsUpdate ¶
func (*Client) DeliveryUpdate ¶
func (*Client) GetSecret ¶
func (client *Client) GetSecret() (AgentSecret, error)
func (*Client) GetVersion ¶
func (client *Client) GetVersion() (AgentVersion, error)
type Options ¶
type Options = config.ClientOptions
Click to show internal directories.
Click to hide internal directories.