Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAdmissionWebhookBuilderHandler ¶
type AddAdmissionWebhookBuilderHandler struct { input.Input // Resource is a resource in the API group Resource *resource.Resource Config }
AddAdmissionWebhookBuilderHandler scaffolds adds a new admission webhook builder.
type AddServer ¶
type AddServer struct { input.Input // Resource is a resource in the API group Resource *resource.Resource Config }
AddServer scaffolds adds a new webhook server.
type AdmissionHandler ¶
type AdmissionHandler struct { input.Input // ResourcePackage is the package of the Resource ResourcePackage string // GroupDomain is the Group + "." + Domain for the Resource GroupDomain string // Resource is a resource in the API group Resource *resource.Resource Config BuilderName string OperationsString string Mutate bool }
AdmissionHandler scaffolds an admission handler
type AdmissionWebhookBuilder ¶
type AdmissionWebhookBuilder struct { input.Input // Resource is a resource in the API group Resource *resource.Resource // ResourcePackage is the package of the Resource ResourcePackage string // GroupDomain is the Group + "." + Domain for the Resource GroupDomain string Config BuilderName string OperationsParameterString string Mutating bool }
AdmissionWebhookBuilder scaffolds adds a new webhook server.
type AdmissionWebhooks ¶
type AdmissionWebhooks struct { input.Input // Resource is a resource in the API group Resource *resource.Resource Config }
AdmissionWebhooks scaffolds how to construct a webhook server and register webhooks.
type Config ¶
type Config struct { // Server is the name of the server. Server string // Type is the type of the webhook. Type string // Operations that the webhook will intercept, e.g. create, update, delete, connect Operations []string }
Config contains the information required to scaffold files for a webhook.
Click to show internal directories.
Click to hide internal directories.