update

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com>

SPDX-License-Identifier: BSD-3-Clause

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LatestRelease

func LatestRelease(ctx context.Context) string

func Update

func Update(ctx context.Context) error

Types

type ReleaseAsset added in v0.0.15

type ReleaseAsset struct {
	Name               string `json:"name,omitempty"`
	BrowserDownloadURL string `json:"browser_download_url,omitempty"`
}

ReleaseAsset represents a GitHub release asset in a repository.

type RepositoryRelease added in v0.0.15

type RepositoryRelease struct {
	TagName string         `json:"tag_name,omitempty"`
	Body    string         `json:"body,omitempty"`
	Assets  []ReleaseAsset `json:"assets,omitempty"`
}

RepositoryRelease represents a GitHub release in a repository.

Jump to

Keyboard shortcuts

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