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

io.debezium.operator.api.model.runtime.RuntimeEnvironment Maven / Gradle / Ivy

There is a newer version: 3.0.6.Final
Show newest version
/*
 * Copyright Debezium Authors.
 *
 * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
 */
package io.debezium.operator.api.model.runtime;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;

import io.debezium.operator.api.model.runtime.templates.ContainerEnvVar;
import io.debezium.operator.docs.annotations.Documented;
import io.fabric8.kubernetes.api.model.EnvFromSource;

@JsonPropertyOrder({ "vars", "from" })
@Documented
public class RuntimeEnvironment {

    @JsonPropertyDescription("Environment variables applied to the container.")
    private List vars = List.of();

    @JsonPropertyDescription("Additional environment variables set from ConfigMaps or Secrets in containers.")
    @Documented.Field(k8Ref = "envfromsource-v1-core")
    private List from = List.of();

    public List getVars() {
        return vars;
    }

    public void setVars(List vars) {
        this.vars = vars;
    }

    public List getFrom() {
        return from;
    }

    public void setFrom(List from) {
        this.from = from;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy