Documentation ¶
Index ¶
- func Download(ctx context.Context, baseUrl string, token string, gitoid string) (dsse.Envelope, error)
- func DownloadWithWriter(ctx context.Context, baseUrl, token string, gitoid string, dst io.Writer) error
- func GraphQlQuery[TRes any, TVars any](ctx context.Context, baseUrl, token string, query string, vars TVars) (TRes, error)
- type StoreResponsedeprecated
- func Store(ctx context.Context, baseUrl string, token string, envelope dsse.Envelope) (StoreResponse, error)deprecated
- func StoreWithReader(ctx context.Context, baseUrl string, token string, r io.Reader) (StoreResponse, error)deprecated
- func Upload(ctx context.Context, baseUrl string, token string, envelope dsse.Envelope) (StoreResponse, error)
- func UploadWithReader(ctx context.Context, baseUrl string, token string, r io.Reader) (StoreResponse, error)
- type UploadResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadWithWriter ¶
Types ¶
type StoreResponse
deprecated
type StoreResponse = UploadResponse
Deprecated: Use UploadResponse instead. It will be removed in version >= v0.6.0
func StoreWithReader
deprecated
func UploadWithReader ¶
type UploadResponse ¶
type UploadResponse struct {
Gitoid string `json:"gitoid"`
}
Click to show internal directories.
Click to hide internal directories.