Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ValidatingEvent ¶
type ValidatingEvent struct { WebhookId string ConfigurationId string Review *v1.AdmissionReview }
type ValidatingResponse ¶
type ValidatingResponse struct { Allowed bool `json:"allowed"` Message string `json:"message,omitempty"` Warnings []string `json:"warnings,omitempty"` }
func ValidatingResponseFromBytes ¶
func ValidatingResponseFromBytes(data []byte) (*ValidatingResponse, error)
func ValidatingResponseFromFile ¶
func ValidatingResponseFromFile(filePath string) (*ValidatingResponse, error)
func ValidatingResponseFromReader ¶
func ValidatingResponseFromReader(r io.Reader) (*ValidatingResponse, error)
func (*ValidatingResponse) Dump ¶
func (r *ValidatingResponse) Dump() string
Click to show internal directories.
Click to hide internal directories.