conditiongen

package
v2.11.26 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	// Package is the package the client will be generated in.
	Package string

	// ConditionPrefix is the prefix conditions will start with.
	ConditionPrefix string

	// StatusType is the type that contains the duck.Status
	StatusType string

	// Conditions is the list of conditions to generate (along with Ready).
	Conditions []string

	// LivingConditionSet is true if the conditions will be summarized by the
	// "Ready" condition. If false, they will be summarized by the "Succeeded"
	// condition. Ready should be used for continuous tasks whereas Succeeded
	// should be used for one-off jobs.
	LivingConditionSet bool
}

func (*Params) Render

func (f *Params) Render() ([]byte, error)

Jump to

Keyboard shortcuts

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