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 MatchBastion ¶
MatchBastion returns a generic matcher for a given label and field selector.
func SeedNameTriggerFunc ¶
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 TODO: fields are not labels, and the validation rules for them do not apply.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.