admission

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(b *bucket.Buckets)

Types

type Bucket added in v1.4.0

type Bucket struct {
	// contains filtered or unexported fields
}

Bucket implements Bucket

func NewAdmissionBucket

func NewAdmissionBucket(cf bucket.Config) (*Bucket, error)

NewAdmissionBucket creates a new admission bucket with the kubernetes client.

func (Bucket) CanIDelete added in v1.4.0

func (a Bucket) CanIDelete() bool

func (Bucket) Cleanup added in v1.4.0

func (a Bucket) Cleanup() error

Cleanup deletes side effects pods that were successfully created during the scan. TODO parallelize maybe?

func (*Bucket) Run added in v1.4.0

func (a *Bucket) Run() (bucket.Results, error)

Run runs the admission test.

Jump to

Keyboard shortcuts

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