client

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: UPL-1.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientContext added in v1.4.0

func GetClientContext(ingressClass *v1.IngressClass, saLister v12.ServiceAccountLister, provider *ClientProvider, namespace, name string) (context.Context, error)

Types

type ClientProvider

type ClientProvider struct {
	K8sClient           kubernetes.Interface
	DefaultConfigGetter auth.ConfigGetter
	Cache               cache.Store
}

func New added in v1.4.0

func New(k8sClient kubernetes.Interface, defaultConfigGetter auth.ConfigGetter) *ClientProvider

func (*ClientProvider) GetClient added in v1.4.0

func (client *ClientProvider) GetClient(getter auth.ConfigGetter) (*WrapperClient, error)

type WrapperClient added in v1.4.0

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

func NewWrapperClient

func NewWrapperClient(kubernetesClient kubernetes.Interface, wafClient *waf.Client, lbClient *loadbalancer.LoadBalancerClient, certificatesClient *certificate.CertificatesClient, containerEngineClient *containerengine.ContainerEngineClient) *WrapperClient

func (*WrapperClient) GetCertClient added in v1.4.0

func (c *WrapperClient) GetCertClient() *certificate.CertificatesClient

func (*WrapperClient) GetContainerEngineClient added in v1.4.0

func (c *WrapperClient) GetContainerEngineClient() *containerengine.ContainerEngineClient

func (*WrapperClient) GetK8Client added in v1.4.0

func (c *WrapperClient) GetK8Client() kubernetes.Interface

func (*WrapperClient) GetLbClient added in v1.4.0

func (c *WrapperClient) GetLbClient() *loadbalancer.LoadBalancerClient

func (*WrapperClient) GetWafClient added in v1.4.0

func (c *WrapperClient) GetWafClient() *waf.Client

Jump to

Keyboard shortcuts

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