visitor

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationAcceptor

type ApplicationAcceptor interface {
	Accept(ApplicationVisitor)
}

ApplicationAcceptor is the contract for visitor entrypoint.

func ApplicationDecorator

func ApplicationDecorator(entity *bundlev1.ApplicationComponentNS) ApplicationAcceptor

ApplicationDecorator decorates an bundle template application namespace to make it visitable.

type ApplicationVisitor

type ApplicationVisitor interface {
	Error() error
	VisitForComponent(obj *bundlev1.ApplicationComponentNS)
}

ApplicationVisitor describes visitor method used for tree walk.

type InfrastructureAcceptor

type InfrastructureAcceptor interface {
	Accept(InfrastructureVisitor)
}

InfrastructureAcceptor is the contract for visitor entrypoint.

func InfrastructureDecorator

func InfrastructureDecorator(entity *bundlev1.InfrastructureNS) InfrastructureAcceptor

InfrastructureDecorator decorates an bundle template infrastructure namespace to make it visitable.

type InfrastructureVisitor

type InfrastructureVisitor interface {
	Error() error
	VisitForProvider(obj *bundlev1.InfrastructureNS)
	VisitForRegion(obj *bundlev1.InfrastructureRegionNS)
	VisitForService(obj *bundlev1.InfrastructureServiceNS)
}

InfrastructureVisitor describes visitor method used for tree walk.

type PlatformAcceptor

type PlatformAcceptor interface {
	Accept(PlatformVisitor)
}

PlatformAcceptor is the contract for visitor entrypoint.

func PlatformDecorator

func PlatformDecorator(entity *bundlev1.PlatformRegionNS) PlatformAcceptor

PlatformDecorator decorates an bundle template platform namespace to make it visitable.

type PlatformVisitor

type PlatformVisitor interface {
	Error() error
	VisitForRegion(obj *bundlev1.PlatformRegionNS)
	VisitForComponent(obj *bundlev1.PlatformComponentNS)
}

PlatformVisitor describes visitor method used for tree walk.

type ProductAcceptor

type ProductAcceptor interface {
	Accept(ProductVisitor)
}

ProductAcceptor is the contract for visitor entrypoint.

func ProductDecorator

func ProductDecorator(entity *bundlev1.ProductComponentNS) ProductAcceptor

ProductDecorator decorates an bundle template product namespace to make it visitable.

type ProductVisitor

type ProductVisitor interface {
	Error() error
	VisitForComponent(obj *bundlev1.ProductComponentNS)
}

ProductVisitor describes visitor method used for tree walk.

type TemplateVisitor

type TemplateVisitor interface {
	Error() error
	Visit(*bundlev1.Template)
}

TemplateVisitor is a bundle template visitor.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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