Documentation
¶
Index ¶
- func Address() string
- func ContainerdConfigTomlPath() string
- func ContainerdContentDir() string
- func ContainerdRootDir() string
- func ContainerdSnapshotsDir() string
- func ContainerdStateDir() string
- func CtrMain()
- func CtrReexecInit()
- func CtrSimlinkPath() string
- func LoadCurrentServerConfig(ctx context.Context) ([]byte, error)
- func LockFile() string
- func Namespace() string
- func NerdctlConfigTomlPath() string
- func NewContainerdClient(ctx context.Context) (*client.Client, error)
- func PersistentWorkDir() string
- func PullPolicy() string
- func RunCtrCommand(ctx context.Context, args ...string) error
- func RunShim(ctx context.Context) error
- func SetupReexec(ctx context.Context, justSymlinks bool) error
- func ShimLogProxySockPath() string
- func ShimMain()
- func ShimName() string
- func ShimReexecInit()
- func ShimRuntimeID() string
- func ShimSimlinkPath() string
- func Snapshotter() string
- func Timeout() time.Duration
- func WorkDir() string
- type DevContainerdServer
- func (s *DevContainerdServer) EnsureOnlyOneInstanceRunning(ctx context.Context) error
- func (s *DevContainerdServer) PrintConnectionInfoBackground()
- func (s *DevContainerdServer) PrintConnectionInfoForground()
- func (s *DevContainerdServer) Start(ctx context.Context) error
- func (s *DevContainerdServer) StartBackground(ctx context.Context) error
- func (s *DevContainerdServer) Stop(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerdConfigTomlPath ¶
func ContainerdConfigTomlPath() string
func ContainerdContentDir ¶
func ContainerdContentDir() string
func ContainerdRootDir ¶
func ContainerdRootDir() string
func ContainerdSnapshotsDir ¶
func ContainerdSnapshotsDir() string
func ContainerdStateDir ¶
func ContainerdStateDir() string
func CtrReexecInit ¶
func CtrReexecInit()
func CtrSimlinkPath ¶
func CtrSimlinkPath() string
func NerdctlConfigTomlPath ¶
func NerdctlConfigTomlPath() string
func PersistentWorkDir ¶
func PersistentWorkDir() string
func PullPolicy ¶
func PullPolicy() string
func ShimLogProxySockPath ¶
func ShimLogProxySockPath() string
func ShimReexecInit ¶
func ShimReexecInit()
func ShimRuntimeID ¶
func ShimRuntimeID() string
func ShimSimlinkPath ¶
func ShimSimlinkPath() string
func Snapshotter ¶
func Snapshotter() string
Types ¶
type DevContainerdServer ¶
type DevContainerdServer struct {
// contains filtered or unexported fields
}
func NewDevContainerdServer ¶
func NewDevContainerdServer(ctx context.Context, debug bool) (*DevContainerdServer, error)
func (*DevContainerdServer) EnsureOnlyOneInstanceRunning ¶
func (s *DevContainerdServer) EnsureOnlyOneInstanceRunning(ctx context.Context) error
we need a function that makes sure we are the only one running on this system
func (*DevContainerdServer) PrintConnectionInfoBackground ¶
func (s *DevContainerdServer) PrintConnectionInfoBackground()
func (*DevContainerdServer) PrintConnectionInfoForground ¶
func (s *DevContainerdServer) PrintConnectionInfoForground()
func (*DevContainerdServer) StartBackground ¶
func (s *DevContainerdServer) StartBackground(ctx context.Context) error
func (*DevContainerdServer) Stop ¶
func (s *DevContainerdServer) Stop(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.