Object/Class

zio.config.ConfigDocsModule

Table

Related Docs: class Table | package ConfigDocsModule

Permalink

object Table extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Table
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait FieldName extends AnyRef

    Permalink
  2. sealed trait Format extends AnyRef

    Permalink

    Format is further used in Table which is used for config documentation.

    Format is further used in Table which is used for config documentation. Format helps the readers of the documentation understand the details of the format of each paths that forms their application config.

    Example: A format can be List, Map, Primitive, or it can even be even more complex such as AllOf or AnyOneOf. If Format of paths K is AllOf, it implies that there are more distinct paths under the paths K, and user need to satisfy (i.e, provide them in the source) all of the paths under K.

    If Format of paths K is AnyOneOf, it implies there are more distinct paths under the paths K, then user need to satisfy (i.e, provide them in the source) any one of the paths under K.

    If Format of oaths K is Recursion then that means there is a repetition of same path structure under the paths K

  3. sealed abstract case class Heading extends Product with Serializable

    Permalink
  4. sealed abstract case class Link extends Product with Serializable

    Permalink
  5. case class TableRow(paths: List[FieldName], format: Option[Format], description: List[Description], nested: Option[Table], sources: Set[String]) extends Product with Serializable

    Permalink

    A TableRow represents each row in a Table which is an intermediate light-weight structure produced from ConfigDocs.

    A TableRow represents each row in a Table which is an intermediate light-weight structure produced from ConfigDocs. Table is more easier to be converted to formats such as Json, markdown or any custom format fo your choice.

    paths

    : Each config key is basically a list of paths representing its hierarchy. Example: "aws.ec2.instance.type" where list of paths is List("aws", "ec2", "instance", "type")

    format

    : The format of value of key (paths). Example: it can be a Primitive type (String, Int etc), or it can be complex structures as such as List or Map.

    description

    : Description (zio-config in-built or user-provided) of the key (paths).

    nested

    : A TableRow can be pointed to a nested table that has the details of all the child paths that are under paths. Hence TableRow is a recursive structure.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object FieldName

    Permalink
  5. object Format

    Permalink
  6. object Heading extends Serializable

    Permalink
  7. object Link extends Serializable

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def confluenceFlavoured(baseLink: Option[String])(implicit S: <:<[ConfigDocsModule.K, String]): (Heading, Int, Either[FieldName, Format]) ⇒ Link

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def githubFlavoured(implicit S: <:<[ConfigDocsModule.K, String]): (Heading, Int, Either[FieldName, Format]) ⇒ Link

    Permalink

    Internal function that represents the creation of a github flavoured markdown.

    Internal function that represents the creation of a github flavoured markdown. The implementation can be used as reference for users who would like to produce a different style markdown rendering by specifying how to create Link given a Heading, Int representing the index of the key (or paths) and Either[FieldName, Format].

    The index exists because it represents the index of a heading (which is the individual key of paths) in markdown. This is usually zero for all headings unless there are duplicate headings in the markdown. There is a possibility of duplicate headings in the markdown, if for instance, given a path x.y and k.y, the heading y can appear twice in the markdown file with indices as 0 and 1. Depending on the flavour of markdown (Example: Github, Confluence) we have different ways to produce links towards those headings. In this case, we employ the strategy used by Github.

  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def singletonTable(tableRow: TableRow): Table

    Permalink
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped