# Packages
Package kubernetes taken from https://github.com/nguyencatpham/go-micro/blob/master/debug/log/kubernetes/kubernetes.go There are some modifications compared to the other files as this package doesn't provide write functionality.
No description provided by the author
# Functions
CreateContext sets the context.
CreateEntrypoint sets the entrypoint.
CreateImage sets the image to use.
CreateNamespace sets the namespace.
CreateType sets the type of service to create.
DeleteContext sets the context.
DeleteNamespace sets the namespace.
LogsContext sets the context.
LogsExistingCount confiures how many existing lines to show.
LogsNamespace sets the namespace.
LogsStream configures whether to stream new lines.
NewNamespace mints a new namespace.
NewNetworkPolicy mints a new networkpolicy.
NewService mints a new service.
ReadContext sets the context.
ReadNamespace sets the namespace.
ReadService returns services with the given name.
ReadType returns services of the given type.
ReadVersion confifgures service version.
ResourceLimits sets the resources for the service to use.
UpdateContext sets the context.
UpdateEntrypoint sets the entrypoint.
UpdateNamespace sets the namespace.
WithSecret sets a secret to provide the service with.
WithArgs specifies the command to execute.
WithClient sets the client to use.
WithCommand specifies the command to execute.
WithEnv sets the created service environment.
WithImage sets the image to use.
WithOutput sets the arg output.
WithPort sets the port to expose.
WithRetries sets the max retries attemps.
WithSecret sets a secret to provide the service with.
WithServiceAccount sets the ServiceAccount.
WithSource sets the base image / repository.
WithType sets the service type to manage.
WithVolume adds a volume to be mounted.
# Constants
Building is the status when the service is being built.
Create is emitted when a new build has been craeted.
Delete is emitted when a build has been deleted.
Error is the status when an error occured, this could be a build error or a run error.
Pending is the initial status of a service.
Running is the status when the service is active and accepting traffic.
Starting is the status when the service has been started but is not yet ready to accept traffic.
Stopped is the status when a service has been stopped or has completed.
Stopping is the status when a service is stopping.
No description provided by the author
No description provided by the author
No description provided by the author
Unknown indicates the status of the service is not known.
Update is emitted when a new update become available.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
CreateOptions configure runtime services.
No description provided by the author
Event is notification event.
Log is a log message.
LogsOptions configure runtime logging.
Namespace represents a logical namespace for organising resources.
NetworkPolicy represents an ACL of label pairs allowing ignress to a namespace.
Options configure runtime.
ReadOptions queries runtime services.
Resources which are allocated to a serivce.
Service represents a Micro service running within a namespace.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
EventType defines schedule event.
LogsOption configures runtime logging.
No description provided by the author
No description provided by the author
ServiceStatus defines service statuses.
No description provided by the author