Versions in this module Expand all Collapse all v0 v0.6.0 Feb 24, 2025 v0.5.3 Jan 24, 2025 v0.5.2 Jan 17, 2025 v0.5.1 Jan 8, 2025 v0.5.0 Dec 13, 2024 v0.5.0-rc.2 Oct 31, 2024 v0.5.0-rc.1 Oct 29, 2024 v0.4.1 Oct 25, 2024 v0.4.0 Oct 23, 2024 Changes in this version + const CRASHED + const NOSTATE + const PAUSED + const RFC3339MilliNoZ + const RUNNING + const SHUTDOWN + const SUSPENDED + func New(cluster models.Cluster, logger log.Logger) (resource.Fetcher, error) + type AttachedVolume struct + ID string + type Fault struct + Code int + Created time.Time + Details string + Message string + type Flavor struct + Description string + Disk int + Ephemeral int + ExtraSpecs map[string]string + ID string + IsPublic bool + Name string + RAM int + RxTxFactor float64 + Swap int + VCPUs int + func (r *Flavor) UnmarshalJSON(b []byte) error + type FlavorsResponse struct + Flavors []Flavor + type JSONRFC3339MilliNoZ time.Time + func (jt *JSONRFC3339MilliNoZ) UnmarshalJSON(data []byte) error + type PowerState int + func (r PowerState) String() string + type Project struct + Description string + DomainID string + Enabled bool + ID string + IsDomain bool + Name string + ParentID string + Tags []string + type ProjectsResponse struct + Projects []Project + type Server struct + AttachedVolumes []AttachedVolume + AvailabilityZone string + CreatedAt time.Time + Fault Fault + Flavor Flavor + Host string + HostID string + HypervisorHostname string + ID string + InstanceName string + LaunchIndex int + LaunchedAt time.Time + Metadata map[string]string + Name string + PowerState PowerState + ReservationID string + ServerGroups []string + Status string + Tags []string + TaskState string + TenantID string + TerminatedAt time.Time + UpdatedAt time.Time + UserID string + VMState string + func (r *Server) UnmarshalJSON(b []byte) error + type ServersResponse struct + Servers []Server + type Timespan time.Duration + func (t Timespan) Format(format string) string + type User struct + DefaultProjectID string + Description string + DomainID string + Enabled bool + ID string + Links map[string]any + Name string + type UsersResponse struct + Users []User