Versions in this module Expand all Collapse all v0 v0.0.1 Jan 19, 2019 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type ActionResult struct + func Check(client *gophercloud.ServiceClient, id string) (r ActionResult) + func Ops(client *gophercloud.ServiceClient, id string, opts OperationOptsBuilder) (r ActionResult) + func Recover(client *gophercloud.ServiceClient, id string, opts RecoverOpts) (r ActionResult) + func (r ActionResult) Extract() (string, error) + type CreateOpts struct + ClusterID string + Metadata map[string]interface{} + Name string + ProfileID string + Role 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) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Node, error) + type ListOpts struct + ClusterID string + GlobalProject *bool + Limit int + Marker string + Name string + Sort string + Status string + func (opts ListOpts) ToNodeListQuery() (string, error) + type ListOptsBuilder interface + ToNodeListQuery func() (string, error) + type Node struct + ClusterID string + CreatedAt time.Time + Data map[string]interface{} + Dependents map[string]interface{} + Domain string + ID string + Index int + InitAt time.Time + Metadata map[string]interface{} + Name string + PhysicalID string + ProfileID string + ProfileName string + Project string + Role string + Status string + StatusReason string + UpdatedAt time.Time + User string + func ExtractNodes(r pagination.Page) ([]Node, error) + func (r *Node) UnmarshalJSON(b []byte) error + type NodePage struct + func (page NodePage) IsEmpty() (bool, error) + type OperationName string + const AbandonOperation + const ChangePasswordOperation + const EvacuateOperation + const LockOperation + const PauseOperation + const RebootOperation + const RebuildOperation + const RescueOperation + const ResumeOperation + const StartOperation + const StopOperation + const SuspendOperation + const UnlockOperation + const UnpauseOperation + const UnrescueOperation + type OperationOpts struct + Operation OperationName + Params OperationParams + func (opts OperationOpts) ToNodeOperationMap() (map[string]interface{}, error) + type OperationOptsBuilder interface + ToNodeOperationMap func() (map[string]interface{}, error) + type OperationParams map[string]interface + type RecoverAction string + const RebootRecovery + const RebuildRecovery + const RecreateRecovery + type RecoverOpts struct + Check *bool + Operation RecoverAction + func (opts RecoverOpts) ToNodeRecoverMap() (map[string]interface{}, error) + type UpdateOpts struct + Metadata map[string]interface{} + Name string + ProfileID string + Role string + func (opts UpdateOpts) ToNodeUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToNodeUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Node, error)