Directories ¶
Path | Synopsis |
---|---|
Package apis contains API Schema definitions
|
Package apis contains API Schema definitions |
config/v1alpha1
Package v1alpha1 implements the v1alpha1 apiVersion of kwok's configuration
|
Package v1alpha1 implements the v1alpha1 apiVersion of kwok's configuration |
internalversion
Package internalversion implements the internal apiVersion of kwok's configuration
|
Package internalversion implements the internal apiVersion of kwok's configuration |
v1alpha1
Package v1alpha1 implements the v1alpha1 apiVersion of kwok's configuration
|
Package v1alpha1 implements the v1alpha1 apiVersion of kwok's configuration |
client
|
|
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
clientset/versioned/typed/apis/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/apis/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Package config provides utilities to get configuration.
|
Package config provides utilities to get configuration. |
compatibility
Package compatibility provides compatible for old version of kwokctl.
|
Package compatibility provides compatible for old version of kwokctl. |
resources
Package resources contains utility functions for serving resources.
|
Package resources contains utility functions for serving resources. |
Package consts defines the constants for building the project.
|
Package consts defines the constants for building the project. |
kwok
|
|
cmd
Package cmd defines a root command for the kwok.
|
Package cmd defines a root command for the kwok. |
cni
Package cni provides the core logic to call CNI.
|
Package cni provides the core logic to call CNI. |
controllers
Package controllers is the package that contains the core logic on pods and nodes simulation.
|
Package controllers is the package that contains the core logic on pods and nodes simulation. |
metrics
Package metrics implements the metrics server.
|
Package metrics implements the metrics server. |
metrics/cel
Package cel implements a metrics evaluator using the Common Expression Language (CEL).
|
Package cel implements a metrics evaluator using the Common Expression Language (CEL). |
server
Package server contains the kwok server.
|
Package server contains the kwok server. |
kwokctl
|
|
cmd
Package cmd defines a root command for the kwokctl.
|
Package cmd defines a root command for the kwokctl. |
cmd/config
Package config provides the kwokctl config command.
|
Package config provides the kwokctl config command. |
cmd/config/reset
Package reset provides the kwokctl config reset command.
|
Package reset provides the kwokctl config reset command. |
cmd/config/tidy
Package tidy provides a command to tidy the config file
|
Package tidy provides a command to tidy the config file |
cmd/config/view
Package view provides the kwokctl config view command.
|
Package view provides the kwokctl config view command. |
cmd/create
Package create defines a parent command for cluster creation.
|
Package create defines a parent command for cluster creation. |
cmd/create/cluster
Package cluster contains a command to create a cluster.
|
Package cluster contains a command to create a cluster. |
cmd/delete
Package delete defines a parent command for cluster deletion.
|
Package delete defines a parent command for cluster deletion. |
cmd/delete/cluster
Package cluster contains a command to delete a cluster.
|
Package cluster contains a command to delete a cluster. |
cmd/etcdctl
Package etcdctl provides a method for users to use the etcdctl binary in a cluster.
|
Package etcdctl provides a method for users to use the etcdctl binary in a cluster. |
cmd/export
Package export implements the `export` command
|
Package export implements the `export` command |
cmd/export/logs
Package logs implements the `logs` command
|
Package logs implements the `logs` command |
cmd/get
Package get defines a parent command for getting artifacts, clusters and kubeconfig.
|
Package get defines a parent command for getting artifacts, clusters and kubeconfig. |
cmd/get/artifacts
Package artifacts contains a command to list binaries or images used by a cluster.
|
Package artifacts contains a command to list binaries or images used by a cluster. |
cmd/get/clusters
Package clusters contains a command to list existing clusters.
|
Package clusters contains a command to list existing clusters. |
cmd/get/kubeconfig
Package kubeconfig contains a command to prints cluster kubeconfig
|
Package kubeconfig contains a command to prints cluster kubeconfig |
cmd/kubectl
Package kubectl contains a command to use the kubectl in a cluster.
|
Package kubectl contains a command to use the kubectl in a cluster. |
cmd/logs
Package logs contains a command to log a component of a cluster.
|
Package logs contains a command to log a component of a cluster. |
cmd/scale
Package scale contains a command to scale a resource in a cluster.
|
Package scale contains a command to scale a resource in a cluster. |
cmd/snapshot
Package snapshot contains a parent command which snapshots one of cluster.
|
Package snapshot contains a parent command which snapshots one of cluster. |
cmd/snapshot/export
Package export is the export of external cluster
|
Package export is the export of external cluster |
cmd/snapshot/restore
Package restore provides a command to restore the snapshot of a cluster.
|
Package restore provides a command to restore the snapshot of a cluster. |
cmd/snapshot/save
Package save provides a command to save the snapshot of a cluster.
|
Package save provides a command to save the snapshot of a cluster. |
cmd/start
Package start implements the start command
|
Package start implements the start command |
cmd/start/cluster
Package cluster implements the start cluster command
|
Package cluster implements the start cluster command |
cmd/stop
Package stop implements the stop command
|
Package stop implements the stop command |
cmd/stop/cluster
Package cluster implements the stop cluster command
|
Package cluster implements the stop cluster command |
components
Package components contains some helper functions related to the components.
|
Package components contains some helper functions related to the components. |
dryrun
Package dryrun provides a way to print commands instead of running them.
|
Package dryrun provides a way to print commands instead of running them. |
k8s
Package k8s contains some helper functions related to the Kubernetes.
|
Package k8s contains some helper functions related to the Kubernetes. |
pki
Package pki is the package that provides functions to generate certificates
|
Package pki is the package that provides functions to generate certificates |
runtime
Package runtime defines the interface of a cluster operation and providers a register method.
|
Package runtime defines the interface of a cluster operation and providers a register method. |
runtime/binary
Package binary implements the runtime.Runtime interface using the binaries.
|
Package binary implements the runtime.Runtime interface using the binaries. |
runtime/compose
Package compose implements the runtime.Runtime interface using the image.
|
Package compose implements the runtime.Runtime interface using the image. |
runtime/kind
Package kind implements the runtime.Runtime interface using the kind.
|
Package kind implements the runtime.Runtime interface using the kind. |
scale
Package scale is the scale of cluster
|
Package scale is the scale of cluster |
snapshot
Package snapshot is the snapshot of cluster
|
Package snapshot is the snapshot of cluster |
Package log wrappers slog for the kwok and kwokctl
|
Package log wrappers slog for the kwok and kwokctl |
utils
|
|
client
Package client is the client for kubeconfig
|
Package client is the client for kubeconfig |
envs
Package envs provides utilities to get environment variables.
|
Package envs provides utilities to get environment variables. |
exec
Package exec provides utilities to execute commands.
|
Package exec provides utilities to execute commands. |
expression
Package expression provides utilities to evaluate expressions.
|
Package expression provides utilities to evaluate expressions. |
file
Package file contains utilities for operating on files.
|
Package file contains utilities for operating on files. |
format
Package format contains utilities for formatting data.
|
Package format contains utilities for formatting data. |
gotpl
Package gotpl provides a template renderer.
|
Package gotpl provides a template renderer. |
informer
Package informer provides a generic mechanism for listening for changes to resources.
|
Package informer provides a generic mechanism for listening for changes to resources. |
kubeconfig
Package kubeconfig provides utilities to manipulate kubeconfig.
|
Package kubeconfig provides utilities to manipulate kubeconfig. |
maps
Package maps provides utilities to manipulate maps.
|
Package maps provides utilities to manipulate maps. |
net
Package net contains utilities for manipulating network.
|
Package net contains utilities for manipulating network. |
patch
Package patch provides a simple wrapper around the strategic merge patch
|
Package patch provides a simple wrapper around the strategic merge patch |
path
Package path contains utilities for manipulating file paths.
|
Package path contains utilities for manipulating file paths. |
pools
Package pools provides a generic pool implementation.
|
Package pools provides a generic pool implementation. |
queue
Package queue provides a generic queue implementation.
|
Package queue provides a generic queue implementation. |
signals
Package signals is the package that provide helper functions to receive signals from the system.
|
Package signals is the package that provide helper functions to receive signals from the system. |
slices
Package slices provides utilities to manipulate slices.
|
Package slices provides utilities to manipulate slices. |
tail
Package tail provides utilities to tail lines.
|
Package tail provides utilities to tail lines. |
version
Package version provides a simple way to parse versions.
|
Package version provides a simple way to parse versions. |
wait
Package wait provides tools for polling or listening for changes
|
Package wait provides tools for polling or listening for changes |
yaml
Package yaml provides tools for encoding and decoding YAML.
|
Package yaml provides tools for encoding and decoding YAML. |
Click to show internal directories.
Click to hide internal directories.