Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateOpts ¶
type CreateOpts struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` GroupID int `json:"group_id"` NetworkID string `json:"network_id"` SubnetID string `json:"subnet_id,omitempty"` AdvertInterval int `json:"advert_interval,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *gophercloud.ServiceClient, opts OptsBuilder) (r CreateResult)
type DeleteResult ¶
type DeleteResult struct {
gophercloud.ErrResult
}
func Delete ¶
func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult)
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func Get ¶
func Get(client *gophercloud.ServiceClient, id string) (r GetResult)
type OptsBuilder ¶
type UpdateOpts ¶
type UpdateResult ¶
type UpdateResult struct {
// contains filtered or unexported fields
}
func Update ¶
func Update(client *gophercloud.ServiceClient, id string, opts OptsBuilder) (r UpdateResult)
type VRRP ¶
type VRRP struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` GroupID int `json:"group_id"` NetworkID string `json:"network_id"` SubnetID string `json:"subnet_id"` AdvertInterval int `json:"advert_interval"` Enabled bool `json:"enabled"` SDN string `json:"sdn"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` }
type VRRPCreate ¶
type VRRPCreate struct {
VRRP *CreateOpts `json:"dc_vrrp"`
}
func (*VRRPCreate) Map ¶
func (opts *VRRPCreate) Map() (map[string]interface{}, error)
type VRRPUpdate ¶
type VRRPUpdate struct {
VRRP *UpdateOpts `json:"dc_vrrp"`
}
func (*VRRPUpdate) Map ¶
func (opts *VRRPUpdate) Map() (map[string]interface{}, error)
Click to show internal directories.
Click to hide internal directories.