authz

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGithubAppInstallationContext

func NewGithubAppInstallationContext(ctx context.Context, gai *models.GithubAppInstallation) context.Context

func NewModuleContext

func NewModuleContext(ctx context.Context, mod *models.Module) context.Context

func NewModuleEnvVarsContext

func NewModuleEnvVarsContext(ctx context.Context, mev *models.ModuleEnvVarsVersion) context.Context

func NewModuleValuesContext

func NewModuleValuesContext(ctx context.Context, mvv *models.ModuleValuesVersion) context.Context

func NewMonitorContext

func NewMonitorContext(ctx context.Context, monitor *models.ModuleMonitor) context.Context

func NewNotificationContext

func NewNotificationContext(ctx context.Context, notif *models.Notification) context.Context

func NewOrganizationContext

func NewOrganizationContext(ctx context.Context, org *models.Organization, orgMember *models.OrganizationMember) context.Context

func NewOrganizationMemberContext

func NewOrganizationMemberContext(ctx context.Context, orgMember *models.OrganizationMember) context.Context

func NewRunContext

func NewRunContext(ctx context.Context, mod *models.ModuleRun) context.Context

func NewTeamContext

func NewTeamContext(ctx context.Context, team *models.Team, teamMember *models.TeamMember) context.Context

func NewTeamMemberContext

func NewTeamMemberContext(ctx context.Context, teamMember *models.TeamMember) context.Context

Types

type GithubAppInstallationScopedFactory

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

func NewGithubAppInstallationScopedFactory

func NewGithubAppInstallationScopedFactory(
	config *server.Config,
) *GithubAppInstallationScopedFactory

func (*GithubAppInstallationScopedFactory) Middleware

type GithubAppInstallationScopedMiddleware

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

func (*GithubAppInstallationScopedMiddleware) ServeHTTP

type ModuleEnvVarsScopedFactory

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

func NewModuleEnvVarsScopedFactory

func NewModuleEnvVarsScopedFactory(
	config *server.Config,
) *ModuleEnvVarsScopedFactory

func (*ModuleEnvVarsScopedFactory) Middleware

func (p *ModuleEnvVarsScopedFactory) Middleware(next http.Handler) http.Handler

type ModuleEnvVarsScopedMiddleware

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

func (*ModuleEnvVarsScopedMiddleware) ServeHTTP

type ModuleScopedFactory

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

func NewModuleScopedFactory

func NewModuleScopedFactory(
	config *server.Config,
) *ModuleScopedFactory

func (*ModuleScopedFactory) Middleware

func (p *ModuleScopedFactory) Middleware(next http.Handler) http.Handler

type ModuleScopedMiddleware

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

func (*ModuleScopedMiddleware) ServeHTTP

type ModuleValuesScopedFactory

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

func NewModuleValuesScopedFactory

func NewModuleValuesScopedFactory(
	config *server.Config,
) *ModuleValuesScopedFactory

func (*ModuleValuesScopedFactory) Middleware

func (p *ModuleValuesScopedFactory) Middleware(next http.Handler) http.Handler

type ModuleValuesScopedMiddleware

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

func (*ModuleValuesScopedMiddleware) ServeHTTP

type MonitorScopedFactory

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

func NewMonitorScopedFactory

func NewMonitorScopedFactory(
	config *server.Config,
) *MonitorScopedFactory

func (*MonitorScopedFactory) Middleware

func (p *MonitorScopedFactory) Middleware(next http.Handler) http.Handler

type MonitorScopedMiddleware

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

func (*MonitorScopedMiddleware) ServeHTTP

type NotificationScopedFactory

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

func NewNotificationScopedFactory

func NewNotificationScopedFactory(
	config *server.Config,
) *NotificationScopedFactory

func (*NotificationScopedFactory) Middleware

func (p *NotificationScopedFactory) Middleware(next http.Handler) http.Handler

type NotificationScopedMiddleware

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

func (*NotificationScopedMiddleware) ServeHTTP

type OrgMemberScopedFactory

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

func NewOrgMemberScopedFactory

func NewOrgMemberScopedFactory(
	config *server.Config,
) *OrgMemberScopedFactory

func (*OrgMemberScopedFactory) Middleware

func (p *OrgMemberScopedFactory) Middleware(next http.Handler) http.Handler

type OrgMemberScopedMiddleware

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

func (*OrgMemberScopedMiddleware) ServeHTTP

type OrgScopedFactory

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

func NewOrgScopedFactory

func NewOrgScopedFactory(
	config *server.Config,
) *OrgScopedFactory

func (*OrgScopedFactory) Middleware

func (p *OrgScopedFactory) Middleware(next http.Handler) http.Handler

type OrgScopedMiddleware

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

func (*OrgScopedMiddleware) ServeHTTP

func (p *OrgScopedMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request)

type RunScopedFactory

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

func NewRunScopedFactory

func NewRunScopedFactory(
	config *server.Config,
) *RunScopedFactory

func (*RunScopedFactory) Middleware

func (p *RunScopedFactory) Middleware(next http.Handler) http.Handler

type RunScopedMiddleware

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

func (*RunScopedMiddleware) ServeHTTP

func (p *RunScopedMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request)

type TeamMemberScopedFactory

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

func NewTeamMemberScopedFactory

func NewTeamMemberScopedFactory(
	config *server.Config,
) *TeamMemberScopedFactory

func (*TeamMemberScopedFactory) Middleware

func (p *TeamMemberScopedFactory) Middleware(next http.Handler) http.Handler

type TeamMemberScopedMiddleware

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

func (*TeamMemberScopedMiddleware) ServeHTTP

type TeamScopedFactory

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

func NewTeamScopedFactory

func NewTeamScopedFactory(
	config *server.Config,
) *TeamScopedFactory

func (*TeamScopedFactory) Middleware

func (p *TeamScopedFactory) Middleware(next http.Handler) http.Handler

type TeamScopedMiddleware

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

func (*TeamScopedMiddleware) ServeHTTP

func (p *TeamScopedMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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