io.k8s.api.networking.v1

Type members

Classlikes

final case class HTTPIngressPath(backend: IngressBackend, pathType: String, path: Option[String])

HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.

HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.

Source:
HTTPIngressPath.scala
final case class HTTPIngressRuleValue(paths: Seq[HTTPIngressPath])

HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.

HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.

Source:
HTTPIngressRuleValue.scala
final case class IPBlock(cidr: String, except: Option[Seq[String]])

IPBlock describes a particular CIDR (Ex. "192.168.1.1/24","2001:db9::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

IPBlock describes a particular CIDR (Ex. "192.168.1.1/24","2001:db9::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

Source:
IPBlock.scala
final case class Ingress(status: Option[IngressStatus], spec: Option[IngressSpec], metadata: Option[ObjectMeta]) extends KObject

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

Source:
Ingress.scala

IngressBackend describes all endpoints for a given service and port.

IngressBackend describes all endpoints for a given service and port.

Source:
IngressBackend.scala
final case class IngressClass(metadata: Option[ObjectMeta], spec: Option[IngressClassSpec]) extends KObject

IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The ingressclass.kubernetes.io/is-default-class annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.

IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The ingressclass.kubernetes.io/is-default-class annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.

Source:
IngressClass.scala
final case class IngressClassList(items: Seq[IngressClass], metadata: Option[ListMeta]) extends KObject

IngressClassList is a collection of IngressClasses.

IngressClassList is a collection of IngressClasses.

Source:
IngressClassList.scala
final case class IngressClassParametersReference(name: String, scope: Option[String], apiGroup: Option[String], namespace: Option[String])

IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.

IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.

Source:
IngressClassParametersReference.scala
final case class IngressClassSpec(controller: Option[String], parameters: Option[IngressClassParametersReference])

IngressClassSpec provides information about the class of an Ingress.

IngressClassSpec provides information about the class of an Ingress.

Source:
IngressClassSpec.scala
final case class IngressList(items: Seq[Ingress], metadata: Option[ListMeta]) extends KObject

IngressList is a collection of Ingress.

IngressList is a collection of Ingress.

Source:
IngressList.scala
final case class IngressRule(host: Option[String], http: Option[HTTPIngressRuleValue])

IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.

IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.

Source:
IngressRule.scala
final case class IngressServiceBackend(name: String, port: Option[ServiceBackendPort])

IngressServiceBackend references a Kubernetes Service as a Backend.

IngressServiceBackend references a Kubernetes Service as a Backend.

Source:
IngressServiceBackend.scala
final case class IngressSpec(defaultBackend: Option[IngressBackend], ingressClassName: Option[String], rules: Option[Seq[IngressRule]], tls: Option[Seq[IngressTLS]])

IngressSpec describes the Ingress the user wishes to exist.

IngressSpec describes the Ingress the user wishes to exist.

Source:
IngressSpec.scala
final case class IngressStatus(loadBalancer: Option[LoadBalancerStatus])

IngressStatus describe the current state of the Ingress.

IngressStatus describe the current state of the Ingress.

Source:
IngressStatus.scala
final case class IngressTLS(hosts: Option[Seq[String]], secretName: Option[String])

IngressTLS describes the transport layer security associated with an Ingress.

IngressTLS describes the transport layer security associated with an Ingress.

Source:
IngressTLS.scala
final case class NetworkPolicy(status: Option[NetworkPolicyStatus], spec: Option[NetworkPolicySpec], metadata: Option[ObjectMeta]) extends KObject

NetworkPolicy describes what network traffic is allowed for a set of Pods

NetworkPolicy describes what network traffic is allowed for a set of Pods

Source:
NetworkPolicy.scala

NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8

NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8

Source:
NetworkPolicyEgressRule.scala

NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.

NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.

Source:
NetworkPolicyIngressRule.scala
final case class NetworkPolicyList(items: Seq[NetworkPolicy], metadata: Option[ListMeta]) extends KObject

NetworkPolicyList is a list of NetworkPolicy objects.

NetworkPolicyList is a list of NetworkPolicy objects.

Source:
NetworkPolicyList.scala
final case class NetworkPolicyPeer(ipBlock: Option[IPBlock], namespaceSelector: Option[LabelSelector], podSelector: Option[LabelSelector])

NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed

NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed

Source:
NetworkPolicyPeer.scala
final case class NetworkPolicyPort(endPort: Option[Int], port: Option[IntOrString], protocol: Option[String])

NetworkPolicyPort describes a port to allow traffic on

NetworkPolicyPort describes a port to allow traffic on

Source:
NetworkPolicyPort.scala
final case class NetworkPolicySpec(podSelector: LabelSelector, egress: Option[Seq[NetworkPolicyEgressRule]], ingress: Option[Seq[NetworkPolicyIngressRule]], policyTypes: Option[Seq[String]])

NetworkPolicySpec provides the specification of a NetworkPolicy

NetworkPolicySpec provides the specification of a NetworkPolicy

Source:
NetworkPolicySpec.scala
final case class NetworkPolicyStatus(conditions: Option[Seq[Condition]])

NetworkPolicyStatus describe the current state of the NetworkPolicy.

NetworkPolicyStatus describe the current state of the NetworkPolicy.

Source:
NetworkPolicyStatus.scala
final case class ServiceBackendPort(name: Option[String], number: Option[Int])

ServiceBackendPort is the service port being referenced.

ServiceBackendPort is the service port being referenced.

Source:
ServiceBackendPort.scala