autosync

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FILENAME = "registry-sync"
)

Variables

This section is empty.

Functions

func Run

func Run(shouldFailForRequiredKeys bool)

shouldFailForRequiredKeys when true will fail the profile registry sync in case where user specific values that are defined in granted.yml's `templateValues` are not available. this is done so that users are aware of required keys when granted's credential-process is used through the AWS CLI.

Types

type RegistrySyncConfig

type RegistrySyncConfig struct {
	LastCheckForSync time.Weekday `json:"lastCheckForSync"`
	// contains filtered or unexported fields
}

func (RegistrySyncConfig) Path

func (rc RegistrySyncConfig) Path() string

return the absolute path of commonfate/registry-sync file.

func (RegistrySyncConfig) Save

func (rc RegistrySyncConfig) Save() error

create or save config in required file path.

type RegistrySyncError

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

func (*RegistrySyncError) Error

func (e *RegistrySyncError) Error() string

Jump to

Keyboard shortcuts

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