base

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package base provides information and interaction with the base API resource in the OpenStack CDN service. This API resource allows for retrieving the Home Document and pinging the root URL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetResult

type GetResult struct {
	gophercloud.Result
}

GetResult represents the result of a Get operation.

func Get

Get retrieves the home document, allowing the user to discover the entire API.

func (GetResult) Extract

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

Extract is a function that accepts a result and extracts a home document resource.

type HomeDocument

type HomeDocument map[string]interface{}

HomeDocument is a resource that contains all the resources for the CDN API.

type PingResult

type PingResult struct {
	gophercloud.ErrResult
}

PingResult represents the result of a Ping operation.

func Ping

Ping retrieves a ping to the server.

Directories

Path Synopsis
cdn_base_v1
cdn_base_v1

Jump to

Keyboard shortcuts

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