adapter

package
v1.10.14 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendConfigCRUD

type BackendConfigCRUD struct {
	C *client.Clientset
}

BackendConfigCRUD wraps basic CRUD to allow use of v1beta and v1 APIs.

func (*BackendConfigCRUD) Create

func (crud *BackendConfigCRUD) Create(bc *v1.BackendConfig) (*v1.BackendConfig, error)

Create BackendConfig resource.

func (*BackendConfigCRUD) Delete

func (crud *BackendConfigCRUD) Delete(ns, name string) error

Delete BackendConfig resource.

func (*BackendConfigCRUD) Get

func (crud *BackendConfigCRUD) Get(ns, name string) (*v1.BackendConfig, error)

Get BackendConfig resource.

func (*BackendConfigCRUD) List

func (crud *BackendConfigCRUD) List(ns string) (*v1.BackendConfigList, error)

List BackendConfig resources in given namespace.

func (*BackendConfigCRUD) Update

func (crud *BackendConfigCRUD) Update(bc *v1.BackendConfig) (*v1.BackendConfig, error)

Update BackendConfig resource.

type IngressCRUD

type IngressCRUD struct {
	C *kubernetes.Clientset
}

IngressCRUD wraps basic CRUD to allow use of old and new APIs.

func (*IngressCRUD) Create

func (crud *IngressCRUD) Create(ing *v1beta1.Ingress) (*v1beta1.Ingress, error)

Create Ingress resource.

func (*IngressCRUD) Delete

func (crud *IngressCRUD) Delete(ns, name string) error

Delete Ingress resource.

func (*IngressCRUD) Get

func (crud *IngressCRUD) Get(ns, name string) (*v1beta1.Ingress, error)

Get Ingress resource.

func (*IngressCRUD) Update

func (crud *IngressCRUD) Update(ing *v1beta1.Ingress) (*v1beta1.Ingress, error)

Update Ingress resource.

Jump to

Keyboard shortcuts

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