suggestion

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: 10 Imported by: 2

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 *experimentsv1beta1.Experiment, suggestionRequests int32) (*suggestionsv1beta1.Suggestion, error)

func (*General) UpdateSuggestion

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

func (*General) UpdateSuggestionStatus

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

type Suggestion

type Suggestion interface {
	GetOrCreateSuggestion(instance *experimentsv1beta1.Experiment, suggestionRequests int32) (*suggestionsv1beta1.Suggestion, error)
	UpdateSuggestion(suggestion *suggestionsv1beta1.Suggestion) error
	UpdateSuggestionStatus(suggestion *suggestionsv1beta1.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