system

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package system provides resources related to the DB state itself.

Index

Constants

View Source
const (
	// DBVersionType is the type of DBVersion resource.
	DBVersionType = resource.Type("DBVersions.system.sidero.dev")
	// DBVersionID is the single resource id.
	DBVersionID = resource.ID("current")
)
View Source
const (
	// SysVersionType is the type of SysVersion resource.
	//
	// tsgen:SysVersionType
	SysVersionType = resource.Type("SysVersions.system.sidero.dev")
	// SysVersionID is the single resource id.
	//
	// tsgen:SysVersionID
	SysVersionID = resource.ID("current")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DBVersion

DBVersion resource describes current DB version (migrations state).

func NewDBVersion

func NewDBVersion(ns, id string) *DBVersion

NewDBVersion creates new DBVersion state.

type DBVersionExtension

type DBVersionExtension struct{}

DBVersionExtension providers auxiliary methods for DBVersion resource.

func (DBVersionExtension) ResourceDefinition

func (DBVersionExtension) ResourceDefinition() meta.ResourceDefinitionSpec

ResourceDefinition implements typed.Extension interface.

type DBVersionSpec

DBVersionSpec wraps specs.DBVersionSpec.

type SysVersion

SysVersion resource describes current DB SysVersion (migrations state).

func NewSysVersion

func NewSysVersion(ns, id string) *SysVersion

NewSysVersion creates new SysVersion state.

type SysVersionExtension

type SysVersionExtension struct{}

SysVersionExtension providers auxiliary methods for SysVersion resource.

func (SysVersionExtension) ResourceDefinition

func (SysVersionExtension) ResourceDefinition() meta.ResourceDefinitionSpec

ResourceDefinition implements typed.Extension interface.

type SysVersionSpec

SysVersionSpec wraps specs.SysVersionSpec.

Jump to

Keyboard shortcuts

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