Documentation ¶
Index ¶
- Constants
- func BuildRoot() *cobra.Command
- func ExecuteCerts(options *CertsCmd) error
- func ExecuteStart(options *context2.VirtualClusterOptions) error
- func MapHostPaths(options *context2.VirtualClusterOptions) error
- func NewCertsCommand() *cobra.Command
- func NewHostpathMapperCommand() *cobra.Command
- func NewRootCmd() *cobra.Command
- func NewStartCommand() *cobra.Command
- type CertsCmd
- type PhysicalPodMap
- type PodDetail
Constants ¶
View Source
const ( LogsMountPath = "/var/log" PodLogsMountPath = "/var/log/pods" NodeIndexName = "spec.nodeName" HostpathMapperSelfNodeNameEnvVar = "VCLUSTER_HOSTPATH_MAPPER_CURRENT_NODE_NAME" // naming format <pod_name>_<namespace>_<container_name>-<containerdID(hash, with <docker/cri>:// prefix removed)>.log ContainerSymlinkSourceTemplate = "%s_%s_%s-%s.log" )
Variables ¶
This section is empty.
Functions ¶
func ExecuteCerts ¶
func ExecuteStart ¶
func ExecuteStart(options *context2.VirtualClusterOptions) error
func MapHostPaths ¶ added in v0.13.0
func MapHostPaths(options *context2.VirtualClusterOptions) error
func NewCertsCommand ¶
func NewHostpathMapperCommand ¶ added in v0.13.0
func NewStartCommand ¶
Types ¶
type CertsCmd ¶
type CertsCmd struct { Prefix string ServiceCIDR string ClusterDomain string ClusterName string Namespace string CertificateDir string EtcdReplicas int }
CertsCmd holds the certs flags
type PhysicalPodMap ¶ added in v0.13.0
map of physical pod names to the corresponding virtual pod
Click to show internal directories.
Click to hide internal directories.