dao

package
v0.0.0-...-30e41e6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterDao

type ClusterDao interface {
	Create(cluster model.Cluster) (*model.Cluster, error)
	Update(cluster model.Cluster) (*model.Cluster, error)
	Delete(cluster model.Cluster) (*model.Cluster, error)
	List(page, size int32, keyword string) ([]*model.Cluster, error)
	Get(cluster model.Cluster) (*model.Cluster, error)
}

type DemoDbDao

type DemoDbDao interface {
	DemoDb(ctx context.Context, demoDb string) (*model.DemoDb, error)
}

type Interface

type Interface interface {
	DemoDbDao() DemoDbDao
	ClusterDao() ClusterDao
	MeshDao() MeshDao
	MeshClusterDao() MeshClusterDao
}

Interface is the interface for istiofy.

type MeshClusterDao

type MeshClusterDao interface {
	Create(cluster model.MeshCluster) (*model.MeshCluster, error)
	Update(cluster model.MeshCluster) (*model.MeshCluster, error)
	Delete(cluster model.MeshCluster) (*model.MeshCluster, error)
	List(page, size int32, keyword string) ([]*model.MeshCluster, error)
	Get(cluster model.MeshCluster) (*model.MeshCluster, error)
}

type MeshDao

type MeshDao interface {
	Create(cluster model.Mesh) (*model.Mesh, error)
	Update(cluster model.Mesh) (*model.Mesh, error)
	Delete(cluster model.Mesh) (*model.Mesh, error)
	List(page, size int32, keyword string) ([]*model.Mesh, error)
	Get(cluster model.Mesh) (*model.Mesh, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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