hosts

package
v1.56.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	EntityId    string       `json:"entityId"`    // The entity ID of the host
	DisplayName string       `json:"displayName"` // The name of the host as displayed in the UI
	Tags        []tagapi.Tag `json:"tags"`        // The list of entity tags
	HostGroup   *HostGroup   `json:"hostGroup"`
}

Host is a short representation of a host

func (*Host) MarshalHCL

func (me *Host) MarshalHCL(properties hcl.Properties) error

func (*Host) Schema

func (me *Host) Schema() map[string]*schema.Schema

func (*Host) UnmarshalHCL

func (me *Host) UnmarshalHCL(decoder hcl.Decoder) error

type HostGroup

type HostGroup struct {
	ID   string `json:"meId"`
	Name string `json:"name"`
}

type Hosts

type Hosts []Host

Hosts is a list of short representations of host

func (*Hosts) ToStubs

func (me *Hosts) ToStubs() api.Stubs

Jump to

Keyboard shortcuts

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