probe

package
v0.31.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecAction

type ExecAction struct {
	*starlarkstruct.Struct
	// contains filtered or unexported fields
}

func (ExecAction) Type added in v0.18.9

func (e ExecAction) Type() string

func (*ExecAction) Unpack added in v0.18.9

func (e *ExecAction) Unpack(v starlark.Value) error

Unpack handles the possibility of receiving starlark.None but otherwise just casts to ExecAction

func (ExecAction) ValueOrNone

func (e ExecAction) ValueOrNone() starlark.Value

type HTTPGetAction

type HTTPGetAction struct {
	*starlarkstruct.Struct
	// contains filtered or unexported fields
}

func (HTTPGetAction) Type added in v0.18.9

func (h HTTPGetAction) Type() string

func (*HTTPGetAction) Unpack added in v0.18.9

func (h *HTTPGetAction) Unpack(v starlark.Value) error

Unpack handles the possibility of receiving starlark.None but otherwise just casts to HTTPGetAction

func (HTTPGetAction) ValueOrNone

func (h HTTPGetAction) ValueOrNone() starlark.Value

type Plugin added in v0.22.4

type Plugin struct{}

func NewPlugin added in v0.22.4

func NewPlugin() Plugin

func (Plugin) OnStart added in v0.22.4

func (e Plugin) OnStart(env *starkit.Environment) error

type Probe

type Probe struct {
	*starlarkstruct.Struct
	// contains filtered or unexported fields
}

func (Probe) Spec

func (p Probe) Spec() *v1alpha1.Probe

Spec returns the probe specification in the canonical format. It must not be modified.

func (Probe) Type added in v0.18.9

func (p Probe) Type() string

func (*Probe) Unpack added in v0.18.9

func (p *Probe) Unpack(v starlark.Value) error

Unpack handles the possibility of receiving starlark.None but otherwise just casts to Probe

type TCPSocketAction

type TCPSocketAction struct {
	*starlarkstruct.Struct
	// contains filtered or unexported fields
}

func (TCPSocketAction) Type added in v0.18.9

func (t TCPSocketAction) Type() string

func (*TCPSocketAction) Unpack added in v0.18.9

func (t *TCPSocketAction) Unpack(v starlark.Value) error

Unpack handles the possibility of receiving starlark.None but otherwise just casts to TCPSocketAction

func (TCPSocketAction) ValueOrNone

func (t TCPSocketAction) ValueOrNone() starlark.Value

Jump to

Keyboard shortcuts

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