Versions in this module Expand all Collapse all v1 v1.3.0 Feb 14, 2023 Changes in this version + func ExtractCapsules(r pagination.Page) (interface{}, error) + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type Address struct + Addr string + Port string + PreserveOnDelete bool + SubnetID string + Version float64 + type Capsule struct + Addresses map[string][]Address + CPU float64 + CapsuleVersion string + Containers []Container + ContainersUUIDs []string + CreatedAt time.Time + Host string + Links []interface{} + Memory string + MetaLabels map[string]string + MetaName string + ProjectID string + RestartPolicy string + Status string + StatusReason string + UUID string + UpdatedAt time.Time + UserID string + VolumesInfo map[string][]string + func ExtractCapsulesBase(r pagination.Page) ([]Capsule, error) + func (r *Capsule) UnmarshalJSON(b []byte) error + type CapsulePage struct + func (r CapsulePage) IsEmpty() (bool, error) + func (r CapsulePage) NextPageURL() (string, error) + type CapsuleV132 struct + Addresses map[string][]Address + CPU float64 + Containers []Container + CreatedAt time.Time + Host string + Links []interface{} + Memory string + MetaLabels map[string]string + MetaName string + ProjectID string + RestartPolicy map[string]string + Status string + StatusReason string + UUID string + UpdatedAt time.Time + UserID string + func ExtractCapsulesV132(r pagination.Page) ([]CapsuleV132, error) + func (r *CapsuleV132) UnmarshalJSON(b []byte) error + type Container struct + Addresses map[string][]Address + AutoHeal bool + AutoRemove bool + CPU float64 + Command []string + CreatedAt time.Time + Disk int + Environment map[string]string + Host string + HostName string + Image string + ImageDriver string + ImagePullPolicy string + Interactive bool + Labels map[string]string + Links []interface{} + Memory string + Name string + Ports []int + ProjectID string + RestartPolicy map[string]string + Runtime string + SecurityGroups []string + StartedAt time.Time + Status string + StatusDetail string + StatusReason string + TaskState string + UUID string + UpdatedAt time.Time + UserID string + WorkDir string + func (r *Container) UnmarshalJSON(b []byte) error + type CreateOpts struct + TemplateOpts *Template + func (opts CreateOpts) ToCapsuleCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToCapsuleCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (interface{}, error) + func (r CreateResult) ExtractBase() (*Capsule, error) + func (r CreateResult) ExtractV132() (*CapsuleV132, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type ErrInvalidDataFormat struct + func (e ErrInvalidDataFormat) Error() string + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (interface{}, error) + func (r GetResult) ExtractBase() (*Capsule, error) + func (r GetResult) ExtractV132() (*CapsuleV132, error) + type ListOpts struct + AllProjects bool + Limit int + Marker string + SortDir string + SortKey string + func (opts ListOpts) ToCapsuleListQuery() (string, error) + type ListOptsBuilder interface + ToCapsuleListQuery func() (string, error) + type Template struct + Bin []byte + Parsed map[string]interface{} + func (t *Template) Parse() error