# Functions
CertPoolFromFile returns an x509.CertPool containing the certificates in the given PEM-encoded file.
CertsFromPEM returns the x509.Certificates contained in the given PEM-encoded byte array Returns an error if a certificate could not be parsed, or if the data does not contain any certificates.
CreateNamespace sets the namespace for creating a resource.
DeleteNamespace sets the namespace for deleting a resource.
Format is used to format a string value into a k8s valid name https://kubernetes.io/docs/concepts/overview/working-with-objects/names/.
GetLabels sets the labels for when getting a resource.
GetNamespace sets the namespace for getting a resource.
ListNamespace sets the namespace for listing resources.
LogNamespace sets the namespace for logging a resource.
LogParams provides additional params for logs.
NewClusterClient creates a Kubernetes client for use from within a k8s pod.
NewDeployment returns default micro kubernetes deployment definition.
NewLocalClient returns a client that can be used with `kubectl proxy`.
NewService returns default micro kubernetes service definition.
UpdateNamespace sets the namespace for updating a resource.
WatchNamespace sets the namespace for watching a resource.
WatchParams used for watch params.
# Variables
DefaultImage is default micro image.
DefaultNamespace is the default k8s namespace.
DefaultPort to expose on a service.
ErrReadNamespace is returned when the names could not be read from service account.
# Structs
No description provided by the author
Container defined container runtime values.
ContainerPort.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Deployment is Kubernetes deployment.
DeploymentCondition describes the state of deployment.
DeploymentList.
DeploymentSpec defines micro deployment spec.
DeploymentStatus is returned when querying deployment.
EnvVar is environment variable.
EnvVarSource represents a source for the value of an EnvVar.
Event represents a single event to a watched resource.
No description provided by the author
ImagePullSecret.
LabelSelector is a label query over a set of resources NOTE: we do not support MatchExpressions at the moment.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Metadata defines api object metadata.
Namespace is a Kubernetes Namespace.
NamespaceList.
NetworkPolicy defines label-based filtering for network ingress.
PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace.
Pod is the top level item for a pod.
PodCondition describes the state of pod.
PodList.
PodSpec is a pod.
PodStatus.
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Resource is API resource.
ResourceLimits describes the limits for a service.
ResourceQuota defines resource limits for a namespace.
ResourceRequirements describes the compute resource requirements.
Secret.
SecretKeySelector selects a key of a Secret.
Service is kubernetes service.
ServiceAccount.
ServiceList.
ServicePort configures service ports.
ServiceSpec provides service configuration.
ServiceStatus.
TCPSocketAction describes an action based on opening a socket.
Template is micro deployment template.
No description provided by the author
Volume describes a volume which can be mounted to a pod.
VolumeMount describes a mounting of a Volume within a container.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
EventType defines the possible types of events.
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