Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientAuth ¶
func NewClientAuth(c, l string) (*kubernetes.Clientset, *rest.Config)
NewClientAuth for creating a new kubernetes client using either inCluster for connecting withing kubernetes namespace by using a service account or with a local kubernetes client configuration
func SetupSignalHandler ¶
func SetupSignalHandler() (stopCh <-chan struct{})
Types ¶
type KDAuditCFG ¶
type KDAuditCFG struct { Threadiness int // contains filtered or unexported fields }
KDAuditCFG for storing kdaudit configMap The configMap is used to check which kdaudit services will be loaded
func NewKDAuditCFG ¶
func NewKDAuditCFG(client *kubernetes.Clientset) KDAuditCFG
NewKDAuditCFG for creating a new KDAuditCFG struct
func (*KDAuditCFG) ReadConfig ¶
func (c *KDAuditCFG) ReadConfig()
ReadConfig for reading kdaudit configMap
type KDAuditInitFlags ¶
KDAuditInitFlags is used to store kdaudit flags that are given during the startup
func ParseFlags ¶
func ParseFlags() KDAuditInitFlags
ParseFlags for parsing flags into KDAuditInitFlags
Click to show internal directories.
Click to hide internal directories.