Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // GroupTag holds the resource group for the context. GroupTag = monitoring.CreateLabel(group) // VersionTag holds the resource version for the context. VersionTag = monitoring.CreateLabel(version) // ResourceTag holds the resource name for the context. ResourceTag = monitoring.CreateLabel(resourceTag) // ReasonTag holds the error reason for the context. ReasonTag = monitoring.CreateLabel(reason) // StatusTag holds the error code for the context. StatusTag = monitoring.CreateLabel(status) )
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // Schemas provides a description of all configuration resources. Schemas collection.Schemas // DomainSuffix is the DNS domain suffix for Pilot CRD resources, // e.g. cluster.local. DomainSuffix string // Port where the webhook is served. the number should be greater than 1024 for non-root // user, because non-root user cannot bind port number less than 1024 // Mainly used for testing. Webhook server is started by Istiod. Port uint // Use an existing mux instead of creating our own. Mux *http.ServeMux }
Options contains the configuration for the Istio Pilot validation admission controller.
func DefaultArgs ¶
func DefaultArgs() Options
DefaultArgs allocates an Options struct initialized with Webhook's default configuration.
Click to show internal directories.
Click to hide internal directories.