Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2021 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListPolicies(client *gophercloud.ServiceClient, clusterID string, ...) pagination.Pager + type Action struct + Action string + type ActionResult struct + func AddNodes(client *gophercloud.ServiceClient, id string, opts AddNodesOpts) (r ActionResult) + func AttachPolicy(client *gophercloud.ServiceClient, id string, opts AttachPolicyOptsBuilder) (r ActionResult) + func Check(client *gophercloud.ServiceClient, id string) (r ActionResult) + func CompleteLifecycle(client *gophercloud.ServiceClient, id string, opts CompleteLifecycleOpts) (r ActionResult) + func DetachPolicy(client *gophercloud.ServiceClient, id string, opts DetachPolicyOptsBuilder) (r ActionResult) + func Ops(client *gophercloud.ServiceClient, id string, opts OperationOptsBuilder) (r ActionResult) + func Recover(client *gophercloud.ServiceClient, id string, opts RecoverOptsBuilder) (r ActionResult) + func RemoveNodes(client *gophercloud.ServiceClient, clusterID string, opts RemoveNodesOpts) (r ActionResult) + func ReplaceNodes(client *gophercloud.ServiceClient, id string, opts ReplaceNodesOpts) (r ActionResult) + func Resize(client *gophercloud.ServiceClient, id string, opts ResizeOptsBuilder) (r ActionResult) + func ScaleIn(client *gophercloud.ServiceClient, id string, opts ScaleInOptsBuilder) (r ActionResult) + func ScaleOut(client *gophercloud.ServiceClient, id string, opts ScaleOutOptsBuilder) (r ActionResult) + func UpdatePolicy(client *gophercloud.ServiceClient, id string, opts UpdatePolicyOptsBuilder) (r ActionResult) + func (r ActionResult) Extract() (string, error) + type AddNodesOpts struct + Nodes []string + func (opts AddNodesOpts) ToClusterAddNodeMap() (map[string]interface{}, error) + type AdjustmentType string + const ChangeInCapacityAdjustment + const ChangeInPercentageAdjustment + const ExactCapacityAdjustment + type AttachPolicyOpts struct + Enabled *bool + PolicyID string + func (opts AttachPolicyOpts) ToClusterAttachPolicyMap() (map[string]interface{}, error) + type AttachPolicyOptsBuilder interface + ToClusterAttachPolicyMap func() (map[string]interface{}, error) + type Cluster struct + Config map[string]interface{} + CreatedAt time.Time + Data map[string]interface{} + Dependents map[string]interface{} + DesiredCapacity int + Domain string + ID string + InitAt time.Time + MaxSize int + Metadata map[string]interface{} + MinSize int + Name string + Nodes []string + Policies []string + ProfileID string + ProfileName string + Project string + Status string + StatusReason string + Timeout int + UpdatedAt time.Time + User string + func ExtractClusters(r pagination.Page) ([]Cluster, error) + func (r *Cluster) UnmarshalJSON(b []byte) error + type ClusterAttributes struct + ID string + Value interface{} + type ClusterPage struct + func (page ClusterPage) IsEmpty() (bool, error) + type ClusterPolicy struct + ClusterID string + ClusterName string + Enabled bool + ID string + PolicyID string + PolicyName string + PolicyType string + func ExtractClusterPolicies(r pagination.Page) ([]ClusterPolicy, error) + type ClusterPolicyPage struct + func (page ClusterPolicyPage) IsEmpty() (bool, error) + type CollectOpts struct + Path string + func (opts CollectOpts) ToClusterCollectMap() (string, error) + type CollectOptsBuilder interface + ToClusterCollectMap func() (string, error) + type CollectResult struct + func Collect(client *gophercloud.ServiceClient, id string, opts CollectOptsBuilder) (r CollectResult) + func (r CollectResult) Extract() ([]ClusterAttributes, error) + type CompleteLifecycleOpts struct + LifecycleActionTokenID string + func (opts CompleteLifecycleOpts) ToClusterCompleteLifecycleMap() (map[string]interface{}, error) + type CreateOpts struct + Config map[string]interface{} + DesiredCapacity int + MaxSize int + Metadata map[string]interface{} + MinSize *int + Name string + ProfileID string + Timeout int + func (opts CreateOpts) ToClusterCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToClusterCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Cluster, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type DetachPolicyOpts struct + PolicyID string + func (opts DetachPolicyOpts) ToClusterDetachPolicyMap() (map[string]interface{}, error) + type DetachPolicyOptsBuilder interface + ToClusterDetachPolicyMap func() (map[string]interface{}, error) + type GetPolicyResult struct + func GetPolicy(client *gophercloud.ServiceClient, clusterID string, policyID string) (r GetPolicyResult) + func (r GetPolicyResult) Extract() (*ClusterPolicy, error) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Cluster, error) + type ListOpts struct + GlobalProject *bool + Limit int + Marker string + Name string + Sort string + Status string + func (opts ListOpts) ToClusterListQuery() (string, error) + type ListOptsBuilder interface + ToClusterListQuery func() (string, error) + type ListPoliciesOpts struct + Enabled *bool + Name string + Sort string + Type string + func (opts ListPoliciesOpts) ToClusterPoliciesListQuery() (string, error) + type ListPoliciesOptsBuilder interface + ToClusterPoliciesListQuery func() (string, error) + type OperationFilters map[string]interface + 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 + Filters OperationFilters + Operation OperationName + Params OperationParams + func (opts OperationOpts) ToClusterOperationMap() (map[string]interface{}, error) + type OperationOptsBuilder interface + ToClusterOperationMap func() (map[string]interface{}, error) + type OperationParams map[string]interface + type RecoverOpts struct + Check *bool + CheckCapacity *bool + Operation RecoveryAction + func (opts RecoverOpts) ToClusterRecoverMap() (map[string]interface{}, error) + type RecoverOptsBuilder interface + ToClusterRecoverMap func() (map[string]interface{}, error) + type RecoveryAction string + const RebootRecovery + const RebuildRecovery + const RecreateRecovery + type RemoveNodesOpts struct + Nodes []string + func (opts RemoveNodesOpts) ToClusterRemoveNodeMap() (map[string]interface{}, error) + type ReplaceNodesOpts struct + Nodes map[string]string + func (opts ReplaceNodesOpts) ToClusterReplaceNodeMap() (map[string]interface{}, error) + type ResizeOpts struct + AdjustmentType AdjustmentType + MaxSize *int + MinSize *int + MinStep *int + Number interface{} + Strict *bool + func (opts ResizeOpts) ToClusterResizeMap() (map[string]interface{}, error) + type ResizeOptsBuilder interface + ToClusterResizeMap func() (map[string]interface{}, error) + type ScaleInOpts struct + Count *int + func (opts ScaleInOpts) ToClusterScaleInMap() (map[string]interface{}, error) + type ScaleInOptsBuilder interface + ToClusterScaleInMap func() (map[string]interface{}, error) + type ScaleOutOpts struct + Count int + func (opts ScaleOutOpts) ToClusterScaleOutMap() (map[string]interface{}, error) + type ScaleOutOptsBuilder interface + ToClusterScaleOutMap func() (map[string]interface{}, error) + type UpdateOpts struct + Config string + Metadata map[string]interface{} + Name string + ProfileID string + ProfileOnly *bool + Timeout *int + func (opts UpdateOpts) ToClusterUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToClusterUpdateMap func() (map[string]interface{}, error) + type UpdatePolicyOpts struct + Enabled *bool + PolicyID string + func (opts UpdatePolicyOpts) ToClusterUpdatePolicyMap() (map[string]interface{}, error) + type UpdatePolicyOptsBuilder interface + ToClusterUpdatePolicyMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Cluster, error) Other modules containing this package github.com/pierreprinetti/gophercloud/v2 github.com/pierreprinetti/gophercloud/v3