Documentation ¶
Index ¶
- Variables
- func APIBuild() *api.Build
- func APIDashboard() *api.Dashboard
- func APIDashboardRepo() *api.DashboardRepo
- func APIDeployment() *library.Deployment
- func APIEvents() *api.Events
- func APIHook() *api.Hook
- func APILog() *library.Log
- func APIPipeline() *library.Pipeline
- func APIRepo() *api.Repo
- func APISchedule() *api.Schedule
- func APIService() *library.Service
- func APIStep() *library.Step
- func APIUser() *api.User
- func JWK() jwk.RSAPublicKey
- type AnyArgument
- type NowTimestamp
Constants ¶
This section is empty.
Variables ¶
View Source
var JwkKeyOpts = cmp.Options{ cmp.FilterValues(func(x, y interface{}) bool { _, xOk := x.(jwk.RSAPublicKey) _, yOk := y.(jwk.RSAPublicKey) return xOk && yOk }, cmp.Comparer(func(x, y interface{}) bool { xJWK := x.(jwk.RSAPublicKey) yJWK := y.(jwk.RSAPublicKey) var rawXKey, rawYKey interface{} if err := xJWK.Raw(&rawXKey); err != nil { return false } if err := yJWK.Raw(&rawYKey); err != nil { return false } return reflect.DeepEqual(rawXKey, rawYKey) && xJWK.KeyID() == yJWK.KeyID() })), }
Functions ¶
func APIDashboard ¶
func APIDashboardRepo ¶
func APIDashboardRepo() *api.DashboardRepo
func APIDeployment ¶
func APIDeployment() *library.Deployment
func APIPipeline ¶
func APISchedule ¶
func APIService ¶
func JWK ¶
func JWK() jwk.RSAPublicKey
Types ¶
type AnyArgument ¶
type AnyArgument struct{}
This will be used with the github.com/DATA-DOG/go-sqlmock library to compare values that are otherwise not easily compared. These typically would be values generated before adding or updating them in the database.
https://github.com/DATA-DOG/go-sqlmock#matching-arguments-like-timetime
type NowTimestamp ¶
type NowTimestamp struct{}
NowTimestamp is used to test whether timestamps get updated correctly to the current time with lenience.
Click to show internal directories.
Click to hide internal directories.