Documentation
¶
Index ¶
- func ValidateAddCommentToPRArgs(args *shared.VCSAddCommentToPRRequest) error
- func ValidateAddRoleToPRArgs(args *shared.VCSAddRoleToPRRequest, roles []string) error
- func ValidateBaseArgs(args *shared.VCSRequestBase) error
- func ValidateCommonCredentials(username, token string) error
- func ValidateFetchArgs(args *shared.VCSFetchRequest) error
- func ValidateListArgs(args *shared.VCSListRepositoriesRequest) error
- func ValidateRetrievePRInformationArgs(args *shared.VCSRetrievePRInformationRequest) error
- func ValidateScanArgs(args *shared.ScannerScanRequest) error
- func ValidateSetStatusOfPRArgs(args *shared.VCSSetStatusOfPRRequest, requiredFields map[string]string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAddCommentToPRArgs ¶
func ValidateAddCommentToPRArgs(args *shared.VCSAddCommentToPRRequest) error
ValidateAddCommentToPRArgs checks the necessary fields in VCSAddCommentToPRRequest and returns errors if they are not set.
func ValidateAddRoleToPRArgs ¶
func ValidateAddRoleToPRArgs(args *shared.VCSAddRoleToPRRequest, roles []string) error
ValidateAddRoleToPRArgs checks the necessary fields in VCSAddRoleToPRRequest and returns errors if they are not set.
func ValidateBaseArgs ¶
func ValidateBaseArgs(args *shared.VCSRequestBase) error
ValidateBaseArgs checks the common fields in VCSRequestBase and returns errors if they are not set.
func ValidateCommonCredentials ¶
ValidateCommonCredentials checks for the presence of common credentials.
func ValidateFetchArgs ¶
func ValidateFetchArgs(args *shared.VCSFetchRequest) error
ValidateFetchArgs checks the necessary fields in VCSFetchRequest and returns errors if they are not set.
func ValidateListArgs ¶
func ValidateListArgs(args *shared.VCSListRepositoriesRequest) error
ValidateListArgs checks the necessary fields in VCSListRepositoriesRequest and returns errors if they are not set.
func ValidateRetrievePRInformationArgs ¶
func ValidateRetrievePRInformationArgs(args *shared.VCSRetrievePRInformationRequest) error
ValidateRetrievePRInformationArgs checks the necessary fields in VCSRetrievePRInformationRequest and returns errors if they are not set.
func ValidateScanArgs ¶
func ValidateScanArgs(args *shared.ScannerScanRequest) error
ValidateScanArgs checks the necessary fields in ScannerScanRequest and returns errors if they are not set
func ValidateSetStatusOfPRArgs ¶
func ValidateSetStatusOfPRArgs(args *shared.VCSSetStatusOfPRRequest, requiredFields map[string]string, statuses []string) error
ValidateSetStatusOfPRArgs checks the necessary fields in VCSSetStatusOfPRRequest and returns errors if they are not set.
Types ¶
This section is empty.