Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultMetadata = `` /* 232-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func GetApplicationMetadata ¶
GetApplicationMetadata will return any available application yaml from the upstream. If there is no application.yaml, it will return a placeholder one
func GetSuccessfulHeadResponse ¶
func GetSuccessfulHeadResponse(replicatedUpstream *ReplicatedUpstream, license *kotsv1beta1.License) error
Types ¶
type LicenseData ¶
type LicenseData struct { LicenseBytes []byte License *kotsv1beta1.License }
func GetLatestLicense ¶
func GetLatestLicense(license *kotsv1beta1.License) (*LicenseData, error)
func GetLatestLicenseForHelm ¶
func GetLatestLicenseForHelm(licenseID string) (*LicenseData, error)
type ReplicatedCursor ¶
func (ReplicatedCursor) Equal ¶
func (this ReplicatedCursor) Equal(other ReplicatedCursor) bool
type ReplicatedUpstream ¶
type ReplicatedUpstream struct { Channel *string AppSlug string VersionLabel *string Sequence *int }
func ParseReplicatedURL ¶
func ParseReplicatedURL(u *url.URL) (*ReplicatedUpstream, error)
func (*ReplicatedUpstream) GetRequest ¶
func (r *ReplicatedUpstream) GetRequest(method string, license *kotsv1beta1.License, cursor ReplicatedCursor) (*http.Request, error)
Click to show internal directories.
Click to hide internal directories.