Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConfigFileName stores file of config ConfigFileName = ".kubens.yaml" // ConfigSample is a sample configuration file. ConfigSample = yannotated )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Configure default network policy to apply NetPol NetPol `json:"netpol"` }
Config struct contains kubewatch configuration
func (*Config) CheckNetPolValues ¶
func (c *Config) CheckNetPolValues()
CheckNetPolValues will validate the netpol values during JSON marshaling @TODO
Click to show internal directories.
Click to hide internal directories.