Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalIsWarning bool
Functions ¶
func ReadPolicySelectStruct ¶
func ReadPolicySelectStruct(file string) (*valintPkg.PolicySelectStruct, error)
func SetGlobalIsWarning ¶ added in v1.5.10
func SetGlobalIsWarning(isWarning bool)
Types ¶
type AdmissionReview ¶
type AdmissionReview struct { Object AdmissionReviewObject `yaml:"object,omitempty" json:"object,omitempty" mapstructure:"object"` Operation string `yaml:"operation,omitempty" json:"operation,omitempty" mapstructure:"operation"` }
type AdmissionReviewObject ¶
type ContextHandler ¶
type ContextHandler func(w http.ResponseWriter, r *http.Request) error
type ProviderCmd ¶
type ProviderCmd struct {
// contains filtered or unexported fields
}
func NewProviderCmd ¶
func NewProviderCmd(ctx context.Context, cfg *config.Application) (*ProviderCmd, error)
func (*ProviderCmd) Run ¶
func (cmd *ProviderCmd) Run() error
func (*ProviderCmd) Validate ¶
func (cmd *ProviderCmd) Validate(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.