kill

package
v0.8.3-60-g9d7e779f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2023, Unikraft GmbH and The KraftKit Authors. Licensed under the BSD-3-Clause License (the "License"). You may not use this file except in compliance with the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

Types

type KillOptions

type KillOptions struct {
	// This flag is being deprecated (opencontainers/runc#3864) but needs to be
	// retained for backwards compatibility with containerd's CRI implementation
	// (Kubernetes).
	All bool `long:"all" short:"a" usage:"send the specified signal to all processes"`
	// contains filtered or unexported fields
}

KillOptions implements the OCI "kill" command.

func (*KillOptions) Pre

func (opts *KillOptions) Pre(cmd *cobra.Command, args []string) error

func (*KillOptions) Run

func (opts *KillOptions) Run(ctx context.Context, args []string) (retErr error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL