composer

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 15 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 Composer

type Composer interface {
	DesiredDeployment(s *suggestionsv1beta1.Suggestion) (*appsv1.Deployment, error)
	DesiredService(s *suggestionsv1beta1.Suggestion) (*corev1.Service, error)
	CreateComposer(mgr manager.Manager) Composer
}

func New

func New(mgr manager.Manager) Composer

type General

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

func (*General) CreateComposer

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

func (*General) DesiredDeployment

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

func (*General) DesiredService

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

Jump to

Keyboard shortcuts

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