MCPcopy Create free account
hub / github.com/caoyingjunz/pixiu / Interface

Interface Interface

pkg/controller/node/node.go:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34type NodeGetter interface {
35 Node() Interface
36}
37
38type Interface interface {
39 Create(ctx context.Context, req *types.CreateNodeRequest) error
40 Update(ctx context.Context, nodeId int64, req *types.UpdateNodeRequest) error
41 Delete(ctx context.Context, nodeId int64) error
42 Get(ctx context.Context, nodeId int64) (*types.NodeResult, error)
43 List(ctx context.Context, listOption types.ListOptions) (interface{}, error)
44
45 CheckConnectivity(ctx context.Context, req *types.NodeConnectivityRequest) (*types.NodeConnectivityResult, error)

Callers 40

CreateMethod · 0.65
CreateMethod · 0.65
CreateMethod · 0.65
CreateMethod · 0.65
RunMethod · 0.65
addPixiuClusterRoleMethod · 0.65
CreateMethod · 0.65
CreateMethod · 0.65
RegisterMethod · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65
UpdateMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected