adapter

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 19 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) Ensure added in v1.15.0

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

Ensure creates or updates the backend config

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.Interface
}

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

func (*IngressCRUD) Create

func (crud *IngressCRUD) Create(ing *v1.Ingress) (*v1.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) (*v1.Ingress, error)

Get Ingress resource.

func (*IngressCRUD) Patch added in v1.11.0

func (crud *IngressCRUD) Patch(oldIng, newIng *v1.Ingress) (*v1.Ingress, error)

Patch Ingress resource.

func (*IngressCRUD) Update

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

Update Ingress resource.

type ServiceAttachmentCRUD added in v1.15.0

type ServiceAttachmentCRUD struct {
	C serviceattachmentclient.Interface
}

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

func (*ServiceAttachmentCRUD) Create added in v1.15.0

Create ServiceAttachment resource.

func (*ServiceAttachmentCRUD) Delete added in v1.15.0

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

Delete ServiceAttachment resource.

func (*ServiceAttachmentCRUD) Get added in v1.15.0

func (crud *ServiceAttachmentCRUD) Get(ns, name string) (*sav1.ServiceAttachment, error)

Get ServiceAttachment resource.

func (*ServiceAttachmentCRUD) Patch added in v1.15.0

func (crud *ServiceAttachmentCRUD) Patch(oldV1SA, newV1SA *sav1.ServiceAttachment) (*sav1.ServiceAttachment, error)

Patch ServiceAttachment resource.

func (*ServiceAttachmentCRUD) Update added in v1.15.0

Update ServiceAttachment resource.

Jump to

Keyboard shortcuts

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