Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeHmac256 ¶
Types ¶
type Client ¶
type Client interface { Upload([]*buildsecurity.Result, []*buildsecurity.PolicyFailure, map[string]string) error GetPoliciesForRepository() ([]*buildsecurity.Policy, error) GetOrCreateRepository() (string, error) }
type TwirpClient ¶
type TwirpClient struct {
// contains filtered or unexported fields
}
func (*TwirpClient) GetOrCreateRepository ¶
func (bc *TwirpClient) GetOrCreateRepository() (string, error)
func (*TwirpClient) GetPoliciesForRepository ¶
func (bc *TwirpClient) GetPoliciesForRepository() ([]*buildsecurity.Policy, error)
func (*TwirpClient) Upload ¶
func (bc *TwirpClient) Upload(results []*buildsecurity.Result, policyFailures []*buildsecurity.PolicyFailure, tags map[string]string) error
Click to show internal directories.
Click to hide internal directories.