check

package
v0.0.0-...-afad4ed Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(ctx context.Context, req io.Reader, resp, log io.Writer) error

Request:

{
   "source": {
	    "uri": "git@github.com:homeport/freeze-calendar-resource"
	    "branch": "main"
	    "private_key": "((vault/my-key))"
	    "path": "examples/freeze-calendar.yaml"
   },
   "version": { "sha": "..." } // may be present or not
}

Response:

[{ "version": { "sha": "..." } }]

Types

type Request

type Request struct {
	resource.Request
	Version resource.Version `json:"version"`
}

type Response

type Response []resource.Version

Jump to

Keyboard shortcuts

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