Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WebhookServerOptions ¶
type WebhookServerOptions struct { Logging *logs.Options RecommendedOptions *genericoptions.RecommendedOptions SolverGroup string Solvers []webhook.Solver }
func NewWebhookServerOptions ¶
func NewWebhookServerOptions(groupName string, solvers ...webhook.Solver) *WebhookServerOptions
func (*WebhookServerOptions) Complete ¶
func (o *WebhookServerOptions) Complete() error
func (WebhookServerOptions) Config ¶
func (o WebhookServerOptions) Config() (*apiserver.Config, error)
Config creates a new webhook server config that includes generic upstream apiserver options, rest client config and the Solvers configured for this webhook server
func (WebhookServerOptions) RunWebhookServer ¶
func (o WebhookServerOptions) RunWebhookServer(ctx context.Context) error
RunWebhookServer creates a new apiserver, registers an API Group for each of the configured solvers and runs the new apiserver.
func (WebhookServerOptions) Validate ¶
func (o WebhookServerOptions) Validate(args []string) error
Click to show internal directories.
Click to hide internal directories.