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) 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 *v1beta1.Ingress) (*v1beta1.Ingress, error)
- func (crud *IngressCRUD) Delete(ns, name string) error
- func (crud *IngressCRUD) Get(ns, name string) (*v1beta1.Ingress, error)
- func (crud *IngressCRUD) Patch(oldIng, newIng *v1beta1.Ingress) (*v1beta1.Ingress, error)
- func (crud *IngressCRUD) Update(ing *v1beta1.Ingress) (*v1beta1.Ingress, 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) 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) 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.
Click to show internal directories.
Click to hide internal directories.