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

reliza.java.client.responses.DeployedRelease Maven / Gradle / Ivy

The newest version!
package reliza.java.client.responses;

import java.time.ZonedDateTime;
import java.util.List;
import java.util.Map;
import java.util.UUID;

import lombok.Data;
import reliza.java.client.responses.RelizaDataParent.ProgrammaticType;

/**
 * Deployed release details
 */
@Data
public class DeployedRelease {
	private ZonedDateTime timeSent;
	private UUID release;
	private UUID artifact;
	private ProgrammaticType type;
	private String namespace;
	private Map properties;
	private ServiceState state;
	private List replicas;
	private Boolean isInError;
	
	@Data
	public class DeployedReplica {
		private String id;
		private ServiceState state;
	}
	
	public enum ServiceState {
		COMPLETED,
		CRASHLOOPBACKOFF,
		ERROR,
		IMAGEPULLBACKOFF,
		PENDING,
		WAITING,
		RUNNING,
		SUCCEEDED,
		FAILED,
		TERMINATING,
		TERMINATED,
		UNKNOWN,
		UNSET
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy