clusterclaim

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(opts ...Option) *hivev1.ClusterClaim

Build runs each of the functions passed in to generate the object.

Types

type Builder

type Builder interface {
	Build(opts ...Option) *hivev1.ClusterClaim

	Options(opts ...Option) Builder

	GenericOptions(opts ...generic.Option) Builder
}

func BasicBuilder

func BasicBuilder() Builder

func FullBuilder

func FullBuilder(namespace, name string, typer runtime.ObjectTyper) Builder

type Option

type Option func(*hivev1.ClusterClaim)

Option defines a function signature for any function that wants to be passed into Build

func Generic

func Generic(opt generic.Option) Option

Generic allows common functions applicable to all objects to be used as Options to Build

func WithCluster

func WithCluster(clusterName string) Option

func WithCondition

func WithCondition(cond hivev1.ClusterClaimCondition) Option

WithCondition adds the specified condition to the ClusterClaim

func WithLifetime added in v1.0.11

func WithLifetime(lifetime time.Duration) Option

func WithPool

func WithPool(poolName string) Option

func WithSubjects

func WithSubjects(subjects []rbacv1.Subject) Option

Jump to

Keyboard shortcuts

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