package
1.2.0-alpha.5
Repository: https://github.com/saratovsource/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.
Kind takes an unqualified kind and returns back a Group qualified GroupKind.
TODO: remove me when watch is refactored.
NewTime returns a wrapped instance of the provided time.
Now returns the current local time.
ParseGroupVersion turns "group/version" string into a GroupVersion struct.
No description provided by the author
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.
No description provided by the author
No description provided by the author
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.
StatusReasonExpired indicates that the request is invalid because the content you are requesting has expired and is no longer available.
StatusReasonForbidden means the server can be reached and understood the request, but refuses to take any further action.
StatusReasonGone means the item is no longer available at the server and no forwarding address is known.
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.

# Variables

SchemeGroupVersion is group version used to register these objects.

# 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.
FieldSelector is a wrapper around fields.Selector that allows for Marshaling/Unmarshaling underlying selector.
GroupKind specifies a Group and a Kind, but does not force a version.
GroupResource specifies a Group and a Resource, but does not force a version.
GroupVersion contains the "group" and the "version", which uniquely identifies the API.
GroupVersion contains the "group/version" and "version" string of a version.
GroupVersionKind unambiguously identifies a kind.
GroupVersionResource unambiguously identifies a resource.
LabelSelector is a wrapper around labels.Selector that allow for Marshaling/Unmarshaling underlying selector.
ListMeta describes metadata that synthetic resources must have, including lists and various status objects.
ListOptions is the query options to a standard REST list/watch calls.
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.