Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToJsonStandard ¶
func ToJsonStandard(v interface{}) (interface{}, error)
Types ¶
type DurationFrom ¶
type DurationFrom struct {
// contains filtered or unexported fields
}
type DurationGetter ¶
type DurationGetter interface {
Get(ctx context.Context, v interface{}, now time.Time) (time.Duration, bool)
}
func NewDurationFrom ¶
func NewDurationFrom(value *time.Duration, src *string) (DurationGetter, error)
type Requirement ¶
type Requirement struct {
// contains filtered or unexported fields
}
Requirement contains values, a key, and an operator that relates the key and values. The zero value of Requirement is invalid.
func NewRequirement ¶
func NewRequirement(key string, op internalversion.SelectorOperator, vals []string) (*Requirement, error)
NewRequirement is the constructor for a Requirement.
Click to show internal directories.
Click to hide internal directories.