Documentation ¶
Overview ¶
Packager docker provides common utilities for managing containerized AIS deployments
- Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
Index ¶
- func ClusterEndpoint(i int) (string, error)
- func ClusterIDs() ([]int, error)
- func Connect(containerID string, networks []string) error
- func CreateMpathDir(c int, mpathFQN string) (err error)
- func Disconnect(containerID string) ([]string, error)
- func IsRunning() bool
- func ProxiesInCluster(i int) (ans []string)
- func RemoveMpathDir(c int, mpathFQN string) (err error)
- func Restart(cid string) error
- func Stop(cid string) error
- func TargetsInCluster(i int) (ans []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterEndpoint ¶
func ClusterIDs ¶
ClusterIDs returns all IDs of running ais docker clusters
func CreateMpathDir ¶
CreateMpathDir creates a directory that will be used as a mountpath for each target in cluster c
func Disconnect ¶
Disconnect disconnects specific containerID from all networks. Returns networks from which the container has been disconnected.
func IsRunning ¶
func IsRunning() bool
DockerRunning returns true if docker-based AIStore cluster is detected
func ProxiesInCluster ¶
ProxiesInCluster returns the names of the targets in cluster i
func RemoveMpathDir ¶
RemoveMpathDir removes a directory named mpathFQN for each target in cluster c
func TargetsInCluster ¶
TargetsInCluster returns the names of the targets in cluster i
Types ¶
This section is empty.