component_version

package
v0.0.0-...-113e83d Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ListComponentVersionsEventName  event.EventName = "ListComponentVersions"
	CreateComponentVersionEventName event.EventName = "CreateComponentVersion"
	UpdateComponentVersionEventName event.EventName = "UpdateComponentVersion"
	DeleteComponentVersionEventName event.EventName = "DeleteComponentVersion"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentVersionHandler

type ComponentVersionHandler interface {
	ListComponentVersions(*entity.ComponentVersionFilter, *entity.ListOptions) (*entity.List[entity.ComponentVersionResult], error)
	CreateComponentVersion(*entity.ComponentVersion) (*entity.ComponentVersion, error)
	UpdateComponentVersion(*entity.ComponentVersion) (*entity.ComponentVersion, error)
	DeleteComponentVersion(int64) error
}

func NewComponentVersionHandler

func NewComponentVersionHandler(database database.Database, eventRegistry event.EventRegistry) ComponentVersionHandler

type ComponentVersionHandlerError

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

func NewComponentVersionHandlerError

func NewComponentVersionHandlerError(message string) *ComponentVersionHandlerError

func (*ComponentVersionHandlerError) Error

type CreateComponentVersionEvent

type CreateComponentVersionEvent struct {
	ComponentVersion *entity.ComponentVersion
}

func (*CreateComponentVersionEvent) Name

type DeleteComponentVersionEvent

type DeleteComponentVersionEvent struct {
	ComponentVersionID int64
}

func (*DeleteComponentVersionEvent) Name

type ListComponentVersionsEvent

type ListComponentVersionsEvent struct {
	Filter            *entity.ComponentVersionFilter
	Options           *entity.ListOptions
	ComponentVersions *entity.List[entity.ComponentVersionResult]
}

func (*ListComponentVersionsEvent) Name

type UpdateComponentVersionEvent

type UpdateComponentVersionEvent struct {
	ComponentVersion *entity.ComponentVersion
}

func (*UpdateComponentVersionEvent) Name

Jump to

Keyboard shortcuts

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