package
0.0.0-20220729101946-a2cdc83d5e3b
Repository: https://github.com/opencarry/carry.git
Documentation: pkg.go.dev

# Functions

AccumulateUniqueHostPorts extracts each HostPort 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
NameIsDNS1035Label is a ValidateNameFunc for names that must be a DNS 952 label.
NameIsDNSLabel is a ValidateNameFunc for names that must be a DNS 1123 label.
NameIsDNSSubdomain is a ValidateNameFunc for names that must be a DNS subdomain.
ValidateAnnotations validates that a set of annotations are correctly defined.
No description provided by the author
No description provided by the author
ValidateDNS1123Subdomain validates that a name is a proper DNS subdomain.
ValidateEnv validates env vars.
ValidateImmutableField validates the new value and the old value are deeply equal.
ValidateLabelName validates that the label name is correctly defined.
ValidateLabels validates that a set of labels are correctly defined.
No description provided by the author
No description provided by the author
ValidateNonnegativeField Validates that given value is not negative.
No description provided by the author
No description provided by the author
ValidateObjectMetaAccessorUpdate validates an object's metadata when updated.
No description provided by the author
No description provided by the author
No description provided by the author
ValidatePodSecurityContext test that the specified PodSecurityContext has valid data.
ValidatePodSpec tests that the specified PodSpec has valid data.
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
ValidateSecurityContext ensure the security context contains valid settings.
ValidateStatefulSet validates a StatefulSet.
No description provided by the author
ValidateStatefulSetSpec tests if required fields in the StatefulSet spec are set.
ValidateStatefulSetStatusUpdate tests if required fields in the StatefulSet are set.
ValidateStatefulSetUpdate tests if required fields in the StatefulSet are set.
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

# Variables

BannedOwners is a black list of object that are not allowed to be owners.
ValidateNamespaceName can be used to check whether the given namespace name is valid.
No description provided by the author
No description provided by the author
ValidateServiceAccountName can be used to check whether the given service account name is valid.

# Type aliases

ValidateNameFunc validates that the provided name is valid for a given resource type.