Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOpts ¶
type CreateOpts struct { // Tags is a set of tags. Tags []string `json:"tags" required:"true"` }
CreateOpts implements CreateOptsBuilder
func (CreateOpts) ToTagsCreateMap ¶
func (opts CreateOpts) ToTagsCreateMap() (map[string]interface{}, error)
ToImageCreateMap assembles a request body based on the contents of a CreateOpts.
type CreateOptsBuilder ¶
type CreateOptsBuilder interface { // Returns value that can be passed to json.Marshal ToTagsCreateMap() (map[string]interface{}, error) }
CreateOptsBuilder describes struct types that can be accepted by the Create call. The CreateOpts struct in this package does.
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
CreateResult represents the result of a Create operation
func Create ¶
func Create(client *golangsdk.ServiceClient, server_id string, opts CreateOptsBuilder) (r CreateResult)
Create implements create tags request
type DeleteResult ¶
DeleteResult model
func Delete ¶
func Delete(client *golangsdk.ServiceClient, server_id string) (r DeleteResult)
Delete implements image delete request
Click to show internal directories.
Click to hide internal directories.