processors

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type A3SSourcesProcessor

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

A A3SSourcesProcessor is a bahamut processor for A3SSource.

func NewA3SSourcesProcessor

func NewA3SSourcesProcessor(manipulator manipulate.Manipulator) *A3SSourcesProcessor

NewA3SSourcesProcessor returns a new A3SSourcesProcessor.

func (*A3SSourcesProcessor) ProcessCreate

func (p *A3SSourcesProcessor) ProcessCreate(bctx bahamut.Context) error

ProcessCreate handles the creates requests for A3SSource.

func (*A3SSourcesProcessor) ProcessDelete

func (p *A3SSourcesProcessor) ProcessDelete(bctx bahamut.Context) error

ProcessDelete handles the delete requests for A3SSource.

func (*A3SSourcesProcessor) ProcessInfo

func (p *A3SSourcesProcessor) ProcessInfo(bctx bahamut.Context) error

ProcessInfo handles the info request for A3SSource.

func (*A3SSourcesProcessor) ProcessRetrieve

func (p *A3SSourcesProcessor) ProcessRetrieve(bctx bahamut.Context) error

ProcessRetrieve handles the retrieve requests for A3SSource.

func (*A3SSourcesProcessor) ProcessRetrieveMany

func (p *A3SSourcesProcessor) ProcessRetrieveMany(bctx bahamut.Context) error

ProcessRetrieveMany handles the retrieve many requests for A3SSource.

func (*A3SSourcesProcessor) ProcessUpdate

func (p *A3SSourcesProcessor) ProcessUpdate(bctx bahamut.Context) error

ProcessUpdate handles the update requests for A3SSource.

type AuthorizationsProcessor

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

A AuthorizationsProcessor is a bahamut processor for Authorizations.

func NewAuthorizationProcessor

func NewAuthorizationProcessor(manipulator manipulate.Manipulator, pubsub bahamut.PubSubClient, retriever permissions.Retriever, localIssuer string) *AuthorizationsProcessor

NewAuthorizationProcessor returns a new AuthorizationsProcessor.

func (*AuthorizationsProcessor) ProcessCreate

func (p *AuthorizationsProcessor) ProcessCreate(bctx bahamut.Context) error

ProcessCreate handles the creates requests for Authorizations.

func (*AuthorizationsProcessor) ProcessDelete

func (p *AuthorizationsProcessor) ProcessDelete(bctx bahamut.Context) error

ProcessDelete handles the delete requests for Authorizations.

func (*AuthorizationsProcessor) ProcessInfo

func (p *AuthorizationsProcessor) ProcessInfo(bctx bahamut.Context) error

ProcessInfo handles the info request for Authorizations.

func (*AuthorizationsProcessor) ProcessRetrieve

func (p *AuthorizationsProcessor) ProcessRetrieve(bctx bahamut.Context) error

ProcessRetrieve handles the retrieve requests for Authorizations.

func (*AuthorizationsProcessor) ProcessRetrieveMany

func (p *AuthorizationsProcessor) ProcessRetrieveMany(bctx bahamut.Context) error

ProcessRetrieveMany handles the retrieve many requests for Authorizations.

func (*AuthorizationsProcessor) ProcessUpdate

func (p *AuthorizationsProcessor) ProcessUpdate(bctx bahamut.Context) error

ProcessUpdate handles the update requests for Authorizations.

type AuthzProcessor

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

A AuthzProcessor is a bahamut processor for Authzs.

func NewAuthzProcessor

func NewAuthzProcessor(authorizer authorizer.Authorizer, jwks *token.JWKS, issuer string, audience string) *AuthzProcessor

NewAuthzProcessor returns a new AuthzProcessor.

func (*AuthzProcessor) ProcessCreate

func (p *AuthzProcessor) ProcessCreate(bctx bahamut.Context) error

ProcessCreate handles the creates requests for Authzs.

type HTTPSourcesProcessor

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

A HTTPSourcesProcessor is a bahamut processor for HTTPSource.

func NewHTTPSourcesProcessor

func NewHTTPSourcesProcessor(manipulator manipulate.Manipulator) *HTTPSourcesProcessor

NewHTTPSourcesProcessor returns a new HTTPSourcesProcessor.

func (*HTTPSourcesProcessor) ProcessCreate

func (p *HTTPSourcesProcessor) ProcessCreate(bctx bahamut.Context) error

ProcessCreate handles the creates requests for HTTPSource.

func (*HTTPSourcesProcessor) ProcessDelete

func (p *HTTPSourcesProcessor) ProcessDelete(bctx bahamut.Context) error

ProcessDelete handles the delete requests for HTTPSource.

func (*HTTPSourcesProcessor) ProcessInfo

func (p *HTTPSourcesProcessor) ProcessInfo(bctx bahamut.Context) error

ProcessInfo handles the info request for HTTPSource.

func (*HTTPSourcesProcessor) ProcessRetrieve

