builder

package
v1.3.0-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build[T client.Object](owner metav1.Object, target T, options ...Option[T]) (T, error)

func SetLabels

func SetLabels[T client.Object](labels map[string]string) func(T)

func SetName

func SetName[T client.Object](name string) func(T)

func SetNamespace

func SetNamespace[T client.Object](nsName string) func(T)

Types

type Option

type Option[T client.Object] func(T)

Jump to

Keyboard shortcuts

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