Documentation ¶
Index ¶
- Constants
- Variables
- func CalculateSha256ByOutput(pods []*PodExec, output string) (string, error)
- func CalculateSha256ByTaskID(pods []*PodExec, taskID string) (string, error)
- func CriCtlCommand(arg ...string) *exec.Cmd
- func DockerCommand(arg ...string) *exec.Cmd
- func DockerCopy(dst, src string) *exec.Cmd
- func GetFileURL(filePath string) string
- func GetOutputPath(fileName string) string
- func GitCommand(arg ...string) *exec.Cmd
- func KubeCtlCommand(arg ...string) *exec.Cmd
- func KubeCtlCopyCommand(ns, pod, source, target string) *exec.Cmd
- func UploadArtifactPrevStdout(namespace, podName, logDirName, logPrefix string) error
- func UploadArtifactStdout(namespace, podName, logDirName, logPrefix string) error
- type FileMetadata
- type PodExec
- type TaskMetadata
Constants ¶
View Source
const ( ManagerServerName = "manager" SchedulerServerName = "scheduler" SeedClientServerName = "seed-client" ClientServerName = "client" )
View Source
const (
DragonflyNamespace = "dragonfly-system"
)
Variables ¶
View Source
var Servers = map[string]server{ ManagerServerName: { Name: ManagerServerName, Namespace: DragonflyNamespace, LogDirName: ManagerServerName, Replicas: 1, }, SchedulerServerName: { Name: SchedulerServerName, Namespace: DragonflyNamespace, LogDirName: SchedulerServerName, Replicas: 3, }, SeedClientServerName: { Name: SeedClientServerName, Namespace: DragonflyNamespace, LogDirName: "dfdaemon", Replicas: 3, }, ClientServerName: { Name: ClientServerName, Namespace: DragonflyNamespace, LogDirName: "dfdaemon", Replicas: 1, }, }
Functions ¶
func CalculateSha256ByOutput ¶
func CalculateSha256ByTaskID ¶
func CriCtlCommand ¶
func DockerCommand ¶
func DockerCopy ¶
func GetFileURL ¶
func GetOutputPath ¶
func GitCommand ¶
func KubeCtlCommand ¶
func KubeCtlCopyCommand ¶
func UploadArtifactStdout ¶
Types ¶
type FileMetadata ¶
type PodExec ¶
type PodExec struct {
// contains filtered or unexported fields
}
func ClientExec ¶
func ManagerExec ¶
func SeedClientExec ¶
type TaskMetadata ¶
Click to show internal directories.
Click to hide internal directories.