Documentation ¶
Overview ¶
Package k8sinput contains the methods used to get Deprecated objects from a Kubernetes Cluster
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sInput ¶
type K8sInput struct { K8sconfig *genericclioptions.ConfigFlags Store store.DefinitionStorer Client dynamic.Interface DiscoveryClient discovery.DiscoveryInterface // We will have a IncludeGroup and a IgnoreGroup configs to tune false positives and false negatives // If there is an IncludeGroup, only the resources on this group will be parsed IncludePrefixGroup []string // If an API is inside the IgnoreGroup it will be bypassed IgnoreExactGroup []string }
K8sInput defines a struct that will be used when comparing APIs against a K8s Cluster
func (*K8sInput) GetDeprecations ¶
func (f *K8sInput) GetDeprecations() (deprecated, deleted []results.ResultItem, err error)
GetDeprecated retrieves the map of FileItems and compares with Kubepug store, returning the set of Deprecated results
func (*K8sInput) IgnoreAPIService ¶
Click to show internal directories.
Click to hide internal directories.