object Table extends Serializable
- Alphabetic
- By Inheritance
- Table
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- sealed trait FieldName extends AnyRef
-
sealed
trait
Format extends AnyRef
Format is further used in
Tablewhich is used for config documentation.Format is further used in
Tablewhich 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 asAllOforAnyOneOf. IfFormatof pathsKisAllOf, it implies that there are more distinct paths under the pathsK, and user need to satisfy (i.e, provide them in the source) all of the paths underK.If
Formatof pathsKisAnyOneOf, it implies there are more distinct paths under the pathsK, then user need to satisfy (i.e, provide them in the source) any one of the paths underK.If
Formatof oathsKisRecursionthen that means there is a repetition of same path structure under the pathsK - sealed abstract case class Heading extends Product with Serializable
- sealed abstract case class Link extends Product with Serializable
-
case class
TableRow(paths: List[FieldName], format: Option[Format], description: List[Description], nested: Option[Table], sources: Set[String]) extends Product with Serializable
A
TableRowrepresents each row in aTablewhich is an intermediate light-weight structure produced fromConfigDocs.A
TableRowrepresents each row in aTablewhich is an intermediate light-weight structure produced fromConfigDocs.Tableis 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
TableRowcan be pointed to a nested table that has the details of all the child paths that are underpaths. HenceTableRowis a recursive structure.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def confluenceFlavoured(baseLink: Option[String])(implicit S: <:<[ConfigDocsModule.K, String]): (Heading, Int, Either[FieldName, Format]) ⇒ Link
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
githubFlavoured(implicit S: <:<[ConfigDocsModule.K, String]): (Heading, Int, Either[FieldName, Format]) ⇒ Link
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
Linkgiven aHeading,Intrepresenting the index of the key (or paths) andEither[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.yandk.y, the headingycan 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. -
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def singletonTable(tableRow: TableRow): Table
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object FieldName
- object Format
- object Heading extends Serializable
- object Link extends Serializable