Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *golangsdk.ServiceClient, provider string) pagination.Pager
Types ¶
type CreateOpts ¶
type CreateOpts struct {
MappingID string `json:"mapping_id"`
}
func (CreateOpts) ToProtocolCreateMap ¶
func (opts CreateOpts) ToProtocolCreateMap() (map[string]interface{}, error)
type CreateOptsBuilder ¶
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *golangsdk.ServiceClient, provider, protocol string, opts CreateOptsBuilder) (r CreateResult)
type DeleteResult ¶
type DeleteResult struct {
golangsdk.ErrResult
}
func Delete ¶
func Delete(client *golangsdk.ServiceClient, provider, protocol string) (r DeleteResult)
type Protocol ¶
type Protocol struct { ID string `json:"id"` MappingID string `json:"mapping_id"` Links map[string]string `json:"links"` }
func ExtractProtocols ¶
func ExtractProtocols(p pagination.Page) ([]Protocol, error)
type ProtocolPage ¶
type ProtocolPage struct {
pagination.LinkedPageBase
}
func (ProtocolPage) IsEmpty ¶
func (p ProtocolPage) IsEmpty() (bool, error)
type UpdateOpts ¶
type UpdateOpts struct {
MappingID string `json:"mapping_id"`
}
func (UpdateOpts) ToProtocolUpdateMap ¶
func (opts UpdateOpts) ToProtocolUpdateMap() (map[string]interface{}, error)
type UpdateOptsBuilder ¶
type UpdateResult ¶
type UpdateResult struct {
// contains filtered or unexported fields
}
func Update ¶
func Update(client *golangsdk.ServiceClient, provider, protocol string, opts UpdateOptsBuilder) (r UpdateResult)
Click to show internal directories.
Click to hide internal directories.