execute

package
v0.0.0-...-15a92d9 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterNodes

type ClusterNodes struct {
	v1.Node
	Role       NodeRole
	IsInitNode bool
}

type Concurrent

type Concurrent struct {
	Agent         provider.Agent
	ConcurrentNum int
	Timeout       time.Duration
	Nodes         []ClusterNodes
	Command       types.Command
}

func (*Concurrent) Execute

func (c *Concurrent) Execute() bool

type NodeRole

type NodeRole string
const (
	NodeRoleMaster NodeRole = "master"
	NodeRoleWorker NodeRole = "worker"
	NodeRoleEtcd   NodeRole = "etcd"
)

Jump to

Keyboard shortcuts

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