Documentation ¶
Index ¶
- Constants
- Variables
- func BackendConfigName(backendConfigs annotations.BackendConfigs, svcPort apiv1.ServicePort) string
- func CRDMeta() *crd.CRDMeta
- func GetBackendConfigForServicePort(backendConfigLister cache.Store, svc *apiv1.Service, ...) (*backendconfigv1beta1.BackendConfig, error)
- func GetServicesForBackendConfig(svcLister cache.Store, backendConfig *backendconfigv1beta1.BackendConfig) []*apiv1.Service
- func Validate(kubeClient kubernetes.Interface, beConfig *backendconfigv1beta1.BackendConfig) error
Constants ¶
View Source
const ( OAuthClientIDKey = "client_id" OAuthClientSecretKey = "client_secret" )
Variables ¶
Functions ¶
func BackendConfigName ¶
func BackendConfigName(backendConfigs annotations.BackendConfigs, svcPort apiv1.ServicePort) string
BackendConfigName returns the name of the BackendConfig which is associated with the given ServicePort.
func GetBackendConfigForServicePort ¶
func GetBackendConfigForServicePort(backendConfigLister cache.Store, svc *apiv1.Service, svcPort *apiv1.ServicePort) (*backendconfigv1beta1.BackendConfig, error)
GetBackendConfigForServicePort returns the corresponding BackendConfig for the given ServicePort if specified.
func GetServicesForBackendConfig ¶
func GetServicesForBackendConfig(svcLister cache.Store, backendConfig *backendconfigv1beta1.BackendConfig) []*apiv1.Service
GetServicesForBackendConfig returns all services that reference the given BackendConfig.
func Validate ¶
func Validate(kubeClient kubernetes.Interface, beConfig *backendconfigv1beta1.BackendConfig) error
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
client
|
|
clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
clientset/versioned/typed/backendconfig/v1beta1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/backendconfig/v1beta1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Click to show internal directories.
Click to hide internal directories.