package
0.8.0
Repository: https://github.com/walkingsparrow/kubernetes.git
Documentation: pkg.go.dev

# Functions

AccumulateUniquePorts runs an extraction function on each Port of each Container, accumulating the results and returning an error if any ports conflict.
No description provided by the author
No description provided by the author
ValidateBoundPod tests if required fields on a bound pod are set.
ValidateEvent makes sure that the event makes sense.
ValidateManifest tests that the specified ContainerManifest has valid data.
ValidateMinion tests if required fields in the minion are set.
ValidateMinionUpdate tests to make sure a minion update can be applied.
ValidatePod tests if required fields in the pod are set.
ValidatePodSpec tests that the specified PodSpec has valid data.
ValidatePodTemplateSpec validates the spec of a pod template.
ValidatePodUpdate tests to see if the update is legal.
No description provided by the author
ValidateReplicationController tests if required fields in the replication controller are set.
ValidateReplicationControllerSpec tests if required fields in the replication controller spec are set.
ValidateService tests if required fields in the service are set.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Schema is an interface that knows how to validate an API object serialized to a byte array.
ServiceLister is an abstract interface for testing.