fake

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pod added in v0.3.0

func Pod(name, namespace string) *corev1.Pod

Types

type DeploymentBuilder

type DeploymentBuilder struct {
	Name         string
	Namespace    string
	IsEnabled    bool
	MutateObject func(client.Object)
}

func NewDeploymentBuilder

func NewDeploymentBuilder(name, namespace string) *DeploymentBuilder

func (*DeploymentBuilder) Build

func (b *DeploymentBuilder) Build() client.Object

func (*DeploymentBuilder) Enabled

func (b *DeploymentBuilder) Enabled() bool

func (*DeploymentBuilder) Update

func (b *DeploymentBuilder) Update(object client.Object) error

Jump to

Keyboard shortcuts

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