package
2.0.0+incompatible
Repository: https://github.com/nginxinc/nginx-service-mesh.git
Documentation: pkg.go.dev

# Functions

CheckForK8sFatalError checks if k8s error is fatal and returns instruction message.
NamespaceExistsError returns instructions if the error is due to the namespace already existing.

# Variables

ErrCheckingExistence is returned when the mesh already exists.
ErrDeployingMesh is returned when the mesh fails to deploy.
ErrInput is returned when CLI arguments are invalid.
ErrK8sAPIResponse is returned when the k8s API returns an error.
ErrMeshControllerResponse is returned when the mesh controller returns an error.
ErrMeshStatus is returned when the mesh controller is not ready.
ErrNotFound is returned when a 404 is returned by mesh API or mesh API is not running.

# Structs

AlreadyExistsError is returned when the mesh already exists.
DeleteFailedError error for when at least one resource could not be deleted, e.g.
ImagePullError is returned when k8s fails to pull images.
InternalServiceError is for when the NIGNX Service Mesh API returns an internal error.
InvalidRequestError is for when the NGINX Service Mesh API returns a 400.
NamespaceNotFoundError is for when the NGINX Service Mesh namespace is not found.
TimedOutDeletingError error for when at least one resource fails to delete within a time window.
UnexpectedStatusError is for when the NIGNX Service Mesh API returns an unexpected status code.