annotations.io.alauda.kubernetes.api.model.extensions.NetworkPolicyPeerFluent Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model.extensions;
import io.alauda.kubernetes.api.model.LabelSelectorBuilder;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.Fluent;
import io.alauda.kubernetes.api.builder.Nested;
import io.alauda.kubernetes.api.model.LabelSelector;
import java.lang.String;
import java.lang.Deprecated;
import javax.validation.Valid;
import java.lang.Object;
import io.alauda.kubernetes.api.model.LabelSelectorFluent;
import java.lang.Boolean;
import java.util.Map;
public interface NetworkPolicyPeerFluent> extends Fluent{
/**
* This method has been deprecated, please use method buildNamespaceSelector instead.
*/
@Deprecated public LabelSelector getNamespaceSelector();
public LabelSelector buildNamespaceSelector();
public A withNamespaceSelector(LabelSelector namespaceSelector);
public Boolean hasNamespaceSelector();
public NetworkPolicyPeerFluent.NamespaceSelectorNested withNewNamespaceSelector();
public NetworkPolicyPeerFluent.NamespaceSelectorNested withNewNamespaceSelectorLike(LabelSelector item);
public NetworkPolicyPeerFluent.NamespaceSelectorNested editNamespaceSelector();
public NetworkPolicyPeerFluent.NamespaceSelectorNested editOrNewNamespaceSelector();
public NetworkPolicyPeerFluent.NamespaceSelectorNested editOrNewNamespaceSelectorLike(LabelSelector item);
/**
* This method has been deprecated, please use method buildPodSelector instead.
*/
@Deprecated public LabelSelector getPodSelector();
public LabelSelector buildPodSelector();
public A withPodSelector(LabelSelector podSelector);
public Boolean hasPodSelector();
public NetworkPolicyPeerFluent.PodSelectorNested withNewPodSelector();
public NetworkPolicyPeerFluent.PodSelectorNested withNewPodSelectorLike(LabelSelector item);
public NetworkPolicyPeerFluent.PodSelectorNested editPodSelector();
public NetworkPolicyPeerFluent.PodSelectorNested editOrNewPodSelector();
public NetworkPolicyPeerFluent.PodSelectorNested editOrNewPodSelectorLike(LabelSelector item);
public interface NamespaceSelectorNested extends io.alauda.kubernetes.api.builder.Nested,LabelSelectorFluent>{
public N and(); public N endNamespaceSelector();
}
public interface PodSelectorNested extends io.alauda.kubernetes.api.builder.Nested,LabelSelectorFluent>{
public N and(); public N endPodSelector();
}
}