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
Click to show internal directories.
Click to hide internal directories.