status

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	BaseURL string
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(baseURL, supportEmail string, oidcWebAuthnSequencingEnabled, identifierFirstEnabled bool, flags []string, service ServiceInterface, tracer tracing.TracingInterface, monitor monitoring.MonitorInterface, logger logging.LoggerInterface) *API

func (*API) RegisterEndpoints

func (a *API) RegisterEndpoints(mux *chi.Mux)

type BuildInfo

type BuildInfo struct {
	Version    string `json:"version"`
	CommitHash string `json:"commit_hash"`
	Name       string `json:"name"`
}

type DeploymentInfo added in v0.21.0

type DeploymentInfo struct {
	OidcSequencingEnabled  bool     `json:"oidc_webauthn_sequencing_enabled"`
	BaseURL                string   `json:"base_url"`
	IdentifierFirstEnabled bool     `json:"identifier_first_enabled"`
	SupportEmail           string   `json:"support_email"`
	Flags                  []string `json:"flags"`
}

type Health added in v0.10.0

type Health struct {
	Kratos bool `json:"kratos"`
	Hydra  bool `json:"hydra"`
}

type Service added in v0.8.0

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

func NewService added in v0.8.0

func (*Service) BuildInfo added in v0.10.0

func (s *Service) BuildInfo(ctx context.Context) *BuildInfo

func (*Service) HydraStatus added in v0.10.0

func (s *Service) HydraStatus(ctx context.Context) bool

func (*Service) KratosStatus added in v0.10.0

func (s *Service) KratosStatus(ctx context.Context) bool

type ServiceInterface added in v0.8.0

type ServiceInterface interface {
	KratosStatus(context.Context) bool
	HydraStatus(context.Context) bool
	BuildInfo(context.Context) *BuildInfo
}

type Status

type Status struct {
	Status    string     `json:"status"`
	BuildInfo *BuildInfo `json:"buildInfo"`
}

Jump to

Keyboard shortcuts

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