service

package
v0.0.0-...-2a2b656 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContainsPodInfo

func GetContainsPodInfo(cli *client.Client, containID string) (string, string)

根据containId获取podName和podNamespace。这些信息通过docker inspect *也可以看到

func GetExecOutByCSV

func GetExecOutByCSV(args string) [][]string

csv方式输出exec的执行结果

func GetExecOutByString

func GetExecOutByString(args string) string

string方式输出exec的执行结果

Types

type ContainersStruct

type ContainersStruct struct {
	ContainerID string
	Image       string
	ConName     string
}

func ListContains

func ListContains(cli *client.Client) []ContainersStruct

ListContains 这个方法没有用到

Jump to

Keyboard shortcuts

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