func NewImageConstraint(params simplestreams.LookupParams) *ImageConstraint { if len(params.Series) == 0 { params.Series = series.SupportedSeries() } if len(params.Arches) == 0 { params.Arches = arch.AllSupportedArches } return &ImageConstraint{LookupParams: params} }