gc3

package
v0.0.0-...-c3677c5 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GC

func GC(ctx context.Context, timeout time.Duration, instanceIdentityProvider identity.InstanceIdentityProvider, conn *grpc.ClientConn, args Args) error

Types

type Args

type Args struct {
	KubernetesPodsURL      string
	SourceOfTruth          string
	TransitionNamespaceDir string
}

type Executor

type Executor struct {
	ID         string `json:"id"`
	Name       string `json:"name"`
	ExecutorID string `json:"executor_id"`
	SlaveID    string `json:"slave_id"`
	Tasks      []Task `json:"tasks"`
}

type Framework

type Framework struct {
	ID        string     `json:"id"`
	Name      string     `json:"name"`
	Executors []Executor `json:"executors"`
}

type State

type State struct {
	Frameworks []Framework `json:"frameworks"`
}

type Task

type Task struct {
	FrameworkID string `json:"framework_id"`
	ID          string `json:"id"`
	Name        string `json:"name"`
	SlaveID     string `json:"slave_id"`
	State       string `json:"state"`
}

Task holds a task as defined in the /state Mesos HTTP endpoint.

Jump to

Keyboard shortcuts

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