All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.javaoperatorsdk.operator.sample.Tomcat Maven / Gradle / Ivy

There is a newer version: 5.0.0-beta1
Show newest version
package io.javaoperatorsdk.operator.sample;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import io.fabric8.kubernetes.api.model.Namespaced;
import io.fabric8.kubernetes.client.CustomResource;
import io.fabric8.kubernetes.model.annotation.Group;
import io.fabric8.kubernetes.model.annotation.ShortNames;
import io.fabric8.kubernetes.model.annotation.Version;

@Group("tomcatoperator.io")
@Version("v1")
@ShortNames("tc")
public class Tomcat extends CustomResource implements Namespaced {

  public String toString() {
    return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy