Documentation
¶
Index ¶
- func Build(opts ...Option) *hivev1.SyncSet
- type Builder
- type Option
- func ForClusterDeployments(clusterDeploymentNames ...string) 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 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 ¶
Types ¶
type Builder ¶ added in v1.0.5
type Builder interface { Build(opts ...Option) *hivev1.SyncSet Options(opts ...Option) Builder GenericOptions(opts ...generic.Option) Builder }
func BasicBuilder ¶ added in v1.0.5
func BasicBuilder() Builder
func FullBuilder ¶ added in v1.0.5
func FullBuilder(namespace, name string, typer runtime.ObjectTyper) Builder
type Option ¶
Option defines a function signature for any function that wants to be passed into Build
func ForClusterDeployments ¶ added in v1.0.5
func Generic ¶
Generic allows common functions applicable to all objects to be used as Options to Build
func WithApplyBehavior ¶ added in v1.0.9
func WithApplyBehavior(applyBehavior hivev1.SyncSetApplyBehavior) Option
func WithApplyMode ¶ added in v1.0.5
func WithApplyMode(applyMode hivev1.SyncSetResourceApplyMode) Option
func WithGeneration ¶ added in v1.0.9
func WithName ¶ added in v1.0.5
WithName sets the object.Name field when building an object with Build.
func WithNamespace ¶ added in v1.0.5
WithNamespace sets the object.Namespace field when building an object with Build.
func WithPatches ¶ added in v1.0.9
func WithPatches(patches ...hivev1.SyncObjectPatch) Option
func WithResources ¶ added in v1.0.9
func WithResources(objs ...hivev1.MetaRuntimeObject) Option
func WithSecrets ¶ added in v1.0.9
func WithSecrets(secrets ...hivev1.SecretMapping) Option
Click to show internal directories.
Click to hide internal directories.