Documentation ¶
Index ¶
- func FromInternalRulesStatus(internalRulesStatus string) pb_common.ProjectRulesStatus
- type Server
- func (s *Server) ApplyRulesCancel(ctx context.Context, _ *pb_req.ApplyRulesCancelReq) (*pb_resp.ApplyRulesCancelResp, error)
- func (s *Server) ApplyRulesStart(ctx context.Context, _ *pb_req.ApplyRulesStartReq) (*pb_resp.ApplyRulesStartResp, error)
- func (s *Server) ApplyRulesStatus(ctx context.Context, _ *pb_req.ApplyRulesStatusReq) (*pb_resp.ApplyRulesStatusResp, error)
- func (s *Server) CreateRule(ctx context.Context, req *pb_req.CreateRuleReq) (*pb_resp.CreateRuleResp, error)
- func (s *Server) DeleteRule(ctx context.Context, req *pb_req.DeleteRuleReq) (*pb_resp.DeleteRuleResp, error)
- func (s *Server) GetRule(ctx context.Context, req *pb_req.GetRuleReq) (*pb_resp.GetRuleResp, error)
- func (s *Server) ListRulesForProject(ctx context.Context, req *pb_req.ListRulesForProjectReq) (*pb_resp.ListRulesForProjectResp, error)
- func (s *Server) UpdateRule(ctx context.Context, req *pb_req.UpdateRuleReq) (*pb_resp.UpdateRuleResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromInternalRulesStatus ¶
func FromInternalRulesStatus(internalRulesStatus string) pb_common.ProjectRulesStatus
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(projects authz.ProjectsServiceClient) *Server
func (*Server) ApplyRulesCancel ¶
func (s *Server) ApplyRulesCancel(ctx context.Context, _ *pb_req.ApplyRulesCancelReq) (*pb_resp.ApplyRulesCancelResp, error)
func (*Server) ApplyRulesStart ¶
func (s *Server) ApplyRulesStart(ctx context.Context, _ *pb_req.ApplyRulesStartReq) (*pb_resp.ApplyRulesStartResp, error)
func (*Server) ApplyRulesStatus ¶
func (s *Server) ApplyRulesStatus(ctx context.Context, _ *pb_req.ApplyRulesStatusReq) (*pb_resp.ApplyRulesStatusResp, error)
func (*Server) CreateRule ¶
func (s *Server) CreateRule(ctx context.Context, req *pb_req.CreateRuleReq) (*pb_resp.CreateRuleResp, error)
func (*Server) DeleteRule ¶
func (s *Server) DeleteRule(ctx context.Context, req *pb_req.DeleteRuleReq) (*pb_resp.DeleteRuleResp, error)
func (*Server) GetRule ¶
func (s *Server) GetRule(ctx context.Context, req *pb_req.GetRuleReq) (*pb_resp.GetRuleResp, error)
func (*Server) ListRulesForProject ¶
func (s *Server) ListRulesForProject(ctx context.Context, req *pb_req.ListRulesForProjectReq) (*pb_resp.ListRulesForProjectResp, error)
func (*Server) UpdateRule ¶
func (s *Server) UpdateRule(ctx context.Context, req *pb_req.UpdateRuleReq) (*pb_resp.UpdateRuleResp, error)
Click to show internal directories.
Click to hide internal directories.