@Controller @RequestMapping(value="/runtime/containers") @ExposesResourceFor(value=ContainerAttributesResource.class) public class RuntimeContainersController extends java.lang.Object
Constructor and Description |
---|
RuntimeContainersController(ContainerAttributesRepository containerAttributesRepository) |
Modifier and Type | Method and Description |
---|---|
org.springframework.hateoas.PagedResources<ContainerAttributesResource> |
list(org.springframework.data.domain.Pageable pageable,
org.springframework.data.web.PagedResourcesAssembler<ContainerAttributes> assembler)
List all the available containers
|
@Autowired public RuntimeContainersController(ContainerAttributesRepository containerAttributesRepository)
@RequestMapping(value="", method=GET) @ResponseStatus(value=OK) @ResponseBody public org.springframework.hateoas.PagedResources<ContainerAttributesResource> list(org.springframework.data.domain.Pageable pageable, org.springframework.data.web.PagedResourcesAssembler<ContainerAttributes> assembler)