package
4.11.0
Repository: https://github.com/micro/go-micro.git
Documentation: pkg.go.dev

# 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.
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.
NewService returns default micro kubernetes deployment definition.
NewLocalClient returns a client that can be used with `kubectl proxy`.
NewService returns default micro kubernetes service definition.
SerializeResourceName removes all spacial chars from a string so it can be used as a k8s resource name.
UpdateNamespace sets the namespace for updating a resource.
WatchNamespace sets the namespace for watching a resource.
WatchParams used for watch params.

# Constants

EventTypes used.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultImage is default micro image.
DefaultNamespace is the default k8s namespace.
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.
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.
Pod is the top level item for a pod.
PodCondition describes the state of pod.
PodList.
PodSpec is a pod.
PodStatus.
Resource is API resource.
Secret.
Service is kubernetes service.
ServiceAccount.
ServiceList.
ServicePort configures service ports.
ServiceSpec provides service configuration.
ServiceStatus.
Template is micro deployment template.
No description provided by the author
No description provided by the author

# Interfaces

Kubernetes client.
Watcher is used to watch for events.

# 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