k8guardlibs

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2017 License: Apache-2.0 Imports: 4 Imported by: 11 modules, 33 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.

README

Common Libraries for K8Guard

Go Report Card

For documentation please read k8Guard-start-from-here.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version string
	Build   string
)
View Source
var Cfg = config.Config{}

Functions

func LoadConfig

func LoadConfig() (config.Config, error)

func SetLogger

func SetLogger()

Types

type CronJob

type CronJob struct {
	ViolatableEntity
}

type Deployment

type Deployment struct {
	ViolatableEntity
}

type Entity

type Entity struct {
	Name string
}

Any entity from the kubernetes world

type Ingress

type Ingress struct {
	ViolatableEntity
}

type Job

type Job struct {
	ViolatableEntity
}

type Namespace added in v1.0.0

type Namespace struct {
	ViolatableEntity
}

type Pod

type Pod struct {
	ViolatableEntity
}

type ViolatableEntity

type ViolatableEntity struct {
	Entity
	Namespace  string
	Cluster    string
	Violations []violations.Violation
}

Entity that can potentially have violations

Directories

Path Synopsis
messaging

Jump to

Keyboard shortcuts

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