bazel

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(provider BazelCredentialProvider)

Types

type BazelCredentialProvider

type BazelCredentialProvider interface {
	Get(request GetCredentialsRequest) (*GetCredentialsReponse, error)
	List() (ListCredentialsResponse, error)
}

type GetCredentialsReponse

type GetCredentialsReponse struct {
	Expires string              `json:"expires,omitempty"`
	Headers map[string][]string `json:"headers,omitempty"`
}

See: https://github.com/EngFlow/credential-helper-spec/blob/main/schemas/get-credentials-response.schema.json

type ListCredentialsResponse added in v0.1.1

type ListCredentialsResponse = map[string]string

Jump to

Keyboard shortcuts

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