package
0.1.2
Repository: https://github.com/covergenius/k8sutil.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
* * This will take a buffer of bytes that encode a YAML object definition (potentially multi-doc) * and will return one or many (in the case of multiple objects) metav1Objects * This is an interface defined in meta/v1 and it's probably the most convenient to use.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
copied from https://github.com/instrumenta/kubeval/blob/9c9c0a5b3cc619dbd94129af77c8512bfd0f1763/kubeval/utils.go#L24.
* * For each object (in the order that they occur in the yaml file), tell me what line number the object starts on.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
main function that performs the linting.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
* * Create a new RuleSorter given a list of rules * Usual use case is to use the RuleSorter to access the rules in the correct order! **/.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
container tests.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
cronjob tests.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
deployment specific tests.
No description provided by the author
No description provided by the author
No description provided by the author
interdependent rules.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
job rules.
namespace rules.
network policy rules.
No description provided by the author
No description provided by the author
pod spec rules.
No description provided by the author
No description provided by the author
No description provided by the author
service rules.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

Captures metadata when parsing yaml objects from text files.
Represents a Linter Rule.
This object is used to store all the rules belonging to a resource group and looks like: &rulesorter.RuleSorter{ rules:24:(*lint.Rule)(0xc00039caf0), edges:24:map[lint.RuleID]lint.RuleID{} } */.
No description provided by the author

# Type aliases

No description provided by the author
I'm defining an enum for all the test IDs so we know at compile time whether we're trying to access a non-existent test.