package v1
Type Members
-
final
case class
HTTPIngressPath(backend: IngressBackend, path: Option[String] = None, pathType: String) extends Product with Serializable
HTTPIngressPath associates a path with a backend.
HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.
-
final
case class
HTTPIngressRuleValue(paths: Seq[HTTPIngressPath]) extends Product with Serializable
HTTPIngressRuleValue is a list of http selectors pointing to backends.
HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> 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 '#'.
-
final
case class
IPBlock(cidr: String, except: Option[Seq[String]] = None) extends Product with Serializable
IPBlock describes a particular CIDR (Ex.
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.
-
final
case class
Ingress(status: Option[IngressStatus] = None, spec: Option[IngressSpec] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable
Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend.
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.
-
final
case class
IngressBackend(resource: Option[TypedLocalObjectReference] = None, service: Option[IngressServiceBackend] = None) extends Product with Serializable
IngressBackend describes all endpoints for a given service and port.
-
final
case class
IngressClass(metadata: Option[ObjectMeta] = None, spec: Option[IngressClassSpec] = None) extends KObject with Product with Serializable
IngressClass represents the class of the Ingress, referenced by the Ingress Spec.
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. -
final
case class
IngressClassList(items: Seq[IngressClass], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
IngressClassList is a collection of IngressClasses.
-
final
case class
IngressClassParametersReference(name: String, scope: Option[String] = None, apiGroup: Option[String] = None, namespace: Option[String] = None) extends Product with Serializable
IngressClassParametersReference identifies an API object.
IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.
-
final
case class
IngressClassSpec(controller: Option[String] = None, parameters: Option[IngressClassParametersReference] = None) extends Product with Serializable
IngressClassSpec provides information about the class of an Ingress.
-
final
case class
IngressList(items: Seq[Ingress], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
IngressList is a collection of Ingress.
-
final
case class
IngressRule(host: Option[String] = None, http: Option[HTTPIngressRuleValue] = None) extends Product with Serializable
IngressRule represents the rules mapping the paths under a specified host to the related backend services.
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.
-
final
case class
IngressServiceBackend(name: String, port: Option[ServiceBackendPort] = None) extends Product with Serializable
IngressServiceBackend references a Kubernetes Service as a Backend.
-
final
case class
IngressSpec(defaultBackend: Option[IngressBackend] = None, ingressClassName: Option[String] = None, rules: Option[Seq[IngressRule]] = None, tls: Option[Seq[IngressTLS]] = None) extends Product with Serializable
IngressSpec describes the Ingress the user wishes to exist.
-
final
case class
IngressStatus(loadBalancer: Option[LoadBalancerStatus] = None) extends Product with Serializable
IngressStatus describe the current state of the Ingress.
-
final
case class
IngressTLS(hosts: Option[Seq[String]] = None, secretName: Option[String] = None) extends Product with Serializable
IngressTLS describes the transport layer security associated with an Ingress.
-
final
case class
NetworkPolicy(status: Option[NetworkPolicyStatus] = None, spec: Option[NetworkPolicySpec] = None, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable
NetworkPolicy describes what network traffic is allowed for a set of Pods
-
final
case class
NetworkPolicyEgressRule(ports: Option[Seq[NetworkPolicyPort]] = None, to: Option[Seq[NetworkPolicyPeer]] = None) extends Product with Serializable
NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector.
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
-
final
case class
NetworkPolicyIngressRule(from: Option[Seq[NetworkPolicyPeer]] = None, ports: Option[Seq[NetworkPolicyPort]] = None) extends Product with Serializable
NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector.
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.
-
final
case class
NetworkPolicyList(items: Seq[NetworkPolicy], metadata: Option[ListMeta] = None) extends KObject with Product with Serializable
NetworkPolicyList is a list of NetworkPolicy objects.
-
final
case class
NetworkPolicyPeer(ipBlock: Option[IPBlock] = None, namespaceSelector: Option[LabelSelector] = None, podSelector: Option[LabelSelector] = None) extends Product with Serializable
NetworkPolicyPeer describes a peer to allow traffic to/from.
NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed
-
final
case class
NetworkPolicyPort(endPort: Option[Int] = None, port: Option[IntOrString] = None, protocol: Option[String] = None) extends Product with Serializable
NetworkPolicyPort describes a port to allow traffic on
-
final
case class
NetworkPolicySpec(egress: Option[Seq[NetworkPolicyEgressRule]] = None, ingress: Option[Seq[NetworkPolicyIngressRule]] = None, podSelector: LabelSelector, policyTypes: Option[Seq[String]] = None) extends Product with Serializable
NetworkPolicySpec provides the specification of a NetworkPolicy
-
final
case class
NetworkPolicyStatus(conditions: Option[Seq[Condition]] = None) extends Product with Serializable
NetworkPolicyStatus describe the current state of the NetworkPolicy.
-
final
case class
ServiceBackendPort(name: Option[String] = None, number: Option[Int] = None) extends Product with Serializable
ServiceBackendPort is the service port being referenced.