recipes

package
v0.1.1-pre.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2022 License: MPL-2.0 Imports: 3 Imported by: 0

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
}

func All

func All() []Resource

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL