Documentation
¶
Overview ¶
Package types provides shared type definitions used across packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncRule ¶
type SyncRule struct {
Name string `json:"name"`
Enabled *bool `json:"enabled,omitempty"`
OktaGroupPattern string `json:"okta_group_pattern,omitempty"`
OktaGroupName string `json:"okta_group_name,omitempty"`
GitHubTeamPrefix string `json:"github_team_prefix,omitempty"`
GitHubTeamName string `json:"github_team_name,omitempty"`
StripPrefix string `json:"strip_prefix,omitempty"`
SyncMembers *bool `json:"sync_members,omitempty"`
CreateTeamIfMissing bool `json:"create_team_if_missing"`
TeamPrivacy string `json:"team_privacy,omitempty"`
}
SyncRule defines how to sync Okta groups to GitHub teams.
func (SyncRule) ShouldSyncMembers ¶
ShouldSyncMembers returns true if members should be synced (defaults to true).
Click to show internal directories.
Click to hide internal directories.