rules

package
v0.0.0-...-4b711b1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 (*Server) ApplyRulesStart

func (*Server) ApplyRulesStatus

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 (*Server) UpdateRule

func (s *Server) UpdateRule(ctx context.Context, req *pb_req.UpdateRuleReq) (*pb_resp.UpdateRuleResp, error)

Jump to

Keyboard shortcuts

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