v1alpha1_jobservice

package
v0.4.67 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	IsAuthEnabled  bool
	IsNeosyncCloud bool

	RunLogConfig *RunLogConfig
}

type Destination

type Destination struct {
	ConnectionId pgtype.UUID
	Options      *pg_models.JobDestinationOptions
}

type KubePodRunLogConfig

type KubePodRunLogConfig struct {
	Namespace     string
	WorkerAppName string
}

type LogLine

type LogLine struct {
	WorkflowID string     `json:"WorkflowID"`
	Time       *time.Time `json:"time,omitempty"`
	Level      string     `json:"level"`
}

type LokiRunLogConfig

type LokiRunLogConfig struct {
	BaseUrl string

	LabelsQuery string // Labels to filter loki by, without the curly braces
	// labels to keep after the json filtering. Keeps ordering. Not sure if it will always need to equal the labels query keys, so separating this
	KeepLabels []string
}

type RunLogConfig

type RunLogConfig struct {
	IsEnabled        bool
	RunLogType       *RunLogType
	RunLogPodConfig  *KubePodRunLogConfig // required if RunLogType is k8s-pods
	LokiRunLogConfig *LokiRunLogConfig    // required if RunLogType is loki
}

type RunLogType

type RunLogType string
const (
	KubePodRunLogType RunLogType = "k8s-pods"
	LokiRunLogType    RunLogType = "loki"
)

type Service

type Service struct {
	// contains filtered or unexported fields
}

func (*Service) GetRunContext added in v0.4.54

func (*Service) SetRunContext added in v0.4.54

func (*Service) SetRunContexts added in v0.4.54

Jump to

Keyboard shortcuts

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