Class K8sResourceSource

java.lang.Object
org.apache.pekko.stream.stage.GraphStageWithMaterializedValue<S,org.apache.pekko.NotUsed>
org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.SourceShape<io.fabric8.kubernetes.api.model.GenericKubernetesResource>>
cn.sliew.carp.module.kubernetes.watch.source.K8sResourceSource
All Implemented Interfaces:
org.apache.pekko.stream.Graph<org.apache.pekko.stream.SourceShape<io.fabric8.kubernetes.api.model.GenericKubernetesResource>,org.apache.pekko.NotUsed>

public class K8sResourceSource extends org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.SourceShape<io.fabric8.kubernetes.api.model.GenericKubernetesResource>>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.pekko.stream.Graph

    org.apache.pekko.stream.Graph.GraphMapMatVal<S extends org.apache.pekko.stream.Shape,M extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    K8sResourceSource(VersionGroupKind gvk, io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.pekko.stream.stage.GraphStageLogic
    createLogic(org.apache.pekko.stream.Attributes inheritedAttributes)
     
    org.apache.pekko.stream.Attributes
     
    org.apache.pekko.stream.SourceShape<io.fabric8.kubernetes.api.model.GenericKubernetesResource>
     

    Methods inherited from class org.apache.pekko.stream.stage.GraphStage

    createLogicAndMaterializedValue

    Methods inherited from class org.apache.pekko.stream.stage.GraphStageWithMaterializedValue

    addAttributes, async, async, async, createLogicAndMaterializedValue, getAttributes, named, traversalBuilder, withAttributes

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • K8sResourceSource

      public K8sResourceSource(VersionGroupKind gvk, io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)
  • Method Details

    • shape

      public org.apache.pekko.stream.SourceShape<io.fabric8.kubernetes.api.model.GenericKubernetesResource> shape()
    • initialAttributes

      public org.apache.pekko.stream.Attributes initialAttributes()
      Overrides:
      initialAttributes in class org.apache.pekko.stream.stage.GraphStageWithMaterializedValue<org.apache.pekko.stream.SourceShape<io.fabric8.kubernetes.api.model.GenericKubernetesResource>,org.apache.pekko.NotUsed>
    • createLogic

      public org.apache.pekko.stream.stage.GraphStageLogic createLogic(org.apache.pekko.stream.Attributes inheritedAttributes) throws IOException
      Specified by:
      createLogic in class org.apache.pekko.stream.stage.GraphStage<org.apache.pekko.stream.SourceShape<io.fabric8.kubernetes.api.model.GenericKubernetesResource>>
      Throws:
      IOException