ai

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvAIAnalysisColl

type EnvAIAnalysisColl struct {
	*mongo.Collection
	// contains filtered or unexported fields
}

func NewEnvAIAnalysisColl

func NewEnvAIAnalysisColl() *EnvAIAnalysisColl

func (*EnvAIAnalysisColl) Create

func (c *EnvAIAnalysisColl) Create(args *ai.EnvAIAnalysis) error

func (*EnvAIAnalysisColl) EnsureIndex

func (c *EnvAIAnalysisColl) EnsureIndex(ctx context.Context) error

func (*EnvAIAnalysisColl) GetCollectionName

func (c *EnvAIAnalysisColl) GetCollectionName() string

func (*EnvAIAnalysisColl) ListByOptions

func (c *EnvAIAnalysisColl) ListByOptions(opts EnvAIAnalysisListOption) ([]*ai.EnvAIAnalysis, int64, error)

type EnvAIAnalysisListOption

type EnvAIAnalysisListOption struct {
	ProjectName string
	EnvName     string
	Production  bool
	PageNum     int64
	PageSize    int64
}

Jump to

Keyboard shortcuts

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