createContainer

package
v0.1.81 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColDeclaration

func ColDeclaration(numberOfCols int, timeseries bool) []cmd.ContainerInfoColumns

func Create

func Create(conInfo cmd.ContainerInfo, migrateForce bool)

func InteractiveContainerInfo

func InteractiveContainerInfo(ingest bool, header []string) cmd.ContainerInfo

func ParseJson

func ParseJson(jsonName string) (cmd.ContainerInfo, []string)

Types

type ColumnSet

type ColumnSet struct {
	ColumnName string `json:"columnName"`
	Type       string `json:"type"`
	NotNull    bool   `json:"notNull"`
}

type ContainerFile

type ContainerFile []string

func (*ContainerFile) UnmarshalJSON

func (c *ContainerFile) UnmarshalJSON(data []byte) error

custom JSON unmarshaler for the case where sometimes the value is a slice and sometimes it's just a singular string

type ExportProperties

type ExportProperties struct {
	Version           string        `json:"version,omitempty"`
	Database          string        `json:"database,omitempty"`
	Container         string        `json:"container"`
	ContainerType     string        `json:"containerType,omitempty"`
	ContainerFileType string        `json:"containerFileType,omitempty"`
	ContainerFile     ContainerFile `json:"containerFile"`
	ColumnSet         []ColumnSet   `json:"columnSet"`
	RowKeySet         []string      `json:"rowKeySet"`
}

Jump to

Keyboard shortcuts

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