types

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2022 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL