admin

package
v0.53.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Repository eventsourcing.Config
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func CreateServer

func CreateServer(repo repository.Repository) *Server

func (*Server) AddIamMember

func (s *Server) AddIamMember(ctx context.Context, member *admin.AddIamMemberRequest) (*admin.IamMember, error)

func (*Server) AppName

func (s *Server) AppName() string

func (*Server) AuthMethods

func (s *Server) AuthMethods() authz.MethodMapping

func (*Server) ChangeIamMember

func (s *Server) ChangeIamMember(ctx context.Context, member *admin.ChangeIamMemberRequest) (*admin.IamMember, error)

func (*Server) ClearView

func (s *Server) ClearView(ctx context.Context, viewID *admin.ViewID) (_ *empty.Empty, err error)

func (*Server) CreateOrgIamPolicy

func (s *Server) CreateOrgIamPolicy(ctx context.Context, in *admin.OrgIamPolicyRequest) (_ *admin.OrgIamPolicy, err error)

func (*Server) DeleteOrgIamPolicy

func (s *Server) DeleteOrgIamPolicy(ctx context.Context, in *admin.OrgIamPolicyID) (_ *empty.Empty, err error)

func (*Server) GatewayPathPrefix

func (s *Server) GatewayPathPrefix() string

func (*Server) GetFailedEvents

func (s *Server) GetFailedEvents(ctx context.Context, _ *empty.Empty) (_ *admin.FailedEvents, err error)

func (*Server) GetIamMemberRoles

func (s *Server) GetIamMemberRoles(ctx context.Context, _ *empty.Empty) (*admin.IamMemberRoles, error)

func (*Server) GetOrgByID

func (s *Server) GetOrgByID(ctx context.Context, orgID *admin.OrgID) (_ *admin.Org, err error)

func (*Server) GetOrgIamPolicy

func (s *Server) GetOrgIamPolicy(ctx context.Context, in *admin.OrgIamPolicyID) (_ *admin.OrgIamPolicy, err error)

func (*Server) GetViews

func (s *Server) GetViews(ctx context.Context, _ *empty.Empty) (_ *admin.Views, err error)

func (*Server) Healthz

func (s *Server) Healthz(_ context.Context, e *empty.Empty) (*empty.Empty, error)

func (*Server) IsOrgUnique

func (s *Server) IsOrgUnique(ctx context.Context, request *admin.UniqueOrgRequest) (org *admin.UniqueOrgResponse, err error)

func (*Server) MethodPrefix

func (s *Server) MethodPrefix() string

func (*Server) Ready

func (s *Server) Ready(ctx context.Context, e *empty.Empty) (*empty.Empty, error)

func (*Server) RegisterGateway

func (s *Server) RegisterGateway() server.GatewayFunc

func (*Server) RegisterServer

func (s *Server) RegisterServer(grpcServer *grpc.Server)

func (*Server) RemoveFailedEvent

func (s *Server) RemoveFailedEvent(ctx context.Context, failedEventID *admin.FailedEventID) (_ *empty.Empty, err error)

func (*Server) RemoveIamMember

func (s *Server) RemoveIamMember(ctx context.Context, member *admin.RemoveIamMemberRequest) (*empty.Empty, error)

func (*Server) SearchIamMembers

func (*Server) SearchOrgs

func (s *Server) SearchOrgs(ctx context.Context, request *admin.OrgSearchRequest) (_ *admin.OrgSearchResponse, err error)

func (*Server) SetUpOrg

func (s *Server) SetUpOrg(ctx context.Context, orgSetUp *admin.OrgSetUpRequest) (_ *admin.OrgSetUpResponse, err error)

func (*Server) UpdateOrgIamPolicy

func (s *Server) UpdateOrgIamPolicy(ctx context.Context, in *admin.OrgIamPolicyRequest) (_ *admin.OrgIamPolicy, err error)

func (*Server) Validate

func (s *Server) Validate(ctx context.Context, _ *empty.Empty) (*pb_struct.Struct, error)

Jump to

Keyboard shortcuts

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