Documentation
¶
Index ¶
- func CheckError(err error)
- func CheckFileExists(filepath string) bool
- func CreateFolder(folderPath string) error
- func GetAPIKeyFromContext(ctx context.Context) (*string, error)
- func MoveFile(sourcePath, destPath string) error
- func RandStringBytes(n int) string
- func ReadLastNBtyesFromFile(fname string, nbytes int64) (string, error)
- func StructToPBStruct(a interface{}, b interface{})
- func ToJSON(a interface{}) string
- func TrackTime(start time.Time, name string)
- type SSMProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
func CheckError(err error)
func CheckFileExists ¶
func CreateFolder ¶
func RandStringBytes ¶
func ReadLastNBtyesFromFile ¶
func StructToPBStruct ¶
func StructToPBStruct(a interface{}, b interface{})
Types ¶
type SSMProvider ¶
type SSMProvider struct{}
func (SSMProvider) GetModName ¶
func (SSMProvider) ModVersionsWithDependencies ¶
func (p SSMProvider) ModVersionsWithDependencies(_ context.Context, modID string) ([]resolver.ModVersion, error)
Click to show internal directories.
Click to hide internal directories.