composer

package
v0.16.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 18 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ComposerRegistry = make(map[string]Composer)
)

Functions

This section is empty.

Types

type General

type General struct {
	client.Client
	// contains filtered or unexported fields
}

func (*General) CreateComposer

func (g *General) CreateComposer(mgr manager.Manager) Composer

CreateComposer create instance of composer interface with given manager

func (*General) DesiredDeployment

func (g *General) DesiredDeployment(s *suggestionsv1beta1.Suggestion) (*appsv1.Deployment, error)

DesiredDeployment returns desired deployment for suggestion

func (*General) DesiredRBAC added in v0.10.0

DesiredRBAC returns desired ServiceAccount, Role and RoleBinding for the Suggestion

func (*General) DesiredService

func (g *General) DesiredService(s *suggestionsv1beta1.Suggestion) (*corev1.Service, error)

DesiredService returns desired service for suggestion

func (*General) DesiredVolume added in v0.10.0

DesiredVolume returns desired PVC and PV for Suggestion. If PV doesn't exist in Katib config return nil for PV.

Jump to

Keyboard shortcuts

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