kogitobuild

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// LabelKeyBuildType identifies the instance build type
	LabelKeyBuildType = "buildType"
)

Variables

This section is empty.

Functions

func GetApplicationName

func GetApplicationName(build api.KogitoBuildInterface) string

GetApplicationName gets the Kogito service name

func GetBuildBuilderName

func GetBuildBuilderName(build api.KogitoBuildInterface) string

GetBuildBuilderName gets the BuildConfig builder name

func GetDefaultBuilderImage

func GetDefaultBuilderImage() string

GetDefaultBuilderImage ...

func GetDefaultRuntimeJVMImage

func GetDefaultRuntimeJVMImage() string

GetDefaultRuntimeJVMImage ...

func GetDefaultRuntimeNativeImage

func GetDefaultRuntimeNativeImage() string

GetDefaultRuntimeNativeImage ...

Types

type BuildConfigHandler added in v1.9.0

type BuildConfigHandler interface {
	// contains filtered or unexported methods
}

BuildConfigHandler ...

func NewBuildConfigHandler added in v1.9.0

func NewBuildConfigHandler(context BuildContext) BuildConfigHandler

NewBuildConfigHandler ...

type BuildContext added in v1.9.0

type BuildContext struct {
	operator.Context
}

BuildContext ...

type DecoratorHandler

type DecoratorHandler interface {
	// contains filtered or unexported methods
}

DecoratorHandler ...

func NewDecoratorHandler

func NewDecoratorHandler(context BuildContext) DecoratorHandler

NewDecoratorHandler ...

type DeltaProcessor

type DeltaProcessor interface {
	// ProcessDelta...
	ProcessDelta() error
}

DeltaProcessor describes the interface to communicate with the build package. The controller typically manipulates the Kubernetes resources through this implementation.

func NewDeltaProcessor

func NewDeltaProcessor(context BuildContext, build api.KogitoBuildInterface) (DeltaProcessor, error)

NewDeltaProcessor creates a new DeltaProcessor instance for the given KogitoBuild

type ImageStreamHandler

type ImageStreamHandler interface {
	CreateRequiredKogitoImageStreams(build api.KogitoBuildInterface) (created bool, err error)
	ResolveKogitoImageStreamTagName(build api.KogitoBuildInterface, isBuilder bool) string
	ResolveKogitoImageNameTag(build api.KogitoBuildInterface, isBuilder bool) string
}

ImageStreamHandler ...

func NewImageSteamHandler

func NewImageSteamHandler(context BuildContext) ImageStreamHandler

NewImageSteamHandler ...

type StatusHandler

type StatusHandler interface {
	HandleStatusChange(instance api.KogitoBuildInterface, err error)
}

StatusHandler ...

func NewStatusHandler

func NewStatusHandler(context BuildContext) StatusHandler

NewStatusHandler ...

type TriggerHandler

type TriggerHandler interface {
	StartNewBuild(buildConfig *v1.BuildConfig) error
}

TriggerHandler ...

func NewTriggerHandler

func NewTriggerHandler(context operator.Context) TriggerHandler

NewTriggerHandler ...

Jump to

Keyboard shortcuts

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