project

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DAO

type DAO interface {
	Create(entity *v1.Project) error
	Update(entity *v1.Project) error
	Delete(name string) error
	Get(name string) (*v1.Project, error)
	List(q *Query) ([]*v1.Project, error)
}

type Query

type Query struct {
	databaseModel.Query
	// NamePrefix is a prefix of the project.metadata.name that is used to filter the list of the project.
	// NamePrefix can be empty in case you want to return the full list of project available.
	NamePrefix string `query:"name"`
}

type Service

type Service interface {
	apiInterface.Service[*v1.Project, *v1.Project, *Query]
}

Jump to

Keyboard shortcuts

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