Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessProvider ¶
type AccessProvider struct { Id string `yaml:"id" json:"id"` Name string `yaml:"name" json:"name"` Description string `yaml:"description" json:"description"` NamingHint string `yaml:"namingHint" json:"namingHint"` Type *string `yaml:"type" json:"type"` ExternalId *string `yaml:"externalId" json:"externalId"` // Deprecated: use ActualName and What fields directory Access []*Access `yaml:"access" json:"access"` Action Action `yaml:"action" json:"action"` Who WhoItem `yaml:"who" json:"who"` DeletedWho *WhoItem `yaml:"deletedWho" json:"deletedWho"` Delete bool `yaml:"delete" json:"delete"` WhoLocked *bool `yaml:"whoLocked" json:"whoLocked"` WhatLocked *bool `yaml:"whatLocked" json:"whatLocked"` ActualName *string `yaml:"actualName" json:"actualName"` What []WhatItem `yaml:"what" json:"what"` DeleteWhat []WhatItem `yaml:"deleteWhat" json:"deleteWhat"` }
type AccessProviderImport ¶
type AccessProviderImport struct { LastCalculated int64 `yaml:"lastCalculated" json:"lastCalculated"` AccessProviders []*AccessProvider `yaml:"accessProviders" json:"accessProviders"` }
func ParseAccessProviderImportFile ¶
func ParseAccessProviderImportFile(config *access_provider.AccessSyncToTarget) (*AccessProviderImport, error)
type AccessProviderImportFileParser ¶ added in v0.23.6
type AccessProviderImportFileParser interface {
ParseAccessProviders() (*AccessProviderImport, error)
}
func NewAccessProviderFileParser ¶ added in v0.23.6
func NewAccessProviderFileParser(config *access_provider.AccessSyncToTarget) (AccessProviderImportFileParser, error)
type Action ¶
type Action int
func (*Action) MarshalJSON ¶
func (*Action) MarshalYAML ¶
func (*Action) UnmarshalJSON ¶
func (*Action) UnmarshalYAML ¶
type SyncFeedbackFileCreator ¶
type SyncFeedbackFileCreator interface { AddAccessProviderFeedback(accessProviderId string, accessFeedback ...AccessSyncFeedbackInformation) error Close() GetAccessProviderCount() int }
func NewFeedbackFileCreator ¶
func NewFeedbackFileCreator(config *access_provider.AccessSyncToTarget) (SyncFeedbackFileCreator, error)
NewFeedbackFileCreator creates a new SyncFeedbackFileCreator based on the configuration coming from the Raito CLI.
type WhatItem ¶
type WhatItem struct { DataObject *data_source.DataObjectReference `yaml:"dataObject" json:"dataObject"` Permissions []string `yaml:"permissions" json:"permissions"` }
type WhoItem ¶
type WhoItem struct { // Users contains all account names directly assigned to this access provider Users []string `yaml:"users,omitempty" json:"users,omitempty"` // Groups contains all group names assigned to this access provider Groups []string `yaml:"groups,omitempty" json:"groups,omitempty"` // InheritFrom contains all access providers actual names in WHO part of this access provider InheritFrom []string `yaml:"inheritFrom,omitempty" json:"inheritFrom,omitempty"` }
Click to show internal directories.
Click to hide internal directories.