Documentation ¶
Index ¶
- func CreateRelease(bCtx *config.BubblyConfig, req *api.ReleaseCreateRequest) error
- func GetAdapters(bCtx *config.BubblyConfig, req *api.AdapterGetRequest) (*api.AdapterGetResponse, error)
- func GetEvents(bCtx *config.BubblyConfig, req *api.EventGetRequest) (*api.EventGetResponse, error)
- func GetPolicies(bCtx *config.BubblyConfig, req *api.ReleasePolicyGetRequest) (*api.ReleasePolicyGetResponse, error)
- func GetReleases(bCtx *config.BubblyConfig, req *api.ReleaseGetRequest) (*api.ReleaseGetResponse, error)
- func GetVulnerabilityReviews(bCtx *config.BubblyConfig, req *api.VulnerabilityReviewGetRequest) (*api.VulnerabilityReviewGetResponse, error)
- func RunQuery(bCtx *config.BubblyConfig, query string) (map[string]interface{}, error)
- func SaveAdapter(bCtx *config.BubblyConfig, req *api.AdapterSaveRequest) error
- func SaveCodeScan(bCtx *config.BubblyConfig, req *api.CodeScanRequest) error
- func SavePolicy(bCtx *config.BubblyConfig, req *api.ReleasePolicySaveRequest) error
- func SaveTestRun(bCtx *config.BubblyConfig, req *api.TestRunRequest) error
- func SaveVulnerabilityReview(bCtx *config.BubblyConfig, req *api.VulnerabilityReviewSaveRequest) error
- func SetPolicy(bCtx *config.BubblyConfig, req *api.ReleasePolicyUpdateRequest) error
- func UpdateVulnerabilityReview(bCtx *config.BubblyConfig, req *api.VulnerabilityReviewUpdateRequest) error
- func WithAPIV1(toggle bool) func(r *request)
- func WithBubblyConfig(bCtx *config.BubblyConfig) func(r *request)
- func WithGraphQL(toggle bool) func(r *request)
- func WithMethod(method string) func(r *request)
- func WithPayload(payload interface{}) func(r *request)
- func WithQueryParams(params map[string]string) func(r *request)
- func WithQueryParamsStruct(params interface{}) func(r *request)
- func WithRequestURL(url string) func(r *request)
- func WithResponse(response interface{}) func(r *request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRelease ¶
func CreateRelease(bCtx *config.BubblyConfig, req *api.ReleaseCreateRequest) error
func GetAdapters ¶
func GetAdapters(bCtx *config.BubblyConfig, req *api.AdapterGetRequest) (*api.AdapterGetResponse, error)
func GetEvents ¶
func GetEvents(bCtx *config.BubblyConfig, req *api.EventGetRequest) (*api.EventGetResponse, error)
func GetPolicies ¶
func GetPolicies(bCtx *config.BubblyConfig, req *api.ReleasePolicyGetRequest) (*api.ReleasePolicyGetResponse, error)
func GetReleases ¶
func GetReleases(bCtx *config.BubblyConfig, req *api.ReleaseGetRequest) (*api.ReleaseGetResponse, error)
func GetVulnerabilityReviews ¶
func GetVulnerabilityReviews(bCtx *config.BubblyConfig, req *api.VulnerabilityReviewGetRequest) (*api.VulnerabilityReviewGetResponse, 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 SetPolicy ¶
func SetPolicy(bCtx *config.BubblyConfig, req *api.ReleasePolicyUpdateRequest) error
func UpdateVulnerabilityReview ¶
func UpdateVulnerabilityReview(bCtx *config.BubblyConfig, req *api.VulnerabilityReviewUpdateRequest) error
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 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.
Click to show internal directories.
Click to hide internal directories.