importmodel

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Import

type Import struct {
	Id           string         `json:"id"`
	Name         string         `json:"name"`
	ImportTypeId string         `json:"import_type_id"`
	Image        string         `json:"image"`
	KafkaTopic   string         `json:"kafka_topic"`
	Configs      []ImportConfig `json:"configs"`
	Restart      *bool          `json:"restart"`
}

type ImportConfig

type ImportConfig struct {
	Name  string      `json:"name"`
	Value interface{} `json:"value"`
}

type ImportContentVariable

type ImportContentVariable struct {
	Name                string                  `json:"name,omitempty"`
	Type                Type                    `json:"type,omitempty"`
	CharacteristicId    string                  `json:"characteristic_id,omitempty"`
	SubContentVariables []ImportContentVariable `json:"sub_content_variables,omitempty"`
	UseAsTag            bool                    `json:"use_as_tag,omitempty"`
}

type ImportType

type ImportType struct {
	Id             string                `json:"id"`
	Name           string                `json:"name"`
	Description    string                `json:"description"`
	Image          string                `json:"image"`
	DefaultRestart bool                  `json:"default_restart"`
	Configs        []ImportTypeConfig    `json:"configs"`
	AspectIds      interface{}           `json:"aspect_ids"` // permSearch gives string or []string
	Output         ImportContentVariable `json:"output,omitempty"`
	FunctionIds    interface{}           `json:"function_ids"` // permSearch gives string or []string
	Owner          string                `json:"owner,omitempty"`
}

type ImportTypeConfig

type ImportTypeConfig struct {
	Name         string      `json:"name"`
	Description  string      `json:"description"`
	Type         Type        `json:"type"`
	DefaultValue interface{} `json:"default_value"`
}

type ImportTypeFilterCriteria

type ImportTypeFilterCriteria struct {
	FunctionId string `json:"function_id"`
	AspectId   string `json:"aspect_id"`
}

func (ImportTypeFilterCriteria) Short

func (this ImportTypeFilterCriteria) Short() string

type Type

type Type string

Jump to

Keyboard shortcuts

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