ipammachinery

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// F5IPAM is a F5 Custom Resource Kind.
	F5ipam = "F5IPAM"

	CRDPlural   string = "f5ipams"
	CRDGroup    string = "fic.f5.com"
	CRDVersion  string = "v1"
	FullCRDName string = CRDPlural + "." + CRDGroup
)

Variables

This section is empty.

Functions

func NewRESTClient

func NewRESTClient(cfg *rest.Config) (rest.Interface, error)

func RegisterCRD

func RegisterCRD(clientset extClient.Interface) error

RegisterCRD creates schema of F5IPAM and registers it with Kubernetes/Openshift

Types

type IPAMClient

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

CRManager defines the structure of Custom Resource Manager

func NewIPAMClient

func NewIPAMClient(params Params) *IPAMClient

NewIPAM creates a new IPAMClient Instance.

func (*IPAMClient) Create

func (ipamCli *IPAMClient) Create(namespace string, obj *v1.F5IPAM) (*v1.F5IPAM, error)

func (*IPAMClient) Delete

func (ipamCli *IPAMClient) Delete(namespace, name string, options *meta_v1.DeleteOptions) error

func (*IPAMClient) Get

func (ipamCli *IPAMClient) Get(namespace, name string) (*v1.F5IPAM, error)

func (*IPAMClient) Start

func (ipamCli *IPAMClient) Start()

Start the Custom Resource Manager

func (*IPAMClient) Stop

func (ipamCli *IPAMClient) Stop()

func (*IPAMClient) Update

func (ipamCli *IPAMClient) Update(namespace string, obj *v1.F5IPAM) (*v1.F5IPAM, error)

type IPAMInformer

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

CRInformer defines the structure of Custom Resource Informer

type Params

type Params struct {
	Config        *rest.Config
	EventHandlers *cache.ResourceEventHandlerFuncs
	Namespaces    []string
}

Params defines parameters

Jump to

Keyboard shortcuts

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