Documentation ¶
Index ¶
- func GetInstalledAgentID(agentTypeID string) (string, error)
- func IsRegistered() bool
- func RefreshRegistration(ctx context.Context) error
- func SaveInstalledAgents(a Agents) error
- func Start(ctx context.Context) error
- func UpdateVersion(ctx context.Context) error
- type AWSTags
- type Agent
- type Agents
- type Data
- type Registration
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstalledAgentID ¶ added in v0.2.10
func IsRegistered ¶ added in v0.2.9
func IsRegistered() bool
func RefreshRegistration ¶ added in v0.2.0
func SaveInstalledAgents ¶ added in v0.2.10
func UpdateVersion ¶ added in v0.2.16
Types ¶
type AWSTags ¶
type AWSTags struct { InstanceID string `json:"instance_id,omitempty"` AccountID string `json:"account_id,omitempty"` Architecture string `json:"architecture,omitempty"` AvailabilityZone string `json:"availability_zone,omitempty"` ImageID string `json:"image_id,omitempty"` InstanceType string `json:"instance_type,omitempty"` KernelID string `json:"kernel_id,omitempty"` PendingTime string `json:"pending_time,omitempty"` PrivateIP string `json:"private_ip,omitempty"` RamdiskID string `json:"ramdisk_id,omitempty"` Region string `json:"region,omitempty"` Version string `json:"version,omitempty"` }
type Registration ¶
type Registration struct { Version string `json:"version"` MachineID string `json:"machine_id"` Hostname string `json:"hostname"` OS string `json:"os"` Platform string `json:"platform"` PlatformVersion string `json:"platform_version"` PlatformFamily string `json:"platform_family"` KernelArch string `json:"kernel_arch"` KernelVersion string `json:"kernel_version"` VirtualizationSystem string `json:"virtualization_system"` VirtualizationRole string `json:"virtualization_role"` Data Data `json:"data,omitempty"` Tags []string `json:"tags,omitempty"` }
Click to show internal directories.
Click to hide internal directories.