controller

package
v0.0.0-...-0036acd Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Finished   string = "finished"
	Dispatched string = "dispatched"
	Failed     string = "failed"
)

Variables

View Source
var IperfOperatorImage string = "riverlcj/iperf:v0.3.2"
View Source
var IperfTaskResource = kubecontroller.CustomResource{
	Name:    "iperftask",
	Plural:  "iperftasks",
	Group:   util.Group,
	Version: util.Version,
	Scope:   apiextensionsv1beta1.NamespaceScoped,
	Kind:    util.Kind,
}
View Source
var PodName = ""
View Source
var PodNameSpace = ""

Functions

This section is empty.

Types

type IperfTaskController

type IperfTaskController struct {
	// contains filtered or unexported fields
}

func NewIperfController

func NewIperfController(k8sClient kubernetes.Interface,
	iperfClient iperfalpha1clientset.Interface) *IperfTaskController

func (*IperfTaskController) AddFunc

func (c *IperfTaskController) AddFunc(obj interface{})

func (*IperfTaskController) DeleteFunc

func (c *IperfTaskController) DeleteFunc(obj interface{})

func (*IperfTaskController) UpdateFunc

func (c *IperfTaskController) UpdateFunc(obj, newobj interface{})

Jump to

Keyboard shortcuts

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