Documentation ¶
Index ¶
- func AdmissionGroup(admissions ...admission.Admission) admission.Admission
- func NewAdmission(opts ...Option) admission.Admission
- type Option
- func FileLoaderOption(fileLoader loader.Loader) Option
- func HTTPLoaderOption(httpLoader loader.Loader) Option
- func LoggerOption(logger logger.Logger) Option
- func MatchersOption(matchers []string) Option
- func RedisLoaderOption(redisLoader loader.Loader) Option
- func ReloadPeriodOption(period time.Duration) Option
- func WhitelistOption(whitelist bool) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdmissionGroup ¶ added in v0.2.12
func NewAdmission ¶
NewAdmission creates and initializes a new Admission using matcher patterns as its match rules. The rules will be reversed if the reverse is true.
Types ¶
type Option ¶
type Option func(opts *options)
func FileLoaderOption ¶
func HTTPLoaderOption ¶
func LoggerOption ¶
func MatchersOption ¶
func RedisLoaderOption ¶
func ReloadPeriodOption ¶
func WhitelistOption ¶
Click to show internal directories.
Click to hide internal directories.