package
23.10.11+incompatible
Repository: https://github.com/projecteru2/core.git
Documentation: pkg.go.dev

# Functions

ParseTriOption .

# Constants

BuildFromExist .
BuildFromRaw .
BuildFromSCM must be default method to avoid breaking.
BuildFromUnknown .
EruError means this message is carrying some error from eru not from user program.
Etcd .
Redis .
No description provided by the author
Stderr means this message is carrying stderr from user program.
Stdout means this message is carrying stdout from user program.
TracingID .
TriFalse .
TriKeep .
TriTrue .
TypeWorkloadID means this is the workload id.

# Variables

No description provided by the author
No description provided by the author
Plugin.
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Scheduler.
No description provided by the author
No description provided by the author
No description provided by the author
Core.
store key-value count not same.
Create.
No description provided by the author
No description provided by the author
Client.
No description provided by the author
GRPC.
No description provided by the author
General.
No description provided by the author
Engine.
Node.
No description provided by the author
No description provided by the author
No description provided by the author
SCM.
No description provided by the author
WAL.
No description provided by the author
No description provided by the author
Workload.
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
Store.
Lock.
No description provided by the author
Selfmon.
Metrics.
Test.
No description provided by the author
Opts Validation.
No description provided by the author
No description provided by the author
Resources.
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
File.
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
Pod.
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
No description provided by the author

# Structs

AddNodeOptions for adding node.
AttachWorkloadMessage for run and wait.
AuthConfig contains authorization information for connecting to a Registry Basically copied from https://github.com/moby/moby/blob/16a1736b9b93e44c898f95d670bbaf20a558103d/api/types/auth.go#L4 But use yaml instead of json And we use it as grpc simple auth.
Bind define a single bind.
BuildImageMessage for build image ops message.
BuildOptions is options for building image.
CacheImageMessage for cache image on pod.
CapacityMessage for CalculateCapacity API output.
Config holds eru-core config.
ControlWorkloadMessage for workload control message.
CopyMessage for copy message.
CopyOptions for multiple workload files copy.
CreateWorkloadMessage for create message.
DeployOptions is options for deploying.
DissociateWorkloadMessage for dissociate workload message.
DockerConfig holds eru-core docker config.
Entrypoint is a single entrypoint.
EtcdConfig holds eru-core etcd config.
ExecuteWorkloadOptions for executing commands in running workload.
GitConfig holds eru-core git config.
GRPCConfig indicate grpc config.
HealthCheck define healthcheck.
Hook define hooks.
Image .
ImageOptions wraps options for images Prune is only used when remove image.
LabelMeta bind meta info store in labels.
LinuxFile is used for copy file.
ListImageMessage for list image.
ListNodesOptions for list nodes.
ListWorkloadsOptions for list workloads.
LogConfig define log type.
LogStreamMessage for log stream.
LogStreamOptions log stream options.
Node store node info.
NodeFilter is used to filter nodes in a pod names in includes will be used names in excludes will not be used.
NodeMeta .
NodeResourceInfo for node resource info.
NodeStatus wraps node status only used for node status stream.
Pod define pod.
Processing tracks workloads count yet finished.
PullImageMessage for cache image.
No description provided by the author
No description provided by the author
ReallocOptions .
ReallocResourceMessage for realloc resource.
RedisConfig holds redis config LockPrefix is used for lock.
RemoveImageMessage for remove image message.
RemoveWorkloadMessage for remove message.
ReplaceOptions for replace workload.
ReplaceWorkloadMessage for replace method.
ResourcePluginConfig define Plugin config.
SchedulerConfig holds scheduler config.
SendLargeFileOptions for LargeFileTransfer.
SendMessage for send message.
SendOptions for send files to multiple workload.
ServiceStatus Interval indicates when the expected next push shall reach before.
SetNodeOptions for node set.
StatusMeta indicate contaienr runtime.
StdStreamMessage embodies bytes and std type.
SystemdConfig is systemd config.
VirtConfig holds yavirtd config.
Workload store workload info only relationship with pod and node is stored if you wanna get realtime information, use Inspect method.
WorkloadStatus store deploy status.

# Type aliases

Build is identical to enginetype.Build.
BuildMethod .
Builds is identical to enginetype.Builds.
ContextValueKey .
RawArgs .
StdStreamType shows stdout / stderr.
TriOptions .