bastion

package
v1.90.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TimeToLive is the duration the ExpirationTimestamp of a bastion will be extended
	// by on every heartbeat.
	TimeToLive = 1 * time.Hour
)

Variables

View Source
var StatusStrategy = bastionStatusStrategy{Strategy}

StatusStrategy defines the storage strategy for the status subresource of Bastions.

View Source
var Strategy = bastionStrategy{api.Scheme, names.SimpleNameGenerator, TimeToLive}

Strategy defines the storage strategy for Bastions.

Functions

func GetAttrs

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)

GetAttrs returns labels and fields of a given object for filtering purposes.

func MatchBastion

func MatchBastion(label labels.Selector, field fields.Selector) storage.SelectionPredicate

MatchBastion returns a generic matcher for a given label and field selector.

func SeedNameTriggerFunc

func SeedNameTriggerFunc(obj runtime.Object) string

SeedNameTriggerFunc returns spec.seedName of given Bastion.

func ToSelectableFields

func ToSelectableFields(bastion *operations.Bastion) fields.Set

ToSelectableFields returns a field set that represents the object

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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