internet_services

package
v4.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractInternetServicesInto

func ExtractInternetServicesInto(r pagination.Page, v interface{}) error

func List

func List(c *eclcloud.ServiceClient, opts ListOptsBuilder) pagination.Pager

Types

type GetResult

type GetResult struct {
	// contains filtered or unexported fields
}

func Get

func Get(c *eclcloud.ServiceClient, internetServiceID string) (r GetResult)

func (GetResult) Extract

func (r GetResult) Extract() (*InternetService, error)

func (GetResult) ExtractInto

func (r GetResult) ExtractInto(v interface{}) error

type InternetService

type InternetService struct {
	Description          string `json:"description"`
	ID                   string `json:"id"`
	MinimalSubmaskLength int    `json:"minimal_submask_length"`
	Name                 string `json:"name"`
	Zone                 string `json:"zone"`
}

func ExtractInternetServices

func ExtractInternetServices(r pagination.Page) ([]InternetService, error)

type InternetServicePage

type InternetServicePage struct {
	pagination.LinkedPageBase
}

func (InternetServicePage) IsEmpty

func (r InternetServicePage) IsEmpty() (bool, error)

func (InternetServicePage) NextPageURL

func (r InternetServicePage) NextPageURL() (string, error)

type ListOpts

type ListOpts struct {
	Description          string `q:"description"`
	ID                   string `q:"id"`
	MinimalSubmaskLength int    `q:"minimal_submask_length"`
	Name                 string `q:"name"`
	Zone                 string `q:"zone"`
}

func (ListOpts) ToInternetServiceListQuery

func (opts ListOpts) ToInternetServiceListQuery() (string, error)

type ListOptsBuilder

type ListOptsBuilder interface {
	ToInternetServiceListQuery() (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL