# Packages
No description provided by the author
No description provided by the author
Package kubernetes implements kubernetes micro runtime.
No description provided by the author
No description provided by the author
No description provided by the author
Package source retrieves source code.
# Functions
Create a resource.
CreateContext sets the context.
CreateEntrypoint sets the entrypoint.
CreateImage sets the image to use.
CreateInstances sets the number of instances.
CreateNamespace sets the namespace.
CreateType sets the type of service to create.
Delete a resource.
DeleteContext sets the context.
DeleteNamespace sets the namespace.
Logs for a resource.
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.
NewResourceQuota mints a new resourcequota.
NewService mints a new service.
Read returns the service.
ReadContext sets the context.
ReadNamespace sets the namespace.
ReadService returns services with the given name.
ReadType returns services of the given type.
ReadVersion configures service version.
ResourceLimits sets the resources for the service to use.
Update the resource in place.
UpdateContext sets the context.
UpdateEntrypoint sets the entrypoint.
UpdateInstances sets the number of instances.
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.
WithForce sets the sign to force restart the service.
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.
CreateEvent is emitted when a new build has been craeted.
DeleteEvent 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.
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
No description provided by the author
No description provided by the author
No description provided by the author
EventServiceCreated is the topic events are published to when a service is created.
EventServiceDeleted is the topic events are published to when a service is deleted.
EventServiceUpdated is the topic events are published to when a service is updated.
EventTopic the events are published to.
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
No description provided by the author
Unknown indicates the status of the service is not known.
UpdateEvent is emitted when a new update become available.
# Variables
DefaultRuntime implementation.
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.
EventPayload which is published with runtime events.
EventResourcePayload which is published with runtime resource events.
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.
ResourceQuota represents an ACL of label pairs allowing ignress to a namespace.
Resources which are allocated to a service.
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