fortify

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 116 Imported by: 4

Documentation

Index

Constants

View Source
const (
	// DefaultHost is the default Host
	// found in Meta (info) section of spec file
	DefaultHost string = ""
	// DefaultBasePath is the default BasePath
	// found in Meta (info) section of spec file
	DefaultBasePath string = "/ssc/api/v1"
)

Variables

View Source
var Default = NewHTTPClient(nil)

Default fortify HTTP client.

View Source
var DefaultSchemes = []string{"https"}

DefaultSchemes are the default schemes found in Meta (info) section of spec file

Functions

This section is empty.

Types

type Fortify

type Fortify struct {
	AaTrainingStatusOfProjectVersionController aa_training_status_of_project_version_controller.ClientService

	ActivityFeedController activity_feed_controller.ClientService

	AlertDefinitionController alert_definition_controller.ClientService

	AlertHistoryController alert_history_controller.ClientService

	AlertableEventTypeController alertable_event_type_controller.ClientService

	ApplicationStateController application_state_controller.ClientService

	ArtifactController artifact_controller.ClientService

	ArtifactOfProjectVersionController artifact_of_project_version_controller.ClientService

	AttributeDefinitionController attribute_definition_controller.ClientService

	AttributeOfProjectVersionController attribute_of_project_version_controller.ClientService

	AuditAssistantStatusOfProjectVersionController audit_assistant_status_of_project_version_controller.ClientService

	AuditHistoryOfIssueController audit_history_of_issue_controller.ClientService

	AuthEntityController auth_entity_controller.ClientService

	AuthEntityOfProjectVersionController auth_entity_of_project_version_controller.ClientService

	AuthTokenController auth_token_controller.ClientService

	BugFilingRequirementsOfProjectVersionController bug_filing_requirements_of_project_version_controller.ClientService

	BugTrackerController bug_tracker_controller.ClientService

	BugTrackerOfProjectVersionController bug_tracker_of_project_version_controller.ClientService

	BugfieldTemplateGroupController bugfield_template_group_controller.ClientService

	BulkController bulk_controller.ClientService

	CloudJobController cloud_job_controller.ClientService

	CloudJobOfCloudPoolController cloud_job_of_cloud_pool_controller.ClientService

	CloudJobOfCloudWorkerController cloud_job_of_cloud_worker_controller.ClientService

	CloudPoolController cloud_pool_controller.ClientService

	CloudPoolMappingController cloud_pool_mapping_controller.ClientService

	CloudSystemMetricsController cloud_system_metrics_controller.ClientService

	CloudSystemPollStatusController cloud_system_poll_status_controller.ClientService

	CloudSystemSettingsController cloud_system_settings_controller.ClientService

	CloudWorkerController cloud_worker_controller.ClientService

	CloudWorkerOfCloudPoolController cloud_worker_of_cloud_pool_controller.ClientService

	ConfigurationController configuration_controller.ClientService

	CustomTagController custom_tag_controller.ClientService

	CustomTagOfIssueTemplateController custom_tag_of_issue_template_controller.ClientService

	CustomTagOfProjectVersionController custom_tag_of_project_version_controller.ClientService

	DashboardVersionController dashboard_version_controller.ClientService

	DataExportController data_export_controller.ClientService

	DynamicScanRequestOfProjectVersionController dynamic_scan_request_of_project_version_controller.ClientService

	DynamicScanRequestTemplateOfProjectVersionController dynamic_scan_request_template_of_project_version_controller.ClientService

	DynamicScanRequestsSummaryOfProjectVersionController dynamic_scan_requests_summary_of_project_version_controller.ClientService

	EngineTypeController engine_type_controller.ClientService

	EventLogController event_log_controller.ClientService

	FeatureController feature_controller.ClientService

	FileTokenController file_token_controller.ClientService

	FilterSetOfProjectVersionController filter_set_of_project_version_controller.ClientService

	FolderController folder_controller.ClientService

	FolderOfProjectVersionController folder_of_project_version_controller.ClientService

	GroupOfAuthEntityController group_of_auth_entity_controller.ClientService

	IidMigrationController iid_migration_controller.ClientService

	IidMigrationOfProjectVersionController iid_migration_of_project_version_controller.ClientService

	InternalCustomTagController internal_custom_tag_controller.ClientService

	IssueAgingController issue_aging_controller.ClientService

	IssueAgingGroupController issue_aging_group_controller.ClientService

	IssueAgingPortletController issue_aging_portlet_controller.ClientService

	IssueAssignmentOfProjectVersionController issue_assignment_of_project_version_controller.ClientService

	IssueAttachmentOfIssueController issue_attachment_of_issue_controller.ClientService

	IssueAuditCommentController issue_audit_comment_controller.ClientService

	IssueAuditCommentOfIssueController issue_audit_comment_of_issue_controller.ClientService

	IssueController issue_controller.ClientService

	IssueDetailController issue_detail_controller.ClientService

	IssueGroupOfProjectVersionController issue_group_of_project_version_controller.ClientService

	IssueOfProjectVersionController issue_of_project_version_controller.ClientService

	IssueSelectorSetOfProjectVersionController issue_selector_set_of_project_version_controller.ClientService

	IssueStatisticsOfProjectVersionController issue_statistics_of_project_version_controller.ClientService

	IssueSummaryOfProjectVersionController issue_summary_of_project_version_controller.ClientService

	IssueTemplateController issue_template_controller.ClientService

	IssueViewTemplateController issue_view_template_controller.ClientService

	JobController job_controller.ClientService

	JobPriorityChangeCategoryWarningOfJobController job_priority_change_category_warning_of_job_controller.ClientService

	LdapObjectController ldap_object_controller.ClientService

	LdapServerController ldap_server_controller.ClientService

	LicenseController license_controller.ClientService

	LocalUserController local_user_controller.ClientService

	ParserPluginImageController parser_plugin_image_controller.ClientService

	PerformanceIndicatorController performance_indicator_controller.ClientService

	PerformanceIndicatorHistoryOfProjectVersionController performance_indicator_history_of_project_version_controller.ClientService

	PermissionController permission_controller.ClientService

	PermissionOfRoleController permission_of_role_controller.ClientService

	PermissionRequiredByPermissionController permission_required_by_permission_controller.ClientService

	PluginController plugin_controller.ClientService

	PluginImageController plugin_image_controller.ClientService

	PluginLocalizationController plugin_localization_controller.ClientService

	ProjectController project_controller.ClientService

	ProjectVersionController project_version_controller.ClientService

	ProjectVersionOfAlertDefinitionController project_version_of_alert_definition_controller.ClientService

	ProjectVersionOfAuthEntityController project_version_of_auth_entity_controller.ClientService

	ProjectVersionOfCloudPoolController project_version_of_cloud_pool_controller.ClientService

	ProjectVersionOfProjectController project_version_of_project_controller.ClientService

	ReportDefinitionController report_definition_controller.ClientService

	ReportLibraryController report_library_controller.ClientService

	ResponsibilityAssignmentOfProjectVersionController responsibility_assignment_of_project_version_controller.ClientService

	ResultProcessingRuleOfProjectVersionController result_processing_rule_of_project_version_controller.ClientService

	RoleController role_controller.ClientService

	RoleOfAuthEntityController role_of_auth_entity_controller.ClientService

	RulepackCoreController rulepack_core_controller.ClientService

	RulepackUpdateController rulepack_update_controller.ClientService

	SavedReportController saved_report_controller.ClientService

	ScanController scan_controller.ClientService

	ScanErrorOfArtifactController scan_error_of_artifact_controller.ClientService

	ScanOfArtifactController scan_of_artifact_controller.ClientService

	SeedBundleController seed_bundle_controller.ClientService

	SourceFileOfProjectVersionController source_file_of_project_version_controller.ClientService

	SystemConfigurationController system_configuration_controller.ClientService

	TokenDefinitionController token_definition_controller.ClientService

	UnassignedCloudWorkerOfCloudPoolController unassigned_cloud_worker_of_cloud_pool_controller.ClientService

	UserIssueSearchOptionsController user_issue_search_options_controller.ClientService

	UserIssueSearchOptionsOfProjectVersionController user_issue_search_options_of_project_version_controller.ClientService

	UserPreferencesController user_preferences_controller.ClientService

	UserSessionInfoController user_session_info_controller.ClientService

	UserSessionStateController user_session_state_controller.ClientService

	ValidateEquationController validate_equation_controller.ClientService

	ValidateSearchStringController validate_search_string_controller.ClientService

	VariableController variable_controller.ClientService

	VariableHistoryOfProjectVersionController variable_history_of_project_version_controller.ClientService

	Transport runtime.ClientTransport
}

Fortify is a client for fortify

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Fortify

New creates a new fortify client

func NewHTTPClient

func NewHTTPClient(formats strfmt.Registry) *Fortify

NewHTTPClient creates a new fortify HTTP client.

func NewHTTPClientWithConfig

func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *Fortify

NewHTTPClientWithConfig creates a new fortify HTTP client, using a customizable transport config.

func (*Fortify) SetTransport

func (c *Fortify) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client and all its subresources

type TransportConfig

type TransportConfig struct {
	Host     string
	BasePath string
	Schemes  []string
}

TransportConfig contains the transport related info, found in the meta section of the spec file.

func DefaultTransportConfig

func DefaultTransportConfig() *TransportConfig

DefaultTransportConfig creates a TransportConfig with the default settings taken from the meta section of the spec file.

func (*TransportConfig) WithBasePath

func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig

WithBasePath overrides the default basePath, provided by the meta section of the spec file.

func (*TransportConfig) WithHost

func (cfg *TransportConfig) WithHost(host string) *TransportConfig

WithHost overrides the default host, provided by the meta section of the spec file.

func (*TransportConfig) WithSchemes

func (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig

WithSchemes overrides the default schemes, provided by the meta section of the spec file.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL