Versions in this module Expand all Collapse all v2 v2.2.1 Sep 25, 2024 Changes in this version + func List(client *gophercloud.ServiceClient, clusterID string, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + DockerVolumeSize *int + FlavorID string + ImageID string + Labels map[string]string + MaxNodeCount *int + MergeLabels *bool + MinNodeCount int + Name string + NodeCount *int + Role string + func (opts CreateOpts) ToNodeGroupCreateMap() (map[string]any, error) + type CreateOptsBuilder interface + ToNodeGroupCreateMap func() (map[string]any, error) + type CreateResult struct + func Create(ctx context.Context, client *gophercloud.ServiceClient, clusterID string, ...) (r CreateResult) + func (r CreateResult) Extract() (*NodeGroup, error) + type DeleteResult struct + func Delete(ctx context.Context, client *gophercloud.ServiceClient, ...) (r DeleteResult) + type GetResult struct + func Get(ctx context.Context, client *gophercloud.ServiceClient, ...) (r GetResult) + func (r GetResult) Extract() (*NodeGroup, error) + type ListOpts struct + Limit int + Marker int + Role string + SortDir string + SortKey string + func (opts ListOpts) ToNodeGroupsListQuery() (string, error) + type ListOptsBuilder interface + ToNodeGroupsListQuery func() (string, error) + type NodeGroup struct + ClusterID string + CreatedAt time.Time + DockerVolumeSize *int + FlavorID string + ID int + ImageID string + IsDefault bool + Labels map[string]string + LabelsAdded map[string]string + LabelsOverridden map[string]string + LabelsSkipped map[string]string + Links []gophercloud.Link + MaxNodeCount *int + MinNodeCount int + Name string + NodeAddresses []string + NodeCount int + ProjectID string + Role string + StackID string + Status string + StatusReason string + UUID string + UpdatedAt time.Time + Version string + func ExtractNodeGroups(r pagination.Page) ([]NodeGroup, error) + type NodeGroupPage struct + func (r NodeGroupPage) IsEmpty() (bool, error) + func (r NodeGroupPage) NextPageURL() (string, error) + type UpdateOp string + const AddOp + const RemoveOp + const ReplaceOp + type UpdateOpts struct + Op UpdateOp + Path string + Value any + func (opts UpdateOpts) ToResourceUpdateMap() (map[string]any, error) + type UpdateOptsBuilder interface + ToResourceUpdateMap func() (map[string]any, error) + type UpdateResult struct + func Update[T UpdateOptsBuilder](ctx context.Context, client *gophercloud.ServiceClient, clusterID string, ...) (r UpdateResult) + func (r UpdateResult) Extract() (*NodeGroup, error)