condition

package
v0.2.4-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package condition is used in kubeteach to run condition checks against kubernetes api

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checks

type Checks struct {
	Client client.Client
}

Checks is used for configuration of the condition checks

func (*Checks) ApplyChecks

func (c *Checks) ApplyChecks(
	ctx context.Context,
	taskConditions []teachv1alpha1.TaskCondition,
) (bool, error)

ApplyChecks apply all TaskConditions and returns true if all conditions are successful

Jump to

Keyboard shortcuts

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