agents

package
v0.0.0-...-0fce7b6 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	ID               string
	Binary           string
	Host             string
	AdminStateUp     bool
	Configurations   interface{}
	Alive            bool
	AgentType        string
	AvailabilityZone string
	Topic            string
}

func List

func List(client *v2.NetworkClient) ([]Agent, error)

type ListAgentRequest

type ListAgentRequest struct {
}

type ListAgentResponse

type ListAgentResponse struct {
	Agents []struct {
		Binary             string      `json:"binary"`
		Description        interface{} `json:"description"`
		AvailabilityZone   interface{} `json:"availability_zone"`
		HeartbeatTimestamp string      `json:"heartbeat_timestamp"`
		AdminStateUp       bool        `json:"admin_state_up"`
		Alive              bool        `json:"alive"`
		ID                 string      `json:"id"`
		Topic              string      `json:"topic"`
		Host               string      `json:"host"`
		AgentType          string      `json:"agent_type"`
		StartedAt          string      `json:"started_at"`
		CreatedAt          string      `json:"created_at"`
		ResourcesSynced    bool        `json:"resources_synced"`
		Configurations     interface{}
	} `json:"agents"`
}

Jump to

Keyboard shortcuts

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