Documentation ¶
Index ¶
- func GetAdmissionConfigurationConfig(pluginName string, cfg configapi.AdmissionPluginConfig) (string, error)
- func GetAdmissionConfigurationFile(pluginConfig map[string]configapi.AdmissionPluginConfig, pluginName string, ...) (string, error)
- func GetPluginConfig(cfg configapi.AdmissionPluginConfig) (string, error)
- func GetPluginConfigFile(pluginConfig map[string]configapi.AdmissionPluginConfig, pluginName string, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAdmissionConfigurationConfig ¶
func GetAdmissionConfigurationConfig(pluginName string, cfg configapi.AdmissionPluginConfig) (string, error)
func GetAdmissionConfigurationFile ¶
func GetAdmissionConfigurationFile(pluginConfig map[string]configapi.AdmissionPluginConfig, pluginName string, defaultConfigFilePath string) (string, error)
GetAdmissionConfigurationFile translates from the master plugin config to a file name containing a particular plugin's config (the file may be a temp file if config is embedded), embedded in k8s.io/apiserver/pkg/apis/apiserver.AdmissionConfiguration.
func GetPluginConfig ¶
func GetPluginConfig(cfg configapi.AdmissionPluginConfig) (string, error)
func GetPluginConfigFile ¶ added in v1.1.3
func GetPluginConfigFile(pluginConfig map[string]configapi.AdmissionPluginConfig, pluginName string, defaultConfigFilePath string) (string, error)
GetPluginConfigFile translates from the master plugin config to a file name containing a particular plugin's config (the file may be a temp file if config is embedded)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.