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