dex

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 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 Client

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

func NewDexClient

func NewDexClient(l log.Logger, dexClientConfig *config.DexClientConfig) (*Client, error)

NewDexClient initializes client for communication with Dex

func (*Client) IsComplete

func (d *Client) IsComplete(ctx context.Context, resourceURN resource.URN, dateFrom, dateTo time.Time) (bool, interface{}, error)

func (*Client) IsManaged

func (d *Client) IsManaged(ctx context.Context, resourceURN resource.URN) (bool, error)

type DateSnapshot

type DateSnapshot struct {
	Date       time.Time `json:"date"`
	IsComplete bool      `json:"is_complete"`
}

DateSnapshot provides a daily breakdown of data completeness.

type Producer

type Producer struct {
	Status    string    `json:"status"`
	StoppedAt time.Time `json:"stopped_at"`
}

Producer holds metadata about the producer’s runtime status.

type Stats

type Stats struct {
	ProducerType  string         `json:"producer_type"`
	Producer      Producer       `json:"producer"`
	IsComplete    bool           `json:"is_complete"`
	DateBreakdown []DateSnapshot `json:"date_breakdown"`
}

Stats encapsulates the producer stats and completion details.

func (Stats) IsManagedUntil

func (s Stats) IsManagedUntil(managedUntil time.Time) bool

Jump to

Keyboard shortcuts

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