Packages

p

skuber

package skuber

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. skuber
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class APIVersions(kind: String, versions: List[String]) extends Product with Serializable
  2. case class ConfigMap(kind: String = "ConfigMap", apiVersion: String = v1, metadata: ObjectMeta, data: Map[String, String] = Map()) extends ObjectResource with Product with Serializable

  3. type ConfigMapList = ListResource[ConfigMap]
  4. case class Container(name: String, image: String, command: List[String] = List(), args: List[String] = List(), workingDir: Option[String] = None, ports: List[Port] = List(), env: List[EnvVar] = List(), resources: Option[Requirements] = None, volumeMounts: List[Mount] = List(), livenessProbe: Option[Probe] = None, readinessProbe: Option[Probe] = None, lifecycle: Option[Lifecycle] = None, terminationMessagePath: Option[String] = None, terminationMessagePolicy: Option[Container.TerminationMessagePolicy.Value] = None, imagePullPolicy: Container.PullPolicy.Value = Container.PullPolicy.IfNotPresent, securityContext: Option[SecurityContext] = None, envFrom: List[EnvFromSource] = Nil, stdin: Option[Boolean] = None, stdinOnce: Option[Boolean] = None, tty: Option[Boolean] = None, volumeDevices: List[Device] = Nil, startupProbe: Option[Probe] = None) extends Limitable with Product with Serializable

  5. case class CoreResourceSpecification(group: Option[String] = None, version: String = "v1", scope: ResourceSpecification.Scope.Value, names: Names, subresources: Option[Subresources] = None) extends ResourceSpecification with Product with Serializable
  6. case class CustomResource[Sp, St](kind: String, apiVersion: String, metadata: ObjectMeta, spec: Sp, status: Option[St]) extends ObjectResource with Product with Serializable
  7. case class DeleteOptions(apiVersion: String = "v1", kind: String = "DeleteOptions", gracePeriodSeconds: Option[Int] = None, preconditions: Option[Preconditions] = None, propagationPolicy: Option[DeletePropagation.Value] = None) extends Product with Serializable
  8. case class Endpoints(kind: String = "Endpoints", apiVersion: String = v1, metadata: ObjectMeta, subsets: List[Subset] = Nil) extends ObjectResource with Product with Serializable

  9. type EndpointsList = ListResource[Endpoints]
  10. case class EnvFromSource(prefix: Option[String] = None, source: EnvSource) extends Product with Serializable

  11. case class EnvVar(name: String, value: Value = "") extends Product with Serializable

  12. case class Event(kind: String = "Event", apiVersion: String = v1, metadata: ObjectMeta, involvedObject: ObjectReference, reason: Option[String] = None, message: Option[String] = None, source: Option[Source] = None, firstTimestamp: Option[Timestamp] = None, lastTimestamp: Option[Timestamp] = None, count: Option[Int] = None, type: Option[String] = None) extends ObjectResource with Product with Serializable

  13. type EventList = ListResource[Event]
  14. case class ExecAction(command: List[String]) extends Handler with Product with Serializable
  15. type Finalizer = String
  16. case class HTTPGetAction(port: NameablePort, host: String = "", path: String = "", schema: String = "HTTP") extends Handler with Product with Serializable
  17. sealed trait Handler extends AnyRef
  18. trait HasStatusSubresource[O <: ObjectResource] extends AnyRef
  19. type IntOrString = Either[Int, String]
  20. type K8SException = skuber.api.client.K8SException
  21. type K8SRequestContext = KubernetesClient
  22. type K8SWatchEvent[I <: ObjectResource] = WatchEvent[I]
  23. sealed abstract class KList[K <: KListItem] extends TypeMeta
  24. type KListItem = ObjectResource
  25. case class LabelSelector(requirements: Requirement*) extends Product with Serializable

  26. case class Lifecycle(postStart: Option[Handler] = None, preStop: Option[Handler] = None) extends Product with Serializable
  27. case class LimitRange(kind: String = "LimitRange", apiVersion: String = v1, metadata: ObjectMeta = ObjectMeta(), spec: Option[Spec] = None) extends ObjectResource with Product with Serializable

  28. type LimitRangeList = ListResource[LimitRange]
  29. trait Limitable extends AnyRef
  30. case class ListMeta(selfLink: String = "", resourceVersion: String = "", continue: Option[String] = None) extends Product with Serializable
  31. case class ListOptions(labelSelector: Option[LabelSelector] = None, fieldSelector: Option[String] = None, includeUninitialized: Option[Boolean] = None, resourceVersion: Option[String] = None, timeoutSeconds: Option[Long] = None, limit: Option[Long] = None, continue: Option[String] = None, watch: Option[Boolean] = None) extends Product with Serializable
  32. case class ListResource[K <: KListItem](apiVersion: String, kind: String, metadata: Option[ListMeta], items: List[K]) extends KList[K] with Product with Serializable
  33. case class LocalObjectReference(name: String) extends Product with Serializable
  34. type NameablePort = Either[Int, String]
  35. case class Namespace(kind: String = "Namespace", apiVersion: String = v1, metadata: ObjectMeta, spec: Option[Spec] = None, status: Option[Status] = None) extends ObjectResource with Product with Serializable

  36. type NamespaceList = ListResource[Namespace]
  37. case class Node(kind: String = "Node", apiVersion: String = v1, metadata: ObjectMeta, spec: Option[Spec] = None, status: Option[Status] = None) extends ObjectResource with Product with Serializable

  38. type NodeList = ListResource[Node]
  39. case class NonCoreResourceSpecification(apiGroup: String, version: Option[String], versions: List[Version], scope: ResourceSpecification.Scope.Value, names: Names, subresources: Option[Subresources] = None) extends ResourceSpecification with Product with Serializable

    NonCoreResourceSpecification is used to specify any resource types outside the core k8s API group, including custom resources

  40. trait ObjectEditor[O <: ObjectResource] extends AnyRef
  41. case class ObjectMeta(name: String = emptyS, generateName: String = emptyS, namespace: String = emptyS, uid: String = emptyS, selfLink: String = emptyS, resourceVersion: String = emptyS, creationTimestamp: Option[Timestamp] = None, deletionTimestamp: Option[Timestamp] = None, deletionGracePeriodSeconds: Option[Int] = None, labels: Map[String, String] = Map(), annotations: Map[String, String] = Map(), ownerReferences: List[OwnerReference] = Nil, generation: Int = 0, finalizers: Option[List[String]] = None, clusterName: Option[String] = None) extends Product with Serializable
  42. case class ObjectReference(kind: String = "", apiVersion: String = "", namespace: String = "", name: String = "", uid: String = "", resourceVersion: String = "", fieldPath: String = "") extends Product with Serializable
  43. abstract class ObjectResource extends TypeMeta
  44. case class OwnerReference(apiVersion: String, kind: String, name: String, uid: String, controller: Option[Boolean], blockOwnerDeletion: Option[Boolean]) extends Product with Serializable
  45. case class PersistentVolume(kind: String = "PersistentVolume", apiVersion: String = v1, metadata: ObjectMeta = ObjectMeta(), spec: Option[Spec] = None, status: Option[Status] = None) extends ObjectResource with Product with Serializable

  46. case class PersistentVolumeClaim(kind: String = "PersistentVolumeClaim", apiVersion: String = v1, metadata: ObjectMeta = ObjectMeta(), spec: Option[Spec] = None, status: Option[Status] = None) extends ObjectResource with Product with Serializable

  47. type PersistentVolumeClaimList = ListResource[PersistentVolumeClaim]
  48. type PersistentVolumeList = ListResource[PersistentVolume]
  49. type Phase = String
  50. case class Pod(kind: String = "Pod", apiVersion: String = v1, metadata: ObjectMeta, spec: Option[Spec] = None, status: Option[Status] = None) extends ObjectResource with Limitable with Product with Serializable

  51. type PodList = ListResource[Pod]
  52. case class PodSecurityContext(fsGroup: Option[Int] = None, runAsGroup: Option[Int] = None, runAsNonRoot: Option[Boolean] = None, runAsUser: Option[Int] = None, seLinuxOptions: Option[SELinuxOptions] = None, supplementalGroups: List[Int] = Nil, sysctls: List[Sysctl] = Nil) extends Product with Serializable
  53. type PodTemplateList = ListResource[Template]
  54. case class Preconditions(uid: String = "") extends Product with Serializable
  55. case class Probe(action: Handler, initialDelaySeconds: Int = 0, timeoutSeconds: Int = 0, periodSeconds: Option[Int] = None, successThreshold: Option[Int] = None, failureThreshold: Option[Int] = None) extends Product with Serializable
  56. case class ReplicationController(kind: String = "ReplicationController", apiVersion: String = v1, metadata: ObjectMeta = ObjectMeta(), spec: Option[Spec] = None, status: Option[Status] = None) extends ObjectResource with Product with Serializable

  57. type ReplicationControllerList = ListResource[ReplicationController]
  58. trait ResourceDefinition[T <: TypeMeta] extends AnyRef

  59. type ResourceQuotaList = ListResource[Quota]
  60. abstract class ResourceSpecification extends AnyRef

  61. case class Scale(kind: String = "Scale", apiVersion: String, metadata: ObjectMeta, spec: Spec = Scale.Spec(), status: Option[Status] = None) extends ObjectResource with Product with Serializable

  62. case class Secret(kind: String = "Secret", apiVersion: String = v1, metadata: ObjectMeta, data: Map[String, Array[Byte]] = Map(), type: String = "") extends ObjectResource with Product with Serializable

  63. type SecretList = ListResource[Secret]
  64. case class SecurityContext(allowPrivilegeEscalation: Option[Boolean] = None, capabilities: Option[Capabilities] = None, privileged: Option[Boolean] = None, readOnlyRootFilesystem: Option[Boolean] = None, runAsGroup: Option[Int] = None, runAsNonRoot: Option[Boolean] = None, runAsUser: Option[Int] = None, seLinuxOptions: Option[SELinuxOptions] = None) extends Product with Serializable
  65. case class Selector(matchLabels: Option[Map[String, String]] = None, matchExpressions: Option[List[MatchExpression]] = None) extends Product with Serializable
  66. case class Service(kind: String = "Service", apiVersion: String = v1, metadata: ObjectMeta, spec: Option[Spec] = None, status: Option[Status] = None) extends ObjectResource with Product with Serializable

  67. case class ServiceAccount(kind: String = "ServiceAccount", apiVersion: String = "v1", metadata: ObjectMeta, secrets: List[ObjectReference] = List(), imagePullSecrets: List[LocalObjectReference] = List()) extends ObjectResource with Product with Serializable

  68. type ServiceAccountList = ListResource[ServiceAccount]
  69. type ServiceList = ListResource[Service]
  70. case class TCPSocketAction(port: NameablePort) extends Handler with Product with Serializable
  71. type Timestamp = ZonedDateTime
  72. abstract class TypeMeta extends AnyRef
  73. case class Volume(name: String, source: Source) extends Product with Serializable

  74. case class WatchedEvent(eventType: WatchedEventType.Value, eventObject: ObjectResource) extends Product with Serializable

