Documentation ¶
Index ¶
- func AddSslProfile(sslProfile qdr.SslProfile, namespace string, cli kubernetes.Interface) error
- func CheckBindingSecrets(services map[string]*service.ServiceBindings, namespace string, ...) error
- func ExistsSslProfile(secretName string, namespace string, cli kubernetes.Interface) (bool, error)
- func GetConnectedSites(edge bool, namespace string, clientset kubernetes.Interface, ...) (types.TransportConnectedSites, error)
- func GetConnections(namespace string, clientset kubernetes.Interface, config *restclient.Config) ([]qdr.Connection, error)
- func GetEdgeSitesForRouter(routerid string, namespace string, clientset kubernetes.Interface, ...) (int, error)
- func GetInterRouterOrEdgeConnection(host string, connections []qdr.Connection) *qdr.Connection
- func GetNodes(namespace string, clientset kubernetes.Interface, config *restclient.Config) ([]qdr.RouterNode, error)
- func RemoveSslProfile(secretName string, namespace string, cli kubernetes.Interface) error
- type TlsManager
- func (manager *TlsManager) AddSslProfile(sslProfile qdr.SslProfile) error
- func (manager *TlsManager) DeleteSecret(secretName string) error
- func (manager *TlsManager) DisableTlsSupport(tlsSupport TlsServiceSupport, serviceList []*types.ServiceInterface) error
- func (manager *TlsManager) EnableTlsSupport(support TlsServiceSupport) error
- func (manager *TlsManager) ExistsSslProfile(sslProfile string) (bool, error)
- func (manager *TlsManager) GetConfigMap() (*corev1.ConfigMap, error)
- func (manager *TlsManager) GetSecret(name string) (*corev1.Secret, error)
- func (manager *TlsManager) NewSecret(credential types.Credential, ownerReference *metav1.OwnerReference) (*corev1.Secret, error)
- func (manager *TlsManager) RemoveSslProfile(sslProfile string) error
- type TlsManagerInterface
- type TlsServiceSupport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSslProfile ¶
func AddSslProfile(sslProfile qdr.SslProfile, namespace string, cli kubernetes.Interface) error
func CheckBindingSecrets ¶
func CheckBindingSecrets(services map[string]*service.ServiceBindings, namespace string, cli kubernetes.Interface) error
func ExistsSslProfile ¶
func GetConnectedSites ¶
func GetConnectedSites(edge bool, namespace string, clientset kubernetes.Interface, config *restclient.Config) (types.TransportConnectedSites, error)
func GetConnections ¶
func GetConnections(namespace string, clientset kubernetes.Interface, config *restclient.Config) ([]qdr.Connection, error)
func GetEdgeSitesForRouter ¶
func GetEdgeSitesForRouter(routerid string, namespace string, clientset kubernetes.Interface, config *restclient.Config) (int, error)
func GetInterRouterOrEdgeConnection ¶
func GetInterRouterOrEdgeConnection(host string, connections []qdr.Connection) *qdr.Connection
func GetNodes ¶
func GetNodes(namespace string, clientset kubernetes.Interface, config *restclient.Config) ([]qdr.RouterNode, error)
func RemoveSslProfile ¶
func RemoveSslProfile(secretName string, namespace string, cli kubernetes.Interface) error
Types ¶
type TlsManager ¶
type TlsManager struct { KubeClient kubernetes.Interface Namespace string }
func (*TlsManager) AddSslProfile ¶
func (manager *TlsManager) AddSslProfile(sslProfile qdr.SslProfile) error
func (*TlsManager) DeleteSecret ¶
func (manager *TlsManager) DeleteSecret(secretName string) error
func (*TlsManager) DisableTlsSupport ¶
func (manager *TlsManager) DisableTlsSupport(tlsSupport TlsServiceSupport, serviceList []*types.ServiceInterface) error
func (*TlsManager) EnableTlsSupport ¶
func (manager *TlsManager) EnableTlsSupport(support TlsServiceSupport) error
func (*TlsManager) ExistsSslProfile ¶
func (manager *TlsManager) ExistsSslProfile(sslProfile string) (bool, error)
func (*TlsManager) GetConfigMap ¶
func (manager *TlsManager) GetConfigMap() (*corev1.ConfigMap, error)
func (*TlsManager) GetSecret ¶
func (manager *TlsManager) GetSecret(name string) (*corev1.Secret, error)
func (*TlsManager) NewSecret ¶
func (manager *TlsManager) NewSecret(credential types.Credential, ownerReference *metav1.OwnerReference) (*corev1.Secret, error)
func (*TlsManager) RemoveSslProfile ¶
func (manager *TlsManager) RemoveSslProfile(sslProfile string) error
type TlsManagerInterface ¶
type TlsManagerInterface interface { EnableTlsSupport(support TlsServiceSupport) error DisableTlsSupport(support TlsServiceSupport, serviceList []*types.ServiceInterface) error }
type TlsServiceSupport ¶
Click to show internal directories.
Click to hide internal directories.