Versions in this module Expand all Collapse all v3 v3.1.0 Jun 4, 2024 v3.0.0 May 25, 2022 Changes in this version + func List(client *eclcloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type AttachedPort struct + FixedIPs []FixedIP + NetworkID string + PortID string + type ChassisStatus struct + CPU bool + ChassisPower bool + Disk int + Etc bool + Fan bool + Memory bool + NIC bool + PowerSupply bool + SystemBoard bool + type CreateOpts struct + AdminPass string + AvailabilityZone string + Filesystems []CreateOptsFilesystem + FlavorRef string + ImageRef string + KeyName string + LVMVolumeGroups []CreateOptsLVMVolumeGroup + Metadata map[string]string + Name string + Networks []CreateOptsNetwork + Personality []CreateOptsPersonality + RaidArrays []CreateOptsRaidArray + UserData []byte + func (opts CreateOpts) ToServerCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToServerCreateMap func() (map[string]interface{}, error) + type CreateOptsFilesystem struct + FSType string + Label string + MountPoint string + type CreateOptsLVMVolumeGroup struct + LogicalVolumes []CreateOptsLogicalVolume + PhysicalVolumePartitionLabels []string + VGLabel string + type CreateOptsLogicalVolume struct + LVLabel string + Size string + type CreateOptsNetwork struct + FixedIP string + Plane string + Port string + UUID string + type CreateOptsPartition struct + LVM bool + PartitionLabel string + Size string + type CreateOptsPersonality struct + Contents string + Path string + type CreateOptsRaidArray struct + DiskHardwareIDs []string + Partitions []CreateOptsPartition + PrimaryStorage bool + RaidCardHardwareID string + RaidLevel int + type CreateResult struct + func Create(c *eclcloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Server, error) + type DeleteResult struct + func Delete(client *eclcloud.ServiceClient, id string) (r DeleteResult) + type Filesystem struct + FSType string + Label string + MountPoint string + type FixedIP struct + IPAddress string + SubnetID string + type GetResult struct + func Get(client *eclcloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Server, error) + type LVMVolumeGroup struct + LogicalVolumes []LogicalVolume + PhysicalVolumePartitionLabels []string + VGLabel string + type ListOpts struct + ChangesSince string + Flavor string + Image string + Limit int + Marker string + Name string + Status string + func (opts ListOpts) ToServerListQuery() (string, error) + type ListOptsBuilder interface + ToServerListQuery func() (string, error) + type LogicalVolume struct + LVLabel string + Size int + type NICPhysicalPort struct + AttachedPorts []AttachedPort + HardwareID string + ID string + MacAddr string + NetworkPhysicalPortID string + Plane string + type Partition struct + LVM bool + PartitionLabel string + Size int + type Personality struct + Contents string + Path string + type RaidArray struct + DiskHardwareIDs []string + Partitions []Partition + PrimaryStorage bool + RaidCardHardwareID string + RaidLevel int + type Server struct + AdminPass string + AvailabilityZone string + ChassisStatus ChassisStatus + Created time.Time + Filesystems []Filesystem + Flavor map[string]interface{} + ID string + Image map[string]interface{} + LVMVolumeGroups []LVMVolumeGroup + Links []eclcloud.Link + MediaAttachments []map[string]interface{} + Metadata map[string]string + NICPhysicalPorts []NICPhysicalPort + Name string + Personality []Personality + PowerState string + Progress int + RaidArrays []RaidArray + Status string + TaskState string + TenantID string + Updated time.Time + UserID string + VMState string + func ExtractServers(r pagination.Page) ([]Server, error) + func (r *Server) UnmarshalJSON(b []byte) error + type ServerPage struct + func (page ServerPage) IsEmpty() (bool, error) + func (page ServerPage) NextPageURL() (string, error) + type UpdateResult struct + func (r UpdateResult) Extract() (*Server, error) Other modules containing this package github.com/nttcom/eclcloud github.com/nttcom/eclcloud/v2 github.com/nttcom/eclcloud/v4