Value Members

  1. val K8SCluster: Cluster.type
  2. val K8SConfiguration: Configuration.type
  3. val K8SContext: Context.type
  4. def PodList(items: List[Pod]): ListResource[Pod]
  5. def ReplicationControllerList(items: List[ReplicationController]): ListResource[ReplicationController]
  6. def ServiceList(items: List[Service]): ListResource[Service]
  7. implicit def dblToQuantity(value: Double): Quantity
  8. val emptyB: Boolean
  9. def emptyL[T]: List[T]
  10. def emptyM[V]: Map[String, V]
  11. val emptyS: String
  12. implicit def fltToQuantity(value: Float): Quantity
  13. implicit def ianaNameToNameablePort(n: String): NameablePort
  14. implicit def intToQuantity(value: Int): Quantity
  15. def k8sInit(config: Configuration, appConfig: Config)(implicit actorSystem: ActorSystem, materializer: Materializer): KubernetesClient

    Initialise Skuber using the specified Kubernetes and application configuration.

  16. def k8sInit(appConfig: Config)(implicit actorSystem: ActorSystem, materializer: Materializer): KubernetesClient

    Initialise Skuber using default Kubernetes configuration and the specified application configuration.

  17. def k8sInit(config: Configuration)(implicit actorSystem: ActorSystem, materializer: Materializer): KubernetesClient

    Initialise Skuber using the specified Kubernetes configuration and default application configuration.

  18. def k8sInit(implicit actorSystem: ActorSystem, materializer: Materializer): KubernetesClient

    Initialise Skuber using default Kubernetes and application configuration.

  19. def listResourceFromItems[K <: KListItem](items: List[K])(implicit rd: ResourceDefinition[K]): ListResource[K]
  20. implicit def objResourceToRef(obj: ObjectResource): ObjectReference
  21. implicit def portNumToNameablePort(p: Int): NameablePort
  22. implicit def strToQuantity(value: String): Quantity
  23. implicit def toList[I <: KListItem](resource: KList[I]): List[I]
  24. def v1: String
  25. object ConfigMap extends Serializable
  26. object Container extends Serializable
  27. object CustomResource extends Serializable
  28. object DNSPolicy extends Enumeration
  29. object DeletePropagation extends Enumeration
  30. object Endpoints extends Serializable
  31. object EnvFromSource extends Serializable
  32. object EnvVar extends Serializable
  33. object Event extends Serializable
  34. object HTTPGetAction extends Serializable
  35. object LabelSelector extends Serializable
  36. object LimitRange extends Serializable
  37. object Namespace extends Serializable
  38. object Node extends Serializable
  39. object NonCoreResourceSpecification extends Serializable
  40. object PersistentVolume extends Serializable
  41. object PersistentVolumeClaim extends Serializable
  42. object Pod extends Serializable
  43. object Protocol extends Enumeration
  44. object ReplicationController extends Serializable
  45. object Resource
  46. object ResourceDefinition
  47. object ResourceSpecification
  48. object RestartPolicy extends Enumeration
  49. object Scale extends Serializable
  50. object Secret extends Serializable
  51. object Security
  52. object Service extends Serializable
  53. object ServiceAccount extends Serializable
  54. object Volume extends Serializable
  55. object WatchedEventType extends Enumeration

Inherited from AnyRef

Inherited from Any

Ungrouped