suggestion

package
v0.16.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 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

Jump to

Keyboard shortcuts

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