Versions in this module Expand all Collapse all v1 v1.5.0-1 Jun 24, 2023 v1.2.1 Mar 20, 2023 Changes in this version + func ExtractNodesInto(r pagination.Page, v interface{}) error + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListDetail(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ToCreateSubscriptionMap(method CallVendorPassthruOpts, opts CreateSubscriptionOpts) (string, map[string]interface{}, error) + func ToDeleteSubscriptionMap(method CallVendorPassthruOpts, opts DeleteSubscriptionOpts) (string, map[string]interface{}, error) + func ToGetAllSubscriptionMap(opts CallVendorPassthruOpts) (string, error) + func ToGetSubscriptionMap(method CallVendorPassthruOpts, opts GetSubscriptionOpts) (string, map[string]interface{}, error) + type BIOSSetting struct + AllowableValues []string + AttributeType string + LowerBound *int + MaxLength *int + MinLength *int + Name string + ReadOnly *bool + ResetRequired *bool + Unique *bool + UpperBound *int + Value string + type BootDeviceOpts struct + BootDevice string + Persistent bool + func (opts BootDeviceOpts) ToBootDeviceMap() (map[string]interface{}, error) + type BootDeviceOptsBuilder interface + ToBootDeviceMap func() (map[string]interface{}, error) + type BootDeviceResult struct + func GetBootDevice(client *gophercloud.ServiceClient, id string) (r BootDeviceResult) + func (r BootDeviceResult) Extract() (*BootDeviceOpts, error) + type CallVendorPassthruOpts struct + Method string + type ChangePowerStateResult struct + func ChangePowerState(client *gophercloud.ServiceClient, id string, opts PowerStateOptsBuilder) (r ChangePowerStateResult) + type ChangeStateResult struct + func ChangeProvisionState(client *gophercloud.ServiceClient, id string, opts ProvisionStateOptsBuilder) (r ChangeStateResult) + func SetRAIDConfig(client *gophercloud.ServiceClient, id string, ...) (r ChangeStateResult) + type CleanStep struct + Args map[string]interface{} + Interface StepInterface + Step string + type ConfigDrive struct + MetaData map[string]interface{} + NetworkData map[string]interface{} + UserData interface{} + type CreateOpts struct + AutomatedClean *bool + BIOSInterface string + BootInterface string + ConductorGroup string + ConsoleInterface string + DeployInterface string + Driver string + DriverInfo map[string]interface{} + Extra map[string]interface{} + InspectInterface string + ManagementInterface string + Name string + NetworkData map[string]interface{} + NetworkInterface string + Owner string + PowerInterface string + Properties map[string]interface{} + RAIDInterface string + RescueInterface string + ResourceClass string + StorageInterface string + UUID string + VendorInterface string + func (opts CreateOpts) ToNodeCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToNodeCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Node, error) + func (r CreateResult) ExtractInto(v interface{}) error + type CreateSubscriptionMethod struct + Async bool + Attach bool + Description string + HTTPMethods []string + RequireExclusiveLock bool + type CreateSubscriptionOpts struct + Context string + Destination string + EventTypes []string + HttpHeaders []map[string]string + Protocol string + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type DeleteSubscriptionMethod struct + Async bool + Attach bool + Description string + HTTPMethods []string + RequireExclusiveLock bool + type DeleteSubscriptionOpts struct + Id string + type DeleteSubscriptionVendorPassthruResult struct + func DeleteSubscription(client *gophercloud.ServiceClient, id string, method CallVendorPassthruOpts, ...) (r DeleteSubscriptionVendorPassthruResult) + type DeployStep struct + Args map[string]interface{} + Interface StepInterface + Priority int + Step string + type DiskType string + const HDD + const SSD + type DriverValidation struct + Reason string + Result bool + type GetAllSubscriptionsMethod struct + Async bool + Attach bool + Description string + HTTPMethods []string + RequireExclusiveLock bool + type GetAllSubscriptionsVendorPassthru struct + Context string + Description string + Etag string + Id string + Members []map[string]string + MembersCount int + Name string + Type string + type GetAllSubscriptionsVendorPassthruResult struct + func GetAllSubscriptions(client *gophercloud.ServiceClient, id string, method CallVendorPassthruOpts) (r GetAllSubscriptionsVendorPassthruResult) + func (r GetAllSubscriptionsVendorPassthruResult) Extract() (*GetAllSubscriptionsVendorPassthru, error) + type GetBIOSSettingResult struct + func GetBIOSSetting(client *gophercloud.ServiceClient, id string, setting string) (r GetBIOSSettingResult) + func (r GetBIOSSettingResult) Extract() (*BIOSSetting, error) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Node, error) + func (r GetResult) ExtractInto(v interface{}) error + type GetSubscriptionMethod struct + Async bool + Attach bool + Description string + HTTPMethods []string + RequireExclusiveLock bool + type GetSubscriptionOpts struct + Id string + type InjectNMIResult struct + func InjectNMI(client *gophercloud.ServiceClient, id string) (r InjectNMIResult) + type InterfaceType string + const SAS + const SATA + const SCSI + type ListBIOSSettingsOpts struct + Detail bool + Fields []string + func (opts ListBIOSSettingsOpts) ToListBIOSSettingsOptsQuery() (string, error) + type ListBIOSSettingsOptsBuilder interface + ToListBIOSSettingsOptsQuery func() (string, error) + type ListBIOSSettingsResult struct + func ListBIOSSettings(client *gophercloud.ServiceClient, id string, opts ListBIOSSettingsOptsBuilder) (r ListBIOSSettingsResult) + func (r ListBIOSSettingsResult) Extract() ([]BIOSSetting, error) + type ListOpts struct + Associated bool + ChassisUUID string + ConductorGroup string + Driver string + Fault string + Fields []string + InstanceUUID string + Limit int + Maintenance bool + Marker string + Owner string + ProvisionState ProvisionState + ResourceClass string + SortDir string + SortKey string + func (opts ListOpts) ToNodeListDetailQuery() (string, error) + func (opts ListOpts) ToNodeListQuery() (string, error) + type ListOptsBuilder interface + ToNodeListDetailQuery func() (string, error) + ToNodeListQuery func() (string, error) + type LogicalDisk struct + Controller string + DiskType DiskType + InterfaceType InterfaceType + IsRootVolume *bool + NumberOfPhysicalDisks int + PhysicalDisks []interface{} + RAIDLevel RAIDLevel + SharePhysicalDisks *bool + SizeGB *int + VolumeName string + type MaintenanceOpts struct + Reason string + func (opts MaintenanceOpts) ToMaintenanceMap() (map[string]interface{}, error) + type MaintenanceOptsBuilder interface + ToMaintenanceMap func() (map[string]interface{}, error) + type Node struct + AutomatedClean *bool + BIOSInterface string + BootInterface string + ChassisUUID string + CleanStep map[string]interface{} + ConductorGroup string + ConsoleEnabled bool + ConsoleInterface string + CreatedAt time.Time + DeployInterface string + DeployStep map[string]interface{} + Driver string + DriverInfo map[string]interface{} + DriverInternalInfo map[string]interface{} + Extra map[string]interface{} + Fault string + InspectInterface string + InspectionFinishedAt *time.Time + InspectionStartedAt *time.Time + InstanceInfo map[string]interface{} + InstanceUUID string + LastError string + Maintenance bool + MaintenanceReason string + ManagementInterface string + Name string + NetworkData map[string]interface{} + NetworkInterface string + Owner string + PowerInterface string + PowerState string + Properties map[string]interface{} + Protected bool + ProtectedReason string + ProvisionState string + ProvisionUpdatedAt time.Time + RAIDConfig map[string]interface{} + RAIDInterface string + RescueInterface string + Reservation string + ResourceClass string + StorageInterface string + TargetPowerState string + TargetProvisionState string + TargetRAIDConfig map[string]interface{} + Traits []string + UUID string + UpdatedAt time.Time + VendorInterface string + func ExtractNodes(r pagination.Page) ([]Node, error) + type NodePage struct + func (r NodePage) IsEmpty() (bool, error) + func (r NodePage) NextPageURL() (string, error) + type NodeValidation struct + BIOS DriverValidation + Boot DriverValidation + Console DriverValidation + Deploy DriverValidation + Inspect DriverValidation + Management DriverValidation + Network DriverValidation + Power DriverValidation + RAID DriverValidation + Rescue DriverValidation + Storage DriverValidation + type Patch interface + ToNodeUpdateMap func() (map[string]interface{}, error) + type PowerStateOpts struct + Target TargetPowerState + Timeout int + func (opts PowerStateOpts) ToPowerStateMap() (map[string]interface{}, error) + type PowerStateOptsBuilder interface + ToPowerStateMap func() (map[string]interface{}, error) + type ProvisionState string + const Active + const AdoptFail + const Adopting + const Available + const CleanFail + const CleanWait + const Cleaning + const Deleted + const Deleting + const DeployDone + const DeployFail + const DeployWait + const Deploying + const Enroll + const Error + const InspectFail + const InspectWait + const Inspecting + const Manageable + const Rebuild + const Rescue + const RescueFail + const RescueWait + const Rescuing + const UnrescueFail + const Unrescuing + const Verifying + type ProvisionStateOpts struct + CleanSteps []CleanStep + ConfigDrive interface{} + DeploySteps []DeployStep + RescuePassword string + Target TargetProvisionState + func (opts ProvisionStateOpts) ToProvisionStateMap() (map[string]interface{}, error) + type ProvisionStateOptsBuilder interface + ToProvisionStateMap func() (map[string]interface{}, error) + type RAIDConfigOpts struct + LogicalDisks []LogicalDisk + func (opts RAIDConfigOpts) ToRAIDConfigMap() (map[string]interface{}, error) + type RAIDConfigOptsBuilder interface + ToRAIDConfigMap func() (map[string]interface{}, error) + type RAIDLevel string + const JBOD + const RAID0 + const RAID1 + const RAID10 + const RAID2 + const RAID5 + const RAID50 + const RAID6 + const RAID60 + type SetBootDeviceResult struct + func SetBootDevice(client *gophercloud.ServiceClient, id string, bootDevice BootDeviceOptsBuilder) (r SetBootDeviceResult) + type SetMaintenanceResult struct + func SetMaintenance(client *gophercloud.ServiceClient, id string, opts MaintenanceOptsBuilder) (r SetMaintenanceResult) + func UnsetMaintenance(client *gophercloud.ServiceClient, id string) (r SetMaintenanceResult) + type SingleBIOSSetting struct + Setting BIOSSetting + type StepInterface string + const InterfaceBIOS + const InterfaceDeploy + const InterfaceManagement + const InterfacePower + const InterfaceRAID + type SubscriptionVendorPassthru struct + Context string + Destination string + EventTypes []string + Id string + Protocol string + type SubscriptionVendorPassthruResult struct + func CreateSubscription(client *gophercloud.ServiceClient, id string, method CallVendorPassthruOpts, ...) (r SubscriptionVendorPassthruResult) + func GetSubscription(client *gophercloud.ServiceClient, id string, method CallVendorPassthruOpts, ...) (r SubscriptionVendorPassthruResult) + func (r SubscriptionVendorPassthruResult) Extract() (*SubscriptionVendorPassthru, error) + type SupportedBootDeviceResult struct + func GetSupportedBootDevices(client *gophercloud.ServiceClient, id string) (r SupportedBootDeviceResult) + func (r SupportedBootDeviceResult) Extract() ([]string, error) + type TargetPowerState string + const PowerOff + const PowerOn + const Rebooting + const SoftPowerOff + const SoftRebooting + type TargetProvisionState string + const TargetAbort + const TargetActive + const TargetAdopt + const TargetClean + const TargetDeleted + const TargetInspect + const TargetManage + const TargetProvide + const TargetRebuild + const TargetRescue + const TargetUnrescue + type UpdateOp string + const AddOp + const RemoveOp + const ReplaceOp + type UpdateOperation struct + Op UpdateOp + Path string + Value interface{} + func (opts UpdateOperation) ToNodeUpdateMap() (map[string]interface{}, error) + type UpdateOpts []Patch + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOpts) (r UpdateResult) + func (r UpdateResult) Extract() (*Node, error) + func (r UpdateResult) ExtractInto(v interface{}) error + type ValidateResult struct + func Validate(client *gophercloud.ServiceClient, id string) (r ValidateResult) + func (r ValidateResult) Extract() (*NodeValidation, error) + type VendorPassthruMethods struct + CreateSubscription CreateSubscriptionMethod + DeleteSubscription DeleteSubscriptionMethod + GetAllSubscriptions GetAllSubscriptionsMethod + GetSubscription GetSubscriptionMethod + type VendorPassthruMethodsResult struct + func GetVendorPassthruMethods(client *gophercloud.ServiceClient, id string) (r VendorPassthruMethodsResult) + func (r VendorPassthruMethodsResult) Extract() (*VendorPassthruMethods, error)