Documentation ¶
Index ¶
Constants ¶
View Source
const ( PodReservationRequestDefaultTimeOutSeconds = 60 ReservationDefaultCheckPeriod = 1 DefaultMatchedRequestExtraTTL = 60 )
Variables ¶
View Source
var DefaultIgnoredNamespace = []string{"batch"}
Functions ¶
func SetDefaultReservationController ¶
func SetDefaultReservationController(obj *ReservationControllerConfiguration)
Types ¶
type ReservationControllerConfiguration ¶
type ReservationControllerConfiguration struct { ReservationTTL int64 MatchedRequestExtraTTL int64 ReservationCheckPeriod int64 // IgnoredNamespace is the list of namespace to be ignored when // setup informer. IgnoredNamespace []string }
func NewReservationControllerConfiguration ¶
func NewReservationControllerConfiguration() *ReservationControllerConfiguration
func (*ReservationControllerConfiguration) DeepCopy ¶
func (c *ReservationControllerConfiguration) DeepCopy() (out *ReservationControllerConfiguration)
func (*ReservationControllerConfiguration) DeepCopyInto ¶
func (c *ReservationControllerConfiguration) DeepCopyInto(in *ReservationControllerConfiguration)
Click to show internal directories.
Click to hide internal directories.