client

package
v0.0.0-...-aca7f8d Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRelease

func CreateRelease(bCtx *config.BubblyConfig, req *api.ReleaseCreateRequest) error

func RunQuery

func RunQuery(bCtx *config.BubblyConfig, query string) (map[string]interface{}, error)

func SaveAdapter

func SaveAdapter(bCtx *config.BubblyConfig, req *api.AdapterSaveRequest) error

func SaveCodeScan

func SaveCodeScan(bCtx *config.BubblyConfig, req *api.CodeScanRequest) error

func SavePolicy

func SavePolicy(bCtx *config.BubblyConfig, req *api.ReleasePolicySaveRequest) error

func SaveTestRun

func SaveTestRun(bCtx *config.BubblyConfig, req *api.TestRunRequest) error

func SaveVulnerabilityReview

func SaveVulnerabilityReview(bCtx *config.BubblyConfig, req *api.VulnerabilityReviewSaveRequest) error

func UpdateVulnerabilityReview

func UpdateVulnerabilityReview(bCtx *config.BubblyConfig, req *api.VulnerabilityReviewUpdateRequest) error

func WithAPIV1

func WithAPIV1(toggle bool) func(r *request)

func WithBubblyConfig

func WithBubblyConfig(bCtx *config.BubblyConfig) func(r *request)

func WithGraphQL

func WithGraphQL(toggle bool) func(r *request)

func WithMethod

func WithMethod(method string) func(r *request)

func WithPayload

func WithPayload(payload interface{}) func(r *request)

func WithQueryParams

func WithQueryParams(params map[string]string) func(r *request)

func WithQueryParamsStruct

func WithQueryParamsStruct(params interface{}) func(r *request)

func WithRequestURL

func WithRequestURL(url string) func(r *request)

func WithResponse

func WithResponse(response interface{}) func(r *request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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