Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BGPStaticAnnounce ¶
type BGPStaticAnnounce struct { ID string `json:"id"` Name string `json:"name"` Description string `json:"description"` DCBGPID string `json:"dc_bgp_id"` Network string `json:"network"` Gateway string `json:"gateway"` Enabled bool `json:"enabled"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` }
type BGPStaticAnnounceCreate ¶
type BGPStaticAnnounceCreate struct {
BGPStaticAnnounce *CreateOpts `json:"dc_bgp_static_announce"`
}
func (*BGPStaticAnnounceCreate) Map ¶
func (opts *BGPStaticAnnounceCreate) Map() (map[string]interface{}, error)
type BGPStaticAnnounceResp ¶
type BGPStaticAnnounceResp struct {
BGPStaticAnnounce BGPStaticAnnounce `json:"dc_bgp_static_announce"`
}
type BGPStaticAnnounceUpdate ¶
type BGPStaticAnnounceUpdate struct {
BGPStaticAnnounce *UpdateOpts `json:"dc_bgp_static_announce"`
}
func (*BGPStaticAnnounceUpdate) Map ¶
func (opts *BGPStaticAnnounceUpdate) Map() (map[string]interface{}, error)
type CreateOpts ¶
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *gophercloud.ServiceClient, opts OptsBuilder) (r CreateResult)
func (CreateResult) Extract ¶
func (r CreateResult) Extract() (*BGPStaticAnnounce, error)
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)
func (GetResult) Extract ¶
func (r GetResult) Extract() (*BGPStaticAnnounce, error)
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)
func (UpdateResult) Extract ¶
func (r UpdateResult) Extract() (*BGPStaticAnnounce, error)
Click to show internal directories.
Click to hide internal directories.