Documentation ¶
Index ¶
- func GetClientContext(ingressClass *v1.IngressClass, saLister v12.ServiceAccountLister, ...) (context.Context, error)
- type ClientProvider
- type WrapperClient
- func (c *WrapperClient) GetCertClient() *certificate.CertificatesClient
- func (c *WrapperClient) GetContainerEngineClient() *containerengine.ContainerEngineClient
- func (c *WrapperClient) GetK8Client() kubernetes.Interface
- func (c *WrapperClient) GetLbClient() *loadbalancer.LoadBalancerClient
- func (c *WrapperClient) GetWafClient() *waf.Client
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
Click to show internal directories.
Click to hide internal directories.