Documentation ¶
Overview ¶
Package existing handles the checking of Graffiti rules against already existing objects within Kubernetes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyRuleAgainstExistingObjects ¶
ApplyRuleAgainstExistingObjects checks a single graffiti rule against existing kubernetes objects
func ApplyRulesAgainstExistingObjects ¶
ApplyRulesAgainstExistingObjects interates over the graffiti rules and targets, apply each rule to existing kubernetes objects.
func InitKubeClients ¶
InitKubeClients sets up the package for working with kubernetes api and discovers and caches known api groups/versions and resource types
func NewNamespaceCache ¶
NewNamespaceCache creates client-go cache.Store and Reflector which watches and updates namespaces when they change.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.