Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct { // Table is the table definition that will be used to generate the cloudquery table Table *codegen.TableDefinition // TableName can be used to override the default generated table name TableName string // HerokuStruct that will be used to generate the cloudquery table HerokuStruct interface{} // HerokuStructName is the name of the HerokuStruct because it can't be inferred by reflection HerokuStructName string // HerokuPrimaryStructName is the primary struct that will be listed first, then used as an ID in additional list calls // (applies only to relational resources) HerokuPrimaryStruct interface{} // HerokuPrimaryStructName is the name of the primary struct // (applies only to relational resources) HerokuPrimaryStructName string // SkipListParams indicates whether to skip passing nil as params argument, or not SkipListParams bool // Template is the template to use to generate the resource Template string // SkipFields fields in go struct to skip when generating the table from the go struct SkipFields []string PrimaryKey string }
Click to show internal directories.
Click to hide internal directories.