package
1.2.0-alpha.3
Repository: https://github.com/carlanton/kubernetes.git
Documentation: pkg.go.dev

# Functions

Date returns the Time corresponding to the supplied parameters by wrapping time.Date.
TODO: remove me when watch is refactored.
TODO: remove me when watch is refactored.
NewTime returns a wrapped instance of the provided time.
Now returns the current local time.
Unix returns the local time corresponding to the given Unix time by wrapping time.Unix.

# Constants

CauseTypeFieldValueDuplicate is used to report collisions of values that must be unique (e.g.
CauseTypeFieldValueInvalid is used to report malformed values (e.g.
CauseTypeFieldValueNotFound is used to report failure to find a requested value (e.g.
CauseTypeFieldValueNotSupported is used to report valid (as per formatting rules) values that can not be handled (e.g.
CauseTypeFieldValueRequired is used to report required values that are not provided (e.g.
CauseTypeUnexpectedServerResponse is used to report when the server responded to the client without the expected return type.
Values of Status.Status.
StatusReasonAlreadyExists means the resource you are creating already exists.
StatusReasonBadRequest means that the request itself was invalid, because the request doesn't make any sense, for example deleting a read-only object.
StatusReasonConflict means the requested update operation cannot be completed due to a conflict in the operation.
StatusReasonForbidden means the server can be reached and understood the request, but refuses to take any further action.
StatusReasonInternalError indicates that an internal error occurred, it is unexpected and the outcome of the call is unknown.
StatusReasonInvalid means the requested create or update operation cannot be completed due to invalid data provided as part of the request.
StatusReasonMethodNotAllowed means that the action the client attempted to perform on the resource was not supported by the code - for instance, attempting to delete a resource that can only be created.
StatusReasonNotFound means one or more resources required for this operation could not be found.
StatusReasonServerTimeout means the server can be reached and understood the request, but cannot complete the action in a reasonable time.
StatusReasonServiceUnavailable means that the request itself was valid, but the requested service is unavailable at this time.
StatusReasonTimeout means that the request could not be completed within the given time.
StatusReasonUnauthorized means the server can be reached and understood the request, but requires the user to present appropriate authorization credentials (identified by the WWW-Authenticate header) in order for the action to be completed.
StatusReasonUnknown means the server has declined to indicate a specific reason.
Values of Status.Status.

# Structs

APIGroup contains the name, the supported versions, and the preferred version of a group.
APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.
APIResource specifies the name of a resource and whether it is namespaced.
APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.
APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.
Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON.
GroupVersion contains the "group/version" and "version" string of a version.
ListMeta describes metadata that synthetic resources must have, including lists and various status objects.
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
RootPaths lists the paths available at root.
Status is a return value for calls that don't return other objects.
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.
TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version.

# Type aliases

CauseType is a machine readable value providing more detail about what occurred in a status response.
StatusReason is an enumeration of possible failure causes.