package util
import "k8s.io/apiserver/pkg/audit/util"
Index ¶
Functions ¶
func HookClientConfigForSink ¶
func HookClientConfigForSink(a *v1alpha1.AuditSink) webhook.ClientConfig
HookClientConfigForSink constructs a webhook.ClientConfig using a v1alpha1.AuditSink API object. webhook.ClientConfig is used to create a HookClient and the purpose of the config struct is to share that with other packages that need to create a HookClient.
Source Files ¶
conversion.go
- Version
- v0.18.6
- Published
- Jul 15, 2020
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 6 minutes ago –
Tools for package owners.