Documentation ¶
Index ¶
- Constants
- func RunServer()
- type ClassServer
- func (d *ClassServer) AddClass(ctx context.Context, in *classpb.CreateRequest) (*classpb.MessageResponse, error)
- func (d *ClassServer) DeleteClass(ctx context.Context, in *classpb.DeleteRequest) (*classpb.MessageResponse, error)
- func (d *ClassServer) ListClass(ctx context.Context, in *classpb.ListRequest) (*classpb.ListResponse, error)
- type DatasourceServer
- func (d *DatasourceServer) AddDatasource(ctx context.Context, in *ds.AddRequest) (*ds.AddResponse, error)
- func (d *DatasourceServer) ApplyPolicy(ctx context.Context, in *ds.ApplyPolicyRequest) (*ds.ApplyPolicyResponse, error)
- func (d *DatasourceServer) DeleteDatasource(ctx context.Context, in *ds.DeleteRequest) (*ds.DeleteResponse, error)
- func (d *DatasourceServer) GetRecommendedPolicy(ctx context.Context, in *ds.RecommendedpolicyRequest) (*ds.RecommendedpolicyResponse, error)
- func (d *DatasourceServer) GetStatus(ctx context.Context, in *ds.StatusRequest) (*ds.StatusResponse, error)
- func (d *DatasourceServer) ListDatasource(ctx context.Context, in *ds.ListRequest) (*ds.ListResponse, error)
- func (d *DatasourceServer) LogDatasource(ctx context.Context, in *ds.LogRequest) (*ds.LogResponse, error)
- func (d *DatasourceServer) Scan(ctx context.Context, in *ds.ScanRequest) (*ds.ScanResponse, error)
- type TagServer
- func (d *TagServer) AddTag(ctx context.Context, in *tagpb.AddRequest) (*tagpb.MessageResponse, error)
- func (d *TagServer) DeleteTag(ctx context.Context, in *tagpb.DeleteRequest) (*tagpb.MessageResponse, error)
- func (d *TagServer) ListTag(ctx context.Context, in *tagpb.ListRequest) (*tagpb.ListResponse, error)
Constants ¶
View Source
const PortNumber = "8089"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClassServer ¶
type ClassServer struct {
classpb.UnimplementedClassServer
}
func (*ClassServer) AddClass ¶
func (d *ClassServer) AddClass(ctx context.Context, in *classpb.CreateRequest) (*classpb.MessageResponse, error)
func (*ClassServer) DeleteClass ¶
func (d *ClassServer) DeleteClass(ctx context.Context, in *classpb.DeleteRequest) (*classpb.MessageResponse, error)
func (*ClassServer) ListClass ¶
func (d *ClassServer) ListClass(ctx context.Context, in *classpb.ListRequest) (*classpb.ListResponse, error)
type DatasourceServer ¶
type DatasourceServer struct {
ds.UnimplementedDatasourceServer
}
func (*DatasourceServer) AddDatasource ¶
func (d *DatasourceServer) AddDatasource(ctx context.Context, in *ds.AddRequest) (*ds.AddResponse, error)
func (*DatasourceServer) ApplyPolicy ¶
func (d *DatasourceServer) ApplyPolicy(ctx context.Context, in *ds.ApplyPolicyRequest) (*ds.ApplyPolicyResponse, error)
func (*DatasourceServer) DeleteDatasource ¶
func (d *DatasourceServer) DeleteDatasource(ctx context.Context, in *ds.DeleteRequest) (*ds.DeleteResponse, error)
func (*DatasourceServer) GetRecommendedPolicy ¶
func (d *DatasourceServer) GetRecommendedPolicy(ctx context.Context, in *ds.RecommendedpolicyRequest) (*ds.RecommendedpolicyResponse, error)
func (*DatasourceServer) GetStatus ¶
func (d *DatasourceServer) GetStatus(ctx context.Context, in *ds.StatusRequest) (*ds.StatusResponse, error)
func (*DatasourceServer) ListDatasource ¶
func (d *DatasourceServer) ListDatasource(ctx context.Context, in *ds.ListRequest) (*ds.ListResponse, error)
func (*DatasourceServer) LogDatasource ¶
func (d *DatasourceServer) LogDatasource(ctx context.Context, in *ds.LogRequest) (*ds.LogResponse, error)
func (*DatasourceServer) Scan ¶
func (d *DatasourceServer) Scan(ctx context.Context, in *ds.ScanRequest) (*ds.ScanResponse, error)
type TagServer ¶
type TagServer struct {
tagpb.UnimplementedTagServer
}
func (*TagServer) AddTag ¶
func (d *TagServer) AddTag(ctx context.Context, in *tagpb.AddRequest) (*tagpb.MessageResponse, error)
====================// == Tag Service == // =================== //
func (*TagServer) DeleteTag ¶
func (d *TagServer) DeleteTag(ctx context.Context, in *tagpb.DeleteRequest) (*tagpb.MessageResponse, error)
func (*TagServer) ListTag ¶
func (d *TagServer) ListTag(ctx context.Context, in *tagpb.ListRequest) (*tagpb.ListResponse, error)
Click to show internal directories.
Click to hide internal directories.