class CloudFoundryContainerPlatform extends CloudFoundryPlatform implements SshBasedExperiment<CloudFoundryContainer> {

    @Override
    public SSHCredentials getSshCredentials (CloudFoundryContainer container) {
        log.debug("Retrieving SSH Credentials for {}", v(DataDogConstants.DATADOG_CONTAINER_KEY, container));
        String username = "cf:" + container.getApplicationId() + '/' + container.getInstance();
        Callable<String> passwordGenerator = this::getSSHOneTimePassword;
        return new ChaosSSHCredentials().withUsername(username).withPasswordGenerator(passwordGenerator).withSupportSudo(false);
    }

    @Autowired public  CloudFoundryContainerPlatform();

}