-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
59fc9cc
commit 961d126
Showing
1,029 changed files
with
289 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
37 changes: 37 additions & 0 deletions
37
pkg/github/models/1bc90c9a0ae5990b111c7700b8f472f73ba532f319a42660612cc605c5ea60d0.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package models | ||
// The enablement status of secret scanning non-provider patterns | ||
type CodeSecurityConfiguration_secret_scanning_non_provider_patterns int | ||
|
||
const ( | ||
ENABLED_CODESECURITYCONFIGURATION_SECRET_SCANNING_NON_PROVIDER_PATTERNS CodeSecurityConfiguration_secret_scanning_non_provider_patterns = iota | ||
DISABLED_CODESECURITYCONFIGURATION_SECRET_SCANNING_NON_PROVIDER_PATTERNS | ||
NOT_SET_CODESECURITYCONFIGURATION_SECRET_SCANNING_NON_PROVIDER_PATTERNS | ||
) | ||
|
||
func (i CodeSecurityConfiguration_secret_scanning_non_provider_patterns) String() string { | ||
return []string{"enabled", "disabled", "not_set"}[i] | ||
} | ||
func ParseCodeSecurityConfiguration_secret_scanning_non_provider_patterns(v string) (any, error) { | ||
result := ENABLED_CODESECURITYCONFIGURATION_SECRET_SCANNING_NON_PROVIDER_PATTERNS | ||
switch v { | ||
case "enabled": | ||
result = ENABLED_CODESECURITYCONFIGURATION_SECRET_SCANNING_NON_PROVIDER_PATTERNS | ||
case "disabled": | ||
result = DISABLED_CODESECURITYCONFIGURATION_SECRET_SCANNING_NON_PROVIDER_PATTERNS | ||
case "not_set": | ||
result = NOT_SET_CODESECURITYCONFIGURATION_SECRET_SCANNING_NON_PROVIDER_PATTERNS | ||
default: | ||
return nil, nil | ||
} | ||
return &result, nil | ||
} | ||
func SerializeCodeSecurityConfiguration_secret_scanning_non_provider_patterns(values []CodeSecurityConfiguration_secret_scanning_non_provider_patterns) []string { | ||
result := make([]string, len(values)) | ||
for i, v := range values { | ||
result[i] = v.String() | ||
} | ||
return result | ||
} | ||
func (i CodeSecurityConfiguration_secret_scanning_non_provider_patterns) isMultiValue() bool { | ||
return false | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
39 changes: 39 additions & 0 deletions
39
pkg/github/models/code_scanning_variant_analysis_escaped_status.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package models | ||
type CodeScanningVariantAnalysis_status int | ||
|
||
const ( | ||
IN_PROGRESS_CODESCANNINGVARIANTANALYSIS_STATUS CodeScanningVariantAnalysis_status = iota | ||
SUCCEEDED_CODESCANNINGVARIANTANALYSIS_STATUS | ||
FAILED_CODESCANNINGVARIANTANALYSIS_STATUS | ||
CANCELLED_CODESCANNINGVARIANTANALYSIS_STATUS | ||
) | ||
|
||
func (i CodeScanningVariantAnalysis_status) String() string { | ||
return []string{"in_progress", "succeeded", "failed", "cancelled"}[i] | ||
} | ||
func ParseCodeScanningVariantAnalysis_status(v string) (any, error) { | ||
result := IN_PROGRESS_CODESCANNINGVARIANTANALYSIS_STATUS | ||
switch v { | ||
case "in_progress": | ||
result = IN_PROGRESS_CODESCANNINGVARIANTANALYSIS_STATUS | ||
case "succeeded": | ||
result = SUCCEEDED_CODESCANNINGVARIANTANALYSIS_STATUS | ||
case "failed": | ||
result = FAILED_CODESCANNINGVARIANTANALYSIS_STATUS | ||
case "cancelled": | ||
result = CANCELLED_CODESCANNINGVARIANTANALYSIS_STATUS | ||
default: | ||
return nil, nil | ||
} | ||
return &result, nil | ||
} | ||
func SerializeCodeScanningVariantAnalysis_status(values []CodeScanningVariantAnalysis_status) []string { | ||
result := make([]string, len(values)) | ||
for i, v := range values { | ||
result[i] = v.String() | ||
} | ||
return result | ||
} | ||
func (i CodeScanningVariantAnalysis_status) isMultiValue() bool { | ||
return false | ||
} |
Oops, something went wrong.