pkg

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package pkg contains all API functionality and helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	IPAM() ipam.API
	Test() test.API
	VLAN() vlan.API
	VSphere() vsphere.API
	CloudDNS() clouddns.API
	LBaaS() lbaas.API
}

API contains all API calls structured their location in the API.

func NewAPI

func NewAPI(c client.Client) API

NewAPI creates a new API instance with the given client.

Directories

Path Synopsis
api
Package api implements a generic API client for our engine, reducing the amount of duplicated code in this library.
Package api implements a generic API client for our engine, reducing the amount of duplicated code in this library.
types
Package types contains everything needed by APIs implementing the interfaces to be compatible with the generic API client.
Package types contains everything needed by APIs implementing the interfaces to be compatible with the generic API client.
apis
core/v1/helper
Package helper exists to break a circular-dependency between pkg/api and pkg/apis/core/v1, that was introduced when adding the AutoTag option to the generic client.
Package helper exists to break a circular-dependency between pkg/api and pkg/apis/core/v1, that was introduced when adding the AutoTag option to the generic client.
lbaas/v1/test
Package test includes testing utilities and is not intended for production code usage.
Package test includes testing utilities and is not intended for production code usage.
Package client provides a client for interacting with the anxcloud API.
Package client provides a client for interacting with the anxcloud API.
Package clouddns contains API functionality for clouddns.
Package clouddns contains API functionality for clouddns.
zone
Package zone implements API functions residing under /zone.
Package zone implements API functions residing under /zone.
Package core contains API functionality for /core.
Package core contains API functionality for /core.
location
Package location implements API functions residing under /core/location.json.
Package location implements API functions residing under /core/location.json.
resource
Package resource implements API functions residing under /core/resource.
Package resource implements API functions residing under /core/resource.
service
Package service implements API functions residing under /cofe/service.
Package service implements API functions residing under /cofe/service.
tags
Package tags implements API functions residing under /core/tags.
Package tags implements API functions residing under /core/tags.
Package ipam implements API functions residing under /ipam.
Package ipam implements API functions residing under /ipam.
address
Package address implements API functions residing under /ipam/address.
Package address implements API functions residing under /ipam/address.
prefix
Package prefix implements API functions residing under /ipam/prefix.
Package prefix implements API functions residing under /ipam/prefix.
acl
Package test contains API functionality for "testing" the API.
Package test contains API functionality for "testing" the API.
echo
Package echo contains API functionality for issuing echo requests to the API.
Package echo contains API functionality for issuing echo requests to the API.
utils
object/compare
Package compare gives some utilities to compare Objects with little code required and to reconcile a list of desired Objects with a list of existing ones to lists of Objects to create and destroy.
Package compare gives some utilities to compare Objects with little code required and to reconcile a list of desired Objects with a list of existing ones to lists of Objects to create and destroy.
object/filter
Package filter implements a helper for Objects supporting filtered List operations.
Package filter implements a helper for Objects supporting filtered List operations.
pointer
Package pointer provides helper functions for creating pointers of values and retrieving values of pointers
Package pointer provides helper functions for creating pointers of values and retrieving values of pointers
Package vlan implements API functions residing under /vlan.
Package vlan implements API functions residing under /vlan.
Package vsphere contains API functionality for vsphere.
Package vsphere contains API functionality for vsphere.
info
Package info implements API functions residing under /info.
Package info implements API functions residing under /info.
powercontrol
Package powercontrol implements API functions residing under /powercontrol.
Package powercontrol implements API functions residing under /powercontrol.
provisioning
Package provisioning contains APi funcationality for the provisioning of VMs.
Package provisioning contains APi funcationality for the provisioning of VMs.
provisioning/cpuperformancetypes
Package templates implements API functions residing under /provisioning/cpuperformancetype.
Package templates implements API functions residing under /provisioning/cpuperformancetype.
provisioning/disktype
Package disktype implements API functions residing under /provisioning/disk_type.
Package disktype implements API functions residing under /provisioning/disk_type.
provisioning/ips
Package ips implements API functions residing under /provisioning/ips.
Package ips implements API functions residing under /provisioning/ips.
provisioning/location
Package location implements API functions residing under /provisioning/location.
Package location implements API functions residing under /provisioning/location.
provisioning/nictype
Package nictype implements API functions residing under /provisioning/nictype.
Package nictype implements API functions residing under /provisioning/nictype.
provisioning/progress
Package progress implements API functions residing under /provisioning/progress.
Package progress implements API functions residing under /provisioning/progress.
provisioning/templates
Package templates implements API functions residing under /provisioning/templates.
Package templates implements API functions residing under /provisioning/templates.
provisioning/vm
Package vm implements API functions residing under /provisioning/vm.
Package vm implements API functions residing under /provisioning/vm.
search
Package search implements API functions residing under /search.
Package search implements API functions residing under /search.

Jump to

Keyboard shortcuts

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