Documentation ¶
Index ¶
- func Build(opts ...Option) *hivev1.SelectorSyncSet
- type Builder
- type Option
- func Generic(opt generic.Option) Option
- func WithApplyBehavior(applyBehavior hivev1.SyncSetApplyBehavior) Option
- func WithApplyMode(applyMode hivev1.SyncSetResourceApplyMode) Option
- func WithGeneration(generation int64) Option
- func WithLabelSelector(labelKey, labelValue string) Option
- func WithName(name string) Option
- func WithNamespace(namespace string) Option
- func WithPatches(patches ...hivev1.SyncObjectPatch) Option
- func WithResources(objs ...hivev1.MetaRuntimeObject) Option
- func WithSecrets(secrets ...hivev1.SecretMapping) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(opts ...Option) *hivev1.SelectorSyncSet
Build runs each of the functions passed in to generate the object.
Types ¶
type Builder ¶
type Builder interface { Build(opts ...Option) *hivev1.SelectorSyncSet Options(opts ...Option) Builder GenericOptions(opts ...generic.Option) Builder }
func BasicBuilder ¶
func BasicBuilder() Builder
func FullBuilder ¶
func FullBuilder(name string, typer runtime.ObjectTyper) Builder
type Option ¶
type Option func(*hivev1.SelectorSyncSet)
Option defines a function signature for any function that wants to be passed into Build
func Generic ¶
Generic allows common functions applicable to all objects to be used as Options to Build
func WithApplyBehavior ¶
func WithApplyBehavior(applyBehavior hivev1.SyncSetApplyBehavior) Option
func WithApplyMode ¶
func WithApplyMode(applyMode hivev1.SyncSetResourceApplyMode) Option
func WithGeneration ¶
func WithLabelSelector ¶
func WithNamespace ¶
WithNamespace sets the object.Namespace field when building an object with Build.
func WithPatches ¶
func WithPatches(patches ...hivev1.SyncObjectPatch) Option
func WithResources ¶
func WithResources(objs ...hivev1.MetaRuntimeObject) Option
func WithSecrets ¶
func WithSecrets(secrets ...hivev1.SecretMapping) Option
Click to show internal directories.
Click to hide internal directories.