Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateResolver ¶
type CertificateResolver interface { SignCertificateSigningRequest(ctx context.Context, csr string) (*externalschema.CertificationResult, error) RevokeCertificate(ctx context.Context) (bool, error) Configuration(ctx context.Context) (*externalschema.Configuration, error) }
func NewCertificateResolver ¶
func NewCertificateResolver( authenticator authentication.Authenticator, tokenService tokens.Service, certificatesService certificates.Service, csrSubjectConsts certificates.CSRSubjectConsts, directorURL string, certificateSecuredConnectorURL string, revocationList revocation.RevocationListRepository) CertificateResolver
type ExternalResolver ¶
type ExternalResolver struct {
CertificateResolver
}
func (*ExternalResolver) Mutation ¶
func (r *ExternalResolver) Mutation() externalschema.MutationResolver
func (*ExternalResolver) Query ¶
func (r *ExternalResolver) Query() externalschema.QueryResolver
type InternalResolver ¶
type InternalResolver struct {
TokenResolver
}
func (*InternalResolver) Mutation ¶
func (r *InternalResolver) Mutation() internalschema.MutationResolver
func (*InternalResolver) Query ¶
func (r *InternalResolver) Query() internalschema.QueryResolver
type TokenResolver ¶
type TokenResolver interface { GenerateApplicationToken(ctx context.Context, appID string) (*externalschema.Token, error) GenerateRuntimeToken(ctx context.Context, runtimeID string) (*externalschema.Token, error) IsHealthy(ctx context.Context) (bool, error) }
func NewTokenResolver ¶
func NewTokenResolver(tokenService tokens.Service) TokenResolver
Click to show internal directories.
Click to hide internal directories.