Tabnine Logo
io.cattle.platform.core.model
Code IndexAdd Tabnine to your IDE (free)

How to use io.cattle.platform.core.model

Best Java code snippets using io.cattle.platform.core.model (Showing top 20 results out of 315)

origin: stackoverflow.com

 @RequestMapping(value = "/imageController/{imageId}")
@ResponseBody
public byte[] helloWorld(@PathVariable long imageId)  {
 Image image = //obtain Image instance by id somehow from DAO/Hibernate
 return image.getData();
}
origin: rancher/cattle

  public ServiceInstanceLock(Service service, Instance instance) {
    super("SERVICE." + service.getId() + ".INSTANCE." + instance.getId());
  }
}
origin: rancher/cattle

@Override
protected Long getId(Object obj) {
  if (obj instanceof Host) {
    return ((Host) obj).getId();
  }
  return null;
}
origin: rancher/cattle

protected Object getAccountObject(Object obj) {
  if (obj instanceof HostIpAddressMap) {
    return objectManager.loadResource(IpAddress.class, ((HostIpAddressMap) obj).getIpAddressId());
  } else if (obj instanceof InstanceHostMap) {
    return objectManager.loadResource(Instance.class, ((InstanceHostMap) obj).getInstanceId());
  } else if (obj instanceof ServiceConsumeMap) {
    return objectManager.loadResource(Service.class, ((ServiceConsumeMap) obj).getServiceId());
  } else if (obj instanceof ServiceExposeMap) {
    return objectManager.loadResource(Service.class, ((ServiceExposeMap) obj).getServiceId());
  }
  return obj;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.IpAddressNicMap> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.ConfigItem> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.ClusterHostMap> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.ScheduledUpgrade> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.ClusterMembership> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.ExternalHandlerProcess> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.HealthcheckInstance> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.Account> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.IpAddress> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.ProcessExecution> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.AuditLog> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.BackupTarget> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.ProcessInstance> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.Volume> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.Zone> E into(E into) {
  into.from(this);
  return into;
}
origin: rancher/cattle

/**
 * {@inheritDoc}
 */
@Override
public <E extends io.cattle.platform.core.model.Instance> E into(E into) {
  into.from(this);
  return into;
}
io.cattle.platform.core.model

Most used classes

  • Instance
    This class is generated by jOOQ.
  • Host
    This class is generated by jOOQ.
  • Agent
    This class is generated by jOOQ.
  • Account
    This class is generated by jOOQ.
  • Service
    This class is generated by jOOQ.
  • StoragePool,
  • InstanceHostMap,
  • IpAddress,
  • Stack,
  • Volume,
  • InstanceTable,
  • Image,
  • Subnet,
  • Network,
  • Nic,
  • PhysicalHost,
  • Port,
  • Secret,
  • ServiceConsumeMap
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now