github.com/emcfarlane/larking@v0.0.0-20220605172417-1704b45ee6c3/starlib/starlarkrule/info.star (about) 1 # Default providers 2 3 DefaultInfo = attrs( 4 files = attr.label_list( 5 doc = "A list of files.", 6 mandatory = True, 7 ), 8 executable = attr.label( 9 doc = "Executable file, if runnable.", 10 mandatory = False, 11 ), 12 ) 13 14 ContainerInfo = attrs( 15 src = attr.label( 16 doc = "Tarball source of container.", 17 mandatory = True, 18 ), 19 reference = attr.string( 20 doc = "Reference.", 21 mandatory = True, 22 ), 23 )