SYMBOL INDEX (3639 symbols across 757 files)
FILE: cmd/nerdctl/apparmor/apparmor_inspect_linux.go
function inspectCommand (line 29) | func inspectCommand() *cobra.Command {
function inspectAction (line 41) | func inspectAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/apparmor/apparmor_linux.go
function Command (line 25) | func Command() *cobra.Command {
FILE: cmd/nerdctl/apparmor/apparmor_linux_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/apparmor/apparmor_list_linux.go
function listCommand (line 26) | func listCommand() *cobra.Command {
function listOptions (line 45) | func listOptions(cmd *cobra.Command) (types.ApparmorListOptions, error) {
function listAction (line 61) | func listAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/apparmor/apparmor_load_linux.go
function loadCommand (line 28) | func loadCommand() *cobra.Command {
function loadAction (line 40) | func loadAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/apparmor/apparmor_unload_linux.go
function unloadCommand (line 29) | func unloadCommand() *cobra.Command {
function unloadAction (line 42) | func unloadAction(cmd *cobra.Command, args []string) error {
function unloadShellComplete (line 50) | func unloadShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/builder/builder.go
function Command (line 34) | func Command() *cobra.Command {
function pruneCommand (line 51) | func pruneCommand() *cobra.Command {
function pruneAction (line 68) | func pruneAction(cmd *cobra.Command, _ []string) error {
function pruneOptions (line 104) | func pruneOptions(cmd *cobra.Command) (types.BuilderPruneOptions, error) {
function debugCommand (line 134) | func debugCommand() *cobra.Command {
function debugAction (line 154) | func debugAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/builder/builder_build.go
function BuildCommand (line 38) | func BuildCommand() *cobra.Command {
function processBuildCommandFlag (line 89) | func processBuildCommandFlag(cmd *cobra.Command, args []string) (types.B...
function GetBuildkitHost (line 258) | func GetBuildkitHost(cmd *cobra.Command, namespace string) (string, erro...
function buildAction (line 274) | func buildAction(cmd *cobra.Command, args []string) error {
function canonicalizeAttest (line 290) | func canonicalizeAttest(attestType string, in string) string {
FILE: cmd/nerdctl/builder/builder_build_oci_layout_test.go
function TestBuildContextWithOCILayout (line 36) | func TestBuildContextWithOCILayout(t *testing.T) {
FILE: cmd/nerdctl/builder/builder_build_test.go
function TestBuildBasics (line 42) | func TestBuildBasics(t *testing.T) {
function TestCanBuildOnOtherPlatform (line 126) | func TestCanBuildOnOtherPlatform(t *testing.T) {
function TestBuildBaseImage (line 178) | func TestBuildBaseImage(t *testing.T) {
function TestBuildFromContainerd (line 211) | func TestBuildFromContainerd(t *testing.T) {
function TestBuildFromStdin (line 242) | func TestBuildFromStdin(t *testing.T) {
function TestBuildWithDockerfile (line 268) | func TestBuildWithDockerfile(t *testing.T) {
function TestBuildLocal (line 321) | func TestBuildLocal(t *testing.T) {
function TestBuildWithBuildArg (line 372) | func TestBuildWithBuildArg(t *testing.T) {
function TestBuildWithIIDFile (line 481) | func TestBuildWithIIDFile(t *testing.T) {
function TestBuildWithLabels (line 507) | func TestBuildWithLabels(t *testing.T) {
function TestBuildMultipleTags (line 533) | func TestBuildMultipleTags(t *testing.T) {
function TestBuildWithContainerfile (line 591) | func TestBuildWithContainerfile(t *testing.T) {
function TestBuildWithDockerFileAndContainerfile (line 619) | func TestBuildWithDockerFileAndContainerfile(t *testing.T) {
function TestBuildNoTag (line 649) | func TestBuildNoTag(t *testing.T) {
function TestBuildContextDockerImageAlias (line 676) | func TestBuildContextDockerImageAlias(t *testing.T) {
function TestBuildContextWithCopyFromDir (line 705) | func TestBuildContextWithCopyFromDir(t *testing.T) {
function TestBuildSourceDateEpoch (line 743) | func TestBuildSourceDateEpoch(t *testing.T) {
function TestBuildNetwork (line 800) | func TestBuildNetwork(t *testing.T) {
function TestBuildAttestation (line 854) | func TestBuildAttestation(t *testing.T) {
function TestBuildAddHost (line 996) | func TestBuildAddHost(t *testing.T) {
function TestBuildWithBuildkitConfig (line 1028) | func TestBuildWithBuildkitConfig(t *testing.T) {
FILE: cmd/nerdctl/builder/builder_builder_test.go
function TestBuilder (line 38) | func TestBuilder(t *testing.T) {
FILE: cmd/nerdctl/builder/builder_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/checkpoint/checkpoint.go
function Command (line 25) | func Command() *cobra.Command {
function lsCommand (line 44) | func lsCommand() *cobra.Command {
function rmCommand (line 50) | func rmCommand() *cobra.Command {
FILE: cmd/nerdctl/checkpoint/checkpoint_create.go
function createCommand (line 31) | func createCommand() *cobra.Command {
function processCreateFlags (line 46) | func processCreateFlags(cmd *cobra.Command) (types.CheckpointCreateOptio...
function createAction (line 72) | func createAction(cmd *cobra.Command, args []string) error {
function createShellComplete (line 91) | func createShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/checkpoint/checkpoint_create_linux_test.go
function TestCheckpointCreateErrors (line 31) | func TestCheckpointCreateErrors(t *testing.T) {
function TestCheckpointCreate (line 74) | func TestCheckpointCreate(t *testing.T) {
FILE: cmd/nerdctl/checkpoint/checkpoint_list.go
function listCommand (line 32) | func listCommand() *cobra.Command {
function processListFlags (line 46) | func processListFlags(cmd *cobra.Command) (types.CheckpointListOptions, ...
function listAction (line 67) | func listAction(cmd *cobra.Command, args []string) error {
function listShellComplete (line 93) | func listShellComplete(cmd *cobra.Command, args []string, toComplete str...
FILE: cmd/nerdctl/checkpoint/checkpoint_list_linux_test.go
function TestCheckpointListErrors (line 33) | func TestCheckpointListErrors(t *testing.T) {
function TestCheckpointList (line 73) | func TestCheckpointList(t *testing.T) {
FILE: cmd/nerdctl/checkpoint/checkpoint_remove.go
function removeCommand (line 31) | func removeCommand() *cobra.Command {
function processRemoveFlags (line 45) | func processRemoveFlags(cmd *cobra.Command) (types.CheckpointRemoveOptio...
function removeAction (line 66) | func removeAction(cmd *cobra.Command, args []string) error {
function removeShellComplete (line 85) | func removeShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/checkpoint/checkpoint_remove_linux_test.go
function TestCheckpointRemoveErrors (line 31) | func TestCheckpointRemoveErrors(t *testing.T) {
function TestCheckpointRemove (line 74) | func TestCheckpointRemove(t *testing.T) {
FILE: cmd/nerdctl/checkpoint/checkpoint_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/completion/completion.go
function ImageNames (line 36) | func ImageNames(cmd *cobra.Command) ([]string, cobra.ShellCompDirective) {
function ContainerNames (line 59) | func ContainerNames(cmd *cobra.Command, filterFunc func(containerd.Proce...
function NetworkNames (line 108) | func NetworkNames(cmd *cobra.Command, exclude []string) ([]string, cobra...
function VolumeNames (line 144) | func VolumeNames(cmd *cobra.Command) ([]string, cobra.ShellCompDirective) {
function Platforms (line 160) | func Platforms(cmd *cobra.Command, args []string, toComplete string) ([]...
function getVolumes (line 175) | func getVolumes(cmd *cobra.Command, globalOptions types.GlobalCommandOpt...
FILE: cmd/nerdctl/completion/completion_linux.go
function ApparmorProfiles (line 27) | func ApparmorProfiles(cmd *cobra.Command) ([]string, cobra.ShellCompDire...
function CgroupManagerNames (line 39) | func CgroupManagerNames(cmd *cobra.Command, args []string, toComplete st...
FILE: cmd/nerdctl/completion/completion_test.go
function TestMain (line 31) | func TestMain(m *testing.M) {
function TestCompletion (line 35) | func TestCompletion(t *testing.T) {
FILE: cmd/nerdctl/completion/completion_unix.go
function NetworkDrivers (line 32) | func NetworkDrivers(cmd *cobra.Command, args []string, toComplete string...
function IPAMDrivers (line 37) | func IPAMDrivers(cmd *cobra.Command, args []string, toComplete string) (...
function NetworkOptions (line 41) | func NetworkOptions(cmd *cobra.Command, args []string, toComplete string...
function NamespaceNames (line 84) | func NamespaceNames(cmd *cobra.Command, args []string, toComplete string...
function SnapshotterNames (line 110) | func SnapshotterNames(cmd *cobra.Command, args []string, toComplete stri...
FILE: cmd/nerdctl/completion/completion_unix_nolinux.go
function CgroupManagerNames (line 23) | func CgroupManagerNames(cmd *cobra.Command, args []string, toComplete st...
FILE: cmd/nerdctl/completion/completion_windows.go
function NamespaceNames (line 21) | func NamespaceNames(cmd *cobra.Command, args []string, toComplete string...
function SnapshotterNames (line 25) | func SnapshotterNames(cmd *cobra.Command, args []string, toComplete stri...
function CgroupManagerNames (line 29) | func CgroupManagerNames(cmd *cobra.Command, args []string, toComplete st...
function NetworkDrivers (line 33) | func NetworkDrivers(cmd *cobra.Command, args []string, toComplete string...
function IPAMDrivers (line 38) | func IPAMDrivers(cmd *cobra.Command, args []string, toComplete string) (...
function NetworkOptions (line 42) | func NetworkOptions(cmd *cobra.Command, args []string, toComplete string...
FILE: cmd/nerdctl/compose/compose.go
function Command (line 26) | func Command() *cobra.Command {
function getComposeOptions (line 72) | func getComposeOptions(cmd *cobra.Command, debugFull, experimental bool)...
FILE: cmd/nerdctl/compose/compose_build.go
function buildCommand (line 28) | func buildCommand() *cobra.Command {
function buildAction (line 43) | func buildAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_build_linux_test.go
function TestComposeBuild (line 31) | func TestComposeBuild(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_config.go
function configCommand (line 30) | func configCommand() *cobra.Command {
function configAction (line 48) | func configAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_config_test.go
function TestComposeConfig (line 33) | func TestComposeConfig(t *testing.T) {
function TestComposeConfigWithPrintServiceHash (line 80) | func TestComposeConfigWithPrintServiceHash(t *testing.T) {
function TestComposeConfigWithMultipleFile (line 126) | func TestComposeConfigWithMultipleFile(t *testing.T) {
function TestComposeConfigWithComposeFileEnv (line 199) | func TestComposeConfigWithComposeFileEnv(t *testing.T) {
function TestComposeConfigWithEnvFile (line 264) | func TestComposeConfigWithEnvFile(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_cp.go
function copyCommand (line 31) | func copyCommand() *cobra.Command {
function copyAction (line 48) | func copyAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_cp_linux_test.go
function TestComposeCopy (line 33) | func TestComposeCopy(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_create.go
function createCommand (line 30) | func createCommand() *cobra.Command {
function createAction (line 46) | func createAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_create_linux_test.go
function TestComposeCreate (line 39) | func TestComposeCreate(t *testing.T) {
function TestComposeCreateDependency (line 92) | func TestComposeCreateDependency(t *testing.T) {
function TestComposeCreatePull (line 153) | func TestComposeCreatePull(t *testing.T) {
function TestComposeCreatePullInvalidOption (line 221) | func TestComposeCreatePullInvalidOption(t *testing.T) {
function TestComposeCreateBuild (line 251) | func TestComposeCreateBuild(t *testing.T) {
function TestComposeCreateWritesConfigHashLabel (line 321) | func TestComposeCreateWritesConfigHashLabel(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_down.go
function downCommand (line 28) | func downCommand() *cobra.Command {
function downAction (line 42) | func downAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_down_linux_test.go
function TestComposeDownRemoveUsedNetwork (line 31) | func TestComposeDownRemoveUsedNetwork(t *testing.T) {
function TestComposeDownRemoveOrphans (line 89) | func TestComposeDownRemoveOrphans(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_exec.go
function execCommand (line 32) | func execCommand() *cobra.Command {
function execAction (line 64) | func execAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_exec_linux_test.go
function TestComposeExec (line 35) | func TestComposeExec(t *testing.T) {
function TestComposeExecTTY (line 177) | func TestComposeExecTTY(t *testing.T) {
function TestComposeExecWithIndex (line 264) | func TestComposeExecWithIndex(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_images.go
function imagesCommand (line 41) | func imagesCommand() *cobra.Command {
function imagesAction (line 54) | func imagesAction(cmd *cobra.Command, args []string) error {
function printComposeImageIDs (line 106) | func printComposeImageIDs(ctx context.Context, containers []containerd.C...
function printComposeImages (line 127) | func printComposeImages(ctx context.Context, cmd *cobra.Command, contain...
FILE: cmd/nerdctl/compose/compose_images_linux_test.go
function TestComposeImages (line 34) | func TestComposeImages(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_kill.go
function killCommand (line 28) | func killCommand() *cobra.Command {
function killAction (line 40) | func killAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_kill_linux_test.go
function TestComposeKill (line 33) | func TestComposeKill(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_logs.go
function logsCommand (line 28) | func logsCommand() *cobra.Command {
function logsAction (line 44) | func logsAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_pause.go
function pauseCommand (line 27) | func pauseCommand() *cobra.Command {
function pauseAction (line 39) | func pauseAction(cmd *cobra.Command, args []string) error {
function unpauseCommand (line 62) | func unpauseCommand() *cobra.Command {
function unpauseAction (line 74) | func unpauseAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_pause_linux_test.go
function TestComposePauseAndUnpause (line 34) | func TestComposePauseAndUnpause(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_port.go
function portCommand (line 31) | func portCommand() *cobra.Command {
function portAction (line 46) | func portAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_port_linux_test.go
function TestComposePort (line 33) | func TestComposePort(t *testing.T) {
function TestComposePortFailure (line 104) | func TestComposePortFailure(t *testing.T) {
function TestComposeMultiplePorts (line 174) | func TestComposeMultiplePorts(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_ps.go
function psCommand (line 43) | func psCommand() *cobra.Command {
type composeContainerPrintable (line 60) | type composeContainerPrintable struct
function psAction (line 76) | func psAction(cmd *cobra.Command, args []string) error {
function composeContainerPrintableTab (line 237) | func composeContainerPrintableTab(ctx context.Context, container contain...
function composeContainerPrintableJSON (line 279) | func composeContainerPrintableJSON(ctx context.Context, container contai...
type PortPublisher (line 339) | type PortPublisher struct
function formatPublishers (line 348) | func formatPublishers(portMappings []cni.PortMapping) []PortPublisher {
function statusForFilter (line 366) | func statusForFilter(ctx context.Context, c containerd.Container) string {
FILE: cmd/nerdctl/compose/compose_ps_linux_test.go
function TestComposePs (line 32) | func TestComposePs(t *testing.T) {
function TestComposePsJSON (line 105) | func TestComposePsJSON(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_pull.go
function pullCommand (line 28) | func pullCommand() *cobra.Command {
function pullAction (line 40) | func pullAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_pull_linux_test.go
function TestComposePullWithService (line 26) | func TestComposePullWithService(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_push.go
function pushCommand (line 28) | func pushCommand() *cobra.Command {
function pushAction (line 39) | func pushAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_restart.go
function restartCommand (line 28) | func restartCommand() *cobra.Command {
function restartAction (line 40) | func restartAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_restart_linux_test.go
function TestComposeRestart (line 26) | func TestComposeRestart(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_rm.go
function removeCommand (line 31) | func removeCommand() *cobra.Command {
function removeAction (line 45) | func removeAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_rm_linux_test.go
function TestComposeRemove (line 32) | func TestComposeRemove(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_run.go
function runCommand (line 31) | func runCommand() *cobra.Command {
function runAction (line 72) | func runAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_run_linux_test.go
function TestComposeRun (line 39) | func TestComposeRun(t *testing.T) {
function TestComposeRunWithServicePorts (line 115) | func TestComposeRunWithServicePorts(t *testing.T) {
function TestComposeRunWithPublish (line 176) | func TestComposeRunWithPublish(t *testing.T) {
function TestComposeRunWithEnv (line 235) | func TestComposeRunWithEnv(t *testing.T) {
function TestComposeRunWithUser (line 266) | func TestComposeRunWithUser(t *testing.T) {
function TestComposeRunWithLabel (line 296) | func TestComposeRunWithLabel(t *testing.T) {
function TestComposeRunWithArgs (line 333) | func TestComposeRunWithArgs(t *testing.T) {
function TestComposeRunWithEntrypoint (line 360) | func TestComposeRunWithEntrypoint(t *testing.T) {
function TestComposeRunWithVolume (line 389) | func TestComposeRunWithVolume(t *testing.T) {
function TestComposePushAndPullWithCosignVerify (line 427) | func TestComposePushAndPullWithCosignVerify(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_start.go
function startCommand (line 39) | func startCommand() *cobra.Command {
function startAction (line 51) | func startAction(cmd *cobra.Command, args []string) error {
function startContainers (line 101) | func startContainers(ctx context.Context, client *containerd.Client, con...
FILE: cmd/nerdctl/compose/compose_start_linux_test.go
function TestComposeStart (line 32) | func TestComposeStart(t *testing.T) {
function TestComposeStartFailWhenServicePause (line 78) | func TestComposeStartFailWhenServicePause(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_stop.go
function stopCommand (line 28) | func stopCommand() *cobra.Command {
function stopAction (line 40) | func stopAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_stop_linux_test.go
function TestComposeStop (line 31) | func TestComposeStop(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/compose/compose_top.go
function topCommand (line 35) | func topCommand() *cobra.Command {
function topAction (line 47) | func topAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_top_linux_test.go
function TestComposeTop (line 31) | func TestComposeTop(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_up.go
function upCommand (line 33) | func upCommand() *cobra.Command {
function upAction (line 57) | func upAction(cmd *cobra.Command, services []string) error {
FILE: cmd/nerdctl/compose/compose_up_linux_test.go
function TestComposeUp (line 43) | func TestComposeUp(t *testing.T) {
function TestComposeUpBuild (line 134) | func TestComposeUpBuild(t *testing.T) {
function TestComposeUpNetWithStaticIP (line 206) | func TestComposeUpNetWithStaticIP(t *testing.T) {
function TestComposeUpMultiNet (line 272) | func TestComposeUpMultiNet(t *testing.T) {
function TestComposeUpOsEnvVar (line 374) | func TestComposeUpOsEnvVar(t *testing.T) {
function TestComposeUpDotEnvFile (line 441) | func TestComposeUpDotEnvFile(t *testing.T) {
function TestComposeUpEnvFileNotFoundError (line 473) | func TestComposeUpEnvFileNotFoundError(t *testing.T) {
function TestComposeUpWithScale (line 506) | func TestComposeUpWithScale(t *testing.T) {
function TestComposeIPAMConfig (line 557) | func TestComposeIPAMConfig(t *testing.T) {
function TestComposeUpRemoveOrphans (line 603) | func TestComposeUpRemoveOrphans(t *testing.T) {
function TestComposeUpIdempotent (line 674) | func TestComposeUpIdempotent(t *testing.T) {
function TestComposeUpNoRecreateDependencies (line 711) | func TestComposeUpNoRecreateDependencies(t *testing.T) {
function TestComposeUpWithExternalNetwork (line 784) | func TestComposeUpWithExternalNetwork(t *testing.T) {
function TestComposeUpWithBypass4netns (line 843) | func TestComposeUpWithBypass4netns(t *testing.T) {
function TestComposeUpProfile (line 945) | func TestComposeUpProfile(t *testing.T) {
function TestComposeUpAbortOnContainerExit (line 1038) | func TestComposeUpAbortOnContainerExit(t *testing.T) {
function TestComposeUpPull (line 1127) | func TestComposeUpPull(t *testing.T) {
function TestComposeUpServicePullPolicy (line 1212) | func TestComposeUpServicePullPolicy(t *testing.T) {
function TestComposeTmpfsVolume (line 1248) | func TestComposeTmpfsVolume(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_up_test.go
function TestComposeUpDetailedError (line 35) | func TestComposeUpDetailedError(t *testing.T) {
function TestComposeUpBindCreateHostPath (line 66) | func TestComposeUpBindCreateHostPath(t *testing.T) {
FILE: cmd/nerdctl/compose/compose_version.go
function versionCommand (line 28) | func versionCommand() *cobra.Command {
function versionAction (line 45) | func versionAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/compose/compose_version_test.go
function TestComposeVersion (line 28) | func TestComposeVersion(t *testing.T) {
function TestComposeVersionShort (line 35) | func TestComposeVersionShort(t *testing.T) {
function TestComposeVersionJson (line 42) | func TestComposeVersionJson(t *testing.T) {
FILE: cmd/nerdctl/container/container.go
function Command (line 25) | func Command() *cobra.Command {
function listCommand (line 64) | func listCommand() *cobra.Command {
FILE: cmd/nerdctl/container/container_attach.go
function AttachCommand (line 34) | func AttachCommand() *cobra.Command {
function attachOptions (line 65) | func attachOptions(cmd *cobra.Command) (types.ContainerAttachOptions, er...
function attachAction (line 92) | func attachAction(cmd *cobra.Command, args []string) error {
function attachShellComplete (line 107) | func attachShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/container/container_attach_linux_test.go
function TestAttach (line 45) | func TestAttach(t *testing.T) {
function TestAttachDetachKeys (line 107) | func TestAttachDetachKeys(t *testing.T) {
function TestAttachForAutoRemovedContainer (line 168) | func TestAttachForAutoRemovedContainer(t *testing.T) {
function TestAttachNoStdin (line 216) | func TestAttachNoStdin(t *testing.T) {
FILE: cmd/nerdctl/container/container_commit.go
function CommitCommand (line 31) | func CommitCommand() *cobra.Command {
function commitOptions (line 57) | func commitOptions(cmd *cobra.Command) (types.ContainerCommitOptions, er...
function commitAction (line 154) | func commitAction(cmd *cobra.Command, args []string) error {
function commitShellComplete (line 168) | func commitShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/container/container_commit_linux_test.go
function TestKubeCommitSave (line 31) | func TestKubeCommitSave(t *testing.T) {
FILE: cmd/nerdctl/container/container_commit_test.go
function TestCommit (line 34) | func TestCommit(t *testing.T) {
function TestZstdCommit (line 94) | func TestZstdCommit(t *testing.T) {
FILE: cmd/nerdctl/container/container_cp_acid_linux_test.go
function TestCopyAcid (line 38) | func TestCopyAcid(t *testing.T) {
FILE: cmd/nerdctl/container/container_cp_linux.go
function copyCommand (line 34) | func copyCommand() *cobra.Command {
function copyAction (line 64) | func copyAction(cmd *cobra.Command, args []string) error {
function copyOptions (line 84) | func copyOptions(cmd *cobra.Command, args []string) (types.ContainerCpOp...
function AddCpCommand (line 130) | func AddCpCommand(rootCmd *cobra.Command) {
function parseCpFileSpec (line 136) | func parseCpFileSpec(arg string) (*copyFileSpec, error) {
type copyFileSpec (line 174) | type copyFileSpec struct
function copyShellComplete (line 179) | func copyShellComplete(cmd *cobra.Command, args []string, toComplete str...
FILE: cmd/nerdctl/container/container_cp_linux_test.go
constant complexify (line 46) | complexify = ""
constant pathDoesNotExistRelative (line 48) | pathDoesNotExistRelative = "does-not-exist" + complexify
constant pathDoesNotExistAbsolute (line 49) | pathDoesNotExistAbsolute = string(os.PathSeparator) + "does-not-exist" +...
constant pathIsAFileRelative (line 50) | pathIsAFileRelative = "is-a-file" + complexify
constant pathIsAFileAbsolute (line 51) | pathIsAFileAbsolute = string(os.PathSeparator) + "is-a-file" + comp...
constant pathIsADirRelative (line 52) | pathIsADirRelative = "is-a-dir" + complexify
constant pathIsADirAbsolute (line 53) | pathIsADirAbsolute = string(os.PathSeparator) + "is-a-dir" + compl...
constant pathIsAVolumeMount (line 54) | pathIsAVolumeMount = string(os.PathSeparator) + "is-a-volume-mount...
constant srcFileName (line 56) | srcFileName = "test-file" + complexify
constant tarballName (line 57) | tarballName = "test-tar" + complexify
constant cpFolderName (line 58) | cpFolderName = "nerdctl-cp-test"
constant containerCwd (line 62) | containerCwd = "/nerdctl/cp/test"
constant dirPerm (line 64) | dirPerm = 0o755
constant filePerm (line 65) | filePerm = 0o644
type testgroup (line 70) | type testgroup struct
type testcases (line 81) | type testcases struct
function TestCopyToContainer (line 93) | func TestCopyToContainer(t *testing.T) {
function TestCopyFromContainer (line 457) | func TestCopyFromContainer(t *testing.T) {
function assertCatHelper (line 810) | func assertCatHelper(base *testutil.Base, catPath string, fileContent []...
function cpTestHelper (line 833) | func cpTestHelper(t *testing.T, tg *testgroup) {
FILE: cmd/nerdctl/container/container_cp_nolinux.go
function AddCpCommand (line 23) | func AddCpCommand(rootCmd *cobra.Command) {
FILE: cmd/nerdctl/container/container_create.go
function CreateCommand (line 33) | func CreateCommand() *cobra.Command {
function createOptions (line 60) | func createOptions(cmd *cobra.Command) (types.ContainerCreateOptions, er...
function createAction (line 523) | func createAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/container/container_create_linux_test.go
function TestCreateWithLabel (line 45) | func TestCreateWithLabel(t *testing.T) {
function TestCreateWithMACAddress (line 58) | func TestCreateWithMACAddress(t *testing.T) {
function TestCreateWithTty (line 160) | func TestCreateWithTty(t *testing.T) {
function TestIssue2993 (line 184) | func TestIssue2993(t *testing.T) {
function TestCreateFromOCIArchive (line 303) | func TestCreateFromOCIArchive(t *testing.T) {
function TestUsernsMappingCreateCmd (line 334) | func TestUsernsMappingCreateCmd(t *testing.T) {
function getContainerHostUID (line 414) | func getContainerHostUID(helpers test.Helpers, containerName string) (st...
function appendUsernsConfig (line 431) | func appendUsernsConfig(userns string, hostUID string, helpers test.Help...
function addUser (line 469) | func addUser(username string, hostID string, helpers test.Helpers) {
function removeUsernsConfig (line 476) | func removeUsernsConfig(t *testing.T, userns string, helpers test.Helper...
function delUser (line 507) | func delUser(username string, helpers test.Helpers) {
function delGroup (line 511) | func delGroup(groupname string, helpers test.Helpers) {
FILE: cmd/nerdctl/container/container_create_test.go
function TestCreate (line 36) | func TestCreate(t *testing.T) {
function TestCreateHyperVContainer (line 68) | func TestCreateHyperVContainer(t *testing.T) {
FILE: cmd/nerdctl/container/container_diff.go
function DiffCommand (line 46) | func DiffCommand() *cobra.Command {
function diffOptions (line 59) | func diffOptions(cmd *cobra.Command) (types.ContainerDiffOptions, error) {
function diffAction (line 71) | func diffAction(cmd *cobra.Command, args []string) error {
function getChanges (line 121) | func getChanges(ctx context.Context, client *containerd.Client, containe...
function appendChanges (line 200) | func appendChanges(changes []fs.Change, fsChange fs.Change) []fs.Change {
function diffShellComplete (line 228) | func diffShellComplete(cmd *cobra.Command, args []string, toComplete str...
FILE: cmd/nerdctl/container/container_diff_test.go
function TestDiff (line 30) | func TestDiff(t *testing.T) {
FILE: cmd/nerdctl/container/container_exec.go
function ExecCommand (line 33) | func ExecCommand() *cobra.Command {
function execOptions (line 58) | func execOptions(cmd *cobra.Command) (types.ContainerExecOptions, error) {
function execAction (line 125) | func execAction(cmd *cobra.Command, args []string) error {
function execShellComplete (line 147) | func execShellComplete(cmd *cobra.Command, args []string, toComplete str...
FILE: cmd/nerdctl/container/container_exec_linux_test.go
function TestExecWithUser (line 29) | func TestExecWithUser(t *testing.T) {
function TestExecTTY (line 92) | func TestExecTTY(t *testing.T) {
FILE: cmd/nerdctl/container/container_exec_test.go
function TestExec (line 35) | func TestExec(t *testing.T) {
function TestExecWithDoubleDash (line 53) | func TestExecWithDoubleDash(t *testing.T) {
function TestExecStdin (line 72) | func TestExecStdin(t *testing.T) {
function TestExecEnv (line 94) | func TestExecEnv(t *testing.T) {
FILE: cmd/nerdctl/container/container_export.go
function ExportCommand (line 33) | func ExportCommand() *cobra.Command {
function exportAction (line 49) | func exportAction(cmd *cobra.Command, args []string) error {
function exportShellComplete (line 91) | func exportShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/container/container_export_test.go
function validateExportedTar (line 37) | func validateExportedTar(outFile string) test.Comparator {
function TestExportStoppedContainer (line 69) | func TestExportStoppedContainer(t *testing.T) {
function TestExportRunningContainer (line 115) | func TestExportRunningContainer(t *testing.T) {
function TestExportNonexistentContainer (line 160) | func TestExportNonexistentContainer(t *testing.T) {
FILE: cmd/nerdctl/container/container_health_check.go
function HealthCheckCommand (line 35) | func HealthCheckCommand() *cobra.Command {
function healthCheckAction (line 49) | func healthCheckAction(cmd *cobra.Command, args []string) error {
function healthCheckShellComplete (line 81) | func healthCheckShellComplete(cmd *cobra.Command, args []string, toCompl...
FILE: cmd/nerdctl/container/container_health_check_linux_test.go
function TestContainerHealthCheckBasic (line 41) | func TestContainerHealthCheckBasic(t *testing.T) {
function TestContainerHealthCheckDefaults (line 143) | func TestContainerHealthCheckDefaults(t *testing.T) {
function TestContainerHealthCheckAdvance (line 276) | func TestContainerHealthCheckAdvance(t *testing.T) {
function TestHealthCheck_SystemdIntegration_Basic (line 751) | func TestHealthCheck_SystemdIntegration_Basic(t *testing.T) {
function TestHealthCheck_GlobalFlags (line 935) | func TestHealthCheck_GlobalFlags(t *testing.T) {
function TestHealthCheck_SystemdIntegration_Advanced (line 1036) | func TestHealthCheck_SystemdIntegration_Advanced(t *testing.T) {
FILE: cmd/nerdctl/container/container_inspect.go
function inspectCommand (line 34) | func inspectCommand() *cobra.Command {
function InspectOptions (line 63) | func InspectOptions(cmd *cobra.Command) (opt types.ContainerInspectOptio...
function inspectAction (line 95) | func inspectAction(cmd *cobra.Command, args []string) error {
function containerInspectShellComplete (line 120) | func containerInspectShellComplete(cmd *cobra.Command, args []string, to...
FILE: cmd/nerdctl/container/container_inspect_linux_test.go
function TestContainerInspectContainsPortConfig (line 43) | func TestContainerInspectContainsPortConfig(t *testing.T) {
function TestContainerInspectContainsMounts (line 59) | func TestContainerInspectContainsMounts(t *testing.T) {
function TestContainerInspectContainsLabel (line 155) | func TestContainerInspectContainsLabel(t *testing.T) {
function TestContainerInspectContainsInternalLabel (line 171) | func TestContainerInspectContainsInternalLabel(t *testing.T) {
function TestContainerInspectConfigImage (line 190) | func TestContainerInspectConfigImage(t *testing.T) {
function TestContainerInspectState (line 219) | func TestContainerInspectState(t *testing.T) {
function TestContainerInspectHostConfig (line 272) | func TestContainerInspectHostConfig(t *testing.T) {
function TestContainerInspectHostConfigDefaults (line 317) | func TestContainerInspectHostConfigDefaults(t *testing.T) {
function TestContainerInspectHostConfigDNS (line 373) | func TestContainerInspectHostConfigDNS(t *testing.T) {
function TestContainerInspectHostConfigDNSDefaults (line 404) | func TestContainerInspectHostConfigDNSDefaults(t *testing.T) {
function TestContainerInspectHostConfigPID (line 421) | func TestContainerInspectHostConfigPID(t *testing.T) {
function TestContainerInspectHostConfigPIDDefaults (line 451) | func TestContainerInspectHostConfigPIDDefaults(t *testing.T) {
function TestContainerInspectDevices (line 464) | func TestContainerInspectDevices(t *testing.T) {
function TestContainerInspectBlkioSettings (line 501) | func TestContainerInspectBlkioSettings(t *testing.T) {
function TestContainerInspectUser (line 560) | func TestContainerInspectUser(t *testing.T) {
type hostConfigValues (line 589) | type hostConfigValues struct
FILE: cmd/nerdctl/container/container_inspect_windows_test.go
function TestInspectProcessContainerContainsLabel (line 34) | func TestInspectProcessContainerContainsLabel(t *testing.T) {
function TestInspectHyperVContainerContainsLabel (line 73) | func TestInspectHyperVContainerContainsLabel(t *testing.T) {
FILE: cmd/nerdctl/container/container_kill.go
function KillCommand (line 31) | func KillCommand() *cobra.Command {
function killAction (line 45) | func killAction(cmd *cobra.Command, args []string) error {
function killShellComplete (line 70) | func killShellComplete(cmd *cobra.Command, _ []string, _ string) ([]stri...
FILE: cmd/nerdctl/container/container_kill_linux_test.go
function TestKillCleanupForwards (line 36) | func TestKillCleanupForwards(t *testing.T) {
FILE: cmd/nerdctl/container/container_list.go
function PsCommand (line 36) | func PsCommand() *cobra.Command {
function processOptions (line 61) | func processOptions(cmd *cobra.Command) (types.ContainerListOptions, For...
function psAction (line 126) | func psAction(cmd *cobra.Command, args []string) error {
type FormattingAndPrintingOptions (line 147) | type FormattingAndPrintingOptions struct
function formatAndPrintContainerInfo (line 157) | func formatAndPrintContainerInfo(containers []container.ListItem, option...
FILE: cmd/nerdctl/container/container_list_linux_test.go
type psTestContainer (line 39) | type psTestContainer struct
function preparePsTestContainer (line 47) | func preparePsTestContainer(t *testing.T, identity string, keepAlive boo...
function TestContainerList (line 123) | func TestContainerList(t *testing.T) {
function TestContainerListWideMode (line 165) | func TestContainerListWideMode(t *testing.T) {
function TestContainerListWithLabels (line 205) | func TestContainerListWithLabels(t *testing.T) {
function TestContainerListWithNames (line 235) | func TestContainerListWithNames(t *testing.T) {
function TestContainerListWithFilter (line 253) | func TestContainerListWithFilter(t *testing.T) {
function TestContainerListCheckCreatedTime (line 648) | func TestContainerListCheckCreatedTime(t *testing.T) {
function TestContainerListStatusFilter (line 671) | func TestContainerListStatusFilter(t *testing.T) {
FILE: cmd/nerdctl/container/container_list_test.go
function TestContainerListWithFormatLabel (line 31) | func TestContainerListWithFormatLabel(t *testing.T) {
function TestContainerListWithJsonFormatLabel (line 59) | func TestContainerListWithJsonFormatLabel(t *testing.T) {
FILE: cmd/nerdctl/container/container_list_windows_test.go
type psTestContainer (line 32) | type psTestContainer struct
function preparePsTestContainer (line 38) | func preparePsTestContainer(t *testing.T, identity string, restart bool,...
function TestListProcessContainer (line 89) | func TestListProcessContainer(t *testing.T) {
function TestListHyperVContainer (line 128) | func TestListHyperVContainer(t *testing.T) {
function TestListProcessContainerWideMode (line 178) | func TestListProcessContainerWideMode(t *testing.T) {
function TestListProcessContainerWithLabels (line 218) | func TestListProcessContainerWithLabels(t *testing.T) {
FILE: cmd/nerdctl/container/container_logs.go
function LogsCommand (line 32) | func LogsCommand() *cobra.Command {
function logsOptions (line 60) | func logsOptions(cmd *cobra.Command) (types.ContainerLogsOptions, error) {
function logsAction (line 109) | func logsAction(cmd *cobra.Command, args []string) error {
function logsShellComplete (line 124) | func logsShellComplete(cmd *cobra.Command, args []string, toComplete str...
function getTailArgAsUint (line 130) | func getTailArgAsUint(arg string) (uint, error) {
FILE: cmd/nerdctl/container/container_logs_test.go
function TestLogs (line 40) | func TestLogs(t *testing.T) {
function TestLogsOutStreamsSeparated (line 135) | func TestLogsOutStreamsSeparated(t *testing.T) {
function TestLogsWithInheritedFlags (line 164) | func TestLogsWithInheritedFlags(t *testing.T) {
function TestLogsOfJournaldDriver (line 188) | func TestLogsOfJournaldDriver(t *testing.T) {
function TestLogsWithFailingContainer (line 242) | func TestLogsWithFailingContainer(t *testing.T) {
function TestLogsWithRunningContainer (line 271) | func TestLogsWithRunningContainer(t *testing.T) {
function TestLogsWithoutNewlineOrEOF (line 301) | func TestLogsWithoutNewlineOrEOF(t *testing.T) {
function TestLogsAfterRestartingContainer (line 327) | func TestLogsAfterRestartingContainer(t *testing.T) {
function TestLogsWithForegroundContainers (line 371) | func TestLogsWithForegroundContainers(t *testing.T) {
function TestLogsTailFollowRotate (line 438) | func TestLogsTailFollowRotate(t *testing.T) {
function TestLogsNoneLoggerHasNoLogURI (line 484) | func TestLogsNoneLoggerHasNoLogURI(t *testing.T) {
function TestLogsWithDetails (line 504) | func TestLogsWithDetails(t *testing.T) {
function TestLogsFollowNoExtraneousLineFeed (line 538) | func TestLogsFollowNoExtraneousLineFeed(t *testing.T) {
function TestLogsWithStartContainer (line 564) | func TestLogsWithStartContainer(t *testing.T) {
FILE: cmd/nerdctl/container/container_pause.go
function PauseCommand (line 31) | func PauseCommand() *cobra.Command {
function pauseOptions (line 44) | func pauseOptions(cmd *cobra.Command) (types.ContainerPauseOptions, erro...
function pauseAction (line 55) | func pauseAction(cmd *cobra.Command, args []string) error {
function pauseShellComplete (line 70) | func pauseShellComplete(cmd *cobra.Command, args []string, toComplete st...
FILE: cmd/nerdctl/container/container_port.go
function PortCommand (line 35) | func PortCommand() *cobra.Command {
function portAction (line 48) | func portAction(cmd *cobra.Command, args []string) error {
function portShellComplete (line 117) | func portShellComplete(cmd *cobra.Command, args []string, toComplete str...
FILE: cmd/nerdctl/container/container_prune.go
function pruneCommand (line 28) | func pruneCommand() *cobra.Command {
function pruneOptions (line 41) | func pruneOptions(cmd *cobra.Command) (types.ContainerPruneOptions, erro...
function grantPrunePermission (line 53) | func grantPrunePermission(cmd *cobra.Command) (bool, error) {
function pruneAction (line 65) | func pruneAction(cmd *cobra.Command, _ []string) error {
FILE: cmd/nerdctl/container/container_prune_linux_test.go
function TestPruneContainer (line 28) | func TestPruneContainer(t *testing.T) {
FILE: cmd/nerdctl/container/container_remove.go
function RemoveCommand (line 29) | func RemoveCommand() *cobra.Command {
function removeAction (line 45) | func removeAction(cmd *cobra.Command, args []string) error {
function rmShellComplete (line 74) | func rmShellComplete(cmd *cobra.Command, args []string, toComplete strin...
FILE: cmd/nerdctl/container/container_remove_linux_test.go
constant iptablesCheckCommand (line 36) | iptablesCheckCommand = "iptables -t nat -S && iptables -t filter -S && i...
function testContainerRmIptablesExecutor (line 39) | func testContainerRmIptablesExecutor(data test.Data, helpers test.Helper...
function TestContainerRmIptables (line 71) | func TestContainerRmIptables(t *testing.T) {
FILE: cmd/nerdctl/container/container_remove_test.go
function TestRemoveContainer (line 28) | func TestRemoveContainer(t *testing.T) {
FILE: cmd/nerdctl/container/container_remove_windows_test.go
function TestRemoveHyperVContainer (line 31) | func TestRemoveHyperVContainer(t *testing.T) {
FILE: cmd/nerdctl/container/container_rename.go
function RenameCommand (line 29) | func RenameCommand() *cobra.Command {
function renameOptions (line 42) | func renameOptions(cmd *cobra.Command) (types.ContainerRenameOptions, er...
function renameAction (line 53) | func renameAction(cmd *cobra.Command, args []string) error {
function renameShellComplete (line 65) | func renameShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/container/container_rename_linux_test.go
function TestRename (line 30) | func TestRename(t *testing.T) {
function TestRenameUpdateHosts (line 90) | func TestRenameUpdateHosts(t *testing.T) {
FILE: cmd/nerdctl/container/container_rename_windows_test.go
function TestRenameProcessContainer (line 29) | func TestRenameProcessContainer(t *testing.T) {
function TestRenameHyperVContainer (line 90) | func TestRenameHyperVContainer(t *testing.T) {
FILE: cmd/nerdctl/container/container_restart.go
function RestartCommand (line 30) | func RestartCommand() *cobra.Command {
function restartOptions (line 45) | func restartOptions(cmd *cobra.Command) (types.ContainerRestartOptions, ...
function restartAction (line 85) | func restartAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/container/container_restart_linux_test.go
function TestRestart (line 39) | func TestRestart(t *testing.T) {
function TestRestartPIDContainer (line 79) | func TestRestartPIDContainer(t *testing.T) {
function TestRestartIPCContainer (line 127) | func TestRestartIPCContainer(t *testing.T) {
function TestRestartWithTime (line 177) | func TestRestartWithTime(t *testing.T) {
function TestRestartWithSignal (line 220) | func TestRestartWithSignal(t *testing.T) {
FILE: cmd/nerdctl/container/container_run.go
constant tiniInitBinary (line 51) | tiniInitBinary = "tini"
function RunCommand (line 54) | func RunCommand() *cobra.Command {
function setCreateFlags (line 85) | func setCreateFlags(cmd *cobra.Command) {
function processCreateCommandFlagsInRun (line 323) | func processCreateCommandFlagsInRun(cmd *cobra.Command) (types.Container...
function runAction (line 369) | func runAction(cmd *cobra.Command, args []string) error {
function runShellComplete (line 525) | func runShellComplete(cmd *cobra.Command, args []string, toComplete stri...
FILE: cmd/nerdctl/container/container_run_cgroup_linux_test.go
function TestRunCgroupV2 (line 47) | func TestRunCgroupV2(t *testing.T) {
function TestRunCgroupV1 (line 138) | func TestRunCgroupV1(t *testing.T) {
function TestIssue3781 (line 183) | func TestIssue3781(t *testing.T) {
function TestRunDevice (line 229) | func TestRunDevice(t *testing.T) {
function TestParseDevice (line 325) | func TestParseDevice(t *testing.T) {
function TestRunCgroupConf (line 389) | func TestRunCgroupConf(t *testing.T) {
function TestRunCgroupParent (line 408) | func TestRunCgroupParent(t *testing.T) {
function TestRunBlkioWeightCgroupV2 (line 461) | func TestRunBlkioWeightCgroupV2(t *testing.T) {
function TestRunBlkioSettingCgroupV2 (line 484) | func TestRunBlkioSettingCgroupV2(t *testing.T) {
function TestRunCPURealTimeSettingCgroupV1 (line 700) | func TestRunCPURealTimeSettingCgroupV1(t *testing.T) {
function TestRunCPUSharesCgroupV2 (line 736) | func TestRunCPUSharesCgroupV2(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_gpus_test.go
function TestParseGpusOptAll (line 28) | func TestParseGpusOptAll(t *testing.T) {
function TestParseGpusOpts (line 44) | func TestParseGpusOpts(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_linux.go
function capShellComplete (line 27) | func capShellComplete(cmd *cobra.Command, args []string, toComplete stri...
FILE: cmd/nerdctl/container/container_run_linux_test.go
function TestRunCustomRootfs (line 49) | func TestRunCustomRootfs(t *testing.T) {
function prepareCustomRootfs (line 70) | func prepareCustomRootfs(base *testutil.Base, imageName string) string {
function TestRunShmSize (line 84) | func TestRunShmSize(t *testing.T) {
function TestRunShmSizeIPCShareable (line 92) | func TestRunShmSizeIPCShareable(t *testing.T) {
function TestRunIPCShareableRemoveMount (line 102) | func TestRunIPCShareableRemoveMount(t *testing.T) {
function TestRunIPCContainerNotExists (line 111) | func TestRunIPCContainerNotExists(t *testing.T) {
function TestRunShmSizeIPCContainer (line 124) | func TestRunShmSizeIPCContainer(t *testing.T) {
function TestRunIPCContainer (line 137) | func TestRunIPCContainer(t *testing.T) {
function TestRunPidHost (line 150) | func TestRunPidHost(t *testing.T) {
function TestRunUtsHost (line 158) | func TestRunUtsHost(t *testing.T) {
function TestRunPidContainer (line 175) | func TestRunPidContainer(t *testing.T) {
function TestRunIpcHost (line 187) | func TestRunIpcHost(t *testing.T) {
function TestRunAddHost (line 199) | func TestRunAddHost(t *testing.T) {
function TestRunAddHostWithCustomHostGatewayIP (line 247) | func TestRunAddHostWithCustomHostGatewayIP(t *testing.T) {
function TestRunUlimit (line 269) | func TestRunUlimit(t *testing.T) {
function TestRunWithInit (line 282) | func TestRunWithInit(t *testing.T) {
function TestRunTTY (line 315) | func TestRunTTY(t *testing.T) {
function TestRunSigProxy (line 384) | func TestRunSigProxy(t *testing.T) {
function TestRunWithFluentdLogDriver (line 449) | func TestRunWithFluentdLogDriver(t *testing.T) {
function TestRunWithFluentdLogDriverWithLogOpt (line 478) | func TestRunWithFluentdLogDriverWithLogOpt(t *testing.T) {
function TestRunWithOOMScoreAdj (line 507) | func TestRunWithOOMScoreAdj(t *testing.T) {
function TestRunWithDetachKeys (line 518) | func TestRunWithDetachKeys(t *testing.T) {
function TestRunWithTtyAndDetached (line 562) | func TestRunWithTtyAndDetached(t *testing.T) {
function TestIssue3568 (line 584) | func TestIssue3568(t *testing.T) {
function TestPortBindingWithCustomHost (line 631) | func TestPortBindingWithCustomHost(t *testing.T) {
function TestRunDeviceCDI (line 672) | func TestRunDeviceCDI(t *testing.T) {
function TestRunDeviceCDIWithNerdctlConfig (line 696) | func TestRunDeviceCDIWithNerdctlConfig(t *testing.T) {
function TestRunGPU (line 728) | func TestRunGPU(t *testing.T) {
function TestRunGPUWithOtherCDIDevices (line 831) | func TestRunGPUWithOtherCDIDevices(t *testing.T) {
function writeTestCDISpec (line 881) | func writeTestCDISpec(t *testing.T, spec string, fileName string, cdiSpe...
function TestSharedIpcSetup (line 889) | func TestSharedIpcSetup(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_log_driver_syslog_test.go
function runSyslogTest (line 36) | func runSyslogTest(t *testing.T, networks []string, syslogFacilities map...
function TestSyslogNetwork (line 121) | func TestSyslogNetwork(t *testing.T) {
function TestSyslogFacilities (line 154) | func TestSyslogFacilities(t *testing.T) {
function TestSyslogFormat (line 200) | func TestSyslogFormat(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_mount_linux_test.go
function TestRunVolume (line 40) | func TestRunVolume(t *testing.T) {
function TestRunAnonymousVolume (line 92) | func TestRunAnonymousVolume(t *testing.T) {
function TestRunVolumeRelativePath (line 103) | func TestRunVolumeRelativePath(t *testing.T) {
function TestRunAnonymousVolumeWithTypeMountFlag (line 114) | func TestRunAnonymousVolumeWithTypeMountFlag(t *testing.T) {
function TestRunAnonymousVolumeWithBuild (line 121) | func TestRunAnonymousVolumeWithBuild(t *testing.T) {
function TestRunCopyingUpInitialContentsOnVolume (line 140) | func TestRunCopyingUpInitialContentsOnVolume(t *testing.T) {
function TestRunCopyingUpInitialContentsOnDockerfileVolume (line 167) | func TestRunCopyingUpInitialContentsOnDockerfileVolume(t *testing.T) {
function TestRunCopyingUpInitialContentsOnVolumeShouldRetainSymlink (line 201) | func TestRunCopyingUpInitialContentsOnVolumeShouldRetainSymlink(t *testi...
function TestRunCopyingUpInitialContentsShouldNotResetTheCopiedContents (line 224) | func TestRunCopyingUpInitialContentsShouldNotResetTheCopiedContents(t *t...
function TestRunTmpfs (line 261) | func TestRunTmpfs(t *testing.T) {
function TestRunBindMountTmpfs (line 289) | func TestRunBindMountTmpfs(t *testing.T) {
function mountExistsWithOpt (line 310) | func mountExistsWithOpt(mountPoint, mountOpt string) test.Comparator {
function TestRunBindMountBind (line 338) | func TestRunBindMountBind(t *testing.T) {
function TestRunMountBindMode (line 411) | func TestRunMountBindMode(t *testing.T) {
function TestRunVolumeBindMode (line 476) | func TestRunVolumeBindMode(t *testing.T) {
function TestRunBindMountPropagation (line 542) | func TestRunBindMountPropagation(t *testing.T) {
function isRootfsShareableMount (line 663) | func isRootfsShareableMount() bool {
function TestRunVolumesFrom (line 686) | func TestRunVolumesFrom(t *testing.T) {
function TestBindMountWhenHostFolderDoesNotExist (line 739) | func TestBindMountWhenHostFolderDoesNotExist(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_mount_windows_test.go
function TestRunMountVolume (line 30) | func TestRunMountVolume(t *testing.T) {
function TestRunMountVolumeInspect (line 84) | func TestRunMountVolumeInspect(t *testing.T) {
function TestRunMountAnonymousVolume (line 179) | func TestRunMountAnonymousVolume(t *testing.T) {
function TestRunMountRelativePath (line 191) | func TestRunMountRelativePath(t *testing.T) {
function TestRunMountNamedPipeVolume (line 201) | func TestRunMountNamedPipeVolume(t *testing.T) {
function TestRunMountVolumeSpec (line 207) | func TestRunMountVolumeSpec(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_network.go
function loadNetworkFlags (line 34) | func loadNetworkFlags(cmd *cobra.Command, globalOpts types.GlobalCommand...
FILE: cmd/nerdctl/container/container_run_network_base_test.go
function baseTestRunPort (line 39) | func baseTestRunPort(t *testing.T, nginxImage string, nginxIndexHTMLSnip...
FILE: cmd/nerdctl/container/container_run_network_linux_test.go
function extractHostPort (line 50) | func extractHostPort(portMapping string, port string) (string, error) {
function valuesOfMapStringString (line 67) | func valuesOfMapStringString(m map[string]string) map[string]struct{} {
function TestRunInternetConnectivity (line 76) | func TestRunInternetConnectivity(t *testing.T) {
function TestRunHostLookup (line 120) | func TestRunHostLookup(t *testing.T) {
function TestRunPortWithNoHostPort (line 187) | func TestRunPortWithNoHostPort(t *testing.T) {
function TestUniqueHostPortAssignement (line 260) | func TestUniqueHostPortAssignement(t *testing.T) {
function TestHostPortAlreadyInUse (line 352) | func TestHostPortAlreadyInUse(t *testing.T) {
function TestRunPort (line 407) | func TestRunPort(t *testing.T) {
function TestRunWithManyPortsThenCleanUp (line 411) | func TestRunWithManyPortsThenCleanUp(t *testing.T) {
function TestRunContainerWithStaticIP (line 455) | func TestRunContainerWithStaticIP(t *testing.T) {
function TestRunDNS (line 532) | func TestRunDNS(t *testing.T) {
function TestRunNetworkHostHostname (line 550) | func TestRunNetworkHostHostname(t *testing.T) {
function TestRunNetworkHost2613 (line 562) | func TestRunNetworkHost2613(t *testing.T) {
function TestSharedNetworkSetup (line 568) | func TestSharedNetworkSetup(t *testing.T) {
function TestSharedNetworkWithNone (line 676) | func TestSharedNetworkWithNone(t *testing.T) {
function TestRunContainerInExistingNetNS (line 697) | func TestRunContainerInExistingNetNS(t *testing.T) {
function TestRunContainerWithMACAddress (line 732) | func TestRunContainerWithMACAddress(t *testing.T) {
function TestHostsFileMounts (line 803) | func TestHostsFileMounts(t *testing.T) {
function TestRunContainerWithStaticIP6 (line 840) | func TestRunContainerWithStaticIP6(t *testing.T) {
function TestNoneNetworkHostName (line 910) | func TestNoneNetworkHostName(t *testing.T) {
function TestHostNetworkHostName (line 935) | func TestHostNetworkHostName(t *testing.T) {
function TestHostNetworkDnsPreserved (line 960) | func TestHostNetworkDnsPreserved(t *testing.T) {
function TestDefaultNetworkDnsNoLocalhost (line 993) | func TestDefaultNetworkDnsNoLocalhost(t *testing.T) {
function TestNoneNetworkDnsConfigs (line 1010) | func TestNoneNetworkDnsConfigs(t *testing.T) {
function TestHostNetworkDnsConfigs (line 1030) | func TestHostNetworkDnsConfigs(t *testing.T) {
function TestDNSWithGlobalConfig (line 1050) | func TestDNSWithGlobalConfig(t *testing.T) {
function TestReservePorts (line 1137) | func TestReservePorts(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_network_windows_test.go
function TestRunInternetConnectivity (line 34) | func TestRunInternetConnectivity(t *testing.T) {
function TestRunPort (line 63) | func TestRunPort(t *testing.T) {
function listHnsEndpointsRegex (line 69) | func listHnsEndpointsRegex(hnsEndpointNameRegex string) ([]hcsshim.HNSEn...
function assertHnsEndpointsExistence (line 91) | func assertHnsEndpointsExistence(t *testing.T, shouldExist bool, contain...
function TestHnsEndpointsExistDuringContainerLifecycle (line 110) | func TestHnsEndpointsExistDuringContainerLifecycle(t *testing.T) {
function getTestingNetwork (line 150) | func getTestingNetwork() (*netutil.NetworkConfig, error) {
function TestHnsEndpointsRemovedAfterAttachedRun (line 161) | func TestHnsEndpointsRemovedAfterAttachedRun(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_nolinux.go
function capShellComplete (line 25) | func capShellComplete(cmd *cobra.Command, args []string, toComplete stri...
FILE: cmd/nerdctl/container/container_run_restart_linux_test.go
function TestRunRestart (line 35) | func TestRunRestart(t *testing.T) {
function TestRunRestartWithOnFailure (line 94) | func TestRunRestartWithOnFailure(t *testing.T) {
function TestRunRestartWithUnlessStopped (line 115) | func TestRunRestartWithUnlessStopped(t *testing.T) {
function TestUpdateRestartPolicy (line 139) | func TestUpdateRestartPolicy(t *testing.T) {
function TestAddRestartPolicy (line 162) | func TestAddRestartPolicy(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_runtime_linux_test.go
function TestRunSysctl (line 29) | func TestRunSysctl(t *testing.T) {
function TestRunSysctl_DefaultUnprivilegedPortStart (line 38) | func TestRunSysctl_DefaultUnprivilegedPortStart(t *testing.T) {
function TestRunSysctl_UnprivilegedPortStartOverride (line 50) | func TestRunSysctl_UnprivilegedPortStartOverride(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_security_linux_test.go
function getCapEff (line 34) | func getCapEff(base *testutil.Base, args ...string) uint64 {
constant CapNetRaw (line 53) | CapNetRaw = 13
constant CapIPCLock (line 54) | CapIPCLock = 14
function TestRunCap (line 57) | func TestRunCap(t *testing.T) {
function TestRunSecurityOptSeccomp (line 120) | func TestRunSecurityOptSeccomp(t *testing.T) {
function TestRunApparmor (line 172) | func TestRunApparmor(t *testing.T) {
function TestRunSeccompCapSysPtrace (line 190) | func TestRunSeccompCapSysPtrace(t *testing.T) {
function TestRunSystemPathsUnconfined (line 196) | func TestRunSystemPathsUnconfined(t *testing.T) {
function TestRunPrivileged (line 251) | func TestRunPrivileged(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_soci_linux_test.go
function TestRunSoci (line 34) | func TestRunSoci(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_stargz_linux_test.go
function TestRunStargz (line 29) | func TestRunStargz(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_systemd_linux_test.go
function TestRunWithSystemdAlways (line 31) | func TestRunWithSystemdAlways(t *testing.T) {
function TestRunWithSystemdTrueEnabled (line 68) | func TestRunWithSystemdTrueEnabled(t *testing.T) {
function TestRunWithSystemdTrueDisabled (line 111) | func TestRunWithSystemdTrueDisabled(t *testing.T) {
function TestRunWithSystemdFalse (line 136) | func TestRunWithSystemdFalse(t *testing.T) {
function TestRunWithNoSystemd (line 173) | func TestRunWithNoSystemd(t *testing.T) {
function TestRunWithSystemdPrivilegedError (line 210) | func TestRunWithSystemdPrivilegedError(t *testing.T) {
function TestRunWithSystemdPrivilegedSuccess (line 223) | func TestRunWithSystemdPrivilegedSuccess(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_test.go
function TestRunEntrypointWithBuild (line 48) | func TestRunEntrypointWithBuild(t *testing.T) {
function TestRunWorkdir (line 111) | func TestRunWorkdir(t *testing.T) {
function TestRunWithDoubleDash (line 126) | func TestRunWithDoubleDash(t *testing.T) {
function TestRunExitCode (line 138) | func TestRunExitCode(t *testing.T) {
function TestRunCIDFile (line 172) | func TestRunCIDFile(t *testing.T) {
function TestRunEnvFile (line 190) | func TestRunEnvFile(t *testing.T) {
function TestRunEnv (line 219) | func TestRunEnv(t *testing.T) {
function TestRunHostnameEnv (line 269) | func TestRunHostnameEnv(t *testing.T) {
function TestRunStdin (line 295) | func TestRunStdin(t *testing.T) {
function TestRunWithJsonFileLogDriver (line 311) | func TestRunWithJsonFileLogDriver(t *testing.T) {
function TestRunWithJsonFileLogDriverAndLogPathOpt (line 343) | func TestRunWithJsonFileLogDriverAndLogPathOpt(t *testing.T) {
function TestRunWithJournaldLogDriver (line 378) | func TestRunWithJournaldLogDriver(t *testing.T) {
function TestRunWithJournaldLogDriverAndLogOpt (line 437) | func TestRunWithJournaldLogDriverAndLogOpt(t *testing.T) {
function TestRunWithLogBinary (line 471) | func TestRunWithLogBinary(t *testing.T) {
function TestRunAddHostRemainsWhenAnotherContainerCreated (line 563) | func TestRunAddHostRemainsWhenAnotherContainerCreated(t *testing.T) {
function TestRunRmTime (line 600) | func TestRunRmTime(t *testing.T) {
function runAttachStdin (line 617) | func runAttachStdin(t *testing.T, testStr string, args []string) string {
function runAttach (line 644) | func runAttach(t *testing.T, testStr string, args []string) string {
function TestRunAttachFlag (line 670) | func TestRunAttachFlag(t *testing.T) {
function TestRunQuiet (line 737) | func TestRunQuiet(t *testing.T) {
function TestRunFromOCIArchive (line 764) | func TestRunFromOCIArchive(t *testing.T) {
function TestRunDomainname (line 792) | func TestRunDomainname(t *testing.T) {
function TestRunHealthcheckFlags (line 843) | func TestRunHealthcheckFlags(t *testing.T) {
function TestRunHealthcheckFromImage (line 995) | func TestRunHealthcheckFromImage(t *testing.T) {
function countFIFOFiles (line 1069) | func countFIFOFiles(root string) (int, error) {
function TestCleanupFIFOs (line 1082) | func TestCleanupFIFOs(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_user_linux_test.go
function TestRunUserGID (line 34) | func TestRunUserGID(t *testing.T) {
function TestRunUmask (line 61) | func TestRunUmask(t *testing.T) {
function TestRunAddGroup (line 69) | func TestRunAddGroup(t *testing.T) {
function TestRunAddGroup_CVE_2023_25173 (line 119) | func TestRunAddGroup_CVE_2023_25173(t *testing.T) {
function TestUsernsMappingRunCmd (line 164) | func TestUsernsMappingRunCmd(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_user_windows_test.go
function TestRunUserName (line 29) | func TestRunUserName(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_verify_linux_test.go
function TestRunVerifyCosign (line 32) | func TestRunVerifyCosign(t *testing.T) {
FILE: cmd/nerdctl/container/container_run_windows_test.go
function TestRunHostProcessContainer (line 34) | func TestRunHostProcessContainer(t *testing.T) {
function TestRunHostProcessContainerAsUser (line 57) | func TestRunHostProcessContainerAsUser(t *testing.T) {
function TestRunHostProcessContainerAsLocalService (line 65) | func TestRunHostProcessContainerAsLocalService(t *testing.T) {
function TestRunHostProcessContainerAsNetworkService (line 73) | func TestRunHostProcessContainerAsNetworkService(t *testing.T) {
function TestRunProcessIsolated (line 81) | func TestRunProcessIsolated(t *testing.T) {
function TestRunHyperVContainer (line 96) | func TestRunHyperVContainer(t *testing.T) {
function TestRunProcessContainer (line 120) | func TestRunProcessContainer(t *testing.T) {
function TestRunProcessContainerWithDevice (line 139) | func TestRunProcessContainerWithDevice(t *testing.T) {
function TestRunWithTtyAndDetached (line 154) | func TestRunWithTtyAndDetached(t *testing.T) {
FILE: cmd/nerdctl/container/container_start.go
function StartCommand (line 32) | func StartCommand() *cobra.Command {
function startOptions (line 52) | func startOptions(cmd *cobra.Command) (types.ContainerStartOptions, erro...
function startAction (line 88) | func startAction(cmd *cobra.Command, args []string) error {
function startShellComplete (line 105) | func startShellComplete(cmd *cobra.Command, args []string, toComplete st...
FILE: cmd/nerdctl/container/container_start_linux_test.go
function TestStartDetachKeys (line 39) | func TestStartDetachKeys(t *testing.T) {
function TestStartWithCheckpoint (line 84) | func TestStartWithCheckpoint(t *testing.T) {
FILE: cmd/nerdctl/container/container_start_test.go
function TestStart (line 30) | func TestStart(t *testing.T) {
function TestStartAttach (line 52) | func TestStartAttach(t *testing.T) {
FILE: cmd/nerdctl/container/container_stats.go
function StatsCommand (line 31) | func StatsCommand() *cobra.Command {
function addStatsFlags (line 46) | func addStatsFlags(cmd *cobra.Command) {
function processStatsCommandFlags (line 53) | func processStatsCommandFlags(cmd *cobra.Command) (types.ContainerStatsO...
function statsAction (line 90) | func statsAction(cmd *cobra.Command, args []string) error {
function statsShellComplete (line 105) | func statsShellComplete(cmd *cobra.Command, args []string, toComplete st...
FILE: cmd/nerdctl/container/container_stats_test.go
function TestStats (line 31) | func TestStats(t *testing.T) {
FILE: cmd/nerdctl/container/container_stop.go
function StopCommand (line 33) | func StopCommand() *cobra.Command {
function stopOptions (line 48) | func stopOptions(cmd *cobra.Command) (types.ContainerStopOptions, error) {
function stopAction (line 79) | func stopAction(cmd *cobra.Command, args []string) error {
function stopShellComplete (line 94) | func stopShellComplete(cmd *cobra.Command, args []string, toComplete str...
FILE: cmd/nerdctl/container/container_stop_linux_test.go
function TestStopStart (line 39) | func TestStopStart(t *testing.T) {
function TestStopWithStopSignal (line 79) | func TestStopWithStopSignal(t *testing.T) {
function TestStopCleanupForwards (line 99) | func TestStopCleanupForwards(t *testing.T) {
function TestStopCreated (line 146) | func TestStopCreated(t *testing.T) {
function TestStopWithLongTimeoutAndSIGKILL (line 167) | func TestStopWithLongTimeoutAndSIGKILL(t *testing.T) {
function TestStopWithTimeout (line 185) | func TestStopWithTimeout(t *testing.T) {
function TestStopCleanupFIFOs (line 202) | func TestStopCleanupFIFOs(t *testing.T) {
FILE: cmd/nerdctl/container/container_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/container/container_top.go
function TopCommand (line 37) | func TopCommand() *cobra.Command {
function topAction (line 51) | func topAction(cmd *cobra.Command, args []string) error {
function topShellComplete (line 86) | func topShellComplete(cmd *cobra.Command, args []string, toComplete stri...
FILE: cmd/nerdctl/container/container_top_test.go
function TestTop (line 30) | func TestTop(t *testing.T) {
function TestTopHyperVContainer (line 72) | func TestTopHyperVContainer(t *testing.T) {
FILE: cmd/nerdctl/container/container_unpause.go
function UnpauseCommand (line 31) | func UnpauseCommand() *cobra.Command {
function unpauseOptions (line 44) | func unpauseOptions(cmd *cobra.Command) (types.ContainerUnpauseOptions, ...
function unpauseAction (line 58) | func unpauseAction(cmd *cobra.Command, args []string) error {
function unpauseShellComplete (line 73) | func unpauseShellComplete(cmd *cobra.Command, args []string, toComplete ...
FILE: cmd/nerdctl/container/container_update.go
type updateResourceOptions (line 47) | type updateResourceOptions struct
function UpdateCommand (line 60) | func UpdateCommand() *cobra.Command {
function setUpdateFlags (line 75) | func setUpdateFlags(cmd *cobra.Command) {
function updateAction (line 94) | func updateAction(cmd *cobra.Command, args []string) error {
function getUpdateOption (line 122) | func getUpdateOption(cmd *cobra.Command, globalOptions types.GlobalComma...
function updateContainer (line 245) | func updateContainer(ctx context.Context, client *containerd.Client, id ...
function updateContainerSpec (line 382) | func updateContainerSpec(ctx context.Context, container containerd.Conta...
function copySpec (line 396) | func copySpec(spec *runtimespec.Spec) (*runtimespec.Spec, error) {
function updateShellComplete (line 412) | func updateShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/container/container_update_linux_test.go
function TestUpdateContainer (line 31) | func TestUpdateContainer(t *testing.T) {
FILE: cmd/nerdctl/container/container_wait.go
function WaitCommand (line 31) | func WaitCommand() *cobra.Command {
function waitOptions (line 44) | func waitOptions(cmd *cobra.Command) (types.ContainerWaitOptions, error) {
function waitAction (line 55) | func waitAction(cmd *cobra.Command, args []string) error {
function waitShellComplete (line 70) | func waitShellComplete(cmd *cobra.Command, args []string, toComplete str...
FILE: cmd/nerdctl/container/container_wait_test.go
function TestWait (line 29) | func TestWait(t *testing.T) {
FILE: cmd/nerdctl/container/multi_platform_linux_test.go
function testMultiPlatformRun (line 33) | func testMultiPlatformRun(base *testutil.Base, alpineImage string) {
function TestMultiPlatformRun (line 50) | func TestMultiPlatformRun(t *testing.T) {
function TestMultiPlatformBuildPush (line 55) | func TestMultiPlatformBuildPush(t *testing.T) {
function TestMultiPlatformBuildPushNoRun (line 82) | func TestMultiPlatformBuildPushNoRun(t *testing.T) {
function TestMultiPlatformPullPushAllPlatforms (line 106) | func TestMultiPlatformPullPushAllPlatforms(t *testing.T) {
function TestMultiPlatformComposeUpBuild (line 122) | func TestMultiPlatformComposeUpBuild(t *testing.T) {
FILE: cmd/nerdctl/helpers/cobra.go
function UnknownSubcommandAction (line 36) | func UnknownSubcommandAction(cmd *cobra.Command, args []string) error {
function IsExactArgs (line 52) | func IsExactArgs(number int) cobra.PositionalArgs {
function AddStringFlag (line 70) | func AddStringFlag(cmd *cobra.Command, name string, aliases []string, va...
function AddIntFlag (line 92) | func AddIntFlag(cmd *cobra.Command, name string, aliases []string, value...
function AddDurationFlag (line 118) | func AddDurationFlag(cmd *cobra.Command, name string, aliases []string, ...
function GlobalFlags (line 143) | func GlobalFlags(cmd *cobra.Command) (string, []string) {
function AddPersistentStringArrayFlag (line 172) | func AddPersistentStringArrayFlag(cmd *cobra.Command, name string, alias...
function AddPersistentStringFlag (line 205) | func AddPersistentStringFlag(cmd *cobra.Command, name string, aliases, l...
function AddPersistentBoolFlag (line 256) | func AddPersistentBoolFlag(cmd *cobra.Command, name string, aliases, non...
function HiddenPersistentStringArrayFlag (line 293) | func HiddenPersistentStringArrayFlag(cmd *cobra.Command, name string, va...
FILE: cmd/nerdctl/helpers/consts.go
constant Category (line 20) | Category = "category"
constant Management (line 21) | Management = "management"
FILE: cmd/nerdctl/helpers/flagutil.go
function VerifyOptions (line 28) | func VerifyOptions(cmd *cobra.Command) (opt types.ImageVerifyOptions, er...
function ValidateHealthcheckFlags (line 50) | func ValidateHealthcheckFlags(options types.ContainerCreateOptions) error {
function ProcessRootCmdFlags (line 79) | func ProcessRootCmdFlags(cmd *cobra.Command) (types.GlobalCommandOptions...
function CheckExperimental (line 186) | func CheckExperimental(feature string) func(cmd *cobra.Command, args []s...
FILE: cmd/nerdctl/helpers/prompt.go
function Confirm (line 26) | func Confirm(cmd *cobra.Command, message string) (bool, error) {
FILE: cmd/nerdctl/helpers/testing.go
function CreateBuildContext (line 31) | func CreateBuildContext(t *testing.T, dockerfile string) string {
function ExtractDockerArchive (line 38) | func ExtractDockerArchive(archiveTarPath, rootfsPath string) error {
type DockerArchiveManifestJSON (line 75) | type DockerArchiveManifestJSON
type DockerArchiveManifestJSONEntry (line 77) | type DockerArchiveManifestJSONEntry struct
function ExtractTarFile (line 83) | func ExtractTarFile(dirPath, tarFilePath string) error {
FILE: cmd/nerdctl/helpers/testing_linux.go
type CosignKeyPair (line 35) | type CosignKeyPair struct
function NewCosignKeyPair (line 41) | func NewCosignKeyPair(t testing.TB, path string, password string) *Cosig...
function ComposeUp (line 64) | func ComposeUp(t *testing.T, base *testutil.Base, dockerComposeYAML stri...
FILE: cmd/nerdctl/image/image.go
function Command (line 26) | func Command() *cobra.Command {
function imageLsCommand (line 56) | func imageLsCommand() *cobra.Command {
function imageRemoveCommand (line 63) | func imageRemoveCommand() *cobra.Command {
FILE: cmd/nerdctl/image/image_convert.go
constant imageConvertHelp (line 31) | imageConvertHelp = `Convert an image format.
function convertCommand (line 42) | func convertCommand() *cobra.Command {
function convertOptions (line 114) | func convertOptions(cmd *cobra.Command) (types.ImageConvertOptions, erro...
function imageConvertAction (line 325) | func imageConvertAction(cmd *cobra.Command, args []string) error {
function imageConvertShellComplete (line 342) | func imageConvertShellComplete(cmd *cobra.Command, args []string, toComp...
FILE: cmd/nerdctl/image/image_convert_linux_test.go
function TestImageConvert (line 32) | func TestImageConvert(t *testing.T) {
function TestImageConvertNydusVerify (line 138) | func TestImageConvertNydusVerify(t *testing.T) {
FILE: cmd/nerdctl/image/image_cryptutil.go
function registerImgcryptFlags (line 35) | func registerImgcryptFlags(cmd *cobra.Command, encrypt bool) {
function cryptOptions (line 58) | func cryptOptions(cmd *cobra.Command, args []string, encrypt bool) (type...
function getImgcryptAction (line 107) | func getImgcryptAction(encrypt bool) func(cmd *cobra.Command, args []str...
function imgcryptShellComplete (line 126) | func imgcryptShellComplete(cmd *cobra.Command, args []string, toComplete...
FILE: cmd/nerdctl/image/image_decrypt.go
constant imageDecryptHelp (line 23) | imageDecryptHelp = `Decrypt an image locally.
function decryptCommand (line 48) | func decryptCommand() *cobra.Command {
FILE: cmd/nerdctl/image/image_encrypt.go
constant imageEncryptHelp (line 23) | imageEncryptHelp = `Encrypt image layers.
function encryptCommand (line 48) | func encryptCommand() *cobra.Command {
FILE: cmd/nerdctl/image/image_encrypt_linux_test.go
function TestImageEncryptJWE (line 34) | func TestImageEncryptJWE(t *testing.T) {
FILE: cmd/nerdctl/image/image_history.go
function HistoryCommand (line 46) | func HistoryCommand() *cobra.Command {
function addHistoryFlags (line 60) | func addHistoryFlags(cmd *cobra.Command) {
type historyPrintable (line 70) | type historyPrintable struct
function historyAction (line 82) | func historyAction(cmd *cobra.Command, args []string) error {
type historyPrinter (line 159) | type historyPrinter struct
method printHistory (line 225) | func (x *historyPrinter) printHistory(printable historyPrintable) error {
function printHistory (line 165) | func printHistory(cmd *cobra.Command, historys []historyPrintable) error {
function historyShellComplete (line 273) | func historyShellComplete(cmd *cobra.Command, args []string, toComplete ...
FILE: cmd/nerdctl/image/image_history_test.go
type historyObj (line 38) | type historyObj struct
constant createdAt1 (line 47) | createdAt1 = "2021-03-31T10:21:21-07:00"
constant createdAt2 (line 48) | createdAt2 = "2021-03-31T10:21:23-07:00"
function decode (line 84) | func decode(stdout string) ([]historyObj, error) {
function TestImageHistory (line 100) | func TestImageHistory(t *testing.T) {
FILE: cmd/nerdctl/image/image_import.go
function ImportCommand (line 35) | func ImportCommand() *cobra.Command {
function importOptions (line 51) | func importOptions(cmd *cobra.Command, args []string) (types.ImageImport...
function importAction (line 103) | func importAction(cmd *cobra.Command, args []string) error {
function imageImportShellComplete (line 127) | func imageImportShellComplete(cmd *cobra.Command, args []string, toCompl...
function hasHTTPPrefix (line 131) | func hasHTTPPrefix(s string) bool {
FILE: cmd/nerdctl/image/image_import_linux_test.go
function minimalRootfsTar (line 40) | func minimalRootfsTar(t *testing.T) *bytes.Buffer {
function TestImageImportErrors (line 48) | func TestImageImportErrors(t *testing.T) {
function TestImageImport (line 71) | func TestImageImport(t *testing.T) {
FILE: cmd/nerdctl/image/image_inspect.go
function inspectCommand (line 34) | func inspectCommand() *cobra.Command {
function InspectOptions (line 62) | func InspectOptions(cmd *cobra.Command, platform *string) (types.ImageIn...
function imageInspectAction (line 91) | func imageInspectAction(cmd *cobra.Command, args []string) error {
function imageInspectShellComplete (line 122) | func imageInspectShellComplete(cmd *cobra.Command, args []string, toComp...
FILE: cmd/nerdctl/image/image_inspect_test.go
function TestImageInspectSimpleCases (line 38) | func TestImageInspectSimpleCases(t *testing.T) {
function TestImageInspectDifferentValidReferencesForTheSameImage (line 99) | func TestImageInspectDifferentValidReferencesForTheSameImage(t *testing....
FILE: cmd/nerdctl/image/image_list.go
function ImagesCommand (line 32) | func ImagesCommand() *cobra.Command {
function listOptions (line 73) | func listOptions(cmd *cobra.Command, args []string) (*types.ImageListOpt...
function imagesAction (line 128) | func imagesAction(cmd *cobra.Command, args []string) error {
function imagesShellComplete (line 146) | func imagesShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/image/image_list_test.go
function TestImages (line 41) | func TestImages(t *testing.T) {
function TestImagesFilter (line 138) | func TestImagesFilter(t *testing.T) {
function TestImagesFilterDangling (line 290) | func TestImagesFilterDangling(t *testing.T) {
function TestImagesKubeWithKubeHideDupe (line 331) | func TestImagesKubeWithKubeHideDupe(t *testing.T) {
FILE: cmd/nerdctl/image/image_load.go
function LoadCommand (line 29) | func LoadCommand() *cobra.Command {
function processLoadCommandFlags (line 53) | func processLoadCommandFlags(cmd *cobra.Command) (types.ImageLoadOptions...
function loadAction (line 85) | func loadAction(cmd *cobra.Command, _ []string) error {
FILE: cmd/nerdctl/image/image_load_test.go
function TestLoadStdinFromPipe (line 36) | func TestLoadStdinFromPipe(t *testing.T) {
function TestLoadStdinEmpty (line 75) | func TestLoadStdinEmpty(t *testing.T) {
function TestLoadQuiet (line 88) | func TestLoadQuiet(t *testing.T) {
FILE: cmd/nerdctl/image/image_prune.go
function pruneCommand (line 30) | func pruneCommand() *cobra.Command {
function pruneOptions (line 46) | func pruneOptions(cmd *cobra.Command) (types.ImagePruneOptions, error) {
function imagePruneAction (line 78) | func imagePruneAction(cmd *cobra.Command, _ []string) error {
FILE: cmd/nerdctl/image/image_prune_test.go
function TestImagePrune (line 36) | func TestImagePrune(t *testing.T) {
FILE: cmd/nerdctl/image/image_pull.go
function PullCommand (line 31) | func PullCommand() *cobra.Command {
function processPullCommandFlags (line 75) | func processPullCommandFlags(cmd *cobra.Command) (types.ImagePullOptions...
function pullAction (line 138) | func pullAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/image/image_pull_linux_test.go
function TestImagePullWithCosign (line 37) | func TestImagePullWithCosign(t *testing.T) {
function TestImagePullPlainHttpWithDefaultPort (line 113) | func TestImagePullPlainHttpWithDefaultPort(t *testing.T) {
function TestImagePullSoci (line 161) | func TestImagePullSoci(t *testing.T) {
function TestImagePullProcessOutput (line 253) | func TestImagePullProcessOutput(t *testing.T) {
FILE: cmd/nerdctl/image/image_push.go
constant allowNonDistFlag (line 30) | allowNonDistFlag = "allow-nondistributable-artifacts"
function PushCommand (line 33) | func PushCommand() *cobra.Command {
function pushOptions (line 75) | func pushOptions(cmd *cobra.Command) (types.ImagePushOptions, error) {
function pushAction (line 131) | func pushAction(cmd *cobra.Command, args []string) error {
function pushShellComplete (line 147) | func pushShellComplete(cmd *cobra.Command, args []string, toComplete str...
function signOptions (line 152) | func signOptions(cmd *cobra.Command) (opt types.ImageSignOptions, err er...
function sociOptions (line 165) | func sociOptions(cmd *cobra.Command) (opt types.SociOptions, err error) {
FILE: cmd/nerdctl/image/image_push_linux_test.go
function TestPush (line 36) | func TestPush(t *testing.T) {
FILE: cmd/nerdctl/image/image_remove.go
function RmiCommand (line 29) | func RmiCommand() *cobra.Command {
function removeOptions (line 45) | func removeOptions(cmd *cobra.Command) (types.ImageRemoveOptions, error) {
function rmiAction (line 68) | func rmiAction(cmd *cobra.Command, args []string) error {
function rmiShellComplete (line 83) | func rmiShellComplete(cmd *cobra.Command, args []string, toComplete stri...
FILE: cmd/nerdctl/image/image_remove_test.go
function TestRemove (line 36) | func TestRemove(t *testing.T) {
function TestIssue3016 (line 311) | func TestIssue3016(t *testing.T) {
function TestRemoveKubeWithKubeHideDupe (line 356) | func TestRemoveKubeWithKubeHideDupe(t *testing.T) {
FILE: cmd/nerdctl/image/image_save.go
function SaveCommand (line 33) | func SaveCommand() *cobra.Command {
function saveOptions (line 56) | func saveOptions(cmd *cobra.Command) (types.ImageSaveOptions, error) {
function saveAction (line 78) | func saveAction(cmd *cobra.Command, args []string) error {
function saveShellComplete (line 112) | func saveShellComplete(cmd *cobra.Command, args []string, toComplete str...
FILE: cmd/nerdctl/image/image_save_test.go
function TestSaveContent (line 38) | func TestSaveContent(t *testing.T) {
function TestSave (line 69) | func TestSave(t *testing.T) {
function TestSaveMultipleImagesWithSameIDAndLoad (line 147) | func TestSaveMultipleImagesWithSameIDAndLoad(t *testing.T) {
FILE: cmd/nerdctl/image/image_tag.go
function TagCommand (line 29) | func TagCommand() *cobra.Command {
function tagAction (line 42) | func tagAction(cmd *cobra.Command, args []string) error {
function tagShellComplete (line 63) | func tagShellComplete(cmd *cobra.Command, args []string, toComplete stri...
FILE: cmd/nerdctl/image/image_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/inspect/inspect.go
function Command (line 40) | func Command() *cobra.Command {
function addInspectFlags (line 61) | func addInspectFlags(cmd *cobra.Command) {
function inspectAction (line 78) | func inspectAction(cmd *cobra.Command, args []string) error {
function inspectShellComplete (line 186) | func inspectShellComplete(cmd *cobra.Command, args []string, toComplete ...
FILE: cmd/nerdctl/inspect/inspect_test.go
function TestMain (line 33) | func TestMain(m *testing.M) {
function TestInspectSimpleCase (line 37) | func TestInspectSimpleCase(t *testing.T) {
FILE: cmd/nerdctl/internal/internal.go
function Command (line 23) | func Command() *cobra.Command {
FILE: cmd/nerdctl/internal/internal_oci_hook.go
function newInternalOCIHookCommandCommand (line 30) | func newInternalOCIHookCommandCommand() *cobra.Command {
function internalOCIHookAction (line 41) | func internalOCIHookAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/ipfs/ipfs.go
function NewIPFSCommand (line 25) | func NewIPFSCommand() *cobra.Command {
FILE: cmd/nerdctl/ipfs/ipfs_compose_linux_test.go
function TestIPFSCompNoBuild (line 41) | func TestIPFSCompNoBuild(t *testing.T) {
function subtestTestIPFSCompNoB (line 86) | func subtestTestIPFSCompNoB(t *testing.T, stargz bool, byAddr bool) *tes...
function TestIPFSCompBuild (line 190) | func TestIPFSCompBuild(t *testing.T) {
function composeUP (line 272) | func composeUP(data test.Data, helpers test.Helpers, dockerComposeYAML s...
FILE: cmd/nerdctl/ipfs/ipfs_kubo_linux_test.go
function TestIPFSAddrWithKubo (line 33) | func TestIPFSAddrWithKubo(t *testing.T) {
FILE: cmd/nerdctl/ipfs/ipfs_registry.go
function newIPFSRegistryCommand (line 25) | func newIPFSRegistryCommand() *cobra.Command {
FILE: cmd/nerdctl/ipfs/ipfs_registry_linux_test.go
function pushToIPFS (line 38) | func pushToIPFS(helpers test.Helpers, name string, opts ...string) string {
function TestIPFSNerdctlRegistry (line 52) | func TestIPFSNerdctlRegistry(t *testing.T) {
FILE: cmd/nerdctl/ipfs/ipfs_registry_serve.go
constant defaultIPFSRegistry (line 28) | defaultIPFSRegistry = "localhost:5050"
constant defaultIPFSReadRetryNum (line 29) | defaultIPFSReadRetryNum = 0
constant defaultIPFSReadTimeoutDuration (line 30) | defaultIPFSReadTimeoutDuration = 0
function newIPFSRegistryServeCommand (line 33) | func newIPFSRegistryServeCommand() *cobra.Command {
function processIPFSRegistryServeOptions (line 50) | func processIPFSRegistryServeOptions(cmd *cobra.Command) (opts types.IPF...
function ipfsRegistryServeAction (line 75) | func ipfsRegistryServeAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/ipfs/ipfs_simple_linux_test.go
function TestIPFSSimple (line 31) | func TestIPFSSimple(t *testing.T) {
FILE: cmd/nerdctl/ipfs/ipfs_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/issues/issues_linux_test.go
function TestIssue3425 (line 33) | func TestIssue3425(t *testing.T) {
FILE: cmd/nerdctl/issues/main_linux_test.go
function TestMain (line 29) | func TestMain(m *testing.M) {
function TestIssue108 (line 35) | func TestIssue108(t *testing.T) {
FILE: cmd/nerdctl/login/login.go
function Command (line 33) | func Command() *cobra.Command {
function loginOptions (line 48) | func loginOptions(cmd *cobra.Command) (types.LoginCommandOptions, error) {
function loginAction (line 98) | func loginAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/login/login_linux_test.go
type Client (line 41) | type Client struct
method WithInsecure (line 46) | func (ag *Client) WithInsecure(value bool) *Client {
method WithHostsDir (line 51) | func (ag *Client) WithHostsDir(hostDirs string) *Client {
method WithCredentials (line 56) | func (ag *Client) WithCredentials(username, password string) *Client {
method WithConfigPath (line 66) | func (ag *Client) WithConfigPath(value string) *Client {
method GetConfigPath (line 71) | func (ag *Client) GetConfigPath() string {
method Run (line 75) | func (ag *Client) Run(base *testutil.Base, host string) *testutil.Cmd {
function TestLoginPersistence (line 93) | func TestLoginPersistence(t *testing.T) {
function TestLoginAgainstVariants (line 202) | func TestLoginAgainstVariants(t *testing.T) {
FILE: cmd/nerdctl/login/login_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/login/logout.go
function LogoutCommand (line 27) | func LogoutCommand() *cobra.Command {
function logoutAction (line 39) | func logoutAction(cmd *cobra.Command, args []string) error {
function logoutShellComplete (line 59) | func logoutShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/main.go
function usage (line 65) | func usage(c *cobra.Command) error {
function main (line 132) | func main() {
function xmain (line 139) | func xmain() error {
function initRootCmdFlags (line 153) | func initRootCmdFlags(rootCmd *cobra.Command, tomlPath string) (*pflag.F...
function newApp (line 202) | func newApp() (*cobra.Command, error) {
FILE: cmd/nerdctl/main_linux.go
function appNeedsRootlessParentMain (line 28) | func appNeedsRootlessParentMain(cmd *cobra.Command, args []string) bool {
function addApparmorCommand (line 67) | func addApparmorCommand(rootCmd *cobra.Command) {
function resetSavedSETUID (line 76) | func resetSavedSETUID() error {
FILE: cmd/nerdctl/main_nolinux.go
function appNeedsRootlessParentMain (line 25) | func appNeedsRootlessParentMain(cmd *cobra.Command, args []string) bool {
function addApparmorCommand (line 29) | func addApparmorCommand(rootCmd *cobra.Command) {
function resetSavedSETUID (line 33) | func resetSavedSETUID() error {
FILE: cmd/nerdctl/main_test.go
function TestMain (line 32) | func TestMain(m *testing.M) {
function TestUnknownCommand (line 37) | func TestUnknownCommand(t *testing.T) {
function TestNerdctlConfig (line 84) | func TestNerdctlConfig(t *testing.T) {
FILE: cmd/nerdctl/main_test_test.go
function TestTest (line 31) | func TestTest(t *testing.T) {
FILE: cmd/nerdctl/manifest/manifest.go
function Command (line 25) | func Command() *cobra.Command {
FILE: cmd/nerdctl/manifest/manifest_annotate.go
function annotateCommand (line 28) | func annotateCommand() *cobra.Command {
function processAnnotateFlags (line 46) | func processAnnotateFlags(cmd *cobra.Command) (types.ManifestAnnotateOpt...
function annotateAction (line 84) | func annotateAction(cmd *cobra.Command, args []string) error {
function annotateShellComplete (line 96) | func annotateShellComplete(cmd *cobra.Command, args []string, toComplete...
FILE: cmd/nerdctl/manifest/manifest_annotate_linux_test.go
function TestManifestAnnotateErrors (line 29) | func TestManifestAnnotateErrors(t *testing.T) {
function TestManifestAnnotate (line 75) | func TestManifestAnnotate(t *testing.T) {
FILE: cmd/nerdctl/manifest/manifest_create.go
function createCommand (line 30) | func createCommand() *cobra.Command {
function processCreateFlags (line 45) | func processCreateFlags(cmd *cobra.Command) (types.ManifestCreateOptions...
function createAction (line 66) | func createAction(cmd *cobra.Command, args []string) error {
function createShellComplete (line 85) | func createShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/manifest/manifest_create_linux_test.go
function TestManifestCreateErrors (line 30) | func TestManifestCreateErrors(t *testing.T) {
function TestManifestCreate (line 80) | func TestManifestCreate(t *testing.T) {
FILE: cmd/nerdctl/manifest/manifest_inspect.go
function inspectCommand (line 31) | func inspectCommand() *cobra.Command {
function processInspectFlags (line 46) | func processInspectFlags(cmd *cobra.Command) (types.ManifestInspectOptio...
function inspectAction (line 67) | func inspectAction(cmd *cobra.Command, args []string) error {
function inspectShellComplete (line 93) | func inspectShellComplete(cmd *cobra.Command, args []string, toComplete ...
FILE: cmd/nerdctl/manifest/manifest_inspect_linux_test.go
constant testImageName (line 35) | testImageName = "alpine"
constant testPlatform (line 36) | testPlatform = "linux/amd64"
type testData (line 39) | type testData struct
method imageWithDigest (line 59) | func (td *testData) imageWithDigest() string {
method isAmd64Platform (line 63) | func (td *testData) isAmd64Platform(platform *ocispec.Platform) bool {
function newTestData (line 48) | func newTestData(imageName, platform string) *testData {
function TestManifestInspect (line 69) | func TestManifestInspect(t *testing.T) {
FILE: cmd/nerdctl/manifest/manifest_push.go
function pushCommand (line 28) | func pushCommand() *cobra.Command {
function processPushFlags (line 43) | func processPushFlags(cmd *cobra.Command) (types.ManifestPushOptions, er...
function pushAction (line 66) | func pushAction(cmd *cobra.Command, args []string) error {
function pushShellComplete (line 78) | func pushShellComplete(cmd *cobra.Command, args []string, toComplete str...
FILE: cmd/nerdctl/manifest/manifest_push_linux_test.go
function TestManifestPushErrors (line 33) | func TestManifestPushErrors(t *testing.T) {
function TestManifestPush (line 64) | func TestManifestPush(t *testing.T) {
FILE: cmd/nerdctl/manifest/manifest_remove.go
function removeCommand (line 29) | func removeCommand() *cobra.Command {
function removeAction (line 42) | func removeAction(cmd *cobra.Command, refs []string) error {
function removeShellComplete (line 57) | func removeShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/manifest/manifest_remove_linux_test.go
function TestManifestsRemove (line 29) | func TestManifestsRemove(t *testing.T) {
FILE: cmd/nerdctl/manifest/manifest_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/namespace/namespace.go
function Command (line 25) | func Command() *cobra.Command {
FILE: cmd/nerdctl/namespace/namespace_create.go
function createCommand (line 28) | func createCommand() *cobra.Command {
function processNamespaceCreateCommandOption (line 42) | func processNamespaceCreateCommandOption(cmd *cobra.Command) (types.Name...
function createAction (line 57) | func createAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/namespace/namespace_inspect.go
function inspectCommand (line 29) | func inspectCommand() *cobra.Command {
function inspectOptions (line 46) | func inspectOptions(cmd *cobra.Command) (types.NamespaceInspectOptions, ...
function inspectAction (line 62) | func inspectAction(cmd *cobra.Command, args []string) error {
function namespaceInspectShellComplete (line 77) | func namespaceInspectShellComplete(cmd *cobra.Command, args []string, to...
FILE: cmd/nerdctl/namespace/namespace_list.go
function listCommand (line 28) | func listCommand() *cobra.Command {
function listOptions (line 42) | func listOptions(cmd *cobra.Command) (types.NamespaceListOptions, error) {
function listAction (line 63) | func listAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/namespace/namespace_remove.go
function removeCommand (line 29) | func removeCommand() *cobra.Command {
function removeOptions (line 44) | func removeOptions(cmd *cobra.Command) (types.NamespaceRemoveOptions, er...
function removeAction (line 60) | func removeAction(cmd *cobra.Command, args []string) error {
function namespaceRemoveShellComplete (line 75) | func namespaceRemoveShellComplete(cmd *cobra.Command, args []string, toC...
FILE: cmd/nerdctl/namespace/namespace_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/namespace/namespace_update.go
function updateCommand (line 29) | func updateCommand() *cobra.Command {
function processNamespaceUpdateCommandOption (line 44) | func processNamespaceUpdateCommandOption(cmd *cobra.Command) (types.Name...
function updateAction (line 59) | func updateAction(cmd *cobra.Command, args []string) error {
function namespaceUpdateShellComplete (line 74) | func namespaceUpdateShellComplete(cmd *cobra.Command, args []string, toC...
FILE: cmd/nerdctl/network/network.go
function Command (line 25) | func Command() *cobra.Command {
FILE: cmd/nerdctl/network/network_create.go
function createCommand (line 32) | func createCommand() *cobra.Command {
function createAction (line 58) | func createAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/network/network_create_linux_test.go
function TestNetworkCreate (line 37) | func TestNetworkCreate(t *testing.T) {
function TestNetworkCreateICC (line 164) | func TestNetworkCreateICC(t *testing.T) {
FILE: cmd/nerdctl/network/network_create_unix.go
constant DefaultNetworkDriver (line 21) | DefaultNetworkDriver = "bridge"
FILE: cmd/nerdctl/network/network_create_windows.go
constant DefaultNetworkDriver (line 19) | DefaultNetworkDriver = "nat"
FILE: cmd/nerdctl/network/network_inspect.go
function inspectCommand (line 29) | func inspectCommand() *cobra.Command {
function inspectAction (line 50) | func inspectAction(cmd *cobra.Command, args []string) error {
function networkInspectShellComplete (line 81) | func networkInspectShellComplete(cmd *cobra.Command, args []string, toCo...
FILE: cmd/nerdctl/network/network_inspect_test.go
function TestNetworkInspect (line 40) | func TestNetworkInspect(t *testing.T) {
FILE: cmd/nerdctl/network/network_list.go
function listCommand (line 27) | func listCommand() *cobra.Command {
function listAction (line 46) | func listAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/network/network_list_linux_test.go
function TestNetworkLsFilter (line 31) | func TestNetworkLsFilter(t *testing.T) {
FILE: cmd/nerdctl/network/network_prune.go
function pruneCommand (line 33) | func pruneCommand() *cobra.Command {
function pruneAction (line 46) | func pruneAction(cmd *cobra.Command, _ []string) error {
FILE: cmd/nerdctl/network/network_prune_linux_test.go
function TestNetworkPrune (line 29) | func TestNetworkPrune(t *testing.T) {
FILE: cmd/nerdctl/network/network_remove.go
function removeCommand (line 30) | func removeCommand() *cobra.Command {
function removeAction (line 45) | func removeAction(cmd *cobra.Command, args []string) error {
function networkRmShellComplete (line 66) | func networkRmShellComplete(cmd *cobra.Command, args []string, toComplet...
FILE: cmd/nerdctl/network/network_remove_linux_test.go
function TestNetworkRemove (line 33) | func TestNetworkRemove(t *testing.T) {
FILE: cmd/nerdctl/network/network_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/search/search.go
function Command (line 27) | func Command() *cobra.Command {
function processSearchFlags (line 46) | func processSearchFlags(cmd *cobra.Command) (types.SearchOptions, error) {
function runSearch (line 79) | func runSearch(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/search/search_linux_test.go
function TestSearch (line 46) | func TestSearch(t *testing.T) {
function TestSearchWithFilter (line 153) | func TestSearchWithFilter(t *testing.T) {
function TestSearchFilterErrors (line 194) | func TestSearchFilterErrors(t *testing.T) {
FILE: cmd/nerdctl/search/search_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/system/system.go
function Command (line 25) | func Command() *cobra.Command {
FILE: cmd/nerdctl/system/system_events.go
function EventsCommand (line 28) | func EventsCommand() *cobra.Command {
function eventsOptions (line 48) | func eventsOptions(cmd *cobra.Command) (types.SystemEventsOptions, error) {
function eventsAction (line 69) | func eventsAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/system/system_events_linux_test.go
function testEventFilterExecutor (line 31) | func testEventFilterExecutor(data test.Data, helpers test.Helpers) test....
function TestEventFilters (line 41) | func TestEventFilters(t *testing.T) {
FILE: cmd/nerdctl/system/system_info.go
function InfoCommand (line 28) | func InfoCommand() *cobra.Command {
function infoOptions (line 48) | func infoOptions(cmd *cobra.Command) (types.SystemInfoOptions, error) {
function infoAction (line 71) | func infoAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/system/system_info_test.go
function testInfoComparator (line 38) | func testInfoComparator(stdout string, t tig.T) {
function TestInfo (line 46) | func TestInfo(t *testing.T) {
FILE: cmd/nerdctl/system/system_prune.go
function pruneCommand (line 35) | func pruneCommand() *cobra.Command {
function pruneOptions (line 50) | func pruneOptions(cmd *cobra.Command) (types.SystemPruneOptions, error) {
function grantSystemPrunePermission (line 83) | func grantSystemPrunePermission(cmd *cobra.Command, options types.System...
function pruneAction (line 120) | func pruneAction(cmd *cobra.Command, _ []string) error {
FILE: cmd/nerdctl/system/system_prune_linux_test.go
function TestSystemPrune (line 35) | func TestSystemPrune(t *testing.T) {
FILE: cmd/nerdctl/system/system_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: cmd/nerdctl/version.go
function versionCommand (line 38) | func versionCommand() *cobra.Command {
function versionAction (line 54) | func versionAction(cmd *cobra.Command, args []string) error {
function versionInfo (line 121) | func versionInfo(cmd *cobra.Command, ns, address string) (dockercompat.V...
FILE: cmd/nerdctl/volume/volume.go
function Command (line 25) | func Command() *cobra.Command {
FILE: cmd/nerdctl/volume/volume_create.go
function createCommand (line 31) | func createCommand() *cobra.Command {
function createOptions (line 44) | func createOptions(cmd *cobra.Command) (types.VolumeCreateOptions, error) {
function createAction (line 66) | func createAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/volume/volume_create_test.go
function TestVolumeCreate (line 31) | func TestVolumeCreate(t *testing.T) {
FILE: cmd/nerdctl/volume/volume_inspect.go
function inspectCommand (line 28) | func inspectCommand() *cobra.Command {
function inspectOptions (line 46) | func inspectOptions(cmd *cobra.Command) (types.VolumeInspectOptions, err...
function inspectAction (line 67) | func inspectAction(cmd *cobra.Command, args []string) error {
function volumeInspectShellComplete (line 75) | func volumeInspectShellComplete(cmd *cobra.Command, args []string, toCom...
FILE: cmd/nerdctl/volume/volume_inspect_test.go
function createFileWithSize (line 39) | func createFileWithSize(mountPoint string, size int64) error {
function TestVolumeInspect (line 46) | func TestVolumeInspect(t *testing.T) {
FILE: cmd/nerdctl/volume/volume_list.go
function listCommand (line 27) | func listCommand() *cobra.Command {
function listOptions (line 48) | func listOptions(cmd *cobra.Command) (types.VolumeListOptions, error) {
function listAction (line 79) | func listAction(cmd *cobra.Command, args []string) error {
FILE: cmd/nerdctl/volume/volume_list_test.go
function TestVolumeLsSize (line 35) | func TestVolumeLsSize(t *testing.T) {
function TestVolumeLsFilter (line 93) | func TestVolumeLsFilter(t *testing.T) {
FILE: cmd/nerdctl/volume/volume_namespace_test.go
function TestVolumeNamespace (line 31) | func TestVolumeNamespace(t *testing.T) {
FILE: cmd/nerdctl/volume/volume_prune.go
function pruneCommand (line 31) | func pruneCommand() *cobra.Command {
function pruneOptions (line 45) | func pruneOptions(cmd *cobra.Command) (types.VolumePruneOptions, error) {
function pruneAction (line 70) | func pruneAction(cmd *cobra.Command, _ []string) error {
FILE: cmd/nerdctl/volume/volume_prune_linux_test.go
function TestVolumePrune (line 31) | func TestVolumePrune(t *testing.T) {
FILE: cmd/nerdctl/volume/volume_remove.go
function removeCommand (line 29) | func removeCommand() *cobra.Command {
function removeOptions (line 45) | func removeOptions(cmd *cobra.Command) (types.VolumeRemoveOptions, error) {
function removeAction (line 61) | func removeAction(cmd *cobra.Command, args []string) error {
function removeShellComplete (line 76) | func removeShellComplete(cmd *cobra.Command, args []string, toComplete s...
FILE: cmd/nerdctl/volume/volume_remove_linux_test.go
function TestVolumeRemove (line 38) | func TestVolumeRemove(t *testing.T) {
FILE: cmd/nerdctl/volume/volume_test.go
function TestMain (line 25) | func TestMain(m *testing.M) {
FILE: examples/nerdctl-as-a-library/run-container/main.go
function main (line 34) | func main() {
FILE: mod/tigron/expect/comparators.go
function All (line 31) | func All(comparators ...test.Comparator) test.Comparator {
function Contains (line 43) | func Contains(compare string, more ...string) test.Comparator {
function DoesNotContain (line 56) | func DoesNotContain(compare string, more ...string) test.Comparator {
function Equals (line 79) | func Equals(compare string) test.Comparator {
function Match (line 87) | func Match(reg *regexp.Regexp) test.Comparator {
function DoesNotMatch (line 95) | func DoesNotMatch(reg *regexp.Regexp) test.Comparator {
function JSON (line 104) | func JSON[T any](obj T, verifier func(T, tig.T)) test.Comparator {
FILE: mod/tigron/expect/comparators_test.go
function TestExpect (line 32) | func TestExpect(t *testing.T) {
FILE: mod/tigron/expect/exit.go
constant ExitCodeSuccess (line 21) | ExitCodeSuccess = 0
constant ExitCodeSigkill (line 23) | ExitCodeSigkill = 137
constant ExitCodeGenericFail (line 26) | ExitCodeGenericFail = -10
constant ExitCodeNoCheck (line 28) | ExitCodeNoCheck = -11
constant ExitCodeTimeout (line 30) | ExitCodeTimeout = -12
constant ExitCodeSignaled (line 32) | ExitCodeSignaled = -13
FILE: mod/tigron/internal/assertive/assertive.go
constant markLineLength (line 35) | markLineLength = 20
constant expectedSuccessDecorator (line 36) | expectedSuccessDecorator = "✅️ does verify:\t\t"
constant expectedFailDecorator (line 37) | expectedFailDecorator = "❌ FAILED!\t\t"
constant receivedDecorator (line 38) | receivedDecorator = "👀 testing:\t\t"
constant annotationDecorator (line 39) | annotationDecorator = "🖊️"
constant hyperlinkDecorator (line 40) | hyperlinkDecorator = "🔗"
function ErrorIsNil (line 44) | func ErrorIsNil(testing tig.T, err error, msg ...string) {
function ErrorIs (line 51) | func ErrorIs(testing tig.T, err, expected error, msg ...string) {
function IsEqual (line 58) | func IsEqual[T comparable](testing tig.T, actual, expected T, msg ...str...
function IsNotEqual (line 65) | func IsNotEqual[T comparable](testing tig.T, actual, expected T, msg ......
function Contains (line 72) | func Contains(testing tig.T, actual, contains string, msg ...string) {
function DoesNotContain (line 84) | func DoesNotContain(testing tig.T, actual, contains string, msg ...strin...
function HasSuffix (line 96) | func HasSuffix(testing tig.T, actual, suffix string, msg ...string) {
function HasPrefix (line 108) | func HasPrefix(testing tig.T, actual, prefix string, msg ...string) {
function Match (line 120) | func Match(testing tig.T, actual string, reg *regexp.Regexp, msg ...stri...
function DoesNotMatch (line 127) | func DoesNotMatch(testing tig.T, actual string, reg *regexp.Regexp, msg ...
function IsLessThan (line 134) | func IsLessThan[T ~int | ~float64 | time.Duration](
function IsMoreThan (line 145) | func IsMoreThan[T ~int | ~float64 | time.Duration](
function True (line 156) | func True(testing tig.T, comp bool, msg ...string) bool {
function WithFailLater (line 168) | func WithFailLater(t tig.T) tig.T {
function WithSilentSuccess (line 178) | func WithSilentSuccess(t tig.T) tig.T {
type failLater (line 184) | type failLater struct
type silentSuccess (line 187) | type silentSuccess struct
function evaluate (line 191) | func evaluate(testing tig.T, isSuccess bool, actual, expected any, msg ....
function decorate (line 205) | func decorate(testing tig.T, isSuccess bool, actual, expected any, msg ....
function getTopFrameFile (line 246) | func getTopFrameFile() string {
FILE: mod/tigron/internal/assertive/assertive_test.go
function TestAssertivePass (line 33) | func TestAssertivePass(t *testing.T) {
function TestAssertiveFailBehavior (line 96) | func TestAssertiveFailBehavior(t *testing.T) {
function TestAssertiveFailLater (line 169) | func TestAssertiveFailLater(t *testing.T) {
function TestAssertiveSilentSuccess (line 186) | func TestAssertiveSilentSuccess(t *testing.T) {
FILE: mod/tigron/internal/com/command.go
constant defaultTimeout (line 34) | defaultTimeout = 10 * time.Second
constant delayAfterWait (line 35) | delayAfterWait = 100 * time.Millisecond
type contextKey (line 61) | type contextKey
constant LoggerKey (line 64) | LoggerKey = contextKey("logger")
type Result (line 67) | type Result struct
type execution (line 76) | type execution struct
type Command (line 87) | type Command struct
method Clone (line 113) | func (gc *Command) Clone() *Command {
method WithPTY (line 144) | func (gc *Command) WithPTY(stdin, stdout, stderr bool) {
method WithFeeder (line 154) | func (gc *Command) WithFeeder(writers ...func() io.Reader) {
method Feed (line 161) | func (gc *Command) Feed(reader io.Reader) {
method Run (line 169) | func (gc *Command) Run(parentCtx context.Context) error {
method Wait (line 273) | func (gc *Command) Wait() (*Result, error) {
method Signal (line 305) | func (gc *Command) Signal(sig os.Signal) error {
method wrap (line 321) | func (gc *Command) wrap() error {
method buildCommand (line 382) | func (gc *Command) buildCommand(ctx context.Context) *exec.Cmd {
FILE: mod/tigron/internal/com/command_other.go
function addAttr (line 26) | func addAttr(cmd *exec.Cmd) func() error {
FILE: mod/tigron/internal/com/command_test.go
constant windows (line 37) | windows = "windows"
function TestFaultyDoubleRunWait (line 41) | func TestFaultyDoubleRunWait(t *testing.T) {
function TestFaultyRunDoubleWait (line 67) | func TestFaultyRunDoubleWait(t *testing.T) {
function TestFailRun (line 96) | func TestFailRun(t *testing.T) {
function TestBasicRunWait (line 126) | func TestBasicRunWait(t *testing.T) {
function TestBasicFail (line 146) | func TestBasicFail(t *testing.T) {
function TestWorkingDir (line 166) | func TestWorkingDir(t *testing.T) {
function TestEnvBlacklist (line 194) | func TestEnvBlacklist(t *testing.T) {
function TestEnvWhiteList (line 282) | func TestEnvWhiteList(t *testing.T) {
function TestEnvBlacklistWhiteList (line 327) | func TestEnvBlacklistWhiteList(t *testing.T) {
function TestEnvAdd (line 355) | func TestEnvAdd(t *testing.T) {
function TestStdoutStderr (line 391) | func TestStdoutStderr(t *testing.T) {
function TestTimeoutPlain (line 411) | func TestTimeoutPlain(t *testing.T) {
function TestTimeoutDelayed (line 439) | func TestTimeoutDelayed(t *testing.T) {
function TestPTYStdout (line 470) | func TestPTYStdout(t *testing.T) {
function TestPTYStderr (line 501) | func TestPTYStderr(t *testing.T) {
function TestPTYBoth (line 532) | func TestPTYBoth(t *testing.T) {
function TestWriteStdin (line 561) | func TestWriteStdin(t *testing.T) {
function TestWritePTYStdin (line 593) | func TestWritePTYStdin(t *testing.T) {
function TestSignalOnCompleted (line 628) | func TestSignalOnCompleted(t *testing.T) {
function TestSignalNormal (line 674) | func TestSignalNormal(t *testing.T) {
FILE: mod/tigron/internal/com/command_windows.go
function addAttr (line 23) | func addAttr(_ *exec.Cmd) func() error {
FILE: mod/tigron/internal/com/package_benchmark_test.go
function BenchmarkCommandParallel (line 38) | func BenchmarkCommandParallel(b *testing.B) {
FILE: mod/tigron/internal/com/package_example_test.go
function ExampleCommand (line 31) | func ExampleCommand() {
function ExampleCommand_Signal (line 65) | func ExampleCommand_Signal() {
function ExampleCommand_WithPTY (line 105) | func ExampleCommand_WithPTY() {
function ExampleCommand_Feed (line 148) | func ExampleCommand_Feed() {
function ExampleErrTimeout (line 196) | func ExampleErrTimeout() {
function ExampleErrFailedStarting (line 227) | func ExampleErrFailedStarting() {
function ExampleErrExecutionFailed (line 243) | func ExampleErrExecutionFailed() {
FILE: mod/tigron/internal/com/package_test.go
function TestMain (line 27) | func TestMain(m *testing.M) {
FILE: mod/tigron/internal/com/pipes.go
type pipe (line 42) | type pipe struct
type stdPipes (line 47) | type stdPipes struct
method closeCallee (line 57) | func (pipes *stdPipes) closeCallee() {
method closeCaller (line 86) | func (pipes *stdPipes) closeCaller() {
function newStdPipes (line 109) | func newStdPipes(
FILE: mod/tigron/internal/exit.go
constant ExitCodeSuccess (line 21) | ExitCodeSuccess = 0
constant ExitCodeGenericFail (line 22) | ExitCodeGenericFail = -10
constant ExitCodeNoCheck (line 23) | ExitCodeNoCheck = -11
constant ExitCodeTimeout (line 24) | ExitCodeTimeout = -12
constant ExitCodeSignaled (line 25) | ExitCodeSignaled = -13
FILE: mod/tigron/internal/formatter/formatter.go
constant maxLineLength (line 27) | maxLineLength = 110
constant maxLines (line 28) | maxLines = 50
constant kMaxLength (line 29) | kMaxLength = 7
constant spacer (line 30) | spacer = " "
function Table (line 36) | func Table(data [][]any, mark string) string {
function chunk (line 63) | func chunk(s string, maxLength, maxLines int) []string {
FILE: mod/tigron/internal/formatter/osc8.go
type OSC8 (line 22) | type OSC8 struct
method String (line 28) | func (o *OSC8) String() string {
FILE: mod/tigron/internal/highk/fileleak.go
function SnapshotOpenFiles (line 40) | func SnapshotOpenFiles(file *os.File) ([]byte, error) {
function Diff (line 63) | func Diff(one, two string) []string {
FILE: mod/tigron/internal/highk/goroutines.go
function FindGoRoutines (line 26) | func FindGoRoutines() error {
FILE: mod/tigron/internal/logger/logger.go
type Logger (line 24) | type Logger interface
type ConcreteLogger (line 30) | type ConcreteLogger struct
method Set (line 36) | func (cl *ConcreteLogger) Set(key, value string) *ConcreteLogger {
method Log (line 44) | func (cl *ConcreteLogger) Log(args ...any) {
method Helper (line 55) | func (cl *ConcreteLogger) Helper() {
function NewLogger (line 62) | func NewLogger(logger Logger) *ConcreteLogger {
FILE: mod/tigron/internal/mimicry/mimicry.go
constant callStackMaxDepth (line 26) | callStackMaxDepth = 5
type Mocked (line 31) | type Mocked interface
type Consumer (line 41) | type Consumer interface
type Designer (line 48) | type Designer interface
type Core (line 54) | type Core struct
method Reset (line 60) | func (mi *Core) Reset() {
method Report (line 65) | func (mi *Core) Report(fun any) []*Call {
method Retrieve (line 81) | func (mi *Core) Retrieve(args ...any) any {
method Register (line 130) | func (mi *Core) Register(fun, handler any) {
function getFunID (line 138) | func getFunID(fun any) string {
FILE: mod/tigron/internal/mimicry/print.go
constant maxLineLength (line 27) | maxLineLength = 110
constant sourceLineAround (line 28) | sourceLineAround = 2
constant breakpointDecorator (line 29) | breakpointDecorator = "🔴"
constant frameDecorator (line 30) | frameDecorator = "⬆️"
function PrintCall (line 34) | func PrintCall(call *Call) string {
FILE: mod/tigron/internal/mimicry/stack.go
constant hyperlinkDecorator (line 32) | hyperlinkDecorator = "🔗"
constant intoDecorator (line 33) | intoDecorator = "↪"
type Call (line 39) | type Call struct
type Frame (line 46) | type Frame struct
method String (line 56) | func (f *Frame) String() string {
method Excerpt (line 86) | func (f *Frame) Excerpt(add int, marker string) string {
function isStd (line 128) | func isStd(in string) bool {
FILE: mod/tigron/internal/mocks/t.go
type T (line 28) | type T interface
type THelperIn (line 34) | type THelperIn struct
type THelperOut (line 35) | type THelperOut struct
type TFailIn (line 37) | type TFailIn struct
type TFailOut (line 38) | type TFailOut struct
type TFailNowIn (line 40) | type TFailNowIn struct
type TFailNowOut (line 41) | type TFailNowOut struct
type TLogIn (line 43) | type TLogIn
type TLogOut (line 44) | type TLogOut struct
type TNameIn (line 46) | type TNameIn struct
type TTempDirIn (line 49) | type TTempDirIn struct
type TSkipIn (line 52) | type TSkipIn
type TSkipOut (line 53) | type TSkipOut struct
type MockT (line 56) | type MockT struct
method Helper (line 60) | func (m *MockT) Helper() {
method FailNow (line 66) | func (m *MockT) FailNow() {
method Fail (line 72) | func (m *MockT) Fail() {
method Log (line 78) | func (m *MockT) Log(args ...any) {
method Name (line 84) | func (m *MockT) Name() string {
method TempDir (line 92) | func (m *MockT) TempDir() string {
method Skip (line 100) | func (m *MockT) Skip(args ...any) {
FILE: mod/tigron/internal/pty/pty.go
function Open (line 38) | func Open() (pty, tty *os.File, err error) {
FILE: mod/tigron/require/requirement.go
function Binary (line 28) | func Binary(name string) *test.Requirement {
function OS (line 44) | func OS(os string) *test.Requirement {
function Arch (line 53) | func Arch(arch string) *test.Requirement {
function Not (line 77) | func Not(requirement *test.Requirement) *test.Requirement {
function All (line 88) | func All(requirements ...*test.Requirement) *test.Requirement {
FILE: mod/tigron/require/requirement_test.go
constant darwin (line 28) | darwin = "darwin"
constant windows (line 29) | windows = "windows"
constant linux (line 30) | linux = "linux"
function TestRequire (line 33) | func TestRequire(t *testing.T) {
function TestNot (line 63) | func TestNot(t *testing.T) {
function TestAllSuccess (line 82) | func TestAllSuccess(t *testing.T) {
function TestAllOneFail (line 105) | func TestAllOneFail(t *testing.T) {
FILE: mod/tigron/test/case.go
type Case (line 34) | type Case struct
method Run (line 81) | func (test *Case) Run(t *testing.T) {
constant startDecorator (line 72) | startDecorator = "🚀"
constant cleanDecorator (line 73) | cleanDecorator = "🧽"
constant setupDecorator (line 74) | setupDecorator = "🏗"
constant subinDecorator (line 75) | subinDecorator = "⤵️"
constant suboutDecorator (line 76) | suboutDecorator = "↩️"
constant tempDecorator (line 77) | tempDecorator = "⏳"
FILE: mod/tigron/test/command.go
constant defaultExecutionTimeout (line 36) | defaultExecutionTimeout = 3 * time.Minute
constant commandDecorator (line 37) | commandDecorator = "⚙️"
constant errorDecorator (line 38) | errorDecorator = "🚫"
constant exitDecorator (line 39) | exitDecorator = "⚠️"
constant stdoutDecorator (line 40) | stdoutDecorator = "🟢"
constant stderrDecorator (line 41) | stderrDecorator = "🟠"
constant timeoutDecorator (line 42) | timeoutDecorator = "⏰"
constant cwdDecorator (line 43) | cwdDecorator = "📁"
constant envDecorator (line 44) | envDecorator = "🌱"
constant sigDecorator (line 45) | sigDecorator = "⚡"
type CustomizableCommand (line 54) | type CustomizableCommand interface
function NewGenericCommand (line 87) | func NewGenericCommand() CustomizableCommand {
type GenericCommand (line 100) | type GenericCommand struct
method WithBinary (line 113) | func (gc *GenericCommand) WithBinary(binary string) {
method WithArgs (line 117) | func (gc *GenericCommand) WithArgs(args ...string) {
method WithWrapper (line 121) | func (gc *GenericCommand) WithWrapper(binary string, args ...string) {
method WithPseudoTTY (line 126) | func (gc *GenericCommand) WithPseudoTTY() {
method Feed (line 130) | func (gc *GenericCommand) Feed(r io.Reader) {
method Setenv (line 134) | func (gc *GenericCommand) Setenv(key, value string) {
method WithFeeder (line 138) | func (gc *GenericCommand) WithFeeder(fun func() io.Reader) {
method WithCwd (line 142) | func (gc *GenericCommand) WithCwd(path string) {
method WithBlacklist (line 146) | func (gc *GenericCommand) WithBlacklist(env []string) {
method WithWhitelist (line 150) | func (gc *GenericCommand) WithWhitelist(env []string) {
method WithTimeout (line 154) | func (gc *GenericCommand) WithTimeout(timeout time.Duration) {
method PrependArgs (line 158) | func (gc *GenericCommand) PrependArgs(args ...string) {
method Background (line 162) | func (gc *GenericCommand) Background() {
method Signal (line 168) | func (gc *GenericCommand) Signal(sig os.Signal) error {
method Run (line 173) | func (gc *GenericCommand) Run(expect *Expected) {
method Stderr (line 303) | func (gc *GenericCommand) Stderr() string {
method withEnv (line 307) | func (gc *GenericCommand) withEnv(env map[string]string) {
method withTempDir (line 313) | func (gc *GenericCommand) withTempDir(path string) {
method withConfig (line 317) | func (gc *GenericCommand) withConfig(config Config) {
method Clone (line 321) | func (gc *GenericCommand) Clone() TestableCommand {
method T (line 340) | func (gc *GenericCommand) T() tig.T {
method clear (line 344) | func (gc *GenericCommand) clear() TestableCommand {
method withT (line 364) | func (gc *GenericCommand) withT(t tig.T) {
method read (line 369) | func (gc *GenericCommand) read(key ConfigKey) ConfigValue {
method write (line 373) | func (gc *GenericCommand) write(key ConfigKey, value ConfigValue) {
FILE: mod/tigron/test/config.go
function WithConfig (line 20) | func WithConfig(key ConfigKey, value ConfigValue) Config {
function configureConfig (line 28) | func configureConfig(cfg, parent Config) Config {
type config (line 44) | type config struct
method Write (line 48) | func (cfg *config) Write(key ConfigKey, value ConfigValue) Config {
method Read (line 58) | func (cfg *config) Read(key ConfigKey) ConfigValue {
method adopt (line 70) | func (cfg *config) adopt(parent Config) {
FILE: mod/tigron/test/config_test.go
function TestConfig (line 27) | func TestConfig(t *testing.T) {
FILE: mod/tigron/test/consts.go
constant FilePermissionsDefault (line 22) | FilePermissionsDefault = 0o644
constant DirPermissionsDefault (line 25) | DirPermissionsDefault = 0o755
FILE: mod/tigron/test/data.go
constant identifierMaxLength (line 33) | identifierMaxLength = 76
constant identifierSeparator (line 34) | identifierSeparator = "-"
constant identifierSignatureLength (line 35) | identifierSignatureLength = 8
function WithLabels (line 39) | func WithLabels(in map[string]string) Data {
type labels (line 50) | type labels struct
method Get (line 54) | func (lb *labels) Get(key string) string {
method Set (line 58) | func (lb *labels) Set(key, value string) {
type temp (line 62) | type temp struct
method Load (line 67) | func (tp *temp) Load(key ...string) string {
method Exists (line 84) | func (tp *temp) Exists(key ...string) {
method Save (line 98) | func (tp *temp) Save(value string, key ...string) string {
method SaveToWriter (line 120) | func (tp *temp) SaveToWriter(writer func(file io.Writer) error, key .....
method Dir (line 155) | func (tp *temp) Dir(key ...string) string {
method Path (line 170) | func (tp *temp) Path(key ...string) string {
type data (line 176) | type data struct
method Identifier (line 182) | func (dt *data) Identifier(suffix ...string) string {
method Labels (line 186) | func (dt *data) Labels() DataLabels {
method Temp (line 190) | func (dt *data) Temp() DataTemp {
function newData (line 197) | func newData(t tig.T, seed, parent Data) Data {
function defaultIdentifierHashing (line 250) | func defaultIdentifierHashing(names ...string) string {
FILE: mod/tigron/test/data_test.go
function TestLabels (line 27) | func TestLabels(t *testing.T) {
function TestTemp (line 42) | func TestTemp(t *testing.T) {
function TestDataIdentifier (line 62) | func TestDataIdentifier(t *testing.T) {
function TestDataIdentifierThatIsReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLong (line 77) | func TestDataIdentifierThatIsReallyReallyReallyReallyReallyReallyReallyR...
FILE: mod/tigron/test/expected.go
function Command (line 21) | func Command(args ...string) Executor {
function Expects (line 29) | func Expects(exitCode int, errors []error, output Comparator) Manager {
FILE: mod/tigron/test/funct.go
type Evaluator (line 24) | type Evaluator
type Butler (line 28) | type Butler
type Comparator (line 35) | type Comparator
type Manager (line 38) | type Manager
type Executor (line 41) | type Executor
FILE: mod/tigron/test/helpers.go
type helpersInternal (line 26) | type helpersInternal struct
method Ensure (line 33) | func (help *helpersInternal) Ensure(args ...string) {
method Anyhow (line 41) | func (help *helpersInternal) Anyhow(args ...string) {
method Fail (line 49) | func (help *helpersInternal) Fail(args ...string) {
method Capture (line 57) | func (help *helpersInternal) Capture(args ...string) string {
method Err (line 71) | func (help *helpersInternal) Err(args ...string) string {
method Command (line 80) | func (help *helpersInternal) Command(args ...string) TestableCommand {
method Custom (line 89) | func (help *helpersInternal) Custom(binary string, args ...string) Tes...
method Read (line 97) | func (help *helpersInternal) Read(key ConfigKey) ConfigValue {
method Write (line 101) | func (help *helpersInternal) Write(key ConfigKey, value ConfigValue) {
method T (line 105) | func (help *helpersInternal) T() tig.T {
FILE: mod/tigron/test/interfaces.go
type DataLabels (line 29) | type DataLabels interface
type DataTemp (line 37) | type DataTemp interface
type Data (line 64) | type Data interface
type Helpers (line 72) | type Helpers interface
type TestableCommand (line 104) | type TestableCommand interface
type Config (line 142) | type Config interface
FILE: mod/tigron/test/package_test.go
function TestMain (line 27) | func TestMain(m *testing.M) {
FILE: mod/tigron/test/test.go
type Testable (line 24) | type Testable interface
function Customize (line 35) | func Customize(testable Testable) {
FILE: mod/tigron/test/types.go
type ConfigKey (line 21) | type ConfigKey
type ConfigValue (line 23) | type ConfigValue
type Requirement (line 28) | type Requirement struct
type Expected (line 41) | type Expected struct
FILE: mod/tigron/tig/t.go
type T (line 33) | type T interface
FILE: mod/tigron/utils/testca/ca.go
constant keyLength (line 39) | keyLength = 4096
constant caRoot (line 40) | caRoot = "ca"
constant certsRoot (line 41) | certsRoot = "certs"
constant organization (line 42) | organization = "tigron volatile testing organization"
constant lifetime (line 43) | lifetime = 24 * time.Hour
constant serialSize (line 44) | serialSize = 60
function NewX509 (line 50) | func NewX509(data test.Data, helpers test.Helpers) *Cert {
type Cert (line 68) | type Cert struct
method GenerateServerX509 (line 77) | func (ca *Cert) GenerateServerX509(data test.Data, helpers test.Helper...
method GenerateCustomX509 (line 103) | func (ca *Cert) GenerateCustomX509(
function createCert (line 131) | func createCert(
function serialNumber (line 173) | func serialNumber() *big.Int {
FILE: mod/tigron/utils/utilities.go
function RandomStringBase64 (line 25) | func RandomStringBase64(desiredLength int) string {
FILE: pkg/annotations/annotations.go
constant Prefix (line 22) | Prefix = "nerdctl/"
constant Bypass4netns (line 27) | Bypass4netns = Prefix + "bypass4netns"
constant Bypass4netnsIgnoreSubnets (line 31) | Bypass4netnsIgnoreSubnets = Bypass4netns + "-ignore-subnets"
constant Bypass4netnsIgnoreBind (line 35) | Bypass4netnsIgnoreBind = Bypass4netns + "-ignore-bind"
FILE: pkg/api/types/apparmor_types.go
type ApparmorListOptions (line 22) | type ApparmorListOptions struct
type ApparmorInspectOptions (line 31) | type ApparmorInspectOptions struct
FILE: pkg/api/types/builder_types.go
type BuilderBuildOptions (line 22) | type BuilderBuildOptions struct
type BuilderPruneOptions (line 82) | type BuilderPruneOptions struct
FILE: pkg/api/types/checkpoint_types.go
type CheckpointCreateOptions (line 22) | type CheckpointCreateOptions struct
type CheckpointListOptions (line 31) | type CheckpointListOptions struct
type CheckpointRemoveOptions (line 39) | type CheckpointRemoveOptions struct
type CheckpointSummary (line 45) | type CheckpointSummary struct
FILE: pkg/api/types/container_network_types.go
type NetworkOptions (line 24) | type NetworkOptions struct
FILE: pkg/api/types/container_types.go
type ContainerStartOptions (line 25) | type ContainerStartOptions struct
type ContainerKillOptions (line 46) | type ContainerKillOptions struct
type ContainerExportOptions (line 56) | type ContainerExportOptions struct
type ContainerCreateOptions (line 63) | type ContainerCreateOptions struct
type ContainerStopOptions (line 315) | type ContainerStopOptions struct
type ContainerRestartOptions (line 329) | type ContainerRestartOptions struct
type ContainerPauseOptions (line 343) | type ContainerPauseOptions struct
type ContainerPruneOptions (line 350) | type ContainerPruneOptions struct
type ContainerUnpauseOptions (line 357) | type ContainerUnpauseOptions struct
type ContainerRemoveOptions (line 367) | type ContainerRemoveOptions struct
type ContainerRenameOptions (line 378) | type ContainerRenameOptions struct
type ContainerTopOptions (line 385) | type ContainerTopOptions struct
type ContainerInspectOptions (line 395) | type ContainerInspectOptions struct
type ContainerCommitOptions (line 408) | type ContainerCommitOptions struct
type CompressionType (line 430) | type CompressionType
constant Zstd (line 433) | Zstd CompressionType = "zstd"
constant Gzip (line 434) | Gzip CompressionType = "gzip"
type ImageFormat (line 437) | type ImageFormat
constant ImageFormatDocker (line 441) | ImageFormatDocker ImageFormat = "docker"
constant ImageFormatOCI (line 443) | ImageFormatOCI ImageFormat = "oci"
type ContainerDiffOptions (line 447) | type ContainerDiffOptions struct
type ContainerLogsOptions (line 454) | type ContainerLogsOptions struct
type ContainerWaitOptions (line 475) | type ContainerWaitOptions struct
type ContainerAttachOptions (line 482) | type ContainerAttachOptions struct
type ContainerExecOptions (line 494) | type ContainerExecOptions struct
type ContainerListOptions (line 515) | type ContainerListOptions struct
type ContainerCpOptions (line 532) | type ContainerCpOptions struct
type ContainerStatsOptions (line 551) | type ContainerStatsOptions struct
FILE: pkg/api/types/cri/metadata_types.go
constant metadataVersion (line 34) | metadataVersion = "v1"
type ContainerVersionedMetadata (line 38) | type ContainerVersionedMetadata struct
type criContainerMetadataInternal (line 46) | type criContainerMetadataInternal
type ContainerMetadata (line 49) | type ContainerMetadata struct
method MarshalJSON (line 55) | func (c *ContainerMetadata) MarshalJSON() ([]byte, error) {
method UnmarshalJSON (line 63) | func (c *ContainerMetadata) UnmarshalJSON(data []byte) error {
FILE: pkg/api/types/global.go
type GlobalCommandOptions (line 21) | type GlobalCommandOptions
FILE: pkg/api/types/image_types.go
type ImageListOptions (line 26) | type ImageListOptions struct
type ImageConvertOptions (line 49) | type ImageConvertOptions struct
type EstargzOptions (line 81) | type EstargzOptions struct
type ZstdOptions (line 101) | type ZstdOptions struct
type ZstdChunkedOptions (line 109) | type ZstdChunkedOptions struct
type NydusOptions (line 121) | type NydusOptions struct
type OverlaybdOptions (line 135) | type OverlaybdOptions struct
type SociConvertOptions (line 145) | type SociConvertOptions struct
type ImageCryptOptions (line 154) | type ImageCryptOptions struct
type ImageInspectOptions (line 174) | type ImageInspectOptions struct
type ImagePushOptions (line 186) | type ImagePushOptions struct
type RemoteSnapshotterFlags (line 210) | type RemoteSnapshotterFlags struct
type ImagePullOptions (line 215) | type ImagePullOptions struct
type ImageTagOptions (line 239) | type ImageTagOptions struct
type ImageRemoveOptions (line 249) | type ImageRemoveOptions struct
type ImagePruneOptions (line 260) | type ImagePruneOptions struct
type ImageSaveOptions (line 273) | type ImageSaveOptions struct
type ImageSignOptions (line 284) | type ImageSignOptions struct
type ImageVerifyOptions (line 295) | type ImageVerifyOptions struct
type SociOptions (line 311) | type SociOptions struct
FILE: pkg/api/types/import_types.go
type ImageImportOptions (line 22) | type ImageImportOptions struct
FILE: pkg/api/types/ipfs_types.go
type IPFSRegistryServeOptions (line 24) | type IPFSRegistryServeOptions struct
FILE: pkg/api/types/load_types.go
type ImageLoadOptions (line 22) | type ImageLoadOptions struct
FILE: pkg/api/types/login_types.go
type LoginCommandOptions (line 19) | type LoginCommandOptions struct
FILE: pkg/api/types/manifest_types.go
type ManifestAnnotateOptions (line 22) | type ManifestAnnotateOptions struct
type ManifestCreateOptions (line 33) | type ManifestCreateOptions struct
type ManifestInspectOptions (line 43) | type ManifestInspectOptions struct
type ManifestPushOptions (line 53) | type ManifestPushOptions struct
FILE: pkg/api/types/namespace_types.go
type NamespaceCreateOptions (line 22) | type NamespaceCreateOptions struct
type NamespaceUpdateOptions (line 29) | type NamespaceUpdateOptions
type NamespaceRemoveOptions (line 32) | type NamespaceRemoveOptions struct
type NamespaceInspectOptions (line 40) | type NamespaceInspectOptions struct
type NamespaceListOptions (line 48) | type NamespaceListOptions struct
FILE: pkg/api/types/network_types.go
type NetworkCreateOptions (line 24) | type NetworkCreateOptions struct
type NetworkInspectOptions (line 42) | type NetworkInspectOptions struct
type NetworkListOptions (line 55) | type NetworkListOptions struct
type NetworkPruneOptions (line 68) | type NetworkPruneOptions struct
type NetworkRemoveOptions (line 77) | type NetworkRemoveOptions struct
FILE: pkg/api/types/search_types.go
type SearchOptions (line 23) | type SearchOptions struct
FILE: pkg/api/types/system_types.go
type SystemInfoOptions (line 22) | type SystemInfoOptions struct
type SystemEventsOptions (line 34) | type SystemEventsOptions struct
type SystemPruneOptions (line 45) | type SystemPruneOptions struct
FILE: pkg/api/types/volume_types.go
type VolumeCreateOptions (line 22) | type VolumeCreateOptions struct
type VolumeInspectOptions (line 30) | type VolumeInspectOptions struct
type VolumeListOptions (line 40) | type VolumeListOptions struct
type VolumePruneOptions (line 54) | type VolumePruneOptions struct
type VolumeRemoveOptions (line 64) | type VolumeRemoveOptions struct
FILE: pkg/apparmorutil/apparmorutil_linux.go
function hostSupports (line 40) | func hostSupports() bool {
function CanLoadNewProfile (line 73) | func CanLoadNewProfile() bool {
function CanApplyExistingProfile (line 91) | func CanApplyExistingProfile() bool {
function CanApplySpecificExistingProfile (line 104) | func CanApplySpecificExistingProfile(profileName string) bool {
type Profile (line 117) | type Profile struct
function Profiles (line 128) | func Profiles() ([]Profile, error) {
function Unload (line 158) | func Unload(target string) error {
FILE: pkg/buildkitutil/buildkitutil.go
constant DefaultDockerfileName (line 48) | DefaultDockerfileName string = "Dockerfile"
constant ContainerfileName (line 49) | ContainerfileName string = "Containerfile"
constant TempDockerfileName (line 51) | TempDockerfileName string = "docker-build-tempdockerfile-"
function BuildctlBinary (line 54) | func BuildctlBinary() (string, error) {
function BuildctlBaseArgs (line 58) | func BuildctlBaseArgs(buildkitHost string) []string {
function GetBuildkitHost (line 62) | func GetBuildkitHost(namespace string) (string, error) {
function GetWorkerLabels (line 90) | func GetWorkerLabels(buildkitHost string) (labels map[string]string, _ e...
function getHint (line 125) | func getHint() string {
function PingBKDaemon (line 133) | func PingBKDaemon(buildkitHost string) error {
function pingBKDaemon (line 143) | func pingBKDaemon(buildkitHost string) (output string, _ error) {
function WriteTempDockerfile (line 163) | func WriteTempDockerfile(rc io.Reader) (dockerfileDir string, err error) {
function BuildKitFile (line 189) | func BuildKitFile(dir, inputfile string) (absDir string, file string, er...
FILE: pkg/buildkitutil/buildkitutil_linux.go
function getRuntimeVariableDataDir (line 26) | func getRuntimeVariableDataDir() (string, error) {
FILE: pkg/buildkitutil/buildkitutil_test.go
function TestBuildKitFile (line 36) | func TestBuildKitFile(t *testing.T) {
FILE: pkg/buildkitutil/buildkitutil_unix.go
function getBuildkitHostCandidates (line 26) | func getBuildkitHostCandidates(namespace string) ([]string, error) {
FILE: pkg/buildkitutil/buildkitutil_unix_nolinux.go
function getRuntimeVariableDataDir (line 21) | func getRuntimeVariableDataDir() (string, error) {
FILE: pkg/buildkitutil/buildkitutil_windows.go
function getBuildkitHostCandidates (line 19) | func getBuildkitHostCandidates(namespace string) ([]string, error) {
FILE: pkg/buildkitutil/types.go
type UsageInfo (line 28) | type UsageInfo struct
type UsageRecordType (line 44) | type UsageRecordType
FILE: pkg/bypass4netnsutil/bypass.go
function NewBypass4netnsCNIBypassManager (line 36) | func NewBypass4netnsCNIBypassManager(client client.Client, rlkClient rlk...
type Bypass4netnsCNIBypassManager (line 62) | type Bypass4netnsCNIBypassManager struct
method StartBypass (line 69) | func (b4nnm *Bypass4netnsCNIBypassManager) StartBypass(ctx context.Con...
method StopBypass (line 120) | func (b4nnm *Bypass4netnsCNIBypassManager) StopBypass(ctx context.Cont...
FILE: pkg/bypass4netnsutil/bypass4netnsutil.go
function generateSecurityOpt (line 35) | func generateSecurityOpt(listenerPath string) (oci.SpecOpts, error) {
function GenerateBypass4netnsOpts (line 51) | func GenerateBypass4netnsOpts(securityOptsMaps map[string]string, annota...
function CreateSocketDir (line 86) | func CreateSocketDir() error {
function GetBypass4NetnsdDefaultSocketPath (line 102) | func GetBypass4NetnsdDefaultSocketPath() (string, error) {
function GetSocketPathByID (line 111) | func GetSocketPathByID(id string) (string, error) {
function GetPidFilePathByID (line 121) | func GetPidFilePathByID(id string) (string, error) {
function IsBypass4netnsEnabled (line 137) | func IsBypass4netnsEnabled(annotationsMap map[string]string) (enabled, b...
FILE: pkg/checkpointutil/checkpointutil.go
function GetCheckpointDir (line 25) | func GetCheckpointDir(checkpointDir, checkpointID, containerID string, c...
FILE: pkg/cioutil/container_io.go
constant binaryIOProcTermTimeout (line 37) | binaryIOProcTermTimeout = 12 * time.Second
type ncio (line 40) | type ncio struct
method Config (line 55) | func (c *ncio) Config() cio.Config {
method Wait (line 59) | func (c *ncio) Wait() {
method Close (line 65) | func (c *ncio) Close() error {
method Cancel (line 112) | func (c *ncio) Cancel() {
function NewContainerIO (line 118) | func NewContainerIO(namespace string, logURI string, tty bool, stdin io....
FILE: pkg/cioutil/container_io_unix.go
type pipes (line 33) | type pipes struct
method closers (line 39) | func (p *pipes) closers() []io.Closer {
function copyIO (line 44) | func copyIO(cmd *exec.Cmd, fifos *cio.FIFOSet, ioset *cio.Streams) (*nci...
function openFifos (line 103) | func openFifos(ctx context.Context, fifos *cio.FIFOSet) (f pipes, retErr...
FILE: pkg/cioutil/container_io_windows.go
function copyIO (line 31) | func copyIO(_ *exec.Cmd, fifos *cio.FIFOSet, ioset *cio.Streams) (_ *nci...
FILE: pkg/clientutil/client.go
function NewClient (line 38) | func NewClient(ctx context.Context, namespace, address string, opts ...c...
function NewClientWithPlatform (line 60) | func NewClientWithPlatform(ctx context.Context, namespace, address, plat...
function DataStore (line 84) | func DataStore(dataRoot, address string) (string, error) {
function getAddrHash (line 99) | func getAddrHash(addr string) (string, error) {
FILE: pkg/cmd/apparmor/inspect_linux.go
function Inspect (line 28) | func Inspect(options types.ApparmorInspectOptions) error {
FILE: pkg/cmd/apparmor/list_linux.go
function List (line 31) | func List(options types.ApparmorListOptions) error {
FILE: pkg/cmd/apparmor/load_linux.go
function Load (line 26) | func Load() error {
FILE: pkg/cmd/apparmor/unload_linux.go
function Unload (line 25) | func Unload(target string) error {
FILE: pkg/cmd/builder/build.go
type PlatformParser (line 50) | type PlatformParser interface
type platformParser (line 55) | type platformParser struct
method Parse (line 57) | func (p platformParser) Parse(platform string) (platforms.Platform, er...
method DefaultSpec (line 61) | func (p platformParser) DefaultSpec() platforms.Platform {
function Build (line 65) | func Build(ctx context.Context, client *containerd.Client, options types...
type readCounter (line 148) | type readCounter struct
function loadImage (line 153) | func loadImage(ctx context.Context, in io.Reader, namespace, address, sn...
function GetEffectiveSourcePolicyFile (line 200) | func GetEffectiveSourcePolicyFile(optionValue string) string {
function generateBuildctlArgs (line 207) | func generateBuildctlArgs(ctx context.Context, client *containerd.Client...
function getDigestFromMetaFile (line 493) | func getDigestFromMetaFile(path string) (string, error) {
function isMatchingRuntimePlatform (line 517) | func isMatchingRuntimePlatform(platform string, parser PlatformParser) b...
function isBuildPlatformDefault (line 531) | func isBuildPlatformDefault(platform []string, parser PlatformParser) bo...
function isImageSharable (line 540) | func isImageSharable(buildkitHost, namespace, uuid, snapshotter string, ...
function parseContextNames (line 570) | func parseContextNames(values []string) (map[string]string, error) {
function parseBuildContextFromOCILayout (line 590) | func parseBuildContextFromOCILayout(name, path string) ([]string, error) {
function readOCIIndexFromPath (line 623) | func readOCIIndexFromPath(path string) (*ocispec.Index, error) {
FILE: pkg/cmd/builder/build_test.go
type MockParse (line 31) | type MockParse struct
method EXPECT (line 46) | func (m *MockParse) EXPECT() *MockParseRecorder {
method Parse (line 50) | func (m *MockParse) Parse(platform string) (specs.Platform, error) {
method DefaultSpec (line 63) | func (m *MockParse) DefaultSpec() specs.Platform {
type MockParseRecorder (line 36) | type MockParseRecorder struct
method Parse (line 58) | func (m *MockParseRecorder) Parse(platform string) *gomock.Call {
method DefaultSpec (line 70) | func (m *MockParseRecorder) DefaultSpec() *gomock.Call {
function newMockParser (line 40) | func newMockParser(ctrl *gomock.Controller) *MockParse {
function TestIsMatchingRuntimePlatform (line 75) | func TestIsMatchingRuntimePlatform(t *testing.T) {
function TestIsBuildPlatformDefault (line 139) | func TestIsBuildPlatformDefault(t *testing.T) {
function TestParseBuildctlArgsForOCILayout (line 194) | func TestParseBuildctlArgsForOCILayout(t *testing.T) {
function TestGetEffectiveSourcePolicyFile (line 242) | func TestGetEffectiveSourcePolicyFile(t *testing.T) {
FILE: pkg/cmd/builder/prune.go
function Prune (line 33) | func Prune(ctx context.Context, options types.BuilderPruneOptions) ([]bu...
FILE: pkg/cmd/checkpoint/create.go
function Create (line 40) | func Create(ctx context.Context, client *containerd.Client, containerID ...
function withCheckpointOpts (line 125) | func withCheckpointOpts(rt string, exit bool) containerd.CheckpointTaskO...
FILE: pkg/cmd/checkpoint/list.go
function List (line 31) | func List(ctx context.Context, client *containerd.Client, containerID st...
FILE: pkg/cmd/checkpoint/remove.go
function Remove (line 31) | func Remove(ctx context.Context, client *containerd.Client, containerID ...
FILE: pkg/cmd/compose/compose.go
function New (line 50) | func New(client *containerd.Client, globalOptions types.GlobalCommandOpt...
function imageVerifyOptionsFromCompose (line 163) | func imageVerifyOptionsFromCompose(ps *serviceparser.Service) types.Imag...
FILE: pkg/cmd/container/attach.go
function Attach (line 42) | func Attach(ctx context.Context, client *containerd.Client, req string, ...
FILE: pkg/cmd/container/commit.go
function Commit (line 35) | func Commit(ctx context.Context, client *containerd.Client, rawRef strin...
function parseChanges (line 81) | func parseChanges(userChanges []string) (commit.Changes, error) {
FILE: pkg/cmd/container/cp_linux.go
function Cp (line 31) | func Cp(ctx context.Context, client *containerd.Client, options types.Co...
FILE: pkg/cmd/container/create.go
function Create (line 73) | func Create(ctx context.Context, client *containerd.Client, args []strin...
function generateRootfsOpts (line 442) | func generateRootfsOpts(args []string, id string, ensured *imgutil.Ensur...
function GenerateLogURI (line 566) | func GenerateLogURI(dataStore string) (*url.URL, error) {
function isHostNetwork (line 578) | func isHostNetwork(netOpts types.NetworkOptions) bool {
function withDefaultUnprivilegedPortSysctl (line 586) | func withDefaultUnprivilegedPortSysctl() oci.SpecOpts {
function withNerdctlOCIHook (line 604) | func withNerdctlOCIHook(cmd string, args []string) (oci.SpecOpts, error) {
function withContainerLabels (line 652) | func withContainerLabels(label, labelFile []string, ensuredImage *imguti...
function readKVStringsMapfFromLabel (line 678) | func readKVStringsMapfFromLabel(label, labelFile []string) (map[string]s...
function parseKVStringsMapFromLogOpt (line 689) | func parseKVStringsMapFromLogOpt(logOpt []string, logDriver string) (map...
function withStop (line 703) | func withStop(stopSignal string, stopTimeout int, ensuredImage *imgutil....
type internalLabels (line 723) | type internalLabels struct
method loadNetOpts (line 950) | func (il *internalLabels) loadNetOpts(opts types.NetworkOptions) {
function withInternalLabels (line 771) | func withInternalLabels(internalLabels internalLabels) (containerd.NewCo...
function withHealthcheck (line 891) | func withHealthcheck(options types.ContainerCreateOptions, ensuredImage ...
function dockercompatMounts (line 962) | func dockercompatMounts(mountPoints []*mountutil.Processed) []dockercomp...
function processeds (line 989) | func processeds(mountPoints []dockercompat.MountPoint) []*mountutil.Proc...
function propagateInternalContainerdLabelsToOCIAnnotations (line 1006) | func propagateInternalContainerdLabelsToOCIAnnotations() oci.SpecOpts {
function writeCIDFile (line 1018) | func writeCIDFile(path, id string) error {
function generateLogConfig (line 1038) | func generateLogConfig(dataStore string, id string, logDriver string, lo...
function generateRemoveStateDirFunc (line 1084) | func generateRemoveStateDirFunc(ctx context.Context, id string, internal...
function generateRemoveOrphanedDirsFunc (line 1092) | func generateRemoveOrphanedDirsFunc(ctx context.Context, id, dataStore s...
function generateGcFunc (line 1107) | func generateGcFunc(ctx context.Context, container containerd.Container,...
FILE: pkg/cmd/container/create_userns_opts_darwin.go
function getUserNamespaceOpts (line 30) | func getUserNamespaceOpts(
function getContainerUserNamespaceNetOpts (line 40) | func getContainerUserNamespaceNetOpts(
FILE: pkg/cmd/container/create_userns_opts_freebsd.go
function getUserNamespaceOpts (line 30) | func getUserNamespaceOpts(
function getContainerUserNamespaceNetOpts (line 40) | func getContainerUserNamespaceNetOpts(
FILE: pkg/cmd/container/create_userns_opts_linux.go
type IDMap (line 46) | type IDMap struct
type IdentityMapping (line 54) | type IdentityMapping struct
constant capabRemapIDs (line 60) | capabRemapIDs = "remap-ids"
function getUserNamespaceOpts (line 63) | func getUserNamespaceOpts(
function getContainerUserNamespaceNetOpts (line 97) | func getContainerUserNamespaceNetOpts(
function getNamespacePathFromNetworkSlice (line 155) | func getNamespacePathFromNetworkSlice(netOpts types.NetworkOptions) (str...
function getUserNamespacePathFromNetNsPath (line 166) | func getUserNamespacePathFromNetNsPath(netNsPath string) (string, error) {
function convertIDMapToLinuxIDMapping (line 201) | func convertIDMapToLinuxIDMapping(idMaps []IDMap) []specs.LinuxIDMapping {
function findContainer (line 219) | func findContainer(
function validateContainerStatus (line 247) | func validateContainerStatus(ctx context.Context, container containerd.C...
function getUserNamespacePath (line 266) | func getUserNamespacePath(ctx context.Context, container containerd.Cont...
function isDefaultUserns (line 276) | func isDefaultUserns(options *types.ContainerCreateOptions) bool {
function createDefaultSnapshotOpts (line 281) | func createDefaultSnapshotOpts(id string, image imgutil.EnsuredImage) []...
function parseGroup (line 288) | func parseGroup(identifier string) (user.Group, bool, error) {
function parseUser (line 306) | func parseUser(identifier string) (user.User, bool, error) {
function getUserAndGroup (line 323) | func getUserAndGroup(spec string) (user.User, user.Group, error) {
function LoadIdentityMapping (line 358) | func LoadIdentityMapping(spec string) (IdentityMapping, error) {
function lookupUserSubRangesFile (line 379) | func lookupUserSubRangesFile(path string, usr user.User) ([]IDMap, error) {
function lookupGroupSubRangesFile (line 405) | func lookupGroupSubRangesFile(path string, grp user.Group) ([]IDMap, err...
function loadAndValidateIDMapping (line 431) | func loadAndValidateIDMapping(userNS string) (IdentityMapping, error) {
function validIDMapping (line 443) | func validIDMapping(mapping IdentityMapping) bool {
function convertMappings (line 448) | func convertMappings(mapping IdentityMapping) ([]specs.LinuxIDMapping, [...
function getUserNamespaceSpecOpts (line 454) | func getUserNamespaceSpecOpts(
function createSnapshotOpts (line 461) | func createSnapshotOpts(
function WithUserNSRemapperLabels (line 472) | func WithUserNSRemapperLabels(uidmaps, gidmaps []specs.LinuxIDMapping) s...
function isValidMapping (line 484) | func isValidMapping(uidMaps, gidMaps []specs.LinuxIDMapping) bool {
function getContainerNameFromNetworkSlice (line 488) | func getContainerNameFromNetworkSlice(netOpts types.NetworkOptions) (str...
function snapshotterSupportsRemapLabels (line 497) | func snapshotterSupportsRemapLabels(
function hasCapability (line 510) | func hasCapability(caps []string, capability string) bool {
FILE: pkg/cmd/container/create_userns_opts_linux_test.go
function TestCreateSnapshotOpts (line 30) | func TestCreateSnapshotOpts(t *testing.T) {
function TestGetContainerNameFromNetworkSlice (line 90) | func TestGetContainerNameFromNetworkSlice(t *testing.T) {
FILE: pkg/cmd/container/create_userns_opts_windows.go
function getUserNamespaceOpts (line 30) | func getUserNamespaceOpts(
function getContainerUserNamespaceNetOpts (line 40) | func getContainerUserNamespaceNetOpts(
FILE: pkg/cmd/container/exec.go
function Exec (line 43) | func Exec(ctx context.Context, client *containerd.Client, args []string,...
function execActionWithContainer (line 63) | func execActionWithContainer(ctx context.Context, client *containerd.Cli...
function generateExecProcessSpec (line 151) | func generateExecProcessSpec(ctx context.Context, client *containerd.Cli...
FILE: pkg/cmd/container/exec_linux.go
function setExecCapabilities (line 25) | func setExecCapabilities(pspec *specs.Process) error {
FILE: pkg/cmd/container/exec_nolinux.go
function setExecCapabilities (line 25) | func setExecCapabilities(pspec *specs.Process) error {
FILE: pkg/cmd/container/export.go
function Export (line 35) | func Export(ctx context.Context, client *containerd.Client, containerReq...
function exportContainer (line 59) | func exportContainer(ctx context.Context, client *containerd.Client, con...
function createTarArchiveWithWriteDiff (line 98) | func createTarArchiveWithWriteDiff(ctx context.Context, rootPath string,...
FILE: pkg/cmd/container/health_check.go
function HealthCheck (line 31) | func HealthCheck(ctx context.Context, client *containerd.Client, contain...
function isContainerRunning (line 70) | func isContainerRunning(ctx context.Context, container containerd.Contai...
function timeoutWithDefault (line 90) | func timeoutWithDefault(configuredValue time.Duration, defaultValue time...
FILE: pkg/cmd/container/idmap.go
constant invalidID (line 27) | invalidID = 1<<32 - 1
type User (line 34) | type User struct
type ContainerdIDMap (line 42) | type ContainerdIDMap struct
method RootPair (line 48) | func (i *ContainerdIDMap) RootPair() (User, error) {
method ToHost (line 61) | func (i *ContainerdIDMap) ToHost(pair User) (User, error) {
method Marshal (line 79) | func (i *ContainerdIDMap) Marshal() (string, string) {
method Unmarshal (line 92) | func (i *ContainerdIDMap) Unmarshal(uidMap, gidMap string) error {
function toHost (line 119) | func toHost(contID uint32, idMap []specs.LinuxIDMapping) (uint32, error) {
function safeSum (line 140) | func safeSum(x, y uint32) (uint32, error) {
function serializeLinuxIDMapping (line 149) | func serializeLinuxIDMapping(m specs.LinuxIDMapping) string {
function deserializeLinuxIDMapping (line 154) | func deserializeLinuxIDMapping(str string) (specs.LinuxIDMapping, error) {
FILE: pkg/cmd/container/inspect.go
function Inspect (line 38) | func Inspect(ctx context.Context, client *containerd.Client, containers ...
type containerInspector (line 65) | type containerInspector struct
method Handler (line 74) | func (x *containerInspector) Handler(ctx context.Context, found contai...
FILE: pkg/cmd/container/kill.go
function Kill (line 48) | func Kill(ctx context.Context, client *containerd.Client, reqs []string,...
function killContainer (line 82) | func killContainer(ctx context.Context, container containerd.Container, ...
function cleanupNetwork (line 130) | func cleanupNetwork(ctx context.Context, container containerd.Container,...
FILE: pkg/cmd/container/list.go
function List (line 45) | func List(ctx context.Context, client *containerd.Client, options types....
function filterContainers (line 59) | func filterContainers(ctx context.Context, client *containerd.Client, fi...
type ListItem (line 116) | type ListItem struct
method Label (line 133) | func (x *ListItem) Label(s string) string {
function prepareContainers (line 137) | func prepareContainers(ctx context.Context, client *containerd.Client, c...
function getContainerNetworks (line 209) | func getContainerNetworks(containerLables map[string]string) []string {
function getContainerSize (line 219) | func getContainerSize(ctx context.Context, snapshotter snapshots.Snapsho...
FILE: pkg/cmd/container/list_util.go
function foldContainerFilters (line 35) | func foldContainerFilters(ctx context.Context, containers []containerd.C...
type containerFilterContext (line 41) | type containerFilterContext struct
method MatchesFilters (line 57) | func (cl *containerFilterContext) MatchesFilters(ctx context.Context) ...
method foldFilters (line 72) | func (cl *containerFilterContext) foldFilters(ctx context.Context, fil...
method foldExitedFilter (line 106) | func (cl *containerFilterContext) foldExitedFilter(_ context.Context, ...
method foldStatusFilter (line 118) | func (cl *containerFilterContext) foldStatusFilter(_ context.Context, ...
method foldBeforeFilter (line 137) | func (cl *containerFilterContext) foldBeforeFilter(ctx context.Context...
method foldSinceFilter (line 147) | func (cl *containerFilterContext) foldSinceFilter(ctx context.Context,...
method foldIDFilter (line 157) | func (cl *containerFilterContext) foldIDFilter(_ context.Context, filt...
method foldNameFilter (line 167) | func (cl *containerFilterContext) foldNameFilter(_ context.Context, fi...
method foldLabelFilter (line 181) | func (cl *containerFilterContext) foldLabelFilter(_ context.Context, f...
method foldVolumeFilter (line 200) | func (cl *containerFilterContext) foldVolumeFilter(_ context.Context, ...
method foldNetworkFilter (line 214) | func (cl *containerFilterContext) foldNetworkFilter(_ context.Context,...
method matchesInfoFilters (line 226) | func (cl *containerFilterContext) matchesInfoFilters(ctx context.Conte...
method matchesTaskFilters (line 237) | func (cl *containerFilterContext) matchesTaskFilters(ctx context.Conte...
method matchesExitedFilter (line 260) | func (cl *containerFilterContext) matchesExitedFilter(status container...
method matchesStatusFilter (line 276) | func (cl *containerFilterContext) matchesStatusFilter(status container...
method matchesIDFilter (line 290) | func (cl *containerFilterContext) matchesIDFilter(info containers.Cont...
method matchesNameFilter (line 303) | func (cl *containerFilterContext) matchesNameFilter(info containers.Co...
method matchesSinceFilter (line 317) | func (cl *containerFilterContext) matchesSinceFilter(info containers.C...
method matchesBeforeFilter (line 330) | func (cl *containerFilterContext) matchesBeforeFilter(info containers....
method matchesLabelFilter (line 343) | func (cl *containerFilterContext) matchesLabelFilter(info containers.C...
method matchesVolumeFilter (line 352) | func (cl *containerFilterContext) matchesVolumeFilter(info containers....
method matchesNetworkFilter (line 366) | func (cl *containerFilterContext) matchesNetworkFilter(info containers...
function idOrNameFilter (line 380) | func idOrNameFilter(ctx context.Context, containers []containerd.Contain...
FILE: pkg/cmd/container/logs.go
function Logs (line 42) | func Logs(ctx context.Context, client *containerd.Client, container stri...
function getLogPath (line 178) | func getLogPath(ctx context.Context, container containerd.Container) (st...
function getContainerEnvs (line 195) | func getContainerEnvs(ctx context.Context, container containerd.Containe...
function getLogOpts (line 217) | func getLogOpts(logOpts map[string]string) ([]string, []string) {
FILE: pkg/cmd/container/pause.go
function Pause (line 31) | func Pause(ctx context.Context, client *containerd.Client, reqs []string...
FILE: pkg/cmd/container/prune.go
function Prune (line 32) | func Prune(ctx context.Context, client *containerd.Client, options types...
FILE: pkg/cmd/container/remove.go
type ErrContainerStatus (line 51) | type ErrContainerStatus struct
method Error (line 56) | func (e ErrContainerStatus) Error() string {
function NewStatusError (line 61) | func NewStatusError(id string, status containerd.ProcessStatus) error {
function Remove (line 69) | func Remove(ctx context.Context, client *containerd.Client, containers [...
function RemoveContainer (line 105) | func RemoveContainer(ctx context.Context, c containerd.Container, global...
FILE: pkg/cmd/container/rename.go
function Rename (line 37) | func Rename(ctx context.Context, client *containerd.Client, containerID,...
function renameContainer (line 70) | func renameContainer(ctx context.Context, container containerd.Container...
FILE: pkg/cmd/container/restart.go
function Restart (line 34) | func Restart(ctx context.Context, client *containerd.Client, containers ...
FILE: pkg/cmd/container/run_blkio_linux.go
type WeightDevice (line 39) | type WeightDevice struct
method String (line 44) | func (w *WeightDevice) String() string {
type ThrottleDevice (line 49) | type ThrottleDevice struct
method String (line 54) | func (t *ThrottleDevice) String() string {
function toOCIWeightDevices (line 58) | func toOCIWeightDevices(weightDevices []*WeightDevice) ([]specs.LinuxWei...
function toOCIThrottleDevices (line 77) | func toOCIThrottleDevices(devs []*ThrottleDevice) ([]specs.LinuxThrottle...
function withBlkioWeight (line 95) | func withBlkioWeight(blkioWeight uint16) oci.SpecOpts {
function withBlkioWeightDevice (line 105) | func withBlkioWeightDevice(weightDevices []specs.LinuxWeightDevice) oci....
function withBlkioReadBpsDevice (line 115) | func withBlkioReadBpsDevice(devices []specs.LinuxThrottleDevice) oci.Spe...
function withBlkioWriteBpsDevice (line 125) | func withBlkioWriteBpsDevice(devices []specs.LinuxThrottleDevice) oci.Sp...
function withBlkioReadIOPSDevice (line 135) | func withBlkioReadIOPSDevice(devices []specs.LinuxThrottleDevice) oci.Sp...
function withBlkioWriteIOPSDevice (line 145) | func withBlkioWriteIOPSDevice(devices []specs.LinuxThrottleDevice) oci.S...
function BlkioOCIOpts (line 155) | func BlkioOCIOpts(options types.ContainerCreateOptions) ([]oci.SpecOpts,...
function validateWeightDevices (line 265) | func validateWeightDevices(vals []string) ([]*WeightDevice, error) {
function validateThrottleBpsDevices (line 294) | func validateThrottleBpsDevices(vals []string) ([]*ThrottleDevice, error) {
function validateThrottleIOpsDevices (line 324) | func validateThrottleIOpsDevices(vals []string) ([]*ThrottleDevice, erro...
FILE: pkg/cmd/container/run_cdi.go
function detectGPUVendorFromCDI (line 32) | func detectGPUVendorFromCDI() string {
function withStaticCDIRegistry (line 49) | func withStaticCDIRegistry(cdiSpecDirs []string) oci.SpecOpts {
function withCDIDevices (line 68) | func withCDIDevices(devices ...string) oci.SpecOpts {
function withGPUs (line 80) | func withGPUs(gpuOpts ...string) oci.SpecOpts {
FILE: pkg/cmd/container/run_cgroup_linux.go
type customMemoryOptions (line 39) | type customMemoryOptions struct
function generateCgroupOpts (line 45) | func generateCgroupOpts(id string, options types.ContainerCreateOptions,...
function generateCgroupPath (line 230) | func generateCgroupPath(id, cgroupManager, cgroupParent string) (string,...
function ParseDevice (line 269) | func ParseDevice(s string) (hostDevPath string, containerPath string, mo...
function validateDeviceMode (line 303) | func validateDeviceMode(mode string) error {
function withUnified (line 314) | func withUnified(unified map[string]string) oci.SpecOpts {
function withCustomMemoryResources (line 327) | func withCustomMemoryResources(memoryOptions customMemoryOptions) oci.Sp...
FILE: pkg/cmd/container/run_gpus.go
type GPUReq (line 28) | type GPUReq struct
method toCDIDeviceIDs (line 34) | func (req *GPUReq) toCDIDeviceIDs(vendor string) []string {
method normalizeDeviceIDs (line 42) | func (req *GPUReq) normalizeDeviceIDs() []string {
function ParseGPUOptCSV (line 58) | func ParseGPUOptCSV(value string) (*GPUReq, error) {
function parseGPUOpts (line 119) | func parseGPUOpts(gpuOpts []string) ([]string, error) {
function parseCount (line 140) | func parseCount(s string) (int, error) {
FILE: pkg/cmd/container/run_linux.go
function WithoutRunMount (line 42) | func WithoutRunMount() func(ctx context.Context, client oci.Client, c *c...
function setPlatformOptions (line 46) | func setPlatformOptions(ctx context.Context, client *containerd.Client, ...
function generateNamespaceOpts (line 121) | func generateNamespaceOpts(
function generateIPCOpts (line 157) | func generateIPCOpts(ctx context.Context, client *containerd.Client, ipc...
function generatePIDOpts (line 176) | func generatePIDOpts(ctx context.Context, client *containerd.Client, pid...
function setOOMScoreAdj (line 225) | func setOOMScoreAdj(opts []oci.SpecOpts, oomScoreAdjChanged bool, oomSco...
function withOOMScoreAdj (line 252) | func withOOMScoreAdj(score int) oci.SpecOpts {
FILE: pkg/cmd/container/run_mount.go
function withMounts (line 56) | func withMounts(mounts []specs.Mount) oci.SpecOpts {
function parseMountFlags (line 95) | func parseMountFlags(volStore volumestore.VolumeStore, options types.Con...
function generateMountOpts (line 127) | func generateMountOpts(ctx context.Context, client *containerd.Client, e...
function copyExistingContents (line 361) | func copyExistingContents(source, destination string) error {
FILE: pkg/cmd/container/run_restart.go
function checkRestartCapabilities (line 30) | func checkRestartCapabilities(ctx context.Context, client *containerd.Cl...
function generateRestartOpts (line 54) | func generateRestartOpts(ctx context.Context, client *containerd.Client,...
function UpdateContainerRestartPolicyLabel (line 78) | func UpdateContainerRestartPolicyLabel(ctx context.Context, client *cont...
FILE: pkg/cmd/container/run_runtime.go
function generateRuntimeCOpts (line 34) | func generateRuntimeCOpts(cgroupManager, runtimeStr string) ([]container...
function WithSysctls (line 68) | func WithSysctls(sysctls map[string]string) oci.SpecOpts {
FILE: pkg/cmd/container/run_security_linux.go
constant systemPathsUnconfined (line 51) | systemPathsUnconfined = "unconfined"
function generateSecurityOpts (line 54) | func generateSecurityOpts(privileged bool, securityOptsMap map[string]st...
function canonicalizeCapName (line 144) | func canonicalizeCapName(s string) string {
function isKnownCapName (line 164) | func isKnownCapName(s string) bool {
function generateCapOpts (line 176) | func generateCapOpts(capAdd, capDrop []string) ([]oci.SpecOpts, error) {
FILE: pkg/cmd/container/run_ulimit_linux.go
function generateUlimitsOpts (line 32) | func generateUlimitsOpts(ulimits []string) ([]oci.SpecOpts, error) {
function withRlimits (line 53) | func withRlimits(rlimits []specs.POSIXRlimit) oci.SpecOpts {
FILE: pkg/cmd/container/run_unix_nolinux.go
function WithoutRunMount (line 31) | func WithoutRunMount() func(ctx context.Context, client oci.Client, c *c...
function setPlatformOptions (line 36) | func setPlatformOptions(
FILE: pkg/cmd/container/run_user.go
function generateUserOpts (line 28) | func generateUserOpts(user string) ([]oci.SpecOpts, error) {
function generateUmaskOpts (line 36) | func generateUmaskOpts(umask string) ([]oci.SpecOpts, error) {
function generateGroupsOpts (line 49) | func generateGroupsOpts(groups []string) ([]oci.SpecOpts, error) {
function withResetAdditionalGIDs (line 58) | func withResetAdditionalGIDs() oci.SpecOpts {
function withAdditionalUmask (line 65) | func withAdditionalUmask(umask uint32) oci.SpecOpts {
FILE: pkg/cmd/container/run_windows.go
constant hostProcessInheritUser (line 37) | hostProcessInheritUser = "microsoft.com/hostprocess-inherit-user"
constant hostProcessContainer (line 40) | hostProcessContainer = "microsoft.com/hostprocess-container"
constant uvmMemorySizeInMB (line 41) | uvmMemorySizeInMB = "io.microsoft.virtualmachine.computetopology.memo...
constant uvmCPUCount (line 42) | uvmCPUCount = "io.microsoft.virtualmachine.computetopology.proc...
function setPlatformOptions (line 45) | func setPlatformOptions(
function WithWindowsProcessIsolated (line 126) | func WithWindowsProcessIsolated() oci.SpecOpts {
FILE: pkg/cmd/container/start.go
function Start (line 34) | func Start(ctx context.Context, client *containerd.Client, reqs []string...
FILE: pkg/cmd/container/stats.go
type stats (line 49) | type stats struct
method add (line 55) | func (s *stats) add(cs *statsutil.Stats) bool {
method remove (line 66) | func (s *stats) remove(id string) {
method isKnownContainer (line 75) | func (s *stats) isKnownContainer(cid string) (int, bool) {
function Stats (line 85) | func Stats(ctx context.Context, client *containerd.Client, containerIDs ...
function collect (line 343) | func collect(ctx context.Context, globalOptions types.GlobalCommandOptio...
FILE: pkg/cmd/container/stats_linux.go
constant clockTicksPerSecond (line 45) | clockTicksPerSecond = 100
constant nanoSecondsPerSecond (line 46) | nanoSecondsPerSecond = 1e9
function setContainerStatsAndRenderStatsEntry (line 50) | func setContainerStatsAndRenderStatsEntry(previousStats *statsutil.Conta...
function getSystemCPUUsage (line 136) | func getSystemCPUUsage() (cpuUsage uint64, cpuNum uint32, _ error) {
function readSystemCPUUsage (line 150) | func readSystemCPUUsage(r io.Reader) (cpuUsage uint64, cpuNum uint32, _ ...
FILE: pkg/cmd/container/stats_nolinux.go
function setContainerStatsAndRenderStatsEntry (line 26) | func setContainerStatsAndRenderStatsEntry(previousStats *statsutil.Conta...
function getSystemCPUUsage (line 32) | func getSystemCPUUsage() (uint64, uint32, error) {
FILE: pkg/cmd/container/stop.go
function Stop (line 33) | func Stop(ctx context.Context, client *containerd.Client, reqs []string,...
FILE: pkg/cmd/container/top.go
type ContainerTopOKBody (line 41) | type ContainerTopOKBody struct
function Top (line 55) | func Top(ctx context.Context, client *containerd.Client, containers []st...
FILE: pkg/cmd/container/top_unix.go
function containerTop (line 53) | func containerTop(ctx context.Context, stdio io.Writer, client *containe...
function appendProcess2ProcList (line 127) | func appendProcess2ProcList(procList *ContainerTopOKBody, fields []strin...
function psPidsArg (line 140) | func psPidsArg(pids []uint32) string {
function validatePSArgs (line 152) | func validatePSArgs(psArgs string) error {
function fieldsASCII (line 173) | func fieldsASCII(s string) []string {
function hasPid (line 185) | func hasPid(procs []uint32, pid int) bool {
function parsePSOutput (line 195) | func parsePSOutput(output []byte, procs []uint32) (*ContainerTopOKBody, ...
FILE: pkg/cmd/container/top_windows.go
function containerTop (line 40) | func containerTop(ctx context.Context, stdio io.Writer, client *containe...
FILE: pkg/cmd/container/unpause.go
function Unpause (line 32) | func Unpause(ctx context.Context, client *containerd.Client, reqs []stri...
FILE: pkg/cmd/container/wait.go
function Wait (line 32) | func Wait(ctx context.Context, client *containerd.Client, reqs []string,...
function waitContainer (line 60) | func waitContainer(ctx context.Context, w io.Writer, container container...
FILE: pkg/cmd/image/convert.go
function Convert (line 57) | func Convert(ctx context.Context, client *containerd.Client, srcRawRef, ...
function getESGZConverter (line 258) | func getESGZConverter(options types.ImageConvertOptions) (convertFunc co...
function addDescriptorsToJobs (line 289) | func addDescriptorsToJobs(ctx context.Context, client *containerd.Client...
function getESGZConvertOpts (line 313) | func getESGZConvertOpts(options types.ImageConvertOptions) ([]estargz.Op...
function getZstdConverter (line 345) | func getZstdConverter(options types.ImageConvertOptions) (converter.Conv...
function getZstdchunkedConverter (line 349) | func getZstdchunkedConverter(options types.ImageConvertOptions) (convert...
function getNydusConvertOpts (line 372) | func getNydusConvertOpts(options types.ImageConvertOptions) (*nydusconve...
function getOBDConvertOpts (line 393) | func getOBDConvertOpts(options types.ImageConvertOptions) ([]overlaybdco...
function readPathsFromRecordFile (line 401) | func readPathsFromRecordFile(filename string) ([]string, error) {
function printConvertedImage (line 423) | func printConvertedImage(stdout io.Writer, options types.ImageConvertOpt...
FILE: pkg/cmd/image/crypt.go
function Crypt (line 38) | func Crypt(ctx context.Context, client *containerd.Client, srcRawRef, ta...
function parseImgcryptFlags (line 106) | func parseImgcryptFlags(options types.ImageCryptOptions, encrypt bool) (...
function composeConvertFunc (line 124) | func composeConvertFunc(a, b converter.ConvertFunc) converter.ConvertFunc {
FILE: pkg/cmd/image/ensure.go
function EnsureAllContent (line 41) | func EnsureAllContent(ctx context.Context, client *containerd.Client, sr...
function ensureOne (line 66) | func ensureOne(ctx context.Context, client *containerd.Client, rawRef st...
FILE: pkg/cmd/image/import.go
function Import (line 51) | func Import(ctx context.Context, client *containerd.Client, options type...
function ensureOCIArchive (line 103) | func ensureOCIArchive(ctx context.Context, client *containerd.Client, r ...
function detectStandardImageArchive (line 133) | func detectStandardImageArchive(r io.Reader) (bool, error) {
function convertRootfsToOCIArchive (line 154) | func convertRootfsToOCIArchive(ctx context.Context, client *containerd.C...
function compressAndWriteLayer (line 199) | func compressAndWriteLayer(ctx context.Context, w content.Writer, r io.R...
function buildImageConfig (line 243) | func buildImageConfig(diffID digest.Digest, options types.ImageImportOpt...
function readLayerContent (line 278) | func readLayerContent(ctx context.Context, cs content.Store, layerDigest...
function buildDockerArchive (line 292) | func buildDockerArchive(configJSON []byte, configDigest digest.Digest, l...
function randomRef (line 348) | func randomRef(prefix string) string {
FILE: pkg/cmd/image/inspect.go
function inspectIdentifier (line 38) | func inspectIdentifier(ctx context.Context, client *containerd.Client, i...
function Inspect (line 89) | func Inspect(ctx context.Context, client *containerd.Client, identifiers...
FILE: pkg/cmd/image/list.go
function ListCommandHandler (line 52) | func ListCommandHandler(ctx context.Context, client *containerd.Client, ...
function List (line 73) | func List(ctx context.Context, client *containerd.Client, filters, nameA...
type imagePrintable (line 116) | type imagePrintable struct
function printImages (line 131) | func printImages(ctx context.Context, client *containerd.Client, imageLi...
type imagePrinter (line 230) | type imagePrinter struct
method printImage (line 344) | func (x *imagePrinter) printImage(ctx context.Context, img images.Imag...
method printImageSinglePlatform (line 359) | func (x *imagePrinter) printImageSinglePlatform(desc ocispec.Descripto...
type image (line 239) | type image struct
function readManifest (line 246) | func readManifest(ctx context.Context, provider content.Provider, snapsh...
function readIndex (line 298) | func readIndex(ctx context.Context, provider content.Provider, snapshott...
function read (line 328) | func read(ctx context.Context, provider content.Provider, snapshotter sn...
function isAttestationManifestDescriptor (line 427) | func isAttestationManifestDescriptor(desc ocispec.Descriptor) bool {
FILE: pkg/cmd/image/prune.go
function Prune (line 35) | func Prune(ctx context.Context, client *containerd.Client, options types...
FILE: pkg/cmd/image/pull.go
function Pull (line 36) | func Pull(ctx context.Context, client *containerd.Client, rawRef string,...
function EnsureImage (line 46) | func EnsureImage(ctx context.Context, client *containerd.Client, rawRef ...
FILE: pkg/cmd/image/push.go
function Push (line 61) | func Push(ctx context.Context, client *containerd.Client, rawRef string,...
function eStargzConvertFunc (line 202) | func eStargzConvertFunc() converter.ConvertFunc {
function isReusableESGZ (line 219) | func isReusableESGZ(ctx context.Context, cs content.Store, desc ocispec....
function pushImageWithLocal (line 243) | func pushImageWithLocal(ctx context.Context, client *containerd.Client, ...
FILE: pkg/cmd/image/remove.go
function Remove (line 36) | func Remove(ctx context.Context, client *containerd.Client, args []strin...
FILE: pkg/cmd/image/save.go
function Save (line 41) | func Save(ctx context.Context, client *containerd.Client, images []strin...
type nopWriteCloser (line 116) | type nopWriteCloser struct
method Close (line 120) | func (nopWriteCloser) Close() error {
FILE: pkg/cmd/image/tag.go
function Tag (line 30) | func Tag(ctx context.Context, client *containerd.Client, options types.I...
FILE: pkg/cmd/ipfs/registry_serve.go
function RegistryServe (line 31) | func RegistryServe(options types.IPFSRegistryServeOptions) error {
FILE: pkg/cmd/login/login.go
constant unencryptedPasswordWarning (line 39) | unencryptedPasswordWarning = `WARNING: Your password will be stored unen...
function Login (line 44) | func Login(ctx context.Context, options types.LoginCommandOptions, stdou...
function loginClientSide (line 111) | func loginClientSide(ctx context.Context, globalOptions types.GlobalComm...
function tryLoginWithRegHost (line 166) | func tryLoginWithRegHost(ctx context.Context, rh docker.RegistryHost) er...
FILE: pkg/cmd/login/prompt.go
function promptUserForAuthentication (line 46) | func promptUserForAuthentication(credentials *dockerconfigresolver.Crede...
function readUsername (line 97) | func readUsername() (string, error) {
FILE: pkg/cmd/login/prompt_unix.go
function readPassword (line 31) | func readPassword() (string, error) {
FILE: pkg/cmd/login/prompt_windows.go
function readPassword (line 26) | func readPassword() (string, error) {
FILE: pkg/cmd/logout/logout.go
function Logout (line 25) | func Logout(ctx context.Context, logoutServer string) (map[string]error,...
function ShellCompletion (line 39) | func ShellCompletion() ([]string, error) {
FILE: pkg/cmd/manifest/annotate.go
function Annotate (line 32) | func Annotate(ctx context.Context, listRef string, manifestRef string, o...
function appendIfUnique (line 83) | func appendIfUnique(list []string, str string) []string {
FILE: pkg/cmd/manifest/create.go
function Create (line 34) | func Create(ctx context.Context, listRef string, manifestRefs []string, ...
FILE: pkg/cmd/manifest/inspect.go
function Inspect (line 34) | func Inspect(ctx context.Context, rawRef string, options types.ManifestI...
function formatVerboseOutput (line 54) | func formatVerboseOutput(ctx context.Context, parsedRef *referenceutil.I...
function verboseEntriesForManifests (line 80) | func verboseEntriesForManifests(ctx context.Context, parsedRef *referenc...
FILE: pkg/cmd/manifest/push.go
function Push (line 40) | func Push(ctx context.Context, listRef string, options types.ManifestPus...
function buildManifestList (line 90) | func buildManifestList(manifests []*manifesttypes.DockerManifestEntry) (...
function pushIndividualManifests (line 128) | func pushIndividualManifests(ctx context.Context, resolver remotes.Resol...
function pushManifest (line 159) | func pushManifest(ctx context.Context, resolver remotes.Resolver, ref st...
function pushManifestList (line 193) | func pushManifestList(ctx context.Context, resolver remotes.Resolver, ta...
FILE: pkg/cmd/manifest/rm.go
function Remove (line 30) | func Remove(ctx context.Context, ref string, options types.GlobalCommand...
FILE: pkg/cmd/namespace/common.go
function objectWithLabelArgs (line 30) | func objectWithLabelArgs(args []string) map[string]string {
function labelArgs (line 39) | func labelArgs(labelStrings []string) map[string]string {
function namespaceExists (line 53) | func namespaceExists(ctx context.Context, store namespaces.Store, namesp...
FILE: pkg/cmd/namespace/create.go
function Create (line 27) | func Create(ctx context.Context, client *containerd.Client, namespace st...
FILE: pkg/cmd/namespace/inspect.go
function Inspect (line 31) | func Inspect(ctx context.Context, client *containerd.Client, inspectedNa...
FILE: pkg/cmd/namespace/list.go
function List (line 39) | func List(ctx context.Context, client *containerd.Client, options types....
type namespace (line 147) | type namespace struct
FILE: pkg/cmd/namespace/namespace_linux.go
function namespaceDeleteOpts (line 24) | func namespaceDeleteOpts(cgroup bool) ([]namespaces.DeleteOpts, error) {
FILE: pkg/cmd/namespace/namespace_nolinux.go
function namespaceDeleteOpts (line 25) | func namespaceDeleteOpts(cgroup bool) ([]namespaces.DeleteOpts, error) {
FILE: pkg/cmd/namespace/remove.go
function Remove (line 30) | func Remove(ctx context.Context, client *containerd.Client, deletedNames...
FILE: pkg/cmd/namespace/update.go
function Update (line 27) | func Update(ctx context.Context, client *containerd.Client, namespace st...
FILE: pkg/cmd/network/create.go
function Create (line 29) | func Create(options types.NetworkCreateOptions, stdout io.Writer) error {
FILE: pkg/cmd/network/inspect.go
function Inspect (line 37) | func Inspect(ctx context.Context, client *containerd.Client, options typ...
FILE: pkg/cmd/network/list.go
type networkPrintable (line 34) | type networkPrintable struct
function List (line 42) | func List(ctx context.Context, options types.NetworkListOptions) error {
function getNetworkFilterFuncs (line 145) | func getNetworkFilterFuncs(filters []string) ([]func(*map[string]string)...
function networkMatchesFilter (line 183) | func networkMatchesFilter(net *netutil.NetworkConfig, labelFilterFuncs [...
FILE: pkg/cmd/network/prune.go
function Prune (line 31) | func Prune(ctx context.Context, client *containerd.Client, options types...
FILE: pkg/cmd/network/remove.go
function Remove (line 31) | func Remove(ctx context.Context, client *containerd.Client, options type...
FILE: pkg/cmd/search/search.go
type SearchResult (line 39) | type SearchResult struct
function Search (line 46) | func Search(ctx context.Context, term string, options types.SearchOption...
function splitReposSearchTerm (line 122) | func splitReposSearchTerm(reposName string) (registryHost string, search...
function buildSearchURL (line 139) | func buildSearchURL(registryHost, term, scheme string) string {
function createHTTPClient (line 157) | func createHTTPClient(hostOpts *dockerconfig.HostOptions) *http.Client {
function validateFilterValue (line 168) | func validateFilterValue(key, value string) error {
function validateAndParseFilters (line 185) | func validateAndParseFilters(filters []string) (map[string]string, error) {
function applyFilters (line 202) | func applyFilters(results []SearchResult, filterMap map[string]string, l...
function truncateDescription (line 231) | func truncateDescription(desc string, noTrunc bool) string {
function printSearchResults (line 238) | func printSearchResults(stdout io.Writer, results []SearchResult, option...
FILE: pkg/cmd/system/events.go
type EventOut (line 40) | type EventOut struct
type Status (line 49) | type Status
constant START (line 52) | START Status = "start"
constant UNKNOWN (line 53) | UNKNOWN Status = "unknown"
function isStatus (line 58) | func isStatus(status string) bool {
function TopicToStatus (line 70) | func TopicToStatus(topic string) Status {
type EventFilter (line 79) | type EventFilter
function generateEventFilter (line 83) | func generateEventFilter(filter, filterValue string) (func(e *EventOut) ...
function parseFilter (line 100) | func parseFilter(filter string) (string, string, error) {
function applyFilters (line 110) | func applyFilters(event *EventOut, filterMap map[string][]EventFilter) b...
function generateEventFilters (line 128) | func generateEventFilters(filters []string) (map[string][]EventFilter, e...
function Events (line 148) | func Events(ctx context.Context, client *containerd.Client, options type...
FILE: pkg/cmd/system/info.go
function Info (line 45) | func Info(ctx context.Context, client *containerd.Client, options types....
function fulfillNativeInfo (line 103) | func fulfillNativeInfo(di *native.DaemonInfo, globalOptions types.Global...
function prettyPrintInfoNative (line 114) | func prettyPrintInfoNative(w io.Writer, info *native.Info) error {
function prettyPrintInfoDockerCompat (line 147) | func prettyPrintInfoDockerCompat(stdout io.Writer, stderr io.Writer, inf...
function printF (line 184) | func printF(w io.Writer, label string, dockerCompatInfo string) {
function printSecurityOptions (line 191) | func printSecurityOptions(w io.Writer, securityOptions []string) {
FILE: pkg/cmd/system/prune.go
function Prune (line 35) | func Prune(ctx context.Context, client *containerd.Client, options types...
FILE: pkg/cmd/volume/create.go
function Create (line 30) | func Create(name string, options types.VolumeCreateOptions) (*native.Vol...
FILE: pkg/cmd/volume/inspect.go
function Inspect (line 29) | func Inspect(ctx context.Context, volumes []string, options types.Volume...
FILE: pkg/cmd/volume/list.go
type volumePrintable (line 37) | type volumePrintable struct
function List (line 47) | func List(options types.VolumeListOptions) error {
function hasSizeFilter (line 75) | func hasSizeFilter(filters []string) bool {
function removeSizeFilters (line 84) | func removeSizeFilters(filters []string) []string {
function lsPrintOutput (line 94) | func lsPrintOutput(vols map[string]native.Volume, options types.VolumeLi...
function Volumes (line 168) | func Volumes(ns string, dataRoot string, address string, volumeSize bool...
function getVolumeFilterFuncs (line 193) | func getVolumeFilterFuncs(filters []string) ([]func(*map[string]string) ...
function volumeMatchesFilter (line 267) | func volumeMatchesFilter(vol native.Volume, labelFilterFuncs []func(*map...
function anyMatch (line 287) | func anyMatch[T any](vol T, filters []func(T) bool) bool {
FILE: pkg/cmd/volume/prune.go
function Prune (line 31) | func Prune(ctx context.Context, client *containerd.Client, options types...
FILE: pkg/cmd/volume/rm.go
function Remove (line 35) | func Remove(ctx context.Context, client *containerd.Client, volumes []st...
function usedVolumes (line 82) | func usedVolumes(ctx context.Context, containers []containerd.Container)...
FILE: pkg/cmd/volume/volume.go
function Store (line 26) | func Store(ns string, dataRoot string, address string) (volumestore.Volu...
FILE: pkg/composer/build.go
type BuildOptions (line 31) | type BuildOptions struct
method Build (line 37) | func (c *Composer) Build(ctx context.Context, bo BuildOptions, services ...
method buildServiceImage (line 50) | func (c *Composer) buildServiceImage(ctx context.Context, image string, ...
FILE: pkg/composer/composer.go
type Options (line 39) | type Options struct
function New (line 58) | func New(o Options, client *containerd.Client, cfg *config.Config) (*Com...
type Composer (line 129) | type Composer struct
method createNerdctlCmd (line 136) | func (c *Composer) createNerdctlCmd(ctx context.Context, args ...strin...
method runNerdctlCmd (line 140) | func (c *Composer) runNerdctlCmd(ctx context.Context, args ...string) ...
method Services (line 152) | func (c *Composer) Services(ctx context.Context, svcs ...string) ([]*s...
method ServiceNames (line 169) | func (c *Composer) ServiceNames(svcs ...string) ([]string, error) {
FILE: pkg/composer/config.go
type ConfigOptions (line 38) | type ConfigOptions struct
method Config (line 44) | func (c *Composer) Config(ctx context.Context, w io.Writer, co ConfigOpt...
function ServiceHash (line 80) | func ServiceHash(o types.ServiceConfig) (string, error) {
FILE: pkg/composer/container.go
method Containers (line 29) | func (c *Composer) Containers(ctx context.Context, services ...string) (...
method containerExists (line 46) | func (c *Composer) containerExists(ctx context.Context, name, service st...
method containerID (line 67) | func (c *Composer) containerID(ctx context.Context, name, service string...
FILE: pkg/composer/copy.go
type CopyOptions (line 33) | type CopyOptions struct
type copyDirection (line 41) | type copyDirection
constant fromService (line 44) | fromService copyDirection = 0
constant toService (line 45) | toService copyDirection = 1
method Copy (line 48) | func (c *Composer) Copy(ctx context.Context, co CopyOptions) error {
method logCopyMsg (line 99) | func (c *Composer) logCopyMsg(ctx context.Context, container containerd....
method listContainersTargetedForCopy (line 119) | func (c *Composer) listContainersTargetedForCopy(ctx context.Context, in...
function splitCpArg (line 148) | func splitCpArg(arg string) (container, path string) {
FILE: pkg/composer/create.go
constant RecreateNever (line 39) | RecreateNever = "never"
constant RecreateForce (line 41) | RecreateForce = "force"
constant RecreateDiverged (line 46) | RecreateDiverged = "diverged"
type CreateOptions (line 50) | type CreateOptions struct
method recreateStrategy (line 58) | func (opts CreateOptions) recreateStrategy() string {
method Create (line 70) | func (c *Composer) Create(ctx context.Context, opt CreateOptions, servic...
method createService (line 137) | func (c *Composer) createService(ctx context.Context, ps *serviceparser....
method createServiceContainer (line 159) | func (c *Composer) createServiceContainer(ctx context.Context, service *...
FILE: pkg/composer/down.go
type DownOptions (line 28) | type DownOptions struct
method Down (line 33) | func (c *Composer) Down(ctx context.Context, downOptions DownOptions) er...
method downNetwork (line 89) | func (c *Composer) downNetwork(ctx context.Context, shortName string) er...
method downVolume (line 120) | func (c *Composer) downVolume(ctx context.Context, shortName string) err...
FILE: pkg/composer/exec.go
type ExecOptions (line 35) | type ExecOptions struct
method Exec (line 51) | func (c *Composer) Exec(ctx context.Context, eo ExecOptions) error {
method exec (line 86) | func (c *Composer) exec(ctx context.Context, container containerd.Contai...
FILE: pkg/composer/kill.go
type KillOptions (line 27) | type KillOptions struct
method Kill (line 31) | func (c *Composer) Kill(ctx context.Context, opts KillOptions, services ...
FILE: pkg/composer/lock.go
function Lock (line 29) | func Lock(dataRoot string, address string) error {
function Unlock (line 46) | func Unlock() error {
FILE: pkg/composer/logs.go
type LogsOptions (line 37) | type LogsOptions struct
method Logs (line 47) | func (c *Composer) Logs(ctx context.Context, lo LogsOptions, services []...
method logs (line 71) | func (c *Composer) logs(ctx context.Context, containers []containerd.Con...
FILE: pkg/composer/orphans.go
method getOrphanContainers (line 29) | func (c *Composer) getOrphanContainers(ctx context.Context, parsedServic...
function containerShortIDs (line 59) | func containerShortIDs(containers []containerd.Container) []string {
FILE: pkg/composer/pause.go
method Pause (line 34) | func (c *Composer) Pause(ctx context.Context, services []string, writer ...
method Unpause (line 70) | func (c *Composer) Unpause(ctx context.Context, services []string, write...
FILE: pkg/composer/pipetagger/pipetagger.go
function ChooseColorAttrs (line 29) | func ChooseColorAttrs(tag string) []color.Attribute {
function New (line 74) | func New(w io.Writer, r io.Reader, tag string, width int, noColor bool) ...
type PipeTagger (line 88) | type PipeTagger struct
method Run (line 96) | func (x *PipeTagger) Run() error {
FILE: pkg/composer/port.go
type PortOptions (line 30) | type PortOptions struct
method Port (line 41) | func (c *Composer) Port(ctx context.Context, writer io.Writer, po PortOp...
FILE: pkg/composer/pull.go
type PullOptions (line 31) | type PullOptions struct
method Pull (line 35) | func (c *Composer) Pull(ctx context.Context, po PullOptions, services []...
method pullServiceImage (line 45) | func (c *Composer) pullServiceImage(ctx context.Context, image string, p...
FILE: pkg/composer/push.go
type PushOptions (line 31) | type PushOptions struct
method Push (line 34) | func (c *Composer) Push(ctx context.Context, po PushOptions, services []...
method pushServiceImage (line 44) | func (c *Composer) pushServiceImage(ctx context.Context, image string, p...
FILE: pkg/composer/restart.go
type RestartOptions (line 33) | type RestartOptions struct
method Restart (line 39) | func (c *Composer) Restart(ctx context.Context, opt RestartOptions, serv...
method restartContainers (line 51) | func (c *Composer) restartContainers(ctx context.Context, containers []c...
FILE: pkg/composer/rm.go
type RemoveOptions (line 36) | type RemoveOptions struct
method Remove (line 42) | func (c *Composer) Remove(ctx context.Context, opt RemoveOptions, servic...
method removeContainers (line 66) | func (c *Composer) removeContainers(ctx context.Context, containers []co...
method removeContainersFromParsedServices (line 99) | func (c *Composer) removeContainersFromParsedServices(ctx context.Contex...
FILE: pkg/composer/run.go
type RunOptions (line 35) | type RunOptions struct
method Run (line 63) | func (c *Composer) Run(ctx context.Context, ro RunOptions) error {
method runServices (line 211) | func (c *Composer) runServices(ctx context.Context, parsedServices []*se...
FILE: pkg/composer/serviceparser/build.go
function parseBuildConfig (line 35) | func parseBuildConfig(c *types.BuildConfig, project *types.Project, imag...
FILE: pkg/composer/serviceparser/build_test.go
function lastOf (line 29) | func lastOf(ss []string) string {
function TestParseBuild (line 33) | func TestParseBuild(t *testing.T) {
FILE: pkg/composer/serviceparser/serviceparser.go
constant ComposeVerify (line 41) | ComposeVerify = "x-nerdctl-verify"
constant ComposeCosignPublicKey (line 42) | ComposeCosignPublicKey = "x-nerdctl-cosign-public-key"
constant ComposeSign (line 43) | ComposeSign = "x-nerdctl-sign"
constant ComposeCosignPrivateKey (line 44) | ComposeCosignPrivateKey = "x-nerdctl-cosign-private-key"
constant ComposeCosignCertificateIdentity (line 45) | ComposeCosignCertificateIdentity = "x-nerdctl-cosign-certificate...
constant ComposeCosignCertificateIdentityRegexp (line 46) | ComposeCosignCertificateIdentityRegexp = "x-nerdctl-cosign-certificate...
constant ComposeCosignCertificateOidcIssuer (line 47) | ComposeCosignCertificateOidcIssuer = "x-nerdctl-cosign-certificate...
constant ComposeCosignCertificateOidcIssuerRegexp (line 48) | ComposeCosignCertificateOidcIssuerRegexp = "x-nerdctl-cosign-certificate...
constant Separator (line 53) | Separator = "-"
function warnUnknownFields (line 55) | func warnUnknownFields(svc types.ServiceConfig) {
type Container (line 190) | type Container struct
type Build (line 196) | type Build struct
type Service (line 203) | type Service struct
function getReplicas (line 211) | func getReplicas(svc types.ServiceConfig) (int, error) {
function getCPULimit (line 227) | func getCPULimit(svc types.ServiceConfig) (string, error) {
function getMemLimit (line 244) | func getMemLimit(svc types.ServiceConfig) (types.UnitBytes, error) {
function getGPUs (line 261) | func getGPUs(svc types.ServiceConfig) (reqs []string, _ error) {
function getRestart (line 329) | func getRestart(svc types.ServiceConfig) (string, error) {
type networkNamePair (line 367) | type networkNamePair struct
function getNetworks (line 373) | func getNetworks(project *types.Project, svc types.ServiceConfig) ([]net...
function Parse (line 420) | func Parse(project *types.Project, svc types.ServiceConfig) (*Service, e...
function newContainer (line 475) | func newContainer(project *types.Project, parsed *Service, i int) (*Cont...
function servicePortConfigToFlagP (line 755) | func servicePortConfigToFlagP(c types.ServicePortConfig) (string, error) {
function serviceVolumeConfigToFlagV (line 787) | func serviceVolumeConfigToFlagV(c types.ServiceVolumeConfig, project *ty...
function fileReferenceConfigToFlagV (line 888) | func fileReferenceConfigToFlagV(c types.FileReferenceConfig, project *ty...
function DefaultImageName (line 958) | func DefaultImageName(projectName string, serviceName string) string {
function DefaultContainerName (line 963) | func DefaultContainerName(projectName, serviceName, suffix string) string {
FILE: pkg/composer/serviceparser/serviceparser_test.go
function TestServicePortConfigToFlagP (line 34) | func TestServicePortConfigToFlagP(t *testing.T) {
function TestParse (line 81) | func TestParse(t *testing.T) {
function TestParseDeprecated (line 205) | func TestParseDeprecated(t *testing.T) {
function TestParseDeploy (line 240) | func TestParseDeploy(t *testing.T) {
function TestParseDevices (line 340) | func TestParseDevices(t *testing.T) {
function TestParseRelative (line 370) | func TestParseRelative(t *testing.T) {
function TestParseVolumeLongSyntax (line 406) | func TestParseVolumeLongSyntax(t *testing.T) {
function TestTmpfsVolumeLongSyntax (line 442) | func TestTmpfsVolumeLongSyntax(t *testing.T) {
function TestParseNetworkMode (line 479) | func TestParseNetworkMode(t *testing.T) {
function TestParseConfigs (line 522) | func TestParseConfigs(t *testing.T) {
function TestParseRestartPolicy (line 581) | func TestParseRestartPolicy(t *testing.T) {
FILE: pkg/composer/stop.go
type StopOptions (line 33) | type StopOptions struct
method Stop (line 39) | func (c *Composer) Stop(ctx context.Context, opt StopOptions, services [...
method stopContainers (line 57) | func (c *Composer) stopContainers(ctx context.Context, containers []cont...
method stopContainersFromParsedServices (line 87) | func (c *Composer) stopContainersFromParsedServices(ctx context.Context,...
FILE: pkg/composer/up.go
type UpOptions (line 32) | type UpOptions struct
method recreateStrategy (line 48) | func (opts UpOptions) recreateStrategy() string {
method Up (line 59) | func (c *Composer) Up(ctx context.Context, uo UpOptions, services []stri...
function validateFileObjectConfig (line 126) | func validateFileObjectConfig(obj types.FileObjectConfig, shortName, obj...
FILE: pkg/composer/up_network.go
method upNetwork (line 29) | func (c *Composer) upNetwork(ctx context.Context, shortName string) error {
FILE: pkg/composer/up_service.go
method upServices (line 38) | func (c *Composer) upServices(ctx context.Context, parsedServices []*ser...
method ensureServiceImage (line 105) | func (c *Composer) ensureServiceImage(ctx context.Context, ps *servicepa...
method upServiceContainer (line 129) | func (c *Composer) upServiceContainer(ctx context.Context, service *serv...
method executeUpCmd (line 236) | func (c *Composer) executeUpCmd(ctx context.Context, cmd *exec.Cmd, cont...
FILE: pkg/composer/up_volume.go
method upVolume (line 29) | func (c *Composer) upVolume(ctx context.Context, shortName string) error {
FILE: pkg/config/config.go
type Config (line 28) | type Config struct
function New (line 54) | func New() *Config {
FILE: pkg/consoleutil/consoleutil.go
function Current (line 28) | func Current() (c console.Console, err error) {
type resizer (line 38) | type resizer interface
FILE: pkg/consoleutil/consoleutil_unix.go
function HandleConsoleResize (line 34) | func HandleConsoleResize(ctx context.Context, task resizer, con console....
FILE: pkg/consoleutil/consoleutil_windows.go
function HandleConsoleResize (line 29) | func HandleConsoleResize(ctx context.Context, task resizer, con console....
FILE: pkg/consoleutil/detach.go
constant DefaultDetachKeys (line 29) | DefaultDetachKeys = "ctrl-p,ctrl-q"
type detachableStdin (line 31) | type detachableStdin struct
method Read (line 53) | func (ds *detachableStdin) Read(p []byte) (int, error) {
function NewDetachableStdin (line 39) | func NewDetachableStdin(stdin io.Reader, keys string, closer func()) (io...
FILE: pkg/containerdutil/content.go
function NewProvider (line 33) | func NewProvider(client *containerd.Client) content.Provider {
type providerWithCache (line 40) | type providerWithCache struct
method ReaderAt (line 45) | func (provider *providerWithCache) ReaderAt(ctx context.Context, desc ...
type readerAtWithCache (line 70) | type readerAtWithCache struct
method Size (line 76) | func (rac *readerAtWithCache) Size() int64 {
method Close (line 85) | func (rac *readerAtWithCache) Close() error {
FILE: pkg/containerdutil/helpers.go
type readBlob (line 29) | type readBlob
function readBlobWithCache (line 31) | func readBlobWithCache() readBlob {
FILE: pkg/containerdutil/image_store.go
type ImageStore (line 19) | type ImageStore struct
FILE: pkg/containerdutil/snapshotter.go
function SnapshotService (line 27) | func SnapshotService(client *containerd.Client, snapshotterName string) ...
type snapshotterWithCache (line 35) | type snapshotterWithCache struct
method Stat (line 41) | func (snap *snapshotterWithCache) Stat(ctx context.Context, key string...
method Usage (line 52) | func (snap *snapshotterWithCache) Usage(ctx context.Context, key strin...
FILE: pkg/containerdutil/version.go
function ServerSemVer (line 28) | func ServerSemVer(ctx context.Context, client *containerd.Client) (*semv...
function SupportsFullTransferService (line 45) | func SupportsFullTransferService(ctx context.Context, client *containerd...
FILE: pkg/containerinspector/containerinspector.go
function Inspect (line 30) | func Inspect(ctx context.Context, container containerd.Container) (*nati...
FILE: pkg/containerinspector/containerinspector_linux.go
function InspectNetNS (line 30) | func InspectNetNS(ctx context.Context, pid int) (*native.NetNS, error) {
function determinePrimaryInterface (line 68) | func determinePrimaryInterface(interfaces []native.NetInterface) int {
FILE: pkg/containerinspector/containerinspector_unix_nolinux.go
function InspectNetNS (line 27) | func InspectNetNS(ctx context.Context, pid int) (*native.NetNS, error) {
FILE: pkg/containerinspector/containerinspector_windows.go
function InspectNetNS (line 25) | func InspectNetNS(ctx context.Context, pid int) (*native.NetNS, error) {
FILE: pkg/containerutil/config.go
function ReconfigNetContainer (line 38) | func ReconfigNetContainer(ctx context.Context, c containerd.Container, c...
function ReconfigPIDContainer (line 82) | func ReconfigPIDContainer(ctx context.Context, c containerd.Container, c...
function ReconfigIPCContainer (line 112) | func ReconfigIPCContainer(ctx context.Context, c containerd.Container, c...
FILE: pkg/containerutil/container_network_manager.go
constant UtsNamespaceHost (line 53) | UtsNamespaceHost = "host"
function withCustomResolvConf (line 56) | func withCustomResolvConf(src string) func(context.Context, oci.Client, ...
function withCustomEtcHostname (line 68) | func withCustomEtcHostname(src string) func(context.Context, oci.Client,...
function withCustomHosts (line 80) | func withCustomHosts(src string) func(context.Context, oci.Client, *cont...
function fetchDNSResolverConfig (line 92) | func fetchDNSResolverConfig(netOpts types.NetworkOptions, allowLocalhost...
type NetworkOptionsManager (line 124) | type NetworkOptionsManager interface
function NewNetworkingOptionsManager (line 152) | func NewNetworkingOptionsManager(globalOptions types.GlobalCommandOption...
type noneNetworkManager (line 180) | type noneNetworkManager struct
method NetworkOptions (line 187) | func (m *noneNetworkManager) NetworkOptions() types.NetworkOptions {
method VerifyNetworkOptions (line 192) | func (m *noneNetworkManager) VerifyNetworkOptions(_ context.Context) e...
method SetupNetworking (line 202) | func (m *noneNetworkManager) SetupNetworking(ctx context.Context, cont...
method CleanupNetworking (line 249) | func (m *noneNetworkManager) CleanupNetworking(ctx context.Context, co...
method InternalNetworkingOptionLabels (line 273) | func (m *noneNetworkManager) InternalNetworkingOptionLabels(_ context....
method ContainerNetworkingOpts (line 282) | func (m *noneNetworkManager) ContainerNetworkingOpts(_ context.Context...
type containerNetworkManager (line 347) | type containerNetworkManager struct
method NetworkOptions (line 354) | func (m *containerNetworkManager) NetworkOptions() types.NetworkOptions {
method VerifyNetworkOptions (line 359) | func (m *containerNetworkManager) VerifyNetworkOptions(_ context.Conte...
method getContainerNetworkFilePaths (line 389) | func (m *containerNetworkManager) getContainerNetworkFilePaths(contain...
method SetupNetworking (line 415) | func (m *containerNetworkManager) SetupNetworking(_ context.Context, _...
method CleanupNetworking (line 423) | func (m *containerNetworkManager) CleanupNetworking(_ context.Context,...
method getNetworkingContainerForArgument (line 430) | func (m *containerNetworkManager) getNetworkingContainerForArgument(ct...
method InternalNetworkingOptionLabels (line 460) | func (m *containerNetworkManager) InternalNetworkingOptionLabels(ctx c...
method ContainerNetworkingOpts (line 479) | func (m *containerNetworkManager) ContainerNetworkingOpts(ctx context....
type hostNetworkManager (line 524) | type hostNetworkManager struct
method NetworkOptions (line 531) | func (m *hostNetworkManager) NetworkOptions() types.NetworkOptions {
method VerifyNetworkOptions (line 536) | func (m *hostNetworkManager) VerifyNetworkOptions(_ context.Context) e...
method SetupNetworking (line 546) | func (m *hostNetworkManager) SetupNetworking(ctx context.Context, cont...
method CleanupNetworking (line 593) | func (m *hostNetworkManager) CleanupNetworking(ctx context.Context, co...
method InternalNetworkingOptionLabels (line 617) | func (m *hostNetworkManager) InternalNetworkingOptionLabels(_ context....
method ContainerNetworkingOpts (line 659) | func (m *hostNetworkManager) ContainerNetworkingOpts(_ context.Context...
function withDedupMounts (line 626) | func withDedupMounts(mountPath string, defaultSpec oci.SpecOpts) oci.Spe...
function getHostNetworkingNamespace (line 640) | func getHostNetworkingNamespace(netModeArg string) (oci.SpecOpts, error) {
function withRemoveSysfs (line 759) | func withRemoveSysfs(_ context.Context, _ oci.Client, c *containers.Cont...
type cniNetworkManager (line 785) | type cniNetworkManager struct
method NetworkOptions (line 793) | func (m *cniNetworkManager) NetworkOptions() types.NetworkOptions {
function validateUtsSettings (line 797) | func validateUtsSettings(netOpts types.NetworkOptions) error {
function writeEtcHostnameForContainer (line 817) | func writeEtcHostnameForContainer(globalOptions types.GlobalCommandOptio...
function verifyNetworkTypes (line 848) | func verifyNetworkTypes(env *netutil.CNIEnv, networkSlice []string, supp...
function NetworkOptionsFromSpec (line 869) | func NetworkOptionsFromSpec(spec *specs.Spec) (types.NetworkOptions, err...
function nonZeroMapValues (line 903) | func nonZeroMapValues(values map[string]interface{}) []string {
FILE: pkg/containerutil/container_network_manager_linux.go
type cniNetworkManagerPlatform (line 38) | type cniNetworkManagerPlatform struct
method VerifyNetworkOptions (line 42) | func (m *cniNetworkManager) VerifyNetworkOptions(_ context.Context) error {
method SetupNetworking (line 59) | func (m *cniNetworkManager) SetupNetworking(_ context.Context, _ string)...
method CleanupNetworking (line 68) | func (m *cniNetworkManager) CleanupNetworking(_ context.Context, _ conta...
method InternalNetworkingOptionLabels (line 76) | func (m *cniNetworkManager) InternalNetworkingOptionLabels(_ context.Con...
method ContainerNetworkingOpts (line 82) | func (m *cniNetworkManager) ContainerNetworkingOpts(_ context.Context, c...
method buildResolvConf (line 140) | func (m *cniNetworkManager) buildResolvConf(resolvConfPath string) error {
FILE: pkg/containerutil/container_network_manager_other.go
type cniNetworkManagerPlatform (line 32) | type cniNetworkManagerPlatform struct
method VerifyNetworkOptions (line 36) | func (m *cniNetworkManager) VerifyNetworkOptions(_ context.Context) error {
method SetupNetworking (line 41) | func (m *cniNetworkManager) SetupNetworking(_ context.Context, _ string)...
method CleanupNetworking (line 47) | func (m *cniNetworkManager) CleanupNetworking(_ context.Context, _ conta...
method InternalNetworkingOptionLabels (line 52) | func (m *cniNetworkManager) InternalNetworkingOptionLabels(_ context.Con...
method ContainerNetworkingOpts (line 58) | func (m *cniNetworkManager) ContainerNetworkingOpts(_ context.Context, _...
FILE: pkg/containerutil/container_network_manager_test.go
function TestZeroMapValues (line 26) | func TestZeroMapValues(t *testing.T) {
FILE: pkg/containerutil/container_network_manager_windows.go
type cniNetworkManagerPlatform (line 33) | type cniNetworkManagerPlatform struct
method VerifyNetworkOptions (line 38) | func (m *cniNetworkManager) VerifyNetworkOptions(_ context.Context) error {
method getCNI (line 70) | func (m *cniNetworkManager) getCNI() (cni.CNI, error) {
method SetupNetworking (line 93) | func (m *cniNetworkManager) SetupNetworking(ctx context.Context, contain...
method CleanupNetworking (line 110) | func (m *cniNetworkManager) CleanupNetworking(ctx context.Context, conta...
method InternalNetworkingOptionLabels (line 131) | func (m *cniNetworkManager) InternalNetworkingOptionLabels(_ context.Con...
method ContainerNetworkingOpts (line 137) | func (m *cniNetworkManager) ContainerNetworkingOpts(_ context.Context, c...
method setupNetNs (line 160) | func (m *cniNetworkManager) setupNetNs() (*netns.NetNS, error) {
method getCNINamespaceOpts (line 176) | func (m *cniNetworkManager) getCNINamespaceOpts() []cni.NamespaceOpts {
FILE: pkg/containerutil/containerutil.go
function PrintHostPort (line 64) | func PrintHostPort(ctx context.Context, writer io.Writer, container cont...
function ContainerStatus (line 82) | func ContainerStatus(ctx context.Context, c containerd.Container) (conta...
function ContainerNetNSPath (line 92) | func ContainerNetNSPath(ctx context.Context, c containerd.Container) (st...
function UpdateStatusLabel (line 109) | func UpdateStatusLabel(ctx context.Context, container containerd.Contain...
function UpdateExplicitlyStoppedLabel (line 118) | func UpdateExplicitlyStoppedLabel(ctx context.Context, container contain...
function UpdateErrorLabel (line 127) | func UpdateErrorLabel(ctx context.Context, container containerd.Containe...
function WithBindMountHostProcfs (line 139) | func WithBindMountHostProcfs(_ context.Context, _ oci.Client, _ *contain...
function GenerateSharingPIDOpts (line 166) | func GenerateSharingPIDOpts(ctx context.Context, targetCon containerd.Co...
function Start (line 209) | func Start(ctx context.Context, container containerd.Container, isAttach...
function Stop (line 351) | func Stop(ctx context.Context, container containerd.Container, timeout *...
function getSignal (line 471) | func getSignal(signalValue string, containerLabels map[string]string) (s...
function waitContainerStop (line 483) | func waitContainerStop(ctx context.Context, task containerd.Task, exitCh...
function Pause (line 502) | func Pause(ctx context.Context, client *containerd.Client, id string) er...
function Unpause (line 529) | func Unpause(ctx context.Context, client *containerd.Client, id string, ...
function ContainerStateDirPath (line 562) | func ContainerStateDirPath(ns, dataStore, id string) (string, error) {
type ContainerVolume (line 567) | type ContainerVolume struct
function GetContainerVolumes (line 583) | func GetContainerVolumes(containerLabels map[string]string) []*Container...
function GetContainerName (line 614) | func GetContainerName(containerLabels map[string]string) string {
function EncodeContainerRmOptLabel (line 633) | func EncodeContainerRmOptLabel(rmOpt bool) string {
function DecodeContainerRmOptLabel (line 638) | func DecodeContainerRmOptLabel(rmOptLabel string) (bool, error) {
function ParseExtraHosts (line 646) | func ParseExtraHosts(extraHosts []string, hostGatewayIP, separator strin...
FILE: pkg/containerutil/containerutil_test.go
function TestParseExtraHosts (line 24) | func TestParseExtraHosts(t *testing.T) {
FILE: pkg/containerutil/cp_linux.go
function getRoot (line 63) | func getRoot(ctx context.Context, container containerd.Container) (strin...
function CopyFiles (line 88) | func CopyFiles(ctx context.Context, client *containerd.Client, container...
function mountSnapshotForContainer (line 363) | func mountSnapshotForContainer(ctx context.Context, client *containerd.C...
FILE: pkg/containerutil/cp_resolve_linux.go
function volumeNameLen (line 37) | func volumeNameLen(_ string) int {
type pathSpecifier (line 50) | type pathSpecifier struct
function getPathSpecFromHost (line 65) | func getPathSpecFromHost(originalPath string) (*pathSpecifier, error) {
function getPathSpecFromContainer (line 139) | func getPathSpecFromContainer(originalPath string, conSpec *oci.Spec, co...
type resolver (line 226) | type resolver struct
method pathOnHost (line 257) | func (res *resolver) pathOnHost(path string) string {
method getMount (line 280) | func (res *resolver) getMount(path string) (*locator, string) {
method resolvePath (line 312) | func (res *resolver) resolvePath(path string) (string, error) {
type locator (line 233) | type locator struct
function isParent (line 239) | func isParent(child []string, candidate []string) (bool, []string) {
function newResolver (line 247) | func newResolver(conSpec *oci.Spec, hostRoot string) *resolver {
FILE: pkg/containerutil/lock.go
function Lock (line 25) | func Lock(stateDir string) (store.Store, error) {
FILE: pkg/defaults/cgroup_linux.go
function IsSystemdAvailable (line 27) | func IsSystemdAvailable() bool {
function CgroupManager (line 39) | func CgroupManager() string {
function CgroupnsMode (line 49) | func CgroupnsMode() string {
FILE: pkg/defaults/defaults_darwin.go
constant AppArmorProfileName (line 26) | AppArmorProfileName = ""
constant SeccompProfileName (line 27) | SeccompProfileName = ""
constant Runtime (line 28) | Runtime = ""
function CNIPath (line 31) | func CNIPath() string {
function CNIRuntimeDir (line 35) | func CNIRuntimeDir() (string, error) {
function CNINetConfPath (line 39) | func CNINetConfPath() string {
function DataRoot (line 43) | func DataRoot() string {
function CgroupManager (line 47) | func CgroupManager() string {
function CgroupnsMode (line 51) | func CgroupnsMode() string {
function NerdctlTOML (line 55) | func NerdctlTOML() string {
function HostsDirs (line 59) | func HostsDirs() []string {
function HostGatewayIP (line 63) | func HostGatewayIP() string {
function CDISpecDirs (line 67) | func CDISpecDirs() []string {
FILE: pkg/defaults/defaults_freebsd.go
constant AppArmorProfileName (line 24) | AppArmorProfileName = ""
constant SeccompProfileName (line 25) | SeccompProfileName = ""
constant Runtime (line 26) | Runtime = "wtf.sbk.runj.v1"
function DataRoot (line 29) | func DataRoot() string {
function CNIPath (line 33) | func CNIPath() string {
function CNINetConfPath (line 38) | func CNINetConfPath() string {
function CNIRuntimeDir (line 42) | func CNIRuntimeDir() (string, error) {
function CgroupManager (line 46) | func CgroupManager() string {
function CgroupnsMode (line 50) | func CgroupnsMode() string {
function NerdctlTOML (line 54) | func NerdctlTOML() string {
function HostsDirs (line 58) | func HostsDirs() []string {
function HostGatewayIP (line 62) | func HostGatewayIP() string {
function CDISpecDirs (line 66) | func CDISpecDirs() []string {
FILE: pkg/defaults/defaults_linux.go
constant AppArmorProfileName (line 32) | AppArmorProfileName = "nerdctl-default"
constant SeccompProfileName (line 33) | SeccompProfileName = "builtin"
constant Runtime (line 34) | Runtime = plugins.RuntimeRuncV2
function DataRoot (line 37) | func DataRoot() string {
function CNIPath (line 48) | func CNIPath() string {
function CNINetConfPath (line 80) | func CNINetConfPath() string {
function CNIRuntimeDir (line 91) | func CNIRuntimeDir() (string, error) {
function NerdctlTOML (line 105) | func NerdctlTOML() string {
function HostsDirs (line 116) | func HostsDirs() []string {
function HostGatewayIP (line 131) | func HostGatewayIP() string {
function CDISpecDirs (line 147) | func CDISpecDirs() []string {
FILE: pkg/defaults/defaults_windows.go
constant AppArmorProfileName (line 25) | AppArmorProfileName = ""
constant SeccompProfileName (line 26) | SeccompProfileName = ""
constant Runtime (line 27) | Runtime = "io.containerd.runhcs.v1"
function DataRoot (line 30) | func DataRoot() string {
function CNIPath (line 34) | func CNIPath() string {
function CNINetConfPath (line 38) | func CNINetConfPath() string {
function CNIRuntimeDir (line 42) | func CNIRuntimeDir() (string, error) {
function IsSystemdAvailable (line 46) | func IsSystemdAvailable() bool {
function CgroupManager (line 50) | func CgroupManager() string {
function CgroupnsMode (line 54) | func CgroupnsMode() string {
function NerdctlTOML (line 58) | func NerdctlTOML() string {
function HostsDirs (line 66) | func HostsDirs() []string {
function HostGatewayIP (line 77) | func HostGatewayIP() string {
function CDISpecDirs (line 81) | func CDISpecDirs() []string {
FILE: pkg/dnsutil/dnsutil.go
function GetSlirp4netnsDNS (line 28) | func GetSlirp4netnsDNS() ([]string, error) {
function ValidateIPAddress (line 50) | func ValidateIPAddress(val string) (string, error) {
FILE: pkg/dnsutil/dnsutil_test.go
function TestValidateIPAddress (line 25) | func TestValidateIPAddress(t *testing.T) {
FILE: pkg/dnsutil/hostsstore/hosts.go
constant MarkerBegin (line 42) | MarkerBegin = "