subsystems

package
v0.0.0-...-e71a76f Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyValue

func CopyValue(src, dst SsResource)

CopyValue copies the value of src to dst.

func Created

func Created(resource SsResource) bool

Created returns true if the model is created.

func Nil

func Nil(resource SsResource) bool

Nil returns true if the model is nil.

func NotCreated

func NotCreated(resource SsResource) bool

NotCreated returns true if the model is not created.

func NotNil

func NotNil(resource SsResource) bool

NotNil returns true if the model is not nil.

Types

type SsResource

type SsResource interface {
	Created() bool
	IsPlaceholder() bool
}

SsResource is an interface that all subsystem resources should implement. It is used to ensure that all subsystem resources can be compared and copied, which is essential when, for example, repairing them or storing them as placeholders in the database.

Directories

Path Synopsis
k8s

Jump to

Keyboard shortcuts

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