fake

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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