suggestion

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type General

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

func (*General) GetOrCreateSuggestion

func (g *General) GetOrCreateSuggestion(instance *experimentsv1alpha3.Experiment, suggestionRequests int32) (*suggestionsv1alpha3.Suggestion, error)

func (*General) UpdateSuggestion

func (g *General) UpdateSuggestion(suggestion *suggestionsv1alpha3.Suggestion) error

func (*General) UpdateSuggestionStatus

func (g *General) UpdateSuggestionStatus(suggestion *suggestionsv1alpha3.Suggestion) error

type Suggestion

type Suggestion interface {
	GetOrCreateSuggestion(instance *experimentsv1alpha3.Experiment, suggestionRequests int32) (*suggestionsv1alpha3.Suggestion, error)
	UpdateSuggestion(suggestion *suggestionsv1alpha3.Suggestion) error
	UpdateSuggestionStatus(suggestion *suggestionsv1alpha3.Suggestion) error
}

func New

func New(scheme *runtime.Scheme, client client.Client) Suggestion

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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