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: 0

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