Documentation ¶
Index ¶
- func Run(ctx context.Context, listenAddress string, repo database.Database, ...) error
- type AuditLogsServer
- type Paginatable
- type ReconcilersServer
- func (s *ReconcilersServer) Config(ctx context.Context, req *protoapi.ConfigReconcilerRequest) (*protoapi.ConfigReconcilerResponse, error)
- func (s *ReconcilersServer) DeleteState(ctx context.Context, req *protoapi.DeleteReconcilerStateRequest) (*protoapi.DeleteReconcilerStateResponse, error)
- func (s *ReconcilersServer) Get(ctx context.Context, req *protoapi.GetReconcilerRequest) (*protoapi.GetReconcilerResponse, error)
- func (s *ReconcilersServer) List(ctx context.Context, req *protoapi.ListReconcilersRequest) (*protoapi.ListReconcilersResponse, error)
- func (s *ReconcilersServer) Register(ctx context.Context, req *protoapi.RegisterReconcilerRequest) (*protoapi.RegisterReconcilerResponse, error)
- func (s *ReconcilersServer) RemoveReconcilerErrorForTeam(ctx context.Context, req *protoapi.RemoveReconcilerErrorForTeamRequest) (*protoapi.RemoveReconcilerErrorForTeamResponse, error)
- func (s *ReconcilersServer) SaveState(ctx context.Context, req *protoapi.SaveReconcilerStateRequest) (*protoapi.SaveReconcilerStateResponse, error)
- func (s *ReconcilersServer) SetReconcilerErrorForTeam(ctx context.Context, req *protoapi.SetReconcilerErrorForTeamRequest) (*protoapi.SetReconcilerErrorForTeamResponse, error)
- func (s *ReconcilersServer) State(ctx context.Context, req *protoapi.GetReconcilerStateRequest) (*protoapi.GetReconcilerStateResponse, error)
- func (s *ReconcilersServer) SuccessfulTeamSync(ctx context.Context, req *protoapi.SuccessfulTeamSyncRequest) (*protoapi.SuccessfulTeamSyncResponse, error)
- type TeamsServer
- func (t *TeamsServer) Delete(ctx context.Context, req *protoapi.DeleteTeamRequest) (*protoapi.DeleteTeamResponse, error)
- func (t *TeamsServer) Environments(ctx context.Context, req *protoapi.ListTeamEnvironmentsRequest) (*protoapi.ListTeamEnvironmentsResponse, error)
- func (t *TeamsServer) Get(ctx context.Context, req *protoapi.GetTeamRequest) (*protoapi.GetTeamResponse, error)
- func (t *TeamsServer) IsRepositoryAuthorized(ctx context.Context, req *protoapi.IsRepositoryAuthorizedRequest) (*protoapi.IsRepositoryAuthorizedResponse, error)
- func (t *TeamsServer) List(ctx context.Context, req *protoapi.ListTeamsRequest) (*protoapi.ListTeamsResponse, error)
- func (t *TeamsServer) ListAuthorizedRepositories(ctx context.Context, req *protoapi.ListAuthorizedRepositoriesRequest) (*protoapi.ListAuthorizedRepositoriesResponse, error)
- func (t *TeamsServer) Members(ctx context.Context, req *protoapi.ListTeamMembersRequest) (*protoapi.ListTeamMembersResponse, error)
- func (t *TeamsServer) SetTeamEnvironmentExternalReferences(ctx context.Context, req *protoapi.SetTeamEnvironmentExternalReferencesRequest) (*protoapi.SetTeamEnvironmentExternalReferencesResponse, error)
- func (t *TeamsServer) SetTeamExternalReferences(ctx context.Context, req *protoapi.SetTeamExternalReferencesRequest) (*protoapi.SetTeamExternalReferencesResponse, error)
- type UsersServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, listenAddress string, repo database.Database, auditlog auditlogger.AuditLogger, log logrus.FieldLogger) error
Types ¶
type AuditLogsServer ¶
type AuditLogsServer struct { protoapi.UnimplementedAuditLogsServer // contains filtered or unexported fields }
func (*AuditLogsServer) Create ¶
func (a *AuditLogsServer) Create(ctx context.Context, r *protoapi.CreateAuditLogsRequest) (*protoapi.CreateAuditLogsResponse, error)
type Paginatable ¶
type ReconcilersServer ¶
type ReconcilersServer struct { protoapi.UnimplementedReconcilersServer // contains filtered or unexported fields }
func (*ReconcilersServer) Config ¶
func (s *ReconcilersServer) Config(ctx context.Context, req *protoapi.ConfigReconcilerRequest) (*protoapi.ConfigReconcilerResponse, error)
func (*ReconcilersServer) DeleteState ¶
func (s *ReconcilersServer) DeleteState(ctx context.Context, req *protoapi.DeleteReconcilerStateRequest) (*protoapi.DeleteReconcilerStateResponse, error)
func (*ReconcilersServer) Get ¶
func (s *ReconcilersServer) Get(ctx context.Context, req *protoapi.GetReconcilerRequest) (*protoapi.GetReconcilerResponse, error)
func (*ReconcilersServer) List ¶
func (s *ReconcilersServer) List(ctx context.Context, req *protoapi.ListReconcilersRequest) (*protoapi.ListReconcilersResponse, error)
func (*ReconcilersServer) Register ¶
func (s *ReconcilersServer) Register(ctx context.Context, req *protoapi.RegisterReconcilerRequest) (*protoapi.RegisterReconcilerResponse, error)
func (*ReconcilersServer) RemoveReconcilerErrorForTeam ¶
func (s *ReconcilersServer) RemoveReconcilerErrorForTeam(ctx context.Context, req *protoapi.RemoveReconcilerErrorForTeamRequest) (*protoapi.RemoveReconcilerErrorForTeamResponse, error)
func (*ReconcilersServer) SaveState ¶
func (s *ReconcilersServer) SaveState(ctx context.Context, req *protoapi.SaveReconcilerStateRequest) (*protoapi.SaveReconcilerStateResponse, error)
func (*ReconcilersServer) SetReconcilerErrorForTeam ¶
func (s *ReconcilersServer) SetReconcilerErrorForTeam(ctx context.Context, req *protoapi.SetReconcilerErrorForTeamRequest) (*protoapi.SetReconcilerErrorForTeamResponse, error)
func (*ReconcilersServer) State ¶
func (s *ReconcilersServer) State(ctx context.Context, req *protoapi.GetReconcilerStateRequest) (*protoapi.GetReconcilerStateResponse, error)
func (*ReconcilersServer) SuccessfulTeamSync ¶
func (s *ReconcilersServer) SuccessfulTeamSync(ctx context.Context, req *protoapi.SuccessfulTeamSyncRequest) (*protoapi.SuccessfulTeamSyncResponse, error)
type TeamsServer ¶
type TeamsServer struct { protoapi.UnimplementedTeamsServer // contains filtered or unexported fields }
func NewTeamsServer ¶
func NewTeamsServer(db repo) *TeamsServer
func (*TeamsServer) Delete ¶
func (t *TeamsServer) Delete(ctx context.Context, req *protoapi.DeleteTeamRequest) (*protoapi.DeleteTeamResponse, error)
func (*TeamsServer) Environments ¶
func (t *TeamsServer) Environments(ctx context.Context, req *protoapi.ListTeamEnvironmentsRequest) (*protoapi.ListTeamEnvironmentsResponse, error)
func (*TeamsServer) Get ¶
func (t *TeamsServer) Get(ctx context.Context, req *protoapi.GetTeamRequest) (*protoapi.GetTeamResponse, error)
func (*TeamsServer) IsRepositoryAuthorized ¶
func (t *TeamsServer) IsRepositoryAuthorized(ctx context.Context, req *protoapi.IsRepositoryAuthorizedRequest) (*protoapi.IsRepositoryAuthorizedResponse, error)
func (*TeamsServer) List ¶
func (t *TeamsServer) List(ctx context.Context, req *protoapi.ListTeamsRequest) (*protoapi.ListTeamsResponse, error)
func (*TeamsServer) ListAuthorizedRepositories ¶
func (t *TeamsServer) ListAuthorizedRepositories(ctx context.Context, req *protoapi.ListAuthorizedRepositoriesRequest) (*protoapi.ListAuthorizedRepositoriesResponse, error)
func (*TeamsServer) Members ¶
func (t *TeamsServer) Members(ctx context.Context, req *protoapi.ListTeamMembersRequest) (*protoapi.ListTeamMembersResponse, error)
func (*TeamsServer) SetTeamEnvironmentExternalReferences ¶
func (t *TeamsServer) SetTeamEnvironmentExternalReferences(ctx context.Context, req *protoapi.SetTeamEnvironmentExternalReferencesRequest) (*protoapi.SetTeamEnvironmentExternalReferencesResponse, error)
func (*TeamsServer) SetTeamExternalReferences ¶
func (t *TeamsServer) SetTeamExternalReferences(ctx context.Context, req *protoapi.SetTeamExternalReferencesRequest) (*protoapi.SetTeamExternalReferencesResponse, error)
type UsersServer ¶
type UsersServer struct { protoapi.UnimplementedUsersServer // contains filtered or unexported fields }
func (*UsersServer) Get ¶
func (u *UsersServer) Get(ctx context.Context, r *protoapi.GetUserRequest) (*protoapi.GetUserResponse, error)
func (*UsersServer) List ¶
func (u *UsersServer) List(ctx context.Context, r *protoapi.ListUsersRequest) (*protoapi.ListUsersResponse, error)
Click to show internal directories.
Click to hide internal directories.