func (p *HTTPSourcesProcessor) ProcessRetrieve(bctx bahamut.Context) error

ProcessRetrieve handles the retrieve requests for HTTPSource.

func (*HTTPSourcesProcessor) ProcessRetrieveMany

func (p *HTTPSourcesProcessor) ProcessRetrieveMany(bctx bahamut.Context) error

ProcessRetrieveMany handles the retrieve many requests for HTTPSource.

func (*HTTPSourcesProcessor) ProcessUpdate

func (p *HTTPSourcesProcessor) ProcessUpdate(bctx bahamut.Context) error

ProcessUpdate handles the update requests for HTTPSource.

type ImportProcessor

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

A ImportProcessor is a bahamut processor for Import.

func NewImportProcessor

func NewImportProcessor(bmanipMaker bearermanip.MakerFunc, authz authorizer.Authorizer) *ImportProcessor

NewImportProcessor returns a new ImportProcessor .

func (*ImportProcessor) ProcessCreate

func (p *ImportProcessor) ProcessCreate(bctx bahamut.Context) error

ProcessCreate handles the creates requests for HTTPSource.

type IssueProcessor

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

A IssueProcessor is a bahamut processor for Issue.

func NewIssueProcessor

func NewIssueProcessor(
	manipulator manipulate.Manipulator,
	jwks *token.JWKS,
	defaultValidity time.Duration,
	maxValidity time.Duration,
	issuer string,
	audience string,
	cookieSameSitePolicy http.SameSite,
	cookieDomain string,
	mtlsHeaderEnabled bool,
	mtlsHeaderKey string,
	mtlsHeaderPass string,
) *IssueProcessor

NewIssueProcessor returns a new IssueProcessor.

func (*IssueProcessor) ProcessCreate

func (p *IssueProcessor) ProcessCreate(bctx bahamut.Context) (err error)

ProcessCreate handles the creates requests for Issue.

type LDAPSourcesProcessor

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

A LDAPSourcesProcessor is a bahamut processor for LDAPSource.

func NewLDAPSourcesProcessor

func NewLDAPSourcesProcessor(manipulator manipulate.Manipulator) *LDAPSourcesProcessor

NewLDAPSourcesProcessor returns a new LDAPSourcesProcessor.

func (*LDAPSourcesProcessor) ProcessCreate

func (p *LDAPSourcesProcessor) ProcessCreate(bctx bahamut.Context) error

ProcessCreate handles the creates requests for LDAPSource.

func (*LDAPSourcesProcessor) ProcessDelete

func (p *LDAPSourcesProcessor) ProcessDelete(bctx bahamut.Context) error

ProcessDelete handles the delete requests for LDAPSource.

func (*LDAPSourcesProcessor) ProcessInfo

func (p *LDAPSourcesProcessor) ProcessInfo(bctx bahamut.Context) error

ProcessInfo handles the info request for LDAPSource.

func (*LDAPSourcesProcessor) ProcessRetrieve

func (p *LDAPSourcesProcessor) ProcessRetrieve(bctx bahamut.Context) error

ProcessRetrieve handles the retrieve requests for LDAPSource.

func (*LDAPSourcesProcessor) ProcessRetrieveMany

func (p *LDAPSourcesProcessor) ProcessRetrieveMany(bctx bahamut.Context) error

ProcessRetrieveMany handles the retrieve many requests for LDAPSource.

func (*LDAPSourcesProcessor) ProcessUpdate

func (p *LDAPSourcesProcessor) ProcessUpdate(bctx bahamut.Context) error

ProcessUpdate handles the update requests for LDAPSource.

type MTLSSourcesProcessor

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

A MTLSSourcesProcessor is a bahamut processor for MTLSSource.

func NewMTLSSourcesProcessor

func NewMTLSSourcesProcessor(manipulator manipulate.Manipulator) *MTLSSourcesProcessor

NewMTLSSourcesProcessor returns a new MTLSSourcesProcessor.

func (*MTLSSourcesProcessor) ProcessCreate

func (p *MTLSSourcesProcessor) ProcessCreate(bctx bahamut.Context) error

ProcessCreate handles the creates requests for MTLSSource.

func (*MTLSSourcesProcessor) ProcessDelete

func (p *MTLSSourcesProcessor) ProcessDelete(bctx bahamut.Context) error

ProcessDelete handles the delete requests for MTLSSource.

func (*MTLSSourcesProcessor) ProcessInfo

func (p *MTLSSourcesProcessor) ProcessInfo(bctx bahamut.Context) error

ProcessInfo handles the info request for MTLSSource.

func (*MTLSSourcesProcessor) ProcessRetrieve

func (p *MTLSSourcesProcessor) ProcessRetrieve(bctx bahamut.Context) error

ProcessRetrieve handles the retrieve requests for MTLSSource.

func (*MTLSSourcesProcessor) ProcessRetrieveMany

func (p *MTLSSourcesProcessor) ProcessRetrieveMany(bctx bahamut.Context) error

ProcessRetrieveMany handles the retrieve many requests for MTLSSource.

func (*MTLSSourcesProcessor) ProcessUpdate

func (p *MTLSSourcesProcessor) ProcessUpdate(bctx bahamut.Context) error

ProcessUpdate handles the update requests for MTLSSource.

type NamespaceDeletionRecordsProcessor added in v0.10.0

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

A NamespaceDeletionRecordsProcessor is a bahamut processor for NamespaceDeletionRecord.

func NewNamespaceDeletionRecordsProcessor added in v0.10.0

func NewNamespaceDeletionRecordsProcessor(manipulator manipulate.Manipulator) *NamespaceDeletionRecordsProcessor

NewNamespaceDeletionRecordsProcessor returns a new NamespaceDeletionRecordsProcessor.

func (*NamespaceDeletionRecordsProcessor) ProcessRetrieveMany added in v0.10.0

func (p *NamespaceDeletionRecordsProcessor) ProcessRetrieveMany(bctx bahamut.Context) error

ProcessRetrieveMany handles the retrieve many requests for NamespaceDeletionRecord.

type NamespacesProcessor

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

A NamespacesProcessor is a bahamut processor for Namespaces.

func NewNamespacesProcessor

func NewNamespacesProcessor(manipulator manipulate.Manipulator, pubsub bahamut.PubSubClient) *NamespacesProcessor

NewNamespacesProcessor returns a new NamespacesProcessor.

func (*NamespacesProcessor) ProcessCreate

func (p *NamespacesProcessor) ProcessCreate(bctx bahamut.Context) error

ProcessCreate handles the creates requests for Namespaces.

func (*NamespacesProcessor) ProcessDelete

func (p *NamespacesProcessor) ProcessDelete(bctx bahamut.Context) error

ProcessDelete handles the delete requests for Namespaces.

func (*NamespacesProcessor) ProcessInfo

func (p *NamespacesProcessor) ProcessInfo(bctx bahamut.Context) error

ProcessInfo handles the info request for Namespaces.

func (*NamespacesProcessor) ProcessRetrieve

func (p *NamespacesProcessor) ProcessRetrieve(bctx bahamut.Context) error

ProcessRetrieve handles the retrieve requests for Namespaces.

func (*NamespacesProcessor) ProcessRetrieveMany

func (p *NamespacesProcessor) ProcessRetrieveMany(bctx bahamut.Context) error

ProcessRetrieveMany handles the retrieve many requests for Namespaces.

func (*NamespacesProcessor) ProcessUpdate

func (p *NamespacesProcessor) ProcessUpdate(bctx bahamut.Context) error

ProcessUpdate handles the update requests for Namespaces.

type OIDCSourcesProcessor

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

A OIDCSourcesProcessor is a bahamut processor for OIDCSource.

func NewOIDCSourcesProcessor

func NewOIDCSourcesProcessor(manipulator manipulate.Manipulator) *OIDCSourcesProcessor

NewOIDCSourcesProcessor returns a new OIDCSourcesProcessor.

func (*OIDCSourcesProcessor) ProcessCreate

func (p *OIDCSourcesProcessor) ProcessCreate(bctx bahamut.Context) error

ProcessCreate handles the creates requests for OIDCSource.

func (*OIDCSourcesProcessor) ProcessDelete

func (p *OIDCSourcesProcessor) ProcessDelete(bctx bahamut.Context) error

ProcessDelete handles the delete requests for OIDCSource.

func (*OIDCSourcesProcessor) ProcessInfo

func (p *OIDCSourcesProcessor) ProcessInfo(bctx bahamut.Context) error

ProcessInfo handles the info request for OIDCSource.

func (*OIDCSourcesProcessor) ProcessRetrieve

func (p *OIDCSourcesProcessor) ProcessRetrieve(bctx bahamut.Context) error

ProcessRetrieve handles the retrieve requests for OIDCSource.

func (*OIDCSourcesProcessor) ProcessRetrieveMany

func (p *OIDCSourcesProcessor) ProcessRetrieveMany(bctx bahamut.Context) error

ProcessRetrieveMany handles the retrieve many requests for OIDCSource.

func (*OIDCSourcesProcessor) ProcessUpdate

func (p *OIDCSourcesProcessor) ProcessUpdate(bctx bahamut.Context) error

ProcessUpdate handles the update requests for OIDCSource.

type PermissionsProcessor

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

A PermissionsProcessor is a bahamut processor for Permissionss.

func NewPermissionsProcessor

func NewPermissionsProcessor(retriever permissions.Retriever) *PermissionsProcessor

NewPermissionsProcessor returns a new PermissionsProcessor.

func (*PermissionsProcessor) ProcessCreate

func (p *PermissionsProcessor) ProcessCreate(bctx bahamut.Context) error

ProcessCreate handles the creates requests for Permissionss.

Jump to

Keyboard shortcuts

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