types

package
v0.0.0-...-02d28e6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllPackages

type AllPackages struct {
	Links    Links `json:"_links,omitempty"`
	Embedded struct {
		Packages []Package `json:"packages,omitempty"`
	} `json:"_embedded"`
}

type CurrentUser

type CurrentUser struct {
	Links          Links  `json:"_links,omitempty"`
	LoginName      string `json:"login_name,omitempty"`
	DisplayName    string `json:"display_name,omitempty"`
	Enabled        bool   `json:"enabled"`
	Email          string `json:"email,omitempty"`
	EmailMe        bool   `json:"email_me"`
	CheckinAliases []any  `json:"checkin_aliases,omitempty"`
}
type Links struct {
	Self struct {
		Href string `json:"href"`
	} `json:"self"`
	Doc struct {
		Href string `json:"href"`
	} `json:"doc"`
}

type Package

type Package struct {
	Links         Links        `json:"_links,omitempty"`
	Id            string       `json:"id"`
	Name          string       `json:"name"`
	AutoUpdate    bool         `json:"auto_update"`
	PackageRepo   PackageRepo  `json:"package_repo"`
	Configuration []Properties `json:"configuration"`
}

type PackageRepo

type PackageRepo struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

type Properties

type Properties struct {
	Key            string `json:"key"`
	Value          string `json:"value,omitempty"`
	EncryptedValue string `json:"encrypted_value,omitempty"`
}

type Version

type Version struct {
	Links       Links  `json:"_links,omitempty"`
	Version     string `json:"version,omitempty"`
	BuildNumber string `json:"build_number,omitempty"`
	GitSha      string `json:"git_sha,omitempty"`
	FullVersion string `json:"full_version,omitempty"`
	CommitURL   string `json:"commit_url,omitempty"`
}

Jump to

Keyboard shortcuts

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