reconcile

package
v0.0.0-...-d0ab41e Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Changes

type Changes struct {
	Additions []string `json:"add"`
	Deletions []string `json:"delete"`
	Errored   []string `json:"errored,omitempty"`
}

type Report

type Report struct {
	Date      time.Time          `json:"executionDate"`
	Duration  time.Duration      `json:"executionDuration"`
	User      string             `json:"user"`
	CheckMeIn bool               `json:"checkmein"`
	Discord   map[string]Changes `json:"discord"`
	Groups    map[string]Changes `json:"groups"`
}

func (Report) CheckMeInStatus

func (r Report) CheckMeInStatus() string

func (Report) HasChanges

func (r Report) HasChanges() bool

func (Report) RenderText

func (r Report) RenderText() ([]byte, error)

Jump to

Keyboard shortcuts

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