resources

package
v1.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2017 License: Apache-2.0 Imports: 13 Imported by: 45

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPPoolToThirdParty

func IPPoolToThirdParty(kvp *model.KVPair) *thirdparty.IpPool

IPPoolToThirdParty takes a Calico IP Pool and returns the equivalent ThirdPartyResource representation.

func K8sErrorToCalico

func K8sErrorToCalico(ke error, id interface{}) error

K8sErrorToCalico returns the equivalent libcalico error for the given kubernetes error.

func NewIPPools

func NewIPPools(c *kubernetes.Clientset, r *rest.RESTClient) api.Client

func ThirdPartyToIPPool

func ThirdPartyToIPPool(t *thirdparty.IpPool) *model.KVPair

ThirdPartyToIPPool takes a Kubernetes ThirdPartyResource representation of a Calico IP Pool and returns the equivalent IPPool object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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