Documentation ¶
Index ¶
- type BackendConfigCRUD
- func (crud *BackendConfigCRUD) Create(bc *v1.BackendConfig) (*v1.BackendConfig, error)
- func (crud *BackendConfigCRUD) Delete(ns, name string) error
- func (crud *BackendConfigCRUD) Ensure(bc *v1.BackendConfig) (*v1.BackendConfig, error)
- func (crud *BackendConfigCRUD) Get(ns, name string) (*v1.BackendConfig, error)
- func (crud *BackendConfigCRUD) List(ns string) (*v1.BackendConfigList, error)
- func (crud *BackendConfigCRUD) Update(bc *v1.BackendConfig) (*v1.BackendConfig, error)
- type IngressCRUD
- func (crud *IngressCRUD) Create(ing *v1.Ingress) (*v1.Ingress, error)
- func (crud *IngressCRUD) Delete(ns, name string) error
- func (crud *IngressCRUD) Get(ns, name string) (*v1.Ingress, error)
- func (crud *IngressCRUD) Patch(oldIng, newIng *v1.Ingress) (*v1.Ingress, error)
- func (crud *IngressCRUD) Update(ing *v1.Ingress) (*v1.Ingress, error)
- type ServiceAttachmentCRUD
- func (crud *ServiceAttachmentCRUD) Create(sa *sav1.ServiceAttachment) (*sav1.ServiceAttachment, error)
- func (crud *ServiceAttachmentCRUD) Delete(ns, name string) error
- func (crud *ServiceAttachmentCRUD) Get(ns, name string) (*sav1.ServiceAttachment, error)
- func (crud *ServiceAttachmentCRUD) Patch(oldV1SA, newV1SA *sav1.ServiceAttachment) (*sav1.ServiceAttachment, error)
- func (crud *ServiceAttachmentCRUD) Update(sa *sav1.ServiceAttachment) (*sav1.ServiceAttachment, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendConfigCRUD ¶
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) 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.
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
func (crud *ServiceAttachmentCRUD) Create(sa *sav1.ServiceAttachment) (*sav1.ServiceAttachment, error)
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
func (crud *ServiceAttachmentCRUD) Update(sa *sav1.ServiceAttachment) (*sav1.ServiceAttachment, error)
Update ServiceAttachment resource.