Documentation
¶
Overview ¶
Code generated by goopenapigen; DO NOT EDIT.
Code generated by ogen, DO NOT EDIT.
Code generated by goopenapigen; DO NOT EDIT.
Code generated by goopenapigen; DO NOT EDIT.
Code generated by goopenapigen; DO NOT EDIT.
Index ¶
- Constants
- func NewDefaultHandler(funcObj FuncInterface, optionsArr ...ServerOption) (http.Handler, error)
- func NewHandler(funcObj FuncInterface, optionsArr ...ServerOption) (http.Handler, error)
- func OpenAPIJSON() ([]byte, error)
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type ArtifactEntryObj
- func (s *ArtifactEntryObj) Decode(d *jx.Decoder) error
- func (s *ArtifactEntryObj) Encode(e *jx.Encoder)
- func (s *ArtifactEntryObj) GetHash() string
- func (s *ArtifactEntryObj) GetKind() string
- func (s *ArtifactEntryObj) GetName() string
- func (s *ArtifactEntryObj) GetSHA256() OptString
- func (s *ArtifactEntryObj) GetShasum() OptString
- func (s *ArtifactEntryObj) GetSize() int64
- func (s *ArtifactEntryObj) GetURL() string
- func (s *ArtifactEntryObj) MarshalJSON() ([]byte, error)
- func (s *ArtifactEntryObj) SetHash(val string)
- func (s *ArtifactEntryObj) SetKind(val string)
- func (s *ArtifactEntryObj) SetName(val string)
- func (s *ArtifactEntryObj) SetSHA256(val OptString)
- func (s *ArtifactEntryObj) SetShasum(val OptString)
- func (s *ArtifactEntryObj) SetSize(val int64)
- func (s *ArtifactEntryObj) SetURL(val string)
- func (s *ArtifactEntryObj) UnmarshalJSON(data []byte) error
- type CatalogObj
- func (s *CatalogObj) Decode(d *jx.Decoder) error
- func (s *CatalogObj) Encode(e *jx.Encoder)
- func (s *CatalogObj) GetKeys() []CatalogObjKeysItem
- func (s *CatalogObj) MarshalJSON() ([]byte, error)
- func (s *CatalogObj) SetKeys(val []CatalogObjKeysItem)
- func (s *CatalogObj) UnmarshalJSON(data []byte) error
- func (s *CatalogObj) Validate() error
- type CatalogObjHeaders
- func (s *CatalogObjHeaders) GetCacheControl() OptString
- func (s *CatalogObjHeaders) GetETag() OptString
- func (s *CatalogObjHeaders) GetResponse() CatalogObj
- func (s *CatalogObjHeaders) SetCacheControl(val OptString)
- func (s *CatalogObjHeaders) SetETag(val OptString)
- func (s *CatalogObjHeaders) SetResponse(val CatalogObj)
- func (s *CatalogObjHeaders) Validate() error
- type CatalogObjKeysItem
- func (s *CatalogObjKeysItem) Decode(d *jx.Decoder) error
- func (s *CatalogObjKeysItem) Encode(e *jx.Encoder)
- func (s *CatalogObjKeysItem) GetClassification() OptCatalogObjKeysItemClassification
- func (s *CatalogObjKeysItem) GetKey() string
- func (s *CatalogObjKeysItem) GetLatest() OptString
- func (s *CatalogObjKeysItem) GetSource() SourceStatusObj
- func (s *CatalogObjKeysItem) GetStatus() CatalogObjKeysItemStatus
- func (s *CatalogObjKeysItem) GetURL() OptString
- func (s *CatalogObjKeysItem) MarshalJSON() ([]byte, error)
- func (s *CatalogObjKeysItem) SetClassification(val OptCatalogObjKeysItemClassification)
- func (s *CatalogObjKeysItem) SetKey(val string)
- func (s *CatalogObjKeysItem) SetLatest(val OptString)
- func (s *CatalogObjKeysItem) SetSource(val SourceStatusObj)
- func (s *CatalogObjKeysItem) SetStatus(val CatalogObjKeysItemStatus)
- func (s *CatalogObjKeysItem) SetURL(val OptString)
- func (s *CatalogObjKeysItem) UnmarshalJSON(data []byte) error
- func (s *CatalogObjKeysItem) Validate() error
- type CatalogObjKeysItemClassification
- func (CatalogObjKeysItemClassification) AllValues() []CatalogObjKeysItemClassification
- func (s *CatalogObjKeysItemClassification) Decode(d *jx.Decoder) error
- func (s CatalogObjKeysItemClassification) Encode(e *jx.Encoder)
- func (s CatalogObjKeysItemClassification) MarshalJSON() ([]byte, error)
- func (s CatalogObjKeysItemClassification) MarshalText() ([]byte, error)
- func (s *CatalogObjKeysItemClassification) UnmarshalJSON(data []byte) error
- func (s *CatalogObjKeysItemClassification) UnmarshalText(data []byte) error
- func (s CatalogObjKeysItemClassification) Validate() error
- type CatalogObjKeysItemStatus
- func (CatalogObjKeysItemStatus) AllValues() []CatalogObjKeysItemStatus
- func (s *CatalogObjKeysItemStatus) Decode(d *jx.Decoder) error
- func (s CatalogObjKeysItemStatus) Encode(e *jx.Encoder)
- func (s CatalogObjKeysItemStatus) MarshalJSON() ([]byte, error)
- func (s CatalogObjKeysItemStatus) MarshalText() ([]byte, error)
- func (s *CatalogObjKeysItemStatus) UnmarshalJSON(data []byte) error
- func (s *CatalogObjKeysItemStatus) UnmarshalText(data []byte) error
- func (s CatalogObjKeysItemStatus) Validate() error
- type Client
- func (c *Client) GetCatalog(ctx context.Context, params GetCatalogParams) (GetCatalogRes, error)
- func (c *Client) GetComposerP2Package(ctx context.Context, params GetComposerP2PackageParams) (GetComposerP2PackageRes, error)
- func (c *Client) GetComposerPackageList(ctx context.Context, params GetComposerPackageListParams) (GetComposerPackageListRes, error)
- func (c *Client) GetComposerPackages(ctx context.Context, params GetComposerPackagesParams) (GetComposerPackagesRes, error)
- func (c *Client) GetFavicon(ctx context.Context, params GetFaviconParams) (GetFaviconRes, error)
- func (c *Client) GetFeed(ctx context.Context, params GetFeedParams) (GetFeedRes, error)
- func (c *Client) GetGoLatest(ctx context.Context, params GetGoLatestParams) (GetGoLatestRes, error)
- func (c *Client) GetGoVersionList(ctx context.Context, params GetGoVersionListParams) (GetGoVersionListRes, error)
- func (c *Client) GetHealth(ctx context.Context) (GetHealthRes, error)
- func (c *Client) GetInfo(ctx context.Context) (GetInfoRes, error)
- func (c *Client) GetKeyFeed(ctx context.Context, params GetKeyFeedParams) (GetKeyFeedRes, error)
- func (c *Client) GetKeyReleases(ctx context.Context, params GetKeyReleasesParams) (GetKeyReleasesRes, error)
- func (c *Client) GetLogo(ctx context.Context, params GetLogoParams) (GetLogoRes, error)
- func (c *Client) GetMetricsCache(ctx context.Context) (GetMetricsCacheRes, error)
- func (c *Client) GetMetricsCore(ctx context.Context) (GetMetricsCoreRes, error)
- func (c *Client) GetMetricsErrors(ctx context.Context) (GetMetricsErrorsRes, error)
- func (c *Client) GetMetricsIndex(ctx context.Context) (GetMetricsIndexRes, error)
- func (c *Client) GetMetricsInternal(ctx context.Context) (GetMetricsInternalRes, error)
- func (c *Client) GetMetricsRescan(ctx context.Context) (GetMetricsRescanRes, error)
- func (c *Client) GetMetricsYgg(ctx context.Context) (GetMetricsYggRes, error)
- func (c *Client) GetMirrorLatest(ctx context.Context, params GetMirrorLatestParams) (GetMirrorLatestRes, error)
- func (c *Client) GetMirrorList(ctx context.Context, params GetMirrorListParams) (GetMirrorListRes, error)
- func (c *Client) GetMirrorListFull(ctx context.Context, params GetMirrorListFullParams) (GetMirrorListFullRes, error)
- func (c *Client) GetOgKey(ctx context.Context, params GetOgKeyParams) (GetOgKeyRes, error)
- func (c *Client) GetOgNode(ctx context.Context, params GetOgNodeParams) (GetOgNodeRes, error)
- func (c *Client) GetOgVersion(ctx context.Context, params GetOgVersionParams) (GetOgVersionRes, error)
- func (c *Client) GetSitemap(ctx context.Context, params GetSitemapParams) (GetSitemapRes, error)
- func (c *Client) GetVersionArtifact(ctx context.Context, params GetVersionArtifactParams) (GetVersionArtifactRes, error)
- func (c *Client) GetVersionFile(ctx context.Context, params GetVersionFileParams) (GetVersionFileRes, error)
- type ClientOption
- type ComposerDistObj
- func (s *ComposerDistObj) Decode(d *jx.Decoder) error
- func (s *ComposerDistObj) Encode(e *jx.Encoder)
- func (s *ComposerDistObj) GetAdditionalProps() ComposerDistObjAdditional
- func (s *ComposerDistObj) GetReference() string
- func (s *ComposerDistObj) GetShasum() OptString
- func (s *ComposerDistObj) GetType() ComposerDistObjType
- func (s *ComposerDistObj) GetURL() string
- func (s *ComposerDistObj) MarshalJSON() ([]byte, error)
- func (s *ComposerDistObj) SetAdditionalProps(val ComposerDistObjAdditional)
- func (s *ComposerDistObj) SetReference(val string)
- func (s *ComposerDistObj) SetShasum(val OptString)
- func (s *ComposerDistObj) SetType(val ComposerDistObjType)
- func (s *ComposerDistObj) SetURL(val string)
- func (s *ComposerDistObj) UnmarshalJSON(data []byte) error
- func (s *ComposerDistObj) Validate() error
- type ComposerDistObjAdditional
- type ComposerDistObjType
- func (ComposerDistObjType) AllValues() []ComposerDistObjType
- func (s *ComposerDistObjType) Decode(d *jx.Decoder) error
- func (s ComposerDistObjType) Encode(e *jx.Encoder)
- func (s ComposerDistObjType) MarshalJSON() ([]byte, error)
- func (s ComposerDistObjType) MarshalText() ([]byte, error)
- func (s *ComposerDistObjType) UnmarshalJSON(data []byte) error
- func (s *ComposerDistObjType) UnmarshalText(data []byte) error
- func (s ComposerDistObjType) Validate() error
- type ComposerP2Obj
- func (s *ComposerP2Obj) Decode(d *jx.Decoder) error
- func (s *ComposerP2Obj) Encode(e *jx.Encoder)
- func (s *ComposerP2Obj) GetAdditionalProps() ComposerP2ObjAdditional
- func (s *ComposerP2Obj) GetPackages() ComposerP2ObjPackages
- func (s *ComposerP2Obj) MarshalJSON() ([]byte, error)
- func (s *ComposerP2Obj) SetAdditionalProps(val ComposerP2ObjAdditional)
- func (s *ComposerP2Obj) SetPackages(val ComposerP2ObjPackages)
- func (s *ComposerP2Obj) UnmarshalJSON(data []byte) error
- func (s *ComposerP2Obj) Validate() error
- type ComposerP2ObjAdditional
- type ComposerP2ObjHeaders
- func (s *ComposerP2ObjHeaders) GetCacheControl() OptString
- func (s *ComposerP2ObjHeaders) GetETag() OptString
- func (s *ComposerP2ObjHeaders) GetResponse() ComposerP2Obj
- func (s *ComposerP2ObjHeaders) SetCacheControl(val OptString)
- func (s *ComposerP2ObjHeaders) SetETag(val OptString)
- func (s *ComposerP2ObjHeaders) SetResponse(val ComposerP2Obj)
- func (s *ComposerP2ObjHeaders) Validate() error
- type ComposerP2ObjPackages
- type ComposerPackageListObj
- func (s *ComposerPackageListObj) Decode(d *jx.Decoder) error
- func (s *ComposerPackageListObj) Encode(e *jx.Encoder)
- func (s *ComposerPackageListObj) GetPackageNames() []string
- func (s *ComposerPackageListObj) MarshalJSON() ([]byte, error)
- func (s *ComposerPackageListObj) SetPackageNames(val []string)
- func (s *ComposerPackageListObj) UnmarshalJSON(data []byte) error
- func (s *ComposerPackageListObj) Validate() error
- type ComposerPackageListObjHeaders
- func (s *ComposerPackageListObjHeaders) GetCacheControl() OptString
- func (s *ComposerPackageListObjHeaders) GetETag() OptString
- func (s *ComposerPackageListObjHeaders) GetResponse() ComposerPackageListObj
- func (s *ComposerPackageListObjHeaders) SetCacheControl(val OptString)
- func (s *ComposerPackageListObjHeaders) SetETag(val OptString)
- func (s *ComposerPackageListObjHeaders) SetResponse(val ComposerPackageListObj)
- func (s *ComposerPackageListObjHeaders) Validate() error
- type ComposerPackageVersionObj
- func (s *ComposerPackageVersionObj) Decode(d *jx.Decoder) error
- func (s *ComposerPackageVersionObj) Encode(e *jx.Encoder)
- func (s *ComposerPackageVersionObj) GetAdditionalProps() ComposerPackageVersionObjAdditional
- func (s *ComposerPackageVersionObj) GetAutoload() OptComposerPackageVersionObjAutoload
- func (s *ComposerPackageVersionObj) GetDist() ComposerDistObj
- func (s *ComposerPackageVersionObj) GetLicense() []string
- func (s *ComposerPackageVersionObj) GetName() string
- func (s *ComposerPackageVersionObj) GetRequire() OptComposerPackageVersionObjRequire
- func (s *ComposerPackageVersionObj) GetRequireMinusDev() OptComposerPackageVersionObjRequireMinusDev
- func (s *ComposerPackageVersionObj) GetSource() OptComposerPackageVersionObjSource
- func (s *ComposerPackageVersionObj) GetTime() OptDateTime
- func (s *ComposerPackageVersionObj) GetType() OptString
- func (s *ComposerPackageVersionObj) GetVersion() string
- func (s *ComposerPackageVersionObj) GetVersionNormalized() OptString
- func (s *ComposerPackageVersionObj) MarshalJSON() ([]byte, error)
- func (s *ComposerPackageVersionObj) SetAdditionalProps(val ComposerPackageVersionObjAdditional)
- func (s *ComposerPackageVersionObj) SetAutoload(val OptComposerPackageVersionObjAutoload)
- func (s *ComposerPackageVersionObj) SetDist(val ComposerDistObj)
- func (s *ComposerPackageVersionObj) SetLicense(val []string)
- func (s *ComposerPackageVersionObj) SetName(val string)
- func (s *ComposerPackageVersionObj) SetRequire(val OptComposerPackageVersionObjRequire)
- func (s *ComposerPackageVersionObj) SetRequireMinusDev(val OptComposerPackageVersionObjRequireMinusDev)
- func (s *ComposerPackageVersionObj) SetSource(val OptComposerPackageVersionObjSource)
- func (s *ComposerPackageVersionObj) SetTime(val OptDateTime)
- func (s *ComposerPackageVersionObj) SetType(val OptString)
- func (s *ComposerPackageVersionObj) SetVersion(val string)
- func (s *ComposerPackageVersionObj) SetVersionNormalized(val OptString)
- func (s *ComposerPackageVersionObj) UnmarshalJSON(data []byte) error
- func (s *ComposerPackageVersionObj) Validate() error
- type ComposerPackageVersionObjAdditional
- type ComposerPackageVersionObjAutoload
- type ComposerPackageVersionObjRequire
- type ComposerPackageVersionObjRequireMinusDev
- func (s *ComposerPackageVersionObjRequireMinusDev) Decode(d *jx.Decoder) error
- func (s ComposerPackageVersionObjRequireMinusDev) Encode(e *jx.Encoder)
- func (s ComposerPackageVersionObjRequireMinusDev) MarshalJSON() ([]byte, error)
- func (s *ComposerPackageVersionObjRequireMinusDev) UnmarshalJSON(data []byte) error
- type ComposerPackageVersionObjSource
- type ComposerPackagesObj
- func (s *ComposerPackagesObj) Decode(d *jx.Decoder) error
- func (s *ComposerPackagesObj) Encode(e *jx.Encoder)
- func (s *ComposerPackagesObj) GetAdditionalProps() ComposerPackagesObjAdditional
- func (s *ComposerPackagesObj) GetAvailableMinusPackages() []string
- func (s *ComposerPackagesObj) GetList() OptString
- func (s *ComposerPackagesObj) GetMetadataMinusURL() string
- func (s *ComposerPackagesObj) GetPackages() OptComposerPackagesObjPackages
- func (s *ComposerPackagesObj) MarshalJSON() ([]byte, error)
- func (s *ComposerPackagesObj) SetAdditionalProps(val ComposerPackagesObjAdditional)
- func (s *ComposerPackagesObj) SetAvailableMinusPackages(val []string)
- func (s *ComposerPackagesObj) SetList(val OptString)
- func (s *ComposerPackagesObj) SetMetadataMinusURL(val string)
- func (s *ComposerPackagesObj) SetPackages(val OptComposerPackagesObjPackages)
- func (s *ComposerPackagesObj) UnmarshalJSON(data []byte) error
- func (s *ComposerPackagesObj) Validate() error
- type ComposerPackagesObjAdditional
- type ComposerPackagesObjHeaders
- func (s *ComposerPackagesObjHeaders) GetCacheControl() OptString
- func (s *ComposerPackagesObjHeaders) GetETag() OptString
- func (s *ComposerPackagesObjHeaders) GetResponse() ComposerPackagesObj
- func (s *ComposerPackagesObjHeaders) SetCacheControl(val OptString)
- func (s *ComposerPackagesObjHeaders) SetETag(val OptString)
- func (s *ComposerPackagesObjHeaders) SetResponse(val ComposerPackagesObj)
- func (s *ComposerPackagesObjHeaders) Validate() error
- type ComposerPackagesObjPackages
- func (s *ComposerPackagesObjPackages) Decode(d *jx.Decoder) error
- func (s ComposerPackagesObjPackages) Encode(e *jx.Encoder)
- func (s ComposerPackagesObjPackages) MarshalJSON() ([]byte, error)
- func (s *ComposerPackagesObjPackages) UnmarshalJSON(data []byte) error
- func (s ComposerPackagesObjPackages) Validate() error
- type ComposerPackagesObjPackagesItem
- func (s *ComposerPackagesObjPackagesItem) Decode(d *jx.Decoder) error
- func (s ComposerPackagesObjPackagesItem) Encode(e *jx.Encoder)
- func (s ComposerPackagesObjPackagesItem) MarshalJSON() ([]byte, error)
- func (s *ComposerPackagesObjPackagesItem) UnmarshalJSON(data []byte) error
- func (s ComposerPackagesObjPackagesItem) Validate() error
- type DefaultErrorObj
- func (s *DefaultErrorObj) Decode(d *jx.Decoder) error
- func (s *DefaultErrorObj) Encode(e *jx.Encoder)
- func (s *DefaultErrorObj) GetError() string
- func (s *DefaultErrorObj) GetMessage() string
- func (s *DefaultErrorObj) GetRequestID() OptString
- func (s *DefaultErrorObj) MarshalJSON() ([]byte, error)
- func (s *DefaultErrorObj) SetError(val string)
- func (s *DefaultErrorObj) SetMessage(val string)
- func (s *DefaultErrorObj) SetRequestID(val OptString)
- func (s *DefaultErrorObj) UnmarshalJSON(data []byte) error
- type ErrorHandler
- type ErrorType
- type FuncInterface
- type GetCatalogBadRequest
- type GetCatalogInternalServerError
- type GetCatalogMethodNotAllowed
- type GetCatalogOKTextPlain
- type GetCatalogOKTextPlainHeaders
- func (s *GetCatalogOKTextPlainHeaders) GetCacheControl() OptString
- func (s *GetCatalogOKTextPlainHeaders) GetETag() OptString
- func (s *GetCatalogOKTextPlainHeaders) GetResponse() GetCatalogOKTextPlain
- func (s *GetCatalogOKTextPlainHeaders) SetCacheControl(val OptString)
- func (s *GetCatalogOKTextPlainHeaders) SetETag(val OptString)
- func (s *GetCatalogOKTextPlainHeaders) SetResponse(val GetCatalogOKTextPlain)
- type GetCatalogParams
- type GetCatalogRequestHeaderFieldsTooLarge
- func (s *GetCatalogRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetCatalogRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetCatalogRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetCatalogRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetCatalogRequestURITooLong
- type GetCatalogRes
- type GetCatalogTooManyRequests
- type GetComposerP2PackageBadRequest
- type GetComposerP2PackageInternalServerError
- func (s *GetComposerP2PackageInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetComposerP2PackageInternalServerError) Encode(e *jx.Encoder)
- func (s *GetComposerP2PackageInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetComposerP2PackageInternalServerError) UnmarshalJSON(data []byte) error
- type GetComposerP2PackageMethodNotAllowed
- func (s *GetComposerP2PackageMethodNotAllowed) Decode(d *jx.Decoder) error
- func (s *GetComposerP2PackageMethodNotAllowed) Encode(e *jx.Encoder)
- func (s *GetComposerP2PackageMethodNotAllowed) MarshalJSON() ([]byte, error)
- func (s *GetComposerP2PackageMethodNotAllowed) UnmarshalJSON(data []byte) error
- type GetComposerP2PackageNotFound
- type GetComposerP2PackageParams
- type GetComposerP2PackageRequestHeaderFieldsTooLarge
- func (s *GetComposerP2PackageRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetComposerP2PackageRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetComposerP2PackageRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetComposerP2PackageRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetComposerP2PackageRequestURITooLong
- func (s *GetComposerP2PackageRequestURITooLong) Decode(d *jx.Decoder) error
- func (s *GetComposerP2PackageRequestURITooLong) Encode(e *jx.Encoder)
- func (s *GetComposerP2PackageRequestURITooLong) MarshalJSON() ([]byte, error)
- func (s *GetComposerP2PackageRequestURITooLong) UnmarshalJSON(data []byte) error
- type GetComposerP2PackageRes
- type GetComposerP2PackageTooManyRequests
- type GetComposerPackageListBadRequest
- type GetComposerPackageListInternalServerError
- func (s *GetComposerPackageListInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetComposerPackageListInternalServerError) Encode(e *jx.Encoder)
- func (s *GetComposerPackageListInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetComposerPackageListInternalServerError) UnmarshalJSON(data []byte) error
- type GetComposerPackageListMethodNotAllowed
- func (s *GetComposerPackageListMethodNotAllowed) Decode(d *jx.Decoder) error
- func (s *GetComposerPackageListMethodNotAllowed) Encode(e *jx.Encoder)
- func (s *GetComposerPackageListMethodNotAllowed) MarshalJSON() ([]byte, error)
- func (s *GetComposerPackageListMethodNotAllowed) UnmarshalJSON(data []byte) error
- type GetComposerPackageListParams
- type GetComposerPackageListRequestHeaderFieldsTooLarge
- func (s *GetComposerPackageListRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetComposerPackageListRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetComposerPackageListRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetComposerPackageListRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetComposerPackageListRequestURITooLong
- func (s *GetComposerPackageListRequestURITooLong) Decode(d *jx.Decoder) error
- func (s *GetComposerPackageListRequestURITooLong) Encode(e *jx.Encoder)
- func (s *GetComposerPackageListRequestURITooLong) MarshalJSON() ([]byte, error)
- func (s *GetComposerPackageListRequestURITooLong) UnmarshalJSON(data []byte) error
- type GetComposerPackageListRes
- type GetComposerPackageListTooManyRequests
- func (s *GetComposerPackageListTooManyRequests) Decode(d *jx.Decoder) error
- func (s *GetComposerPackageListTooManyRequests) Encode(e *jx.Encoder)
- func (s *GetComposerPackageListTooManyRequests) MarshalJSON() ([]byte, error)
- func (s *GetComposerPackageListTooManyRequests) UnmarshalJSON(data []byte) error
- type GetComposerPackagesBadRequest
- type GetComposerPackagesInternalServerError
- func (s *GetComposerPackagesInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetComposerPackagesInternalServerError) Encode(e *jx.Encoder)
- func (s *GetComposerPackagesInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetComposerPackagesInternalServerError) UnmarshalJSON(data []byte) error
- type GetComposerPackagesMethodNotAllowed
- type GetComposerPackagesParams
- type GetComposerPackagesRequestHeaderFieldsTooLarge
- func (s *GetComposerPackagesRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetComposerPackagesRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetComposerPackagesRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetComposerPackagesRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetComposerPackagesRequestURITooLong
- func (s *GetComposerPackagesRequestURITooLong) Decode(d *jx.Decoder) error
- func (s *GetComposerPackagesRequestURITooLong) Encode(e *jx.Encoder)
- func (s *GetComposerPackagesRequestURITooLong) MarshalJSON() ([]byte, error)
- func (s *GetComposerPackagesRequestURITooLong) UnmarshalJSON(data []byte) error
- type GetComposerPackagesRes
- type GetComposerPackagesTooManyRequests
- type GetFaviconBadRequest
- type GetFaviconInternalServerError
- type GetFaviconMethodNotAllowed
- type GetFaviconOK
- type GetFaviconOKHeaders
- func (s *GetFaviconOKHeaders) GetCacheControl() OptString
- func (s *GetFaviconOKHeaders) GetETag() OptString
- func (s *GetFaviconOKHeaders) GetResponse() GetFaviconOK
- func (s *GetFaviconOKHeaders) SetCacheControl(val OptString)
- func (s *GetFaviconOKHeaders) SetETag(val OptString)
- func (s *GetFaviconOKHeaders) SetResponse(val GetFaviconOK)
- type GetFaviconParams
- type GetFaviconRequestHeaderFieldsTooLarge
- func (s *GetFaviconRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetFaviconRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetFaviconRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetFaviconRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetFaviconRequestURITooLong
- type GetFaviconRes
- type GetFeedBadRequest
- type GetFeedInternalServerError
- type GetFeedMethodNotAllowed
- type GetFeedOK
- type GetFeedOKHeaders
- func (s *GetFeedOKHeaders) GetCacheControl() OptString
- func (s *GetFeedOKHeaders) GetETag() OptString
- func (s *GetFeedOKHeaders) GetResponse() GetFeedOK
- func (s *GetFeedOKHeaders) SetCacheControl(val OptString)
- func (s *GetFeedOKHeaders) SetETag(val OptString)
- func (s *GetFeedOKHeaders) SetResponse(val GetFeedOK)
- type GetFeedParams
- type GetFeedRequestHeaderFieldsTooLarge
- type GetFeedRequestURITooLong
- type GetFeedRes
- type GetFeedTooManyRequests
- type GetGoLatestBadRequest
- type GetGoLatestInternalServerError
- type GetGoLatestMethodNotAllowed
- type GetGoLatestNotFound
- type GetGoLatestParams
- type GetGoLatestRequestHeaderFieldsTooLarge
- func (s *GetGoLatestRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetGoLatestRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetGoLatestRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetGoLatestRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetGoLatestRequestURITooLong
- type GetGoLatestRes
- type GetGoLatestTooManyRequests
- type GetGoVersionListBadRequest
- type GetGoVersionListInternalServerError
- type GetGoVersionListMethodNotAllowed
- type GetGoVersionListNotFound
- type GetGoVersionListOK
- type GetGoVersionListOKHeaders
- func (s *GetGoVersionListOKHeaders) GetCacheControl() OptString
- func (s *GetGoVersionListOKHeaders) GetETag() OptString
- func (s *GetGoVersionListOKHeaders) GetResponse() GetGoVersionListOK
- func (s *GetGoVersionListOKHeaders) SetCacheControl(val OptString)
- func (s *GetGoVersionListOKHeaders) SetETag(val OptString)
- func (s *GetGoVersionListOKHeaders) SetResponse(val GetGoVersionListOK)
- type GetGoVersionListParams
- type GetGoVersionListRequestHeaderFieldsTooLarge
- func (s *GetGoVersionListRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetGoVersionListRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetGoVersionListRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetGoVersionListRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetGoVersionListRequestURITooLong
- type GetGoVersionListRes
- type GetGoVersionListTooManyRequests
- type GetHealthBadRequest
- type GetHealthInternalServerError
- type GetHealthMethodNotAllowed
- type GetHealthRequestHeaderFieldsTooLarge
- func (s *GetHealthRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetHealthRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetHealthRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetHealthRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetHealthRequestURITooLong
- type GetHealthRes
- type GetInfoBadRequest
- type GetInfoInternalServerError
- type GetInfoMethodNotAllowed
- type GetInfoRequestHeaderFieldsTooLarge
- type GetInfoRequestURITooLong
- type GetInfoRes
- type GetKeyFeedBadRequest
- type GetKeyFeedInternalServerError
- type GetKeyFeedMethodNotAllowed
- type GetKeyFeedNotFound
- type GetKeyFeedOK
- type GetKeyFeedOKHeaders
- func (s *GetKeyFeedOKHeaders) GetCacheControl() OptString
- func (s *GetKeyFeedOKHeaders) GetETag() OptString
- func (s *GetKeyFeedOKHeaders) GetResponse() GetKeyFeedOK
- func (s *GetKeyFeedOKHeaders) SetCacheControl(val OptString)
- func (s *GetKeyFeedOKHeaders) SetETag(val OptString)
- func (s *GetKeyFeedOKHeaders) SetResponse(val GetKeyFeedOK)
- type GetKeyFeedParams
- type GetKeyFeedRequestHeaderFieldsTooLarge
- func (s *GetKeyFeedRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetKeyFeedRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetKeyFeedRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetKeyFeedRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetKeyFeedRequestURITooLong
- type GetKeyFeedRes
- type GetKeyFeedTooManyRequests
- type GetKeyReleasesBadRequest
- type GetKeyReleasesInternalServerError
- type GetKeyReleasesMethodNotAllowed
- type GetKeyReleasesNotFound
- type GetKeyReleasesOKTextPlain
- type GetKeyReleasesOKTextPlainHeaders
- func (s *GetKeyReleasesOKTextPlainHeaders) GetCacheControl() OptString
- func (s *GetKeyReleasesOKTextPlainHeaders) GetETag() OptString
- func (s *GetKeyReleasesOKTextPlainHeaders) GetResponse() GetKeyReleasesOKTextPlain
- func (s *GetKeyReleasesOKTextPlainHeaders) SetCacheControl(val OptString)
- func (s *GetKeyReleasesOKTextPlainHeaders) SetETag(val OptString)
- func (s *GetKeyReleasesOKTextPlainHeaders) SetResponse(val GetKeyReleasesOKTextPlain)
- type GetKeyReleasesParams
- type GetKeyReleasesRequestHeaderFieldsTooLarge
- func (s *GetKeyReleasesRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetKeyReleasesRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetKeyReleasesRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetKeyReleasesRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetKeyReleasesRequestURITooLong
- type GetKeyReleasesRes
- type GetKeyReleasesTooManyRequests
- type GetLogoBadRequest
- type GetLogoInternalServerError
- type GetLogoMethodNotAllowed
- type GetLogoNotFound
- type GetLogoOK
- type GetLogoOKHeaders
- func (s *GetLogoOKHeaders) GetCacheControl() OptString
- func (s *GetLogoOKHeaders) GetETag() OptString
- func (s *GetLogoOKHeaders) GetResponse() GetLogoOK
- func (s *GetLogoOKHeaders) SetCacheControl(val OptString)
- func (s *GetLogoOKHeaders) SetETag(val OptString)
- func (s *GetLogoOKHeaders) SetResponse(val GetLogoOK)
- type GetLogoParams
- type GetLogoRequestHeaderFieldsTooLarge
- type GetLogoRequestURITooLong
- type GetLogoRes
- type GetMetricsCacheBadRequest
- type GetMetricsCacheInternalServerError
- type GetMetricsCacheMethodNotAllowed
- type GetMetricsCacheNotFound
- type GetMetricsCacheRequestHeaderFieldsTooLarge
- func (s *GetMetricsCacheRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetMetricsCacheRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetMetricsCacheRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetMetricsCacheRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetMetricsCacheRequestURITooLong
- type GetMetricsCacheRes
- type GetMetricsCoreBadRequest
- type GetMetricsCoreInternalServerError
- type GetMetricsCoreMethodNotAllowed
- type GetMetricsCoreNotFound
- type GetMetricsCoreRequestHeaderFieldsTooLarge
- func (s *GetMetricsCoreRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetMetricsCoreRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetMetricsCoreRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetMetricsCoreRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetMetricsCoreRequestURITooLong
- type GetMetricsCoreRes
- type GetMetricsErrorsBadRequest
- type GetMetricsErrorsInternalServerError
- type GetMetricsErrorsMethodNotAllowed
- type GetMetricsErrorsNotFound
- type GetMetricsErrorsRequestHeaderFieldsTooLarge
- func (s *GetMetricsErrorsRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetMetricsErrorsRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetMetricsErrorsRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetMetricsErrorsRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetMetricsErrorsRequestURITooLong
- type GetMetricsErrorsRes
- type GetMetricsIndexBadRequest
- type GetMetricsIndexInternalServerError
- type GetMetricsIndexMethodNotAllowed
- type GetMetricsIndexOK
- type GetMetricsIndexOKHeaders
- type GetMetricsIndexRequestHeaderFieldsTooLarge
- func (s *GetMetricsIndexRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetMetricsIndexRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetMetricsIndexRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetMetricsIndexRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetMetricsIndexRequestURITooLong
- type GetMetricsIndexRes
- type GetMetricsInternalBadRequest
- type GetMetricsInternalInternalServerError
- func (s *GetMetricsInternalInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetMetricsInternalInternalServerError) Encode(e *jx.Encoder)
- func (s *GetMetricsInternalInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetMetricsInternalInternalServerError) UnmarshalJSON(data []byte) error
- type GetMetricsInternalMethodNotAllowed
- type GetMetricsInternalNotFound
- type GetMetricsInternalOK
- type GetMetricsInternalOKHeaders
- type GetMetricsInternalRequestHeaderFieldsTooLarge
- func (s *GetMetricsInternalRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetMetricsInternalRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetMetricsInternalRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetMetricsInternalRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetMetricsInternalRequestURITooLong
- type GetMetricsInternalRes
- type GetMetricsRescanBadRequest
- type GetMetricsRescanInternalServerError
- type GetMetricsRescanMethodNotAllowed
- type GetMetricsRescanNotFound
- type GetMetricsRescanRequestHeaderFieldsTooLarge
- func (s *GetMetricsRescanRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetMetricsRescanRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetMetricsRescanRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetMetricsRescanRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetMetricsRescanRequestURITooLong
- type GetMetricsRescanRes
- type GetMetricsYggBadRequest
- type GetMetricsYggInternalServerError
- type GetMetricsYggMethodNotAllowed
- type GetMetricsYggNotFound
- type GetMetricsYggRequestHeaderFieldsTooLarge
- func (s *GetMetricsYggRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetMetricsYggRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetMetricsYggRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetMetricsYggRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetMetricsYggRequestURITooLong
- type GetMetricsYggRes
- type GetMirrorLatestBadRequest
- type GetMirrorLatestInternalServerError
- type GetMirrorLatestMethodNotAllowed
- type GetMirrorLatestNotFound
- type GetMirrorLatestOK
- type GetMirrorLatestOKHeaders
- func (s *GetMirrorLatestOKHeaders) GetCacheControl() OptString
- func (s *GetMirrorLatestOKHeaders) GetETag() OptString
- func (s *GetMirrorLatestOKHeaders) GetResponse() GetMirrorLatestOK
- func (s *GetMirrorLatestOKHeaders) SetCacheControl(val OptString)
- func (s *GetMirrorLatestOKHeaders) SetETag(val OptString)
- func (s *GetMirrorLatestOKHeaders) SetResponse(val GetMirrorLatestOK)
- type GetMirrorLatestParams
- type GetMirrorLatestRequestHeaderFieldsTooLarge
- func (s *GetMirrorLatestRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetMirrorLatestRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetMirrorLatestRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetMirrorLatestRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetMirrorLatestRequestURITooLong
- type GetMirrorLatestRes
- type GetMirrorLatestTooManyRequests
- type GetMirrorListBadRequest
- type GetMirrorListFullBadRequest
- type GetMirrorListFullInternalServerError
- func (s *GetMirrorListFullInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetMirrorListFullInternalServerError) Encode(e *jx.Encoder)
- func (s *GetMirrorListFullInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetMirrorListFullInternalServerError) UnmarshalJSON(data []byte) error
- type GetMirrorListFullMethodNotAllowed
- type GetMirrorListFullNotFound
- type GetMirrorListFullOK
- type GetMirrorListFullOKHeaders
- func (s *GetMirrorListFullOKHeaders) GetCacheControl() OptString
- func (s *GetMirrorListFullOKHeaders) GetETag() OptString
- func (s *GetMirrorListFullOKHeaders) GetResponse() GetMirrorListFullOK
- func (s *GetMirrorListFullOKHeaders) SetCacheControl(val OptString)
- func (s *GetMirrorListFullOKHeaders) SetETag(val OptString)
- func (s *GetMirrorListFullOKHeaders) SetResponse(val GetMirrorListFullOK)
- type GetMirrorListFullParams
- type GetMirrorListFullRequestHeaderFieldsTooLarge
- func (s *GetMirrorListFullRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetMirrorListFullRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetMirrorListFullRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetMirrorListFullRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetMirrorListFullRequestURITooLong
- type GetMirrorListFullRes
- type GetMirrorListFullTooManyRequests
- type GetMirrorListInternalServerError
- type GetMirrorListMethodNotAllowed
- type GetMirrorListNotFound
- type GetMirrorListOK
- type GetMirrorListOKHeaders
- func (s *GetMirrorListOKHeaders) GetCacheControl() OptString
- func (s *GetMirrorListOKHeaders) GetETag() OptString
- func (s *GetMirrorListOKHeaders) GetResponse() GetMirrorListOK
- func (s *GetMirrorListOKHeaders) SetCacheControl(val OptString)
- func (s *GetMirrorListOKHeaders) SetETag(val OptString)
- func (s *GetMirrorListOKHeaders) SetResponse(val GetMirrorListOK)
- type GetMirrorListParams
- type GetMirrorListRequestHeaderFieldsTooLarge
- func (s *GetMirrorListRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetMirrorListRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetMirrorListRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetMirrorListRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetMirrorListRequestURITooLong
- type GetMirrorListRes
- type GetMirrorListTooManyRequests
- type GetOgKeyBadRequest
- type GetOgKeyInternalServerError
- type GetOgKeyMethodNotAllowed
- type GetOgKeyNotFound
- type GetOgKeyOK
- type GetOgKeyOKHeaders
- func (s *GetOgKeyOKHeaders) GetCacheControl() OptString
- func (s *GetOgKeyOKHeaders) GetETag() OptString
- func (s *GetOgKeyOKHeaders) GetResponse() GetOgKeyOK
- func (s *GetOgKeyOKHeaders) SetCacheControl(val OptString)
- func (s *GetOgKeyOKHeaders) SetETag(val OptString)
- func (s *GetOgKeyOKHeaders) SetResponse(val GetOgKeyOK)
- type GetOgKeyParams
- type GetOgKeyRequestHeaderFieldsTooLarge
- type GetOgKeyRequestURITooLong
- type GetOgKeyRes
- type GetOgNodeBadRequest
- type GetOgNodeInternalServerError
- type GetOgNodeMethodNotAllowed
- type GetOgNodeOK
- type GetOgNodeOKHeaders
- func (s *GetOgNodeOKHeaders) GetCacheControl() OptString
- func (s *GetOgNodeOKHeaders) GetETag() OptString
- func (s *GetOgNodeOKHeaders) GetResponse() GetOgNodeOK
- func (s *GetOgNodeOKHeaders) SetCacheControl(val OptString)
- func (s *GetOgNodeOKHeaders) SetETag(val OptString)
- func (s *GetOgNodeOKHeaders) SetResponse(val GetOgNodeOK)
- type GetOgNodeParams
- type GetOgNodeRequestHeaderFieldsTooLarge
- func (s *GetOgNodeRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetOgNodeRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetOgNodeRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetOgNodeRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetOgNodeRequestURITooLong
- type GetOgNodeRes
- type GetOgVersionBadRequest
- type GetOgVersionInternalServerError
- type GetOgVersionMethodNotAllowed
- type GetOgVersionNotFound
- type GetOgVersionOK
- type GetOgVersionOKHeaders
- func (s *GetOgVersionOKHeaders) GetCacheControl() OptString
- func (s *GetOgVersionOKHeaders) GetETag() OptString
- func (s *GetOgVersionOKHeaders) GetResponse() GetOgVersionOK
- func (s *GetOgVersionOKHeaders) SetCacheControl(val OptString)
- func (s *GetOgVersionOKHeaders) SetETag(val OptString)
- func (s *GetOgVersionOKHeaders) SetResponse(val GetOgVersionOK)
- type GetOgVersionParams
- type GetOgVersionRequestHeaderFieldsTooLarge
- func (s *GetOgVersionRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetOgVersionRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetOgVersionRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetOgVersionRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetOgVersionRequestURITooLong
- type GetOgVersionRes
- type GetSitemapBadRequest
- type GetSitemapInternalServerError
- type GetSitemapMethodNotAllowed
- type GetSitemapOK
- type GetSitemapOKHeaders
- func (s *GetSitemapOKHeaders) GetCacheControl() OptString
- func (s *GetSitemapOKHeaders) GetETag() OptString
- func (s *GetSitemapOKHeaders) GetResponse() GetSitemapOK
- func (s *GetSitemapOKHeaders) SetCacheControl(val OptString)
- func (s *GetSitemapOKHeaders) SetETag(val OptString)
- func (s *GetSitemapOKHeaders) SetResponse(val GetSitemapOK)
- type GetSitemapParams
- type GetSitemapRequestHeaderFieldsTooLarge
- func (s *GetSitemapRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetSitemapRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetSitemapRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetSitemapRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetSitemapRequestURITooLong
- type GetSitemapRes
- type GetVersionArtifactBadRequest
- type GetVersionArtifactInternalServerError
- func (s *GetVersionArtifactInternalServerError) Decode(d *jx.Decoder) error
- func (s *GetVersionArtifactInternalServerError) Encode(e *jx.Encoder)
- func (s *GetVersionArtifactInternalServerError) MarshalJSON() ([]byte, error)
- func (s *GetVersionArtifactInternalServerError) UnmarshalJSON(data []byte) error
- type GetVersionArtifactMethodNotAllowed
- type GetVersionArtifactNotFound
- type GetVersionArtifactOK
- type GetVersionArtifactOKHeaders
- func (s *GetVersionArtifactOKHeaders) GetAcceptRanges() OptString
- func (s *GetVersionArtifactOKHeaders) GetCacheControl() OptString
- func (s *GetVersionArtifactOKHeaders) GetContentDisposition() OptString
- func (s *GetVersionArtifactOKHeaders) GetContentLength() OptInt64
- func (s *GetVersionArtifactOKHeaders) GetETag() OptString
- func (s *GetVersionArtifactOKHeaders) GetLastModified() OptString
- func (s *GetVersionArtifactOKHeaders) GetResponse() GetVersionArtifactOK
- func (s *GetVersionArtifactOKHeaders) SetAcceptRanges(val OptString)
- func (s *GetVersionArtifactOKHeaders) SetCacheControl(val OptString)
- func (s *GetVersionArtifactOKHeaders) SetContentDisposition(val OptString)
- func (s *GetVersionArtifactOKHeaders) SetContentLength(val OptInt64)
- func (s *GetVersionArtifactOKHeaders) SetETag(val OptString)
- func (s *GetVersionArtifactOKHeaders) SetLastModified(val OptString)
- func (s *GetVersionArtifactOKHeaders) SetResponse(val GetVersionArtifactOK)
- type GetVersionArtifactParams
- type GetVersionArtifactRequestHeaderFieldsTooLarge
- func (s *GetVersionArtifactRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetVersionArtifactRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetVersionArtifactRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetVersionArtifactRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetVersionArtifactRequestURITooLong
- type GetVersionArtifactRequestedRangeNotSatisfiable
- func (s *GetVersionArtifactRequestedRangeNotSatisfiable) Decode(d *jx.Decoder) error
- func (s *GetVersionArtifactRequestedRangeNotSatisfiable) Encode(e *jx.Encoder)
- func (s *GetVersionArtifactRequestedRangeNotSatisfiable) MarshalJSON() ([]byte, error)
- func (s *GetVersionArtifactRequestedRangeNotSatisfiable) UnmarshalJSON(data []byte) error
- type GetVersionArtifactRes
- type GetVersionArtifactServiceUnavailable
- func (s *GetVersionArtifactServiceUnavailable) Decode(d *jx.Decoder) error
- func (s *GetVersionArtifactServiceUnavailable) Encode(e *jx.Encoder)
- func (s *GetVersionArtifactServiceUnavailable) MarshalJSON() ([]byte, error)
- func (s *GetVersionArtifactServiceUnavailable) UnmarshalJSON(data []byte) error
- type GetVersionArtifactTooManyRequests
- type GetVersionFileBadRequest
- type GetVersionFileInternalServerError
- type GetVersionFileMethodNotAllowed
- type GetVersionFileNotFound
- type GetVersionFileOKApplicationOctetStream
- type GetVersionFileOKApplicationOctetStreamHeaders
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetAcceptRanges() OptString
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetCacheControl() OptString
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetContentDisposition() OptString
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetContentLength() OptInt64
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetETag() OptString
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetLastModified() OptString
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetResponse() GetVersionFileOKApplicationOctetStream
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetAcceptRanges(val OptString)
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetCacheControl(val OptString)
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetContentDisposition(val OptString)
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetContentLength(val OptInt64)
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetETag(val OptString)
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetLastModified(val OptString)
- func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetResponse(val GetVersionFileOKApplicationOctetStream)
- type GetVersionFileOKTextHTML
- type GetVersionFileOKTextHTMLHeaders
- func (s *GetVersionFileOKTextHTMLHeaders) GetAcceptRanges() OptString
- func (s *GetVersionFileOKTextHTMLHeaders) GetCacheControl() OptString
- func (s *GetVersionFileOKTextHTMLHeaders) GetContentDisposition() OptString
- func (s *GetVersionFileOKTextHTMLHeaders) GetContentLength() OptInt64
- func (s *GetVersionFileOKTextHTMLHeaders) GetETag() OptString
- func (s *GetVersionFileOKTextHTMLHeaders) GetLastModified() OptString
- func (s *GetVersionFileOKTextHTMLHeaders) GetResponse() GetVersionFileOKTextHTML
- func (s *GetVersionFileOKTextHTMLHeaders) SetAcceptRanges(val OptString)
- func (s *GetVersionFileOKTextHTMLHeaders) SetCacheControl(val OptString)
- func (s *GetVersionFileOKTextHTMLHeaders) SetContentDisposition(val OptString)
- func (s *GetVersionFileOKTextHTMLHeaders) SetContentLength(val OptInt64)
- func (s *GetVersionFileOKTextHTMLHeaders) SetETag(val OptString)
- func (s *GetVersionFileOKTextHTMLHeaders) SetLastModified(val OptString)
- func (s *GetVersionFileOKTextHTMLHeaders) SetResponse(val GetVersionFileOKTextHTML)
- type GetVersionFileParams
- type GetVersionFileRequestHeaderFieldsTooLarge
- func (s *GetVersionFileRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
- func (s *GetVersionFileRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
- func (s *GetVersionFileRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
- func (s *GetVersionFileRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
- type GetVersionFileRequestURITooLong
- type GetVersionFileRequestedRangeNotSatisfiable
- func (s *GetVersionFileRequestedRangeNotSatisfiable) Decode(d *jx.Decoder) error
- func (s *GetVersionFileRequestedRangeNotSatisfiable) Encode(e *jx.Encoder)
- func (s *GetVersionFileRequestedRangeNotSatisfiable) MarshalJSON() ([]byte, error)
- func (s *GetVersionFileRequestedRangeNotSatisfiable) UnmarshalJSON(data []byte) error
- type GetVersionFileRes
- type GetVersionFileServiceUnavailable
- type GetVersionFileTooManyRequests
- type GoInfoObj
- func (s *GoInfoObj) Decode(d *jx.Decoder) error
- func (s *GoInfoObj) Encode(e *jx.Encoder)
- func (s *GoInfoObj) GetTime() time.Time
- func (s *GoInfoObj) GetVersion() string
- func (s *GoInfoObj) MarshalJSON() ([]byte, error)
- func (s *GoInfoObj) SetTime(val time.Time)
- func (s *GoInfoObj) SetVersion(val string)
- func (s *GoInfoObj) UnmarshalJSON(data []byte) error
- type GoInfoObjHeaders
- func (s *GoInfoObjHeaders) GetCacheControl() OptString
- func (s *GoInfoObjHeaders) GetETag() OptString
- func (s *GoInfoObjHeaders) GetResponse() GoInfoObj
- func (s *GoInfoObjHeaders) SetCacheControl(val OptString)
- func (s *GoInfoObjHeaders) SetETag(val OptString)
- func (s *GoInfoObjHeaders) SetResponse(val GoInfoObj)
- type Handler
- type HandlerObj
- func (obj *HandlerObj) GetCatalog(ctx context.Context, params GetCatalogParams) (GetCatalogRes, error)
- func (obj *HandlerObj) GetComposerP2Package(ctx context.Context, params GetComposerP2PackageParams) (GetComposerP2PackageRes, error)
- func (obj *HandlerObj) GetComposerPackageList(ctx context.Context, params GetComposerPackageListParams) (GetComposerPackageListRes, error)
- func (obj *HandlerObj) GetComposerPackages(ctx context.Context, params GetComposerPackagesParams) (GetComposerPackagesRes, error)
- func (obj *HandlerObj) GetFavicon(ctx context.Context, params GetFaviconParams) (GetFaviconRes, error)
- func (obj *HandlerObj) GetFeed(ctx context.Context, params GetFeedParams) (GetFeedRes, error)
- func (obj *HandlerObj) GetGoLatest(ctx context.Context, params GetGoLatestParams) (GetGoLatestRes, error)
- func (obj *HandlerObj) GetGoVersionList(ctx context.Context, params GetGoVersionListParams) (GetGoVersionListRes, error)
- func (obj *HandlerObj) GetHealth(ctx context.Context) (GetHealthRes, error)
- func (obj *HandlerObj) GetInfo(ctx context.Context) (GetInfoRes, error)
- func (obj *HandlerObj) GetKeyFeed(ctx context.Context, params GetKeyFeedParams) (GetKeyFeedRes, error)
- func (obj *HandlerObj) GetKeyReleases(ctx context.Context, params GetKeyReleasesParams) (GetKeyReleasesRes, error)
- func (obj *HandlerObj) GetLogo(ctx context.Context, params GetLogoParams) (GetLogoRes, error)
- func (obj *HandlerObj) GetMetricsCache(ctx context.Context) (GetMetricsCacheRes, error)
- func (obj *HandlerObj) GetMetricsCore(ctx context.Context) (GetMetricsCoreRes, error)
- func (obj *HandlerObj) GetMetricsErrors(ctx context.Context) (GetMetricsErrorsRes, error)
- func (obj *HandlerObj) GetMetricsIndex(ctx context.Context) (GetMetricsIndexRes, error)
- func (obj *HandlerObj) GetMetricsInternal(ctx context.Context) (GetMetricsInternalRes, error)
- func (obj *HandlerObj) GetMetricsRescan(ctx context.Context) (GetMetricsRescanRes, error)
- func (obj *HandlerObj) GetMetricsYgg(ctx context.Context) (GetMetricsYggRes, error)
- func (obj *HandlerObj) GetMirrorLatest(ctx context.Context, params GetMirrorLatestParams) (GetMirrorLatestRes, error)
- func (obj *HandlerObj) GetMirrorList(ctx context.Context, params GetMirrorListParams) (GetMirrorListRes, error)
- func (obj *HandlerObj) GetMirrorListFull(ctx context.Context, params GetMirrorListFullParams) (GetMirrorListFullRes, error)
- func (obj *HandlerObj) GetOgKey(ctx context.Context, params GetOgKeyParams) (GetOgKeyRes, error)
- func (obj *HandlerObj) GetOgNode(ctx context.Context, params GetOgNodeParams) (GetOgNodeRes, error)
- func (obj *HandlerObj) GetOgVersion(ctx context.Context, params GetOgVersionParams) (GetOgVersionRes, error)
- func (obj *HandlerObj) GetSitemap(ctx context.Context, params GetSitemapParams) (GetSitemapRes, error)
- func (obj *HandlerObj) GetVersionArtifact(ctx context.Context, params GetVersionArtifactParams) (GetVersionArtifactRes, error)
- func (obj *HandlerObj) GetVersionFile(ctx context.Context, params GetVersionFileParams) (GetVersionFileRes, error)
- type HealthObj
- func (s *HealthObj) Decode(d *jx.Decoder) error
- func (s *HealthObj) Encode(e *jx.Encoder)
- func (s *HealthObj) GetErrorsCount() OptInt32
- func (s *HealthObj) GetLastRescan() OptDateTime
- func (s *HealthObj) GetReasons() []string
- func (s *HealthObj) GetService() HealthObjService
- func (s *HealthObj) GetSource() HealthObjSource
- func (s *HealthObj) GetStatus() HealthObjStatus
- func (s *HealthObj) GetTs() time.Time
- func (s *HealthObj) MarshalJSON() ([]byte, error)
- func (s *HealthObj) SetErrorsCount(val OptInt32)
- func (s *HealthObj) SetLastRescan(val OptDateTime)
- func (s *HealthObj) SetReasons(val []string)
- func (s *HealthObj) SetService(val HealthObjService)
- func (s *HealthObj) SetSource(val HealthObjSource)
- func (s *HealthObj) SetStatus(val HealthObjStatus)
- func (s *HealthObj) SetTs(val time.Time)
- func (s *HealthObj) UnmarshalJSON(data []byte) error
- func (s *HealthObj) Validate() error
- type HealthObjHeaders
- type HealthObjService
- func (HealthObjService) AllValues() []HealthObjService
- func (s *HealthObjService) Decode(d *jx.Decoder) error
- func (s HealthObjService) Encode(e *jx.Encoder)
- func (s HealthObjService) MarshalJSON() ([]byte, error)
- func (s HealthObjService) MarshalText() ([]byte, error)
- func (s *HealthObjService) UnmarshalJSON(data []byte) error
- func (s *HealthObjService) UnmarshalText(data []byte) error
- func (s HealthObjService) Validate() error
- type HealthObjSource
- func (HealthObjSource) AllValues() []HealthObjSource
- func (s *HealthObjSource) Decode(d *jx.Decoder) error
- func (s HealthObjSource) Encode(e *jx.Encoder)
- func (s HealthObjSource) MarshalJSON() ([]byte, error)
- func (s HealthObjSource) MarshalText() ([]byte, error)
- func (s *HealthObjSource) UnmarshalJSON(data []byte) error
- func (s *HealthObjSource) UnmarshalText(data []byte) error
- func (s HealthObjSource) Validate() error
- type HealthObjStatus
- func (HealthObjStatus) AllValues() []HealthObjStatus
- func (s *HealthObjStatus) Decode(d *jx.Decoder) error
- func (s HealthObjStatus) Encode(e *jx.Encoder)
- func (s HealthObjStatus) MarshalJSON() ([]byte, error)
- func (s HealthObjStatus) MarshalText() ([]byte, error)
- func (s *HealthObjStatus) UnmarshalJSON(data []byte) error
- func (s *HealthObjStatus) UnmarshalText(data []byte) error
- func (s HealthObjStatus) Validate() error
- type InfoObj
- func (s *InfoObj) Decode(d *jx.Decoder) error
- func (s *InfoObj) Encode(e *jx.Encoder)
- func (s *InfoObj) GetContacts() OptInfoObjContacts
- func (s *InfoObj) GetDescription() OptString
- func (s *InfoObj) GetDomain() string
- func (s *InfoObj) GetLocation() OptString
- func (s *InfoObj) GetName() string
- func (s *InfoObj) GetRoutePrefix() OptString
- func (s *InfoObj) GetVersion() OptString
- func (s *InfoObj) GetYggHost() string
- func (s *InfoObj) MarshalJSON() ([]byte, error)
- func (s *InfoObj) SetContacts(val OptInfoObjContacts)
- func (s *InfoObj) SetDescription(val OptString)
- func (s *InfoObj) SetDomain(val string)
- func (s *InfoObj) SetLocation(val OptString)
- func (s *InfoObj) SetName(val string)
- func (s *InfoObj) SetRoutePrefix(val OptString)
- func (s *InfoObj) SetVersion(val OptString)
- func (s *InfoObj) SetYggHost(val string)
- func (s *InfoObj) UnmarshalJSON(data []byte) error
- func (s *InfoObj) Validate() error
- type InfoObjContacts
- type InfoObjHeaders
- type Invoker
- type Labeler
- type MetricsCacheObj
- func (s *MetricsCacheObj) Decode(d *jx.Decoder) error
- func (s *MetricsCacheObj) Encode(e *jx.Encoder)
- func (s *MetricsCacheObj) GetCache() MetricsCacheObjCache
- func (s *MetricsCacheObj) GetStorage() MetricsCacheObjStorage
- func (s *MetricsCacheObj) MarshalJSON() ([]byte, error)
- func (s *MetricsCacheObj) SetCache(val MetricsCacheObjCache)
- func (s *MetricsCacheObj) SetStorage(val MetricsCacheObjStorage)
- func (s *MetricsCacheObj) UnmarshalJSON(data []byte) error
- type MetricsCacheObjCache
- func (s *MetricsCacheObjCache) Decode(d *jx.Decoder) error
- func (s *MetricsCacheObjCache) Encode(e *jx.Encoder)
- func (s *MetricsCacheObjCache) GetBytes() int64
- func (s *MetricsCacheObjCache) GetEntries() int64
- func (s *MetricsCacheObjCache) GetEvictions() int64
- func (s *MetricsCacheObjCache) GetHits() int64
- func (s *MetricsCacheObjCache) GetMaterializations() int64
- func (s *MetricsCacheObjCache) GetMaterializationsAborted() int64
- func (s *MetricsCacheObjCache) GetMisses() int64
- func (s *MetricsCacheObjCache) GetSingleflightShared() int64
- func (s *MetricsCacheObjCache) MarshalJSON() ([]byte, error)
- func (s *MetricsCacheObjCache) SetBytes(val int64)
- func (s *MetricsCacheObjCache) SetEntries(val int64)
- func (s *MetricsCacheObjCache) SetEvictions(val int64)
- func (s *MetricsCacheObjCache) SetHits(val int64)
- func (s *MetricsCacheObjCache) SetMaterializations(val int64)
- func (s *MetricsCacheObjCache) SetMaterializationsAborted(val int64)
- func (s *MetricsCacheObjCache) SetMisses(val int64)
- func (s *MetricsCacheObjCache) SetSingleflightShared(val int64)
- func (s *MetricsCacheObjCache) UnmarshalJSON(data []byte) error
- type MetricsCacheObjHeaders
- type MetricsCacheObjStorage
- func (s *MetricsCacheObjStorage) Decode(d *jx.Decoder) error
- func (s *MetricsCacheObjStorage) Encode(e *jx.Encoder)
- func (s *MetricsCacheObjStorage) GetBackgroundErrors() int64
- func (s *MetricsCacheObjStorage) GetBlockCacheHits() int64
- func (s *MetricsCacheObjStorage) GetBlockCacheMisses() int64
- func (s *MetricsCacheObjStorage) GetCompactionDebtBytes() int64
- func (s *MetricsCacheObjStorage) GetCompactionDurationNanos() int64
- func (s *MetricsCacheObjStorage) GetCompactionInprogressBytes() int64
- func (s *MetricsCacheObjStorage) GetCompactions() int64
- func (s *MetricsCacheObjStorage) GetDataCorruptions() int64
- func (s *MetricsCacheObjStorage) GetDiskSlow() int64
- func (s *MetricsCacheObjStorage) GetFlushDurationNanos() int64
- func (s *MetricsCacheObjStorage) GetFlushes() int64
- func (s *MetricsCacheObjStorage) GetHotEnforceWalkDurationNanos() int64
- func (s *MetricsCacheObjStorage) GetHotEnforceWalks() int64
- func (s *MetricsCacheObjStorage) GetLiveBytes() int64
- func (s *MetricsCacheObjStorage) GetMemtableBytes() int64
- func (s *MetricsCacheObjStorage) GetObsoleteBytes() int64
- func (s *MetricsCacheObjStorage) GetPossibleAPIMisuse() int64
- func (s *MetricsCacheObjStorage) GetWalBytes() int64
- func (s *MetricsCacheObjStorage) GetWriteStalls() int64
- func (s *MetricsCacheObjStorage) GetZombieBytes() int64
- func (s *MetricsCacheObjStorage) MarshalJSON() ([]byte, error)
- func (s *MetricsCacheObjStorage) SetBackgroundErrors(val int64)
- func (s *MetricsCacheObjStorage) SetBlockCacheHits(val int64)
- func (s *MetricsCacheObjStorage) SetBlockCacheMisses(val int64)
- func (s *MetricsCacheObjStorage) SetCompactionDebtBytes(val int64)
- func (s *MetricsCacheObjStorage) SetCompactionDurationNanos(val int64)
- func (s *MetricsCacheObjStorage) SetCompactionInprogressBytes(val int64)
- func (s *MetricsCacheObjStorage) SetCompactions(val int64)
- func (s *MetricsCacheObjStorage) SetDataCorruptions(val int64)
- func (s *MetricsCacheObjStorage) SetDiskSlow(val int64)
- func (s *MetricsCacheObjStorage) SetFlushDurationNanos(val int64)
- func (s *MetricsCacheObjStorage) SetFlushes(val int64)
- func (s *MetricsCacheObjStorage) SetHotEnforceWalkDurationNanos(val int64)
- func (s *MetricsCacheObjStorage) SetHotEnforceWalks(val int64)
- func (s *MetricsCacheObjStorage) SetLiveBytes(val int64)
- func (s *MetricsCacheObjStorage) SetMemtableBytes(val int64)
- func (s *MetricsCacheObjStorage) SetObsoleteBytes(val int64)
- func (s *MetricsCacheObjStorage) SetPossibleAPIMisuse(val int64)
- func (s *MetricsCacheObjStorage) SetWalBytes(val int64)
- func (s *MetricsCacheObjStorage) SetWriteStalls(val int64)
- func (s *MetricsCacheObjStorage) SetZombieBytes(val int64)
- func (s *MetricsCacheObjStorage) UnmarshalJSON(data []byte) error
- type MetricsCoreObj
- func (s *MetricsCoreObj) Decode(d *jx.Decoder) error
- func (s *MetricsCoreObj) Encode(e *jx.Encoder)
- func (s *MetricsCoreObj) GetErrorsTotal() int64
- func (s *MetricsCoreObj) GetRequestDurationSecondsCount() int64
- func (s *MetricsCoreObj) GetRequestDurationSecondsSum() float64
- func (s *MetricsCoreObj) GetRequestsTotal() int64
- func (s *MetricsCoreObj) MarshalJSON() ([]byte, error)
- func (s *MetricsCoreObj) SetErrorsTotal(val int64)
- func (s *MetricsCoreObj) SetRequestDurationSecondsCount(val int64)
- func (s *MetricsCoreObj) SetRequestDurationSecondsSum(val float64)
- func (s *MetricsCoreObj) SetRequestsTotal(val int64)
- func (s *MetricsCoreObj) UnmarshalJSON(data []byte) error
- func (s *MetricsCoreObj) Validate() error
- type MetricsCoreObjHeaders
- type MetricsDiagnosticObj
- func (s *MetricsDiagnosticObj) Decode(d *jx.Decoder) error
- func (s *MetricsDiagnosticObj) Encode(e *jx.Encoder)
- func (s *MetricsDiagnosticObj) GetCode() string
- func (s *MetricsDiagnosticObj) GetCount() int64
- func (s *MetricsDiagnosticObj) GetFirstSeen() OptDateTime
- func (s *MetricsDiagnosticObj) GetImpact() MetricsDiagnosticObjImpact
- func (s *MetricsDiagnosticObj) GetKey() OptString
- func (s *MetricsDiagnosticObj) GetLastSeen() time.Time
- func (s *MetricsDiagnosticObj) GetMessage() OptString
- func (s *MetricsDiagnosticObj) GetReason() string
- func (s *MetricsDiagnosticObj) GetScope() string
- func (s *MetricsDiagnosticObj) GetVersion() OptString
- func (s *MetricsDiagnosticObj) MarshalJSON() ([]byte, error)
- func (s *MetricsDiagnosticObj) SetCode(val string)
- func (s *MetricsDiagnosticObj) SetCount(val int64)
- func (s *MetricsDiagnosticObj) SetFirstSeen(val OptDateTime)
- func (s *MetricsDiagnosticObj) SetImpact(val MetricsDiagnosticObjImpact)
- func (s *MetricsDiagnosticObj) SetKey(val OptString)
- func (s *MetricsDiagnosticObj) SetLastSeen(val time.Time)
- func (s *MetricsDiagnosticObj) SetMessage(val OptString)
- func (s *MetricsDiagnosticObj) SetReason(val string)
- func (s *MetricsDiagnosticObj) SetScope(val string)
- func (s *MetricsDiagnosticObj) SetVersion(val OptString)
- func (s *MetricsDiagnosticObj) UnmarshalJSON(data []byte) error
- func (s *MetricsDiagnosticObj) Validate() error
- type MetricsDiagnosticObjImpact
- func (MetricsDiagnosticObjImpact) AllValues() []MetricsDiagnosticObjImpact
- func (s *MetricsDiagnosticObjImpact) Decode(d *jx.Decoder) error
- func (s MetricsDiagnosticObjImpact) Encode(e *jx.Encoder)
- func (s MetricsDiagnosticObjImpact) MarshalJSON() ([]byte, error)
- func (s MetricsDiagnosticObjImpact) MarshalText() ([]byte, error)
- func (s *MetricsDiagnosticObjImpact) UnmarshalJSON(data []byte) error
- func (s *MetricsDiagnosticObjImpact) UnmarshalText(data []byte) error
- func (s MetricsDiagnosticObjImpact) Validate() error
- type MetricsErrorsObj
- func (s *MetricsErrorsObj) Decode(d *jx.Decoder) error
- func (s *MetricsErrorsObj) Encode(e *jx.Encoder)
- func (s *MetricsErrorsObj) GetActive() int64
- func (s *MetricsErrorsObj) GetDropped() int64
- func (s *MetricsErrorsObj) GetRecent() []MetricsDiagnosticObj
- func (s *MetricsErrorsObj) MarshalJSON() ([]byte, error)
- func (s *MetricsErrorsObj) SetActive(val int64)
- func (s *MetricsErrorsObj) SetDropped(val int64)
- func (s *MetricsErrorsObj) SetRecent(val []MetricsDiagnosticObj)
- func (s *MetricsErrorsObj) UnmarshalJSON(data []byte) error
- func (s *MetricsErrorsObj) Validate() error
- type MetricsErrorsObjHeaders
- func (s *MetricsErrorsObjHeaders) GetCacheControl() OptString
- func (s *MetricsErrorsObjHeaders) GetResponse() MetricsErrorsObj
- func (s *MetricsErrorsObjHeaders) SetCacheControl(val OptString)
- func (s *MetricsErrorsObjHeaders) SetResponse(val MetricsErrorsObj)
- func (s *MetricsErrorsObjHeaders) Validate() error
- type MetricsRescanObj
- func (s *MetricsRescanObj) Decode(d *jx.Decoder) error
- func (s *MetricsRescanObj) Encode(e *jx.Encoder)
- func (s *MetricsRescanObj) GetCycleDurationSecondsAvg() float64
- func (s *MetricsRescanObj) GetCyclesTotal() int64
- func (s *MetricsRescanObj) GetKeysUnavailableTotal() int64
- func (s *MetricsRescanObj) GetLastRescan() OptDateTime
- func (s *MetricsRescanObj) GetVersionsPublishedTotal() int64
- func (s *MetricsRescanObj) MarshalJSON() ([]byte, error)
- func (s *MetricsRescanObj) SetCycleDurationSecondsAvg(val float64)
- func (s *MetricsRescanObj) SetCyclesTotal(val int64)
- func (s *MetricsRescanObj) SetKeysUnavailableTotal(val int64)
- func (s *MetricsRescanObj) SetLastRescan(val OptDateTime)
- func (s *MetricsRescanObj) SetVersionsPublishedTotal(val int64)
- func (s *MetricsRescanObj) UnmarshalJSON(data []byte) error
- func (s *MetricsRescanObj) Validate() error
- type MetricsRescanObjHeaders
- func (s *MetricsRescanObjHeaders) GetCacheControl() OptString
- func (s *MetricsRescanObjHeaders) GetResponse() MetricsRescanObj
- func (s *MetricsRescanObjHeaders) SetCacheControl(val OptString)
- func (s *MetricsRescanObjHeaders) SetResponse(val MetricsRescanObj)
- func (s *MetricsRescanObjHeaders) Validate() error
- type MetricsYggObj
- func (s *MetricsYggObj) Decode(d *jx.Decoder) error
- func (s *MetricsYggObj) Encode(e *jx.Encoder)
- func (s *MetricsYggObj) GetActiveSelected() int64
- func (s *MetricsYggObj) GetBestLatencyNanos() OptInt64
- func (s *MetricsYggObj) GetNoReachableNotificationsTotal() int64
- func (s *MetricsYggObj) GetPeers() []MetricsYggPeerObj
- func (s *MetricsYggObj) GetPeersInbound() int64
- func (s *MetricsYggObj) GetPeersKnown() int64
- func (s *MetricsYggObj) GetPeersUp() int64
- func (s *MetricsYggObj) GetRxBytes() int64
- func (s *MetricsYggObj) GetTxBytes() int64
- func (s *MetricsYggObj) MarshalJSON() ([]byte, error)
- func (s *MetricsYggObj) SetActiveSelected(val int64)
- func (s *MetricsYggObj) SetBestLatencyNanos(val OptInt64)
- func (s *MetricsYggObj) SetNoReachableNotificationsTotal(val int64)
- func (s *MetricsYggObj) SetPeers(val []MetricsYggPeerObj)
- func (s *MetricsYggObj) SetPeersInbound(val int64)
- func (s *MetricsYggObj) SetPeersKnown(val int64)
- func (s *MetricsYggObj) SetPeersUp(val int64)
- func (s *MetricsYggObj) SetRxBytes(val int64)
- func (s *MetricsYggObj) SetTxBytes(val int64)
- func (s *MetricsYggObj) UnmarshalJSON(data []byte) error
- func (s *MetricsYggObj) Validate() error
- type MetricsYggObjHeaders
- type MetricsYggPeerObj
- func (s *MetricsYggPeerObj) Decode(d *jx.Decoder) error
- func (s *MetricsYggPeerObj) Encode(e *jx.Encoder)
- func (s *MetricsYggPeerObj) GetCost() int64
- func (s *MetricsYggPeerObj) GetInbound() bool
- func (s *MetricsYggPeerObj) GetLastError() OptString
- func (s *MetricsYggPeerObj) GetLastErrorTime() OptDateTime
- func (s *MetricsYggPeerObj) GetLatencyNanos() int64
- func (s *MetricsYggPeerObj) GetPublicKey() OptString
- func (s *MetricsYggPeerObj) GetRxBytes() int64
- func (s *MetricsYggPeerObj) GetTxBytes() int64
- func (s *MetricsYggPeerObj) GetURI() OptString
- func (s *MetricsYggPeerObj) GetUp() bool
- func (s *MetricsYggPeerObj) GetUptimeSeconds() float64
- func (s *MetricsYggPeerObj) MarshalJSON() ([]byte, error)
- func (s *MetricsYggPeerObj) SetCost(val int64)
- func (s *MetricsYggPeerObj) SetInbound(val bool)
- func (s *MetricsYggPeerObj) SetLastError(val OptString)
- func (s *MetricsYggPeerObj) SetLastErrorTime(val OptDateTime)
- func (s *MetricsYggPeerObj) SetLatencyNanos(val int64)
- func (s *MetricsYggPeerObj) SetPublicKey(val OptString)
- func (s *MetricsYggPeerObj) SetRxBytes(val int64)
- func (s *MetricsYggPeerObj) SetTxBytes(val int64)
- func (s *MetricsYggPeerObj) SetURI(val OptString)
- func (s *MetricsYggPeerObj) SetUp(val bool)
- func (s *MetricsYggPeerObj) SetUptimeSeconds(val float64)
- func (s *MetricsYggPeerObj) UnmarshalJSON(data []byte) error
- func (s *MetricsYggPeerObj) Validate() error
- type Middleware
- type NotModifiedRespObj
- type OperationName
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptCatalogObjKeysItemClassification
- func (o *OptCatalogObjKeysItemClassification) Decode(d *jx.Decoder) error
- func (o OptCatalogObjKeysItemClassification) Encode(e *jx.Encoder)
- func (o OptCatalogObjKeysItemClassification) Get() (v CatalogObjKeysItemClassification, ok bool)
- func (o OptCatalogObjKeysItemClassification) IsSet() bool
- func (s OptCatalogObjKeysItemClassification) MarshalJSON() ([]byte, error)
- func (o OptCatalogObjKeysItemClassification) Or(d CatalogObjKeysItemClassification) CatalogObjKeysItemClassification
- func (o *OptCatalogObjKeysItemClassification) Reset()
- func (o *OptCatalogObjKeysItemClassification) SetTo(v CatalogObjKeysItemClassification)
- func (s *OptCatalogObjKeysItemClassification) UnmarshalJSON(data []byte) error
- type OptComposerPackageVersionObjAutoload
- func (o *OptComposerPackageVersionObjAutoload) Decode(d *jx.Decoder) error
- func (o OptComposerPackageVersionObjAutoload) Encode(e *jx.Encoder)
- func (o OptComposerPackageVersionObjAutoload) Get() (v ComposerPackageVersionObjAutoload, ok bool)
- func (o OptComposerPackageVersionObjAutoload) IsSet() bool
- func (s OptComposerPackageVersionObjAutoload) MarshalJSON() ([]byte, error)
- func (o OptComposerPackageVersionObjAutoload) Or(d ComposerPackageVersionObjAutoload) ComposerPackageVersionObjAutoload
- func (o *OptComposerPackageVersionObjAutoload) Reset()
- func (o *OptComposerPackageVersionObjAutoload) SetTo(v ComposerPackageVersionObjAutoload)
- func (s *OptComposerPackageVersionObjAutoload) UnmarshalJSON(data []byte) error
- type OptComposerPackageVersionObjRequire
- func (o *OptComposerPackageVersionObjRequire) Decode(d *jx.Decoder) error
- func (o OptComposerPackageVersionObjRequire) Encode(e *jx.Encoder)
- func (o OptComposerPackageVersionObjRequire) Get() (v ComposerPackageVersionObjRequire, ok bool)
- func (o OptComposerPackageVersionObjRequire) IsSet() bool
- func (s OptComposerPackageVersionObjRequire) MarshalJSON() ([]byte, error)
- func (o OptComposerPackageVersionObjRequire) Or(d ComposerPackageVersionObjRequire) ComposerPackageVersionObjRequire
- func (o *OptComposerPackageVersionObjRequire) Reset()
- func (o *OptComposerPackageVersionObjRequire) SetTo(v ComposerPackageVersionObjRequire)
- func (s *OptComposerPackageVersionObjRequire) UnmarshalJSON(data []byte) error
- type OptComposerPackageVersionObjRequireMinusDev
- func (o *OptComposerPackageVersionObjRequireMinusDev) Decode(d *jx.Decoder) error
- func (o OptComposerPackageVersionObjRequireMinusDev) Encode(e *jx.Encoder)
- func (o OptComposerPackageVersionObjRequireMinusDev) Get() (v ComposerPackageVersionObjRequireMinusDev, ok bool)
- func (o OptComposerPackageVersionObjRequireMinusDev) IsSet() bool
- func (s OptComposerPackageVersionObjRequireMinusDev) MarshalJSON() ([]byte, error)
- func (o OptComposerPackageVersionObjRequireMinusDev) Or(d ComposerPackageVersionObjRequireMinusDev) ComposerPackageVersionObjRequireMinusDev
- func (o *OptComposerPackageVersionObjRequireMinusDev) Reset()
- func (o *OptComposerPackageVersionObjRequireMinusDev) SetTo(v ComposerPackageVersionObjRequireMinusDev)
- func (s *OptComposerPackageVersionObjRequireMinusDev) UnmarshalJSON(data []byte) error
- type OptComposerPackageVersionObjSource
- func (o *OptComposerPackageVersionObjSource) Decode(d *jx.Decoder) error
- func (o OptComposerPackageVersionObjSource) Encode(e *jx.Encoder)
- func (o OptComposerPackageVersionObjSource) Get() (v ComposerPackageVersionObjSource, ok bool)
- func (o OptComposerPackageVersionObjSource) IsSet() bool
- func (s OptComposerPackageVersionObjSource) MarshalJSON() ([]byte, error)
- func (o OptComposerPackageVersionObjSource) Or(d ComposerPackageVersionObjSource) ComposerPackageVersionObjSource
- func (o *OptComposerPackageVersionObjSource) Reset()
- func (o *OptComposerPackageVersionObjSource) SetTo(v ComposerPackageVersionObjSource)
- func (s *OptComposerPackageVersionObjSource) UnmarshalJSON(data []byte) error
- type OptComposerPackagesObjPackages
- func (o *OptComposerPackagesObjPackages) Decode(d *jx.Decoder) error
- func (o OptComposerPackagesObjPackages) Encode(e *jx.Encoder)
- func (o OptComposerPackagesObjPackages) Get() (v ComposerPackagesObjPackages, ok bool)
- func (o OptComposerPackagesObjPackages) IsSet() bool
- func (s OptComposerPackagesObjPackages) MarshalJSON() ([]byte, error)
- func (o OptComposerPackagesObjPackages) Or(d ComposerPackagesObjPackages) ComposerPackagesObjPackages
- func (o *OptComposerPackagesObjPackages) Reset()
- func (o *OptComposerPackagesObjPackages) SetTo(v ComposerPackagesObjPackages)
- func (s *OptComposerPackagesObjPackages) UnmarshalJSON(data []byte) error
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (s OptDateTime) MarshalJSON() ([]byte, error)
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (o *OptDateTime) SetTo(v time.Time)
- func (s *OptDateTime) UnmarshalJSON(data []byte) error
- type OptInfoObjContacts
- func (o *OptInfoObjContacts) Decode(d *jx.Decoder) error
- func (o OptInfoObjContacts) Encode(e *jx.Encoder)
- func (o OptInfoObjContacts) Get() (v InfoObjContacts, ok bool)
- func (o OptInfoObjContacts) IsSet() bool
- func (s OptInfoObjContacts) MarshalJSON() ([]byte, error)
- func (o OptInfoObjContacts) Or(d InfoObjContacts) InfoObjContacts
- func (o *OptInfoObjContacts) Reset()
- func (o *OptInfoObjContacts) SetTo(v InfoObjContacts)
- func (s *OptInfoObjContacts) UnmarshalJSON(data []byte) error
- type OptInt32
- func (o *OptInt32) Decode(d *jx.Decoder) error
- func (o OptInt32) Encode(e *jx.Encoder)
- func (o OptInt32) Get() (v int32, ok bool)
- func (o OptInt32) IsSet() bool
- func (s OptInt32) MarshalJSON() ([]byte, error)
- func (o OptInt32) Or(d int32) int32
- func (o *OptInt32) Reset()
- func (o *OptInt32) SetTo(v int32)
- func (s *OptInt32) UnmarshalJSON(data []byte) error
- type OptInt64
- func (o *OptInt64) Decode(d *jx.Decoder) error
- func (o OptInt64) Encode(e *jx.Encoder)
- func (o OptInt64) Get() (v int64, ok bool)
- func (o OptInt64) IsSet() bool
- func (s OptInt64) MarshalJSON() ([]byte, error)
- func (o OptInt64) Or(d int64) int64
- func (o *OptInt64) Reset()
- func (o *OptInt64) SetTo(v int64)
- func (s *OptInt64) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type Option
- type PartialContentRespObj
- type PartialContentRespObjHeaders
- func (s *PartialContentRespObjHeaders) GetAcceptRanges() OptString
- func (s *PartialContentRespObjHeaders) GetCacheControl() OptString
- func (s *PartialContentRespObjHeaders) GetContentDisposition() OptString
- func (s *PartialContentRespObjHeaders) GetContentLength() OptInt64
- func (s *PartialContentRespObjHeaders) GetContentRange() OptString
- func (s *PartialContentRespObjHeaders) GetETag() OptString
- func (s *PartialContentRespObjHeaders) GetLastModified() OptString
- func (s *PartialContentRespObjHeaders) GetResponse() PartialContentRespObj
- func (s *PartialContentRespObjHeaders) SetAcceptRanges(val OptString)
- func (s *PartialContentRespObjHeaders) SetCacheControl(val OptString)
- func (s *PartialContentRespObjHeaders) SetContentDisposition(val OptString)
- func (s *PartialContentRespObjHeaders) SetContentLength(val OptInt64)
- func (s *PartialContentRespObjHeaders) SetContentRange(val OptString)
- func (s *PartialContentRespObjHeaders) SetETag(val OptString)
- func (s *PartialContentRespObjHeaders) SetLastModified(val OptString)
- func (s *PartialContentRespObjHeaders) SetResponse(val PartialContentRespObj)
- type ReleaseDetailObj
- func (s *ReleaseDetailObj) Decode(d *jx.Decoder) error
- func (s *ReleaseDetailObj) Encode(e *jx.Encoder)
- func (s *ReleaseDetailObj) GetArtifacts() []ArtifactEntryObj
- func (s *ReleaseDetailObj) GetDegraded() []string
- func (s *ReleaseDetailObj) GetHash() OptString
- func (s *ReleaseDetailObj) GetKey() string
- func (s *ReleaseDetailObj) GetNotesMarkdown() OptString
- func (s *ReleaseDetailObj) GetOverlays() []string
- func (s *ReleaseDetailObj) GetSize() OptInt64
- func (s *ReleaseDetailObj) GetSource() SourceStatusObj
- func (s *ReleaseDetailObj) GetTime() time.Time
- func (s *ReleaseDetailObj) GetUpstreamPresent() OptBool
- func (s *ReleaseDetailObj) GetVersion() string
- func (s *ReleaseDetailObj) MarshalJSON() ([]byte, error)
- func (s *ReleaseDetailObj) SetArtifacts(val []ArtifactEntryObj)
- func (s *ReleaseDetailObj) SetDegraded(val []string)
- func (s *ReleaseDetailObj) SetHash(val OptString)
- func (s *ReleaseDetailObj) SetKey(val string)
- func (s *ReleaseDetailObj) SetNotesMarkdown(val OptString)
- func (s *ReleaseDetailObj) SetOverlays(val []string)
- func (s *ReleaseDetailObj) SetSize(val OptInt64)
- func (s *ReleaseDetailObj) SetSource(val SourceStatusObj)
- func (s *ReleaseDetailObj) SetTime(val time.Time)
- func (s *ReleaseDetailObj) SetUpstreamPresent(val OptBool)
- func (s *ReleaseDetailObj) SetVersion(val string)
- func (s *ReleaseDetailObj) UnmarshalJSON(data []byte) error
- func (s *ReleaseDetailObj) Validate() error
- type ReleaseDetailObjHeaders
- func (s *ReleaseDetailObjHeaders) GetAcceptRanges() OptString
- func (s *ReleaseDetailObjHeaders) GetCacheControl() OptString
- func (s *ReleaseDetailObjHeaders) GetContentDisposition() OptString
- func (s *ReleaseDetailObjHeaders) GetContentLength() OptInt64
- func (s *ReleaseDetailObjHeaders) GetETag() OptString
- func (s *ReleaseDetailObjHeaders) GetLastModified() OptString
- func (s *ReleaseDetailObjHeaders) GetResponse() ReleaseDetailObj
- func (s *ReleaseDetailObjHeaders) SetAcceptRanges(val OptString)
- func (s *ReleaseDetailObjHeaders) SetCacheControl(val OptString)
- func (s *ReleaseDetailObjHeaders) SetContentDisposition(val OptString)
- func (s *ReleaseDetailObjHeaders) SetContentLength(val OptInt64)
- func (s *ReleaseDetailObjHeaders) SetETag(val OptString)
- func (s *ReleaseDetailObjHeaders) SetLastModified(val OptString)
- func (s *ReleaseDetailObjHeaders) SetResponse(val ReleaseDetailObj)
- func (s *ReleaseDetailObjHeaders) Validate() error
- type ReleaseListObj
- func (s *ReleaseListObj) Decode(d *jx.Decoder) error
- func (s *ReleaseListObj) Encode(e *jx.Encoder)
- func (s *ReleaseListObj) GetKey() string
- func (s *ReleaseListObj) GetNext() OptString
- func (s *ReleaseListObj) GetReleases() []ReleaseSummaryObj
- func (s *ReleaseListObj) GetSource() SourceStatusObj
- func (s *ReleaseListObj) MarshalJSON() ([]byte, error)
- func (s *ReleaseListObj) SetKey(val string)
- func (s *ReleaseListObj) SetNext(val OptString)
- func (s *ReleaseListObj) SetReleases(val []ReleaseSummaryObj)
- func (s *ReleaseListObj) SetSource(val SourceStatusObj)
- func (s *ReleaseListObj) UnmarshalJSON(data []byte) error
- func (s *ReleaseListObj) Validate() error
- type ReleaseListObjHeaders
- func (s *ReleaseListObjHeaders) GetCacheControl() OptString
- func (s *ReleaseListObjHeaders) GetETag() OptString
- func (s *ReleaseListObjHeaders) GetResponse() ReleaseListObj
- func (s *ReleaseListObjHeaders) SetCacheControl(val OptString)
- func (s *ReleaseListObjHeaders) SetETag(val OptString)
- func (s *ReleaseListObjHeaders) SetResponse(val ReleaseListObj)
- func (s *ReleaseListObjHeaders) Validate() error
- type ReleaseSummaryObj
- func (s *ReleaseSummaryObj) Decode(d *jx.Decoder) error
- func (s *ReleaseSummaryObj) Encode(e *jx.Encoder)
- func (s *ReleaseSummaryObj) GetSize() int64
- func (s *ReleaseSummaryObj) GetTime() time.Time
- func (s *ReleaseSummaryObj) GetURL() OptString
- func (s *ReleaseSummaryObj) GetVersion() string
- func (s *ReleaseSummaryObj) MarshalJSON() ([]byte, error)
- func (s *ReleaseSummaryObj) SetSize(val int64)
- func (s *ReleaseSummaryObj) SetTime(val time.Time)
- func (s *ReleaseSummaryObj) SetURL(val OptString)
- func (s *ReleaseSummaryObj) SetVersion(val string)
- func (s *ReleaseSummaryObj) UnmarshalJSON(data []byte) error
- type Route
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type SourceStatusObj
- func (s *SourceStatusObj) Decode(d *jx.Decoder) error
- func (s *SourceStatusObj) Encode(e *jx.Encoder)
- func (s *SourceStatusObj) GetLastScan() time.Time
- func (s *SourceStatusObj) GetStatus() SourceStatusObjStatus
- func (s *SourceStatusObj) GetURL() string
- func (s *SourceStatusObj) MarshalJSON() ([]byte, error)
- func (s *SourceStatusObj) SetLastScan(val time.Time)
- func (s *SourceStatusObj) SetStatus(val SourceStatusObjStatus)
- func (s *SourceStatusObj) SetURL(val string)
- func (s *SourceStatusObj) UnmarshalJSON(data []byte) error
- func (s *SourceStatusObj) Validate() error
- type SourceStatusObjStatus
- func (SourceStatusObjStatus) AllValues() []SourceStatusObjStatus
- func (s *SourceStatusObjStatus) Decode(d *jx.Decoder) error
- func (s SourceStatusObjStatus) Encode(e *jx.Encoder)
- func (s SourceStatusObjStatus) MarshalJSON() ([]byte, error)
- func (s SourceStatusObjStatus) MarshalText() ([]byte, error)
- func (s *SourceStatusObjStatus) UnmarshalJSON(data []byte) error
- func (s *SourceStatusObjStatus) UnmarshalText(data []byte) error
- func (s SourceStatusObjStatus) Validate() error
- type UnimplementedHandler
- func (UnimplementedHandler) GetCatalog(ctx context.Context, params GetCatalogParams) (r GetCatalogRes, _ error)
- func (UnimplementedHandler) GetComposerP2Package(ctx context.Context, params GetComposerP2PackageParams) (r GetComposerP2PackageRes, _ error)
- func (UnimplementedHandler) GetComposerPackageList(ctx context.Context, params GetComposerPackageListParams) (r GetComposerPackageListRes, _ error)
- func (UnimplementedHandler) GetComposerPackages(ctx context.Context, params GetComposerPackagesParams) (r GetComposerPackagesRes, _ error)
- func (UnimplementedHandler) GetFavicon(ctx context.Context, params GetFaviconParams) (r GetFaviconRes, _ error)
- func (UnimplementedHandler) GetFeed(ctx context.Context, params GetFeedParams) (r GetFeedRes, _ error)
- func (UnimplementedHandler) GetGoLatest(ctx context.Context, params GetGoLatestParams) (r GetGoLatestRes, _ error)
- func (UnimplementedHandler) GetGoVersionList(ctx context.Context, params GetGoVersionListParams) (r GetGoVersionListRes, _ error)
- func (UnimplementedHandler) GetHealth(ctx context.Context) (r GetHealthRes, _ error)
- func (UnimplementedHandler) GetInfo(ctx context.Context) (r GetInfoRes, _ error)
- func (UnimplementedHandler) GetKeyFeed(ctx context.Context, params GetKeyFeedParams) (r GetKeyFeedRes, _ error)
- func (UnimplementedHandler) GetKeyReleases(ctx context.Context, params GetKeyReleasesParams) (r GetKeyReleasesRes, _ error)
- func (UnimplementedHandler) GetLogo(ctx context.Context, params GetLogoParams) (r GetLogoRes, _ error)
- func (UnimplementedHandler) GetMetricsCache(ctx context.Context) (r GetMetricsCacheRes, _ error)
- func (UnimplementedHandler) GetMetricsCore(ctx context.Context) (r GetMetricsCoreRes, _ error)
- func (UnimplementedHandler) GetMetricsErrors(ctx context.Context) (r GetMetricsErrorsRes, _ error)
- func (UnimplementedHandler) GetMetricsIndex(ctx context.Context) (r GetMetricsIndexRes, _ error)
- func (UnimplementedHandler) GetMetricsInternal(ctx context.Context) (r GetMetricsInternalRes, _ error)
- func (UnimplementedHandler) GetMetricsRescan(ctx context.Context) (r GetMetricsRescanRes, _ error)
- func (UnimplementedHandler) GetMetricsYgg(ctx context.Context) (r GetMetricsYggRes, _ error)
- func (UnimplementedHandler) GetMirrorLatest(ctx context.Context, params GetMirrorLatestParams) (r GetMirrorLatestRes, _ error)
- func (UnimplementedHandler) GetMirrorList(ctx context.Context, params GetMirrorListParams) (r GetMirrorListRes, _ error)
- func (UnimplementedHandler) GetMirrorListFull(ctx context.Context, params GetMirrorListFullParams) (r GetMirrorListFullRes, _ error)
- func (UnimplementedHandler) GetOgKey(ctx context.Context, params GetOgKeyParams) (r GetOgKeyRes, _ error)
- func (UnimplementedHandler) GetOgNode(ctx context.Context, params GetOgNodeParams) (r GetOgNodeRes, _ error)
- func (UnimplementedHandler) GetOgVersion(ctx context.Context, params GetOgVersionParams) (r GetOgVersionRes, _ error)
- func (UnimplementedHandler) GetSitemap(ctx context.Context, params GetSitemapParams) (r GetSitemapRes, _ error)
- func (UnimplementedHandler) GetVersionArtifact(ctx context.Context, params GetVersionArtifactParams) (r GetVersionArtifactRes, _ error)
- func (UnimplementedHandler) GetVersionFile(ctx context.Context, params GetVersionFileParams) (r GetVersionFileRes, _ error)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func NewDefaultHandler ¶
func NewDefaultHandler(funcObj FuncInterface, optionsArr ...ServerOption) (http.Handler, error)
func NewHandler ¶
func NewHandler(funcObj FuncInterface, optionsArr ...ServerOption) (http.Handler, error)
func OpenAPIJSON ¶
Types ¶
type ArtifactEntryObj ¶
type ArtifactEntryObj struct {
// BLAKE3-24 XOF digest of the artifact body, encoded as 48 lowercase hex characters.
Hash string `json:"hash"`
// Artifact class: `go-zip`, `composer-dist`, `tree-zip`, or `tree-targz`.
Kind string `json:"kind"`
// File name shown to clients for this derived artifact.
Name string `json:"name"`
// SHA-256 body digest in hex, intended for ecosystems that require SHA-256 integrity such as Bazel
// `http_archive`.
SHA256 OptString `json:"sha256"`
// SHA-1 body digest in hex. Present for Composer dist artifacts as `dist.shasum`.
Shasum OptString `json:"shasum"`
// Artifact body size in bytes.
Size int64 `json:"size"`
// Download path for the artifact, relative to the current API mount.
URL string `json:"url"`
}
Ref: #/components/schemas/ArtifactEntryObj
func (*ArtifactEntryObj) Decode ¶
func (s *ArtifactEntryObj) Decode(d *jx.Decoder) error
Decode decodes ArtifactEntryObj from json.
func (*ArtifactEntryObj) Encode ¶
func (s *ArtifactEntryObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ArtifactEntryObj) GetHash ¶
func (s *ArtifactEntryObj) GetHash() string
GetHash returns the value of Hash.
func (*ArtifactEntryObj) GetKind ¶
func (s *ArtifactEntryObj) GetKind() string
GetKind returns the value of Kind.
func (*ArtifactEntryObj) GetName ¶
func (s *ArtifactEntryObj) GetName() string
GetName returns the value of Name.
func (*ArtifactEntryObj) GetSHA256 ¶
func (s *ArtifactEntryObj) GetSHA256() OptString
GetSHA256 returns the value of SHA256.
func (*ArtifactEntryObj) GetShasum ¶
func (s *ArtifactEntryObj) GetShasum() OptString
GetShasum returns the value of Shasum.
func (*ArtifactEntryObj) GetSize ¶
func (s *ArtifactEntryObj) GetSize() int64
GetSize returns the value of Size.
func (*ArtifactEntryObj) GetURL ¶
func (s *ArtifactEntryObj) GetURL() string
GetURL returns the value of URL.
func (*ArtifactEntryObj) MarshalJSON ¶
func (s *ArtifactEntryObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ArtifactEntryObj) SetHash ¶
func (s *ArtifactEntryObj) SetHash(val string)
SetHash sets the value of Hash.
func (*ArtifactEntryObj) SetKind ¶
func (s *ArtifactEntryObj) SetKind(val string)
SetKind sets the value of Kind.
func (*ArtifactEntryObj) SetName ¶
func (s *ArtifactEntryObj) SetName(val string)
SetName sets the value of Name.
func (*ArtifactEntryObj) SetSHA256 ¶
func (s *ArtifactEntryObj) SetSHA256(val OptString)
SetSHA256 sets the value of SHA256.
func (*ArtifactEntryObj) SetShasum ¶
func (s *ArtifactEntryObj) SetShasum(val OptString)
SetShasum sets the value of Shasum.
func (*ArtifactEntryObj) SetSize ¶
func (s *ArtifactEntryObj) SetSize(val int64)
SetSize sets the value of Size.
func (*ArtifactEntryObj) SetURL ¶
func (s *ArtifactEntryObj) SetURL(val string)
SetURL sets the value of URL.
func (*ArtifactEntryObj) UnmarshalJSON ¶
func (s *ArtifactEntryObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type CatalogObj ¶
type CatalogObj struct {
// Catalog entries for all visible mirror keys, ordered by the server catalog builder.
Keys []CatalogObjKeysItem `json:"keys"`
}
Ref: #/components/schemas/CatalogObj
func (*CatalogObj) Decode ¶
func (s *CatalogObj) Decode(d *jx.Decoder) error
Decode decodes CatalogObj from json.
func (*CatalogObj) Encode ¶
func (s *CatalogObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CatalogObj) GetKeys ¶
func (s *CatalogObj) GetKeys() []CatalogObjKeysItem
GetKeys returns the value of Keys.
func (*CatalogObj) MarshalJSON ¶
func (s *CatalogObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CatalogObj) SetKeys ¶
func (s *CatalogObj) SetKeys(val []CatalogObjKeysItem)
SetKeys sets the value of Keys.
func (*CatalogObj) UnmarshalJSON ¶
func (s *CatalogObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CatalogObj) Validate ¶
func (s *CatalogObj) Validate() error
type CatalogObjHeaders ¶
type CatalogObjHeaders struct {
CacheControl OptString
ETag OptString
Response CatalogObj
}
CatalogObjHeaders wraps CatalogObj with response headers.
func (*CatalogObjHeaders) GetCacheControl ¶
func (s *CatalogObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*CatalogObjHeaders) GetETag ¶
func (s *CatalogObjHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*CatalogObjHeaders) GetResponse ¶
func (s *CatalogObjHeaders) GetResponse() CatalogObj
GetResponse returns the value of Response.
func (*CatalogObjHeaders) SetCacheControl ¶
func (s *CatalogObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*CatalogObjHeaders) SetETag ¶
func (s *CatalogObjHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*CatalogObjHeaders) SetResponse ¶
func (s *CatalogObjHeaders) SetResponse(val CatalogObj)
SetResponse sets the value of Response.
func (*CatalogObjHeaders) Validate ¶
func (s *CatalogObjHeaders) Validate() error
type CatalogObjKeysItem ¶
type CatalogObjKeysItem struct {
// Source class selected by discovery for this key.
Classification OptCatalogObjKeysItemClassification `json:"classification"`
// Registry key from `release_mirrors`.
Key string `json:"key"`
// Latest active version known for the key, if one exists.
Latest OptString `json:"latest"`
Source SourceStatusObj `json:"source"`
// Operational status of this mirror key, not the upstream repository status.
Status CatalogObjKeysItemStatus `json:"status"`
// Path to the key release list, normally `<key>/releases.json`.
URL OptString `json:"url"`
}
func (*CatalogObjKeysItem) Decode ¶
func (s *CatalogObjKeysItem) Decode(d *jx.Decoder) error
Decode decodes CatalogObjKeysItem from json.
func (*CatalogObjKeysItem) Encode ¶
func (s *CatalogObjKeysItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*CatalogObjKeysItem) GetClassification ¶
func (s *CatalogObjKeysItem) GetClassification() OptCatalogObjKeysItemClassification
GetClassification returns the value of Classification.
func (*CatalogObjKeysItem) GetKey ¶
func (s *CatalogObjKeysItem) GetKey() string
GetKey returns the value of Key.
func (*CatalogObjKeysItem) GetLatest ¶
func (s *CatalogObjKeysItem) GetLatest() OptString
GetLatest returns the value of Latest.
func (*CatalogObjKeysItem) GetSource ¶
func (s *CatalogObjKeysItem) GetSource() SourceStatusObj
GetSource returns the value of Source.
func (*CatalogObjKeysItem) GetStatus ¶
func (s *CatalogObjKeysItem) GetStatus() CatalogObjKeysItemStatus
GetStatus returns the value of Status.
func (*CatalogObjKeysItem) GetURL ¶
func (s *CatalogObjKeysItem) GetURL() OptString
GetURL returns the value of URL.
func (*CatalogObjKeysItem) MarshalJSON ¶
func (s *CatalogObjKeysItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CatalogObjKeysItem) SetClassification ¶
func (s *CatalogObjKeysItem) SetClassification(val OptCatalogObjKeysItemClassification)
SetClassification sets the value of Classification.
func (*CatalogObjKeysItem) SetKey ¶
func (s *CatalogObjKeysItem) SetKey(val string)
SetKey sets the value of Key.
func (*CatalogObjKeysItem) SetLatest ¶
func (s *CatalogObjKeysItem) SetLatest(val OptString)
SetLatest sets the value of Latest.
func (*CatalogObjKeysItem) SetSource ¶
func (s *CatalogObjKeysItem) SetSource(val SourceStatusObj)
SetSource sets the value of Source.
func (*CatalogObjKeysItem) SetStatus ¶
func (s *CatalogObjKeysItem) SetStatus(val CatalogObjKeysItemStatus)
SetStatus sets the value of Status.
func (*CatalogObjKeysItem) SetURL ¶
func (s *CatalogObjKeysItem) SetURL(val OptString)
SetURL sets the value of URL.
func (*CatalogObjKeysItem) UnmarshalJSON ¶
func (s *CatalogObjKeysItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CatalogObjKeysItem) Validate ¶
func (s *CatalogObjKeysItem) Validate() error
type CatalogObjKeysItemClassification ¶
type CatalogObjKeysItemClassification string
Source class selected by discovery for this key.
const ( CatalogObjKeysItemClassificationGit CatalogObjKeysItemClassification = "git" CatalogObjKeysItemClassificationBrother CatalogObjKeysItemClassification = "brother" )
func (CatalogObjKeysItemClassification) AllValues ¶
func (CatalogObjKeysItemClassification) AllValues() []CatalogObjKeysItemClassification
AllValues returns all CatalogObjKeysItemClassification values.
func (*CatalogObjKeysItemClassification) Decode ¶
func (s *CatalogObjKeysItemClassification) Decode(d *jx.Decoder) error
Decode decodes CatalogObjKeysItemClassification from json.
func (CatalogObjKeysItemClassification) Encode ¶
func (s CatalogObjKeysItemClassification) Encode(e *jx.Encoder)
Encode encodes CatalogObjKeysItemClassification as json.
func (CatalogObjKeysItemClassification) MarshalJSON ¶
func (s CatalogObjKeysItemClassification) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CatalogObjKeysItemClassification) MarshalText ¶
func (s CatalogObjKeysItemClassification) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CatalogObjKeysItemClassification) UnmarshalJSON ¶
func (s *CatalogObjKeysItemClassification) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CatalogObjKeysItemClassification) UnmarshalText ¶
func (s *CatalogObjKeysItemClassification) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CatalogObjKeysItemClassification) Validate ¶
func (s CatalogObjKeysItemClassification) Validate() error
type CatalogObjKeysItemStatus ¶
type CatalogObjKeysItemStatus string
Operational status of this mirror key, not the upstream repository status.
const ( CatalogObjKeysItemStatusOk CatalogObjKeysItemStatus = "ok" CatalogObjKeysItemStatusDegraded CatalogObjKeysItemStatus = "degraded" CatalogObjKeysItemStatusError CatalogObjKeysItemStatus = "error" )
func (CatalogObjKeysItemStatus) AllValues ¶
func (CatalogObjKeysItemStatus) AllValues() []CatalogObjKeysItemStatus
AllValues returns all CatalogObjKeysItemStatus values.
func (*CatalogObjKeysItemStatus) Decode ¶
func (s *CatalogObjKeysItemStatus) Decode(d *jx.Decoder) error
Decode decodes CatalogObjKeysItemStatus from json.
func (CatalogObjKeysItemStatus) Encode ¶
func (s CatalogObjKeysItemStatus) Encode(e *jx.Encoder)
Encode encodes CatalogObjKeysItemStatus as json.
func (CatalogObjKeysItemStatus) MarshalJSON ¶
func (s CatalogObjKeysItemStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (CatalogObjKeysItemStatus) MarshalText ¶
func (s CatalogObjKeysItemStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*CatalogObjKeysItemStatus) UnmarshalJSON ¶
func (s *CatalogObjKeysItemStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CatalogObjKeysItemStatus) UnmarshalText ¶
func (s *CatalogObjKeysItemStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (CatalogObjKeysItemStatus) Validate ¶
func (s CatalogObjKeysItemStatus) Validate() error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) GetCatalog ¶
func (c *Client) GetCatalog(ctx context.Context, params GetCatalogParams) (GetCatalogRes, error)
GetCatalog invokes getCatalog operation.
Lightweight cross-key snapshot containing each key, latest version, operational status, source classification, and source availability. Release notes and artifact lists are omitted. The body is served from the metadata cache and does not perform a live storage scan. Query parameters are rejected.
GET /catalog.json
func (*Client) GetComposerP2Package ¶
func (c *Client) GetComposerP2Package(ctx context.Context, params GetComposerP2PackageParams) (GetComposerP2PackageRes, error)
GetComposerP2Package invokes getComposerP2Package operation.
Returns Composer v2 p2 metadata for one package name. `packageFile` contains the package segment with `.json` for stable metadata or `~dev.json` for the dev variant, for example `monolog.json` or `monolog~dev.json`. Unknown package names, dev-only misses, and invalid filenames return 404. Query parameters are rejected.
GET /p2/{vendor}/{packageFile}
func (*Client) GetComposerPackageList ¶
func (c *Client) GetComposerPackageList(ctx context.Context, params GetComposerPackageListParams) (GetComposerPackageListRes, error)
GetComposerPackageList invokes getComposerPackageList operation.
Returns available Composer package names after package-name collision resolution. The optional `filter` supports Composer-style `*` wildcards and is validated before matching so oversized or malformed filters return 400.
GET /packages/list.json
func (*Client) GetComposerPackages ¶
func (c *Client) GetComposerPackages(ctx context.Context, params GetComposerPackagesParams) (GetComposerPackagesRes, error)
GetComposerPackages invokes getComposerPackages operation.
Returns the Composer repository `packages.json` document. yggvault uses the Composer v2 lazy metadata flow: the root document advertises the p2 `metadata-url`, the complete prebuilt package-name list, and the package list endpoint. Query parameters are rejected.
GET /packages.json
func (*Client) GetFavicon ¶
func (c *Client) GetFavicon(ctx context.Context, params GetFaviconParams) (GetFaviconRes, error)
GetFavicon invokes getFavicon operation.
Multi-resolution favicon (16/32/48) generated from the node logo. Pre-rendered at startup and served with a strong content ETag. Query parameters are rejected.
GET /favicon.ico
func (*Client) GetFeed ¶
func (c *Client) GetFeed(ctx context.Context, params GetFeedParams) (GetFeedRes, error)
GetFeed invokes getFeed operation.
Atom 1.0 feed built from the cross-key release history. New events come first. The feed includes publish events and archive mutation events; a mutation is a separate entry with an ID that includes the content hash. The number of entries is capped by `web.pages.feed_size`. Query parameters are rejected.
GET /feed.xml
func (*Client) GetGoLatest ¶
func (c *Client) GetGoLatest(ctx context.Context, params GetGoLatestParams) (GetGoLatestRes, error)
GetGoLatest invokes getGoLatest operation.
Returns the Go proxy `@latest` JSON document for the newest active canonical version in the requested major line. Major-version paths such as `/{key}/v2/@latest` are accepted and mapped to the same operation. The route is available only when content detection has published a Go overlay for the key and major path.
GET /{key}/@latest
func (*Client) GetGoVersionList ¶
func (c *Client) GetGoVersionList(ctx context.Context, params GetGoVersionListParams) (GetGoVersionListRes, error)
GetGoVersionList invokes getGoVersionList operation.
Returns the Go proxy `@v/list` body: one canonical version per line, newest first. Major-version paths such as `/{key}/v2/@v/list` are accepted and mapped to the same operation. The route is available only for keys and major lines where content detection has published a Go overlay. Query parameters are rejected.
GET /{key}/@v/list
func (*Client) GetHealth ¶
func (c *Client) GetHealth(ctx context.Context) (GetHealthRes, error)
GetHealth invokes getHealth operation.
Returns the live node health snapshot for the listener that handled the request. The response is not cached and includes the entry source (`web` or `yggdrasil`), current runtime status, recent diagnostic count, and the last completed rescan timestamp when available.
GET /health
func (*Client) GetInfo ¶
func (c *Client) GetInfo(ctx context.Context) (GetInfoRes, error)
GetInfo invokes getInfo operation.
Public node identity shared by all routes: name, optional description, optional location, public contacts, clearnet domain, and Yggdrasil host. The same identity data is also published through mesh `info`/`inet` signals. Empty `domain` or `ygg_host` means the matching entry is disabled.
GET /info
func (*Client) GetKeyFeed ¶
func (c *Client) GetKeyFeed(ctx context.Context, params GetKeyFeedParams) (GetKeyFeedRes, error)
GetKeyFeed invokes getKeyFeed operation.
Atom 1.0 feed for release history events of one key. New events come first. The feed includes publish events and archive mutation events; a mutation is a separate entry with an ID that includes the content hash. The number of entries is capped by `web.pages.feed_size`. Query parameters are rejected.
GET /{key}/releases.xml
func (*Client) GetKeyReleases ¶
func (c *Client) GetKeyReleases(ctx context.Context, params GetKeyReleasesParams) (GetKeyReleasesRes, error)
GetKeyReleases invokes getKeyReleases operation.
Lightweight release snapshot for one key. Each item contains version, time, size, and a link to the detail document; release notes and artifact lists are intentionally omitted. Pagination uses keyset cursors: `?after=<next-from-previous-response>`. The `next` field is omitted on the last page.
GET /{key}/releases.json
func (*Client) GetLogo ¶
func (c *Client) GetLogo(ctx context.Context, params GetLogoParams) (GetLogoRes, error)
GetLogo invokes getLogo operation.
Square transparent PNG of the node logo at a whitelisted edge size (16, 32, 48, 180, 192, 512). Pre-rendered at startup; other sizes return 404. Query parameters are rejected.
GET /logo/{size}
func (*Client) GetMetricsCache ¶
func (c *Client) GetMetricsCache(ctx context.Context) (GetMetricsCacheRes, error)
GetMetricsCache invokes getMetricsCache operation.
JSON snapshot of the metadata/hot-file RAM cache and the storage engine (Pebble gauges, event counters, hot-cache enforcement). Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GET /metrics/cache
func (*Client) GetMetricsCore ¶
func (c *Client) GetMetricsCore(ctx context.Context) (GetMetricsCoreRes, error)
GetMetricsCore invokes getMetricsCore operation.
JSON snapshot of core HTTP request signals aggregated across operations: request and error totals and request-duration sum/count. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GET /metrics/core
func (*Client) GetMetricsErrors ¶
func (c *Client) GetMetricsErrors(ctx context.Context) (GetMetricsErrorsRes, error)
GetMetricsErrors invokes getMetricsErrors operation.
JSON view of the Error Registry: active and dropped diagnostic counts plus the bounded newest-first recent buffer for real-time triage. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GET /metrics/errors
func (*Client) GetMetricsIndex ¶
func (c *Client) GetMetricsIndex(ctx context.Context) (GetMetricsIndexRes, error)
GetMetricsIndex invokes getMetricsIndex operation.
Returns a small HTML page linking the enabled metric groups for the current entry. If both public and internal metric groups are disabled on that entry, the route is not advertised and returns 404.
GET /metrics
func (*Client) GetMetricsInternal ¶
func (c *Client) GetMetricsInternal(ctx context.Context) (GetMetricsInternalRes, error)
GetMetricsInternal invokes getMetricsInternal operation.
Complete Prometheus-compatible text exposition (version 0.0.4) covering every metric group: core, cache, rescan, errors, Yggdrasil, and internal runtime signals. Built for scrapers such as VictoriaMetrics and Prometheus. Served only when internal metrics are enabled for the current entry (`metrics.web.internal` or `metrics.ygg.internal`); otherwise the endpoint returns 404.
GET /metrics/internal
func (*Client) GetMetricsRescan ¶
func (c *Client) GetMetricsRescan(ctx context.Context) (GetMetricsRescanRes, error)
GetMetricsRescan invokes getMetricsRescan operation.
JSON snapshot of the rescan integrator: cycle, publish, and unavailability totals, mean cycle duration, and the last completed rescan timestamp. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GET /metrics/rescan
func (*Client) GetMetricsYgg ¶ added in v0.4.0
func (c *Client) GetMetricsYgg(ctx context.Context) (GetMetricsYggRes, error)
GetMetricsYgg invokes getMetricsYgg operation.
JSON snapshot of the embedded Yggdrasil node: peer totals, traffic and latency aggregates, and isolation notifications, read from the prebuilt telemetry snapshot. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`) and the Yggdrasil node is running (`ygg.pem_key` is set); otherwise the endpoint returns 404. The per-peer list is included only when internal metrics are also enabled for the entry: it exposes direct topology, so the public response stays aggregate-only.
GET /metrics/ygg
func (*Client) GetMirrorLatest ¶
func (c *Client) GetMirrorLatest(ctx context.Context, params GetMirrorLatestParams) (GetMirrorLatestRes, error)
GetMirrorLatest invokes getMirrorLatest operation.
Returns the latest indexed version for a mirrored key as a newline-terminated plain-text body. Unknown keys or keys without indexed versions return 404.
GET /{key}/latest
func (*Client) GetMirrorList ¶
func (c *Client) GetMirrorList(ctx context.Context, params GetMirrorListParams) (GetMirrorListRes, error)
GetMirrorList invokes getMirrorList operation.
Returns all indexed versions for a mirrored key as a newest-first plain-text list with one version per line. Unknown keys or keys without indexed versions return 404.
GET /{key}/list
func (*Client) GetMirrorListFull ¶
func (c *Client) GetMirrorListFull(ctx context.Context, params GetMirrorListFullParams) (GetMirrorListFullRes, error)
GetMirrorListFull invokes getMirrorListFull operation.
Returns all indexed versions for a mirrored key as a newest-first JSON array body. The current handler serves this JSON body as `text/plain`; clients should parse the body content instead of relying on an `application/json` media type.
GET /{key}/list/full
func (*Client) GetOgKey ¶
func (c *Client) GetOgKey(ctx context.Context, params GetOgKeyParams) (GetOgKeyRes, error)
GetOgKey invokes getOgKey operation.
Open Graph banner for one mirror key: key name, latest version, version count, and last publish date. Unknown or empty keys return 404. Generated on demand and cached. Query parameters are rejected.
GET /og/{key}
func (*Client) GetOgNode ¶
func (c *Client) GetOgNode(ctx context.Context, params GetOgNodeParams) (GetOgNodeRes, error)
GetOgNode invokes getOgNode operation.
Open Graph banner for the whole node (catalog page): mirror-key and version counts, plus the last publish date. Generated on demand and cached. Query parameters are rejected.
GET /og.png
func (*Client) GetOgVersion ¶
func (c *Client) GetOgVersion(ctx context.Context, params GetOgVersionParams) (GetOgVersionRes, error)
GetOgVersion invokes getOgVersion operation.
Open Graph banner for one version: version string, mirror key, source size, and detected overlays. Unknown key/version pairs return 404. Generated on demand and cached. Query parameters are rejected.
GET /og/{key}/{version}
func (*Client) GetSitemap ¶
func (c *Client) GetSitemap(ctx context.Context, params GetSitemapParams) (GetSitemapRes, error)
GetSitemap invokes getSitemap operation.
Sitemap of crawlable HTML pages for the current entry: catalog, mirror-key pages, version pages with path-safe version labels, and the metrics index when public metrics are enabled. Absolute URLs use the entry scheme, host, and nested prefix; the URL count is capped by `web.pages.sitemap_size`. Query parameters are rejected.
GET /sitemap.xml
func (*Client) GetVersionArtifact ¶
func (c *Client) GetVersionArtifact(ctx context.Context, params GetVersionArtifactParams) (GetVersionArtifactRes, error)
GetVersionArtifact invokes getVersionArtifact operation.
Go module proxy endpoint. The file extension selects the body: `.info` returns the Go proxy info JSON, `.mod` returns the raw or rewritten `go.mod`, and `.zip` streams the Go module zip from the hot cache. Versions are unescaped before lookup. Major-version paths such as `/{key}/v2/@v/v2.1.0.zip` are accepted and mapped to the same operation. The route is available only when content detection has published a Go overlay. If import rewriting is required but `overlay.go.rewrite_enabled` is false, the Go artifact is not published. Composer dist and universal `.tar.gz` archives are served from `/<key>/<version>.{zip,tar.gz}` instead. If the version exists but its zip has not been materialized yet, the `.zip` request returns 503; retry after a short delay.
GET /{key}/@v/{versionFile}
func (*Client) GetVersionFile ¶
func (c *Client) GetVersionFile(ctx context.Context, params GetVersionFileParams) (GetVersionFileRes, error)
GetVersionFile invokes getVersionFile operation.
Dispatches by file extension. `.json` returns the release detail document, `.zip` returns a deterministic zip artifact, and `.tar.gz` returns a deterministic tar.gz artifact. Archive artifacts are always the raw uploaded source tree (top-dir `<key>-<version>/`) and are host-independent; Go-module import-path rewriting is exposed only on the go-proxy `@v/<version>.zip` endpoint. A bare `<version>` without an extension renders the browser HTML version page. If the version exists but its archive has not been materialized yet, the archive request returns 503; retry after a short delay. Query parameters are rejected.
GET /{key}/{versionFile}
type ClientOption ¶
type ClientOption interface {
// contains filtered or unexported methods
}
ClientOption is client config option.
func WithClient ¶
func WithClient(client ht.Client) ClientOption
WithClient specifies http client to use.
type ComposerDistObj ¶
type ComposerDistObj struct {
// Version string or upstream reference used by Composer.
Reference string `json:"reference"`
// SHA-1 digest of the dist zip body.
Shasum OptString `json:"shasum"`
// Composer dist type. yggvault currently publishes zip dist URLs.
Type ComposerDistObjType `json:"type"`
// Universal zip URL for this version, for example `/<key>/<version>.zip`.
URL string `json:"url"`
AdditionalProps ComposerDistObjAdditional
}
Ref: #/components/schemas/ComposerDistObj
func (*ComposerDistObj) Decode ¶
func (s *ComposerDistObj) Decode(d *jx.Decoder) error
Decode decodes ComposerDistObj from json.
func (*ComposerDistObj) Encode ¶
func (s *ComposerDistObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ComposerDistObj) GetAdditionalProps ¶
func (s *ComposerDistObj) GetAdditionalProps() ComposerDistObjAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ComposerDistObj) GetReference ¶
func (s *ComposerDistObj) GetReference() string
GetReference returns the value of Reference.
func (*ComposerDistObj) GetShasum ¶
func (s *ComposerDistObj) GetShasum() OptString
GetShasum returns the value of Shasum.
func (*ComposerDistObj) GetType ¶
func (s *ComposerDistObj) GetType() ComposerDistObjType
GetType returns the value of Type.
func (*ComposerDistObj) GetURL ¶
func (s *ComposerDistObj) GetURL() string
GetURL returns the value of URL.
func (*ComposerDistObj) MarshalJSON ¶
func (s *ComposerDistObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerDistObj) SetAdditionalProps ¶
func (s *ComposerDistObj) SetAdditionalProps(val ComposerDistObjAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ComposerDistObj) SetReference ¶
func (s *ComposerDistObj) SetReference(val string)
SetReference sets the value of Reference.
func (*ComposerDistObj) SetShasum ¶
func (s *ComposerDistObj) SetShasum(val OptString)
SetShasum sets the value of Shasum.
func (*ComposerDistObj) SetType ¶
func (s *ComposerDistObj) SetType(val ComposerDistObjType)
SetType sets the value of Type.
func (*ComposerDistObj) SetURL ¶
func (s *ComposerDistObj) SetURL(val string)
SetURL sets the value of URL.
func (*ComposerDistObj) UnmarshalJSON ¶
func (s *ComposerDistObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ComposerDistObj) Validate ¶
func (s *ComposerDistObj) Validate() error
type ComposerDistObjAdditional ¶
func (*ComposerDistObjAdditional) Decode ¶
func (s *ComposerDistObjAdditional) Decode(d *jx.Decoder) error
Decode decodes ComposerDistObjAdditional from json.
func (ComposerDistObjAdditional) Encode ¶
func (s ComposerDistObjAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComposerDistObjAdditional) MarshalJSON ¶
func (s ComposerDistObjAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerDistObjAdditional) UnmarshalJSON ¶
func (s *ComposerDistObjAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ComposerDistObjType ¶
type ComposerDistObjType string
Composer dist type. yggvault currently publishes zip dist URLs.
const ( ComposerDistObjTypeZip ComposerDistObjType = "zip" ComposerDistObjTypeTar ComposerDistObjType = "tar" )
func (ComposerDistObjType) AllValues ¶
func (ComposerDistObjType) AllValues() []ComposerDistObjType
AllValues returns all ComposerDistObjType values.
func (*ComposerDistObjType) Decode ¶
func (s *ComposerDistObjType) Decode(d *jx.Decoder) error
Decode decodes ComposerDistObjType from json.
func (ComposerDistObjType) Encode ¶
func (s ComposerDistObjType) Encode(e *jx.Encoder)
Encode encodes ComposerDistObjType as json.
func (ComposerDistObjType) MarshalJSON ¶
func (s ComposerDistObjType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (ComposerDistObjType) MarshalText ¶
func (s ComposerDistObjType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ComposerDistObjType) UnmarshalJSON ¶
func (s *ComposerDistObjType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ComposerDistObjType) UnmarshalText ¶
func (s *ComposerDistObjType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ComposerDistObjType) Validate ¶
func (s ComposerDistObjType) Validate() error
type ComposerP2Obj ¶
type ComposerP2Obj struct {
// One package name mapped to its Composer versions; yggvault serves non-minified p2 metadata.
Packages ComposerP2ObjPackages `json:"packages"`
AdditionalProps ComposerP2ObjAdditional
}
Ref: #/components/schemas/ComposerP2Obj
func (*ComposerP2Obj) Decode ¶
func (s *ComposerP2Obj) Decode(d *jx.Decoder) error
Decode decodes ComposerP2Obj from json.
func (*ComposerP2Obj) Encode ¶
func (s *ComposerP2Obj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ComposerP2Obj) GetAdditionalProps ¶
func (s *ComposerP2Obj) GetAdditionalProps() ComposerP2ObjAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ComposerP2Obj) GetPackages ¶
func (s *ComposerP2Obj) GetPackages() ComposerP2ObjPackages
GetPackages returns the value of Packages.
func (*ComposerP2Obj) MarshalJSON ¶
func (s *ComposerP2Obj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerP2Obj) SetAdditionalProps ¶
func (s *ComposerP2Obj) SetAdditionalProps(val ComposerP2ObjAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ComposerP2Obj) SetPackages ¶
func (s *ComposerP2Obj) SetPackages(val ComposerP2ObjPackages)
SetPackages sets the value of Packages.
func (*ComposerP2Obj) UnmarshalJSON ¶
func (s *ComposerP2Obj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ComposerP2Obj) Validate ¶
func (s *ComposerP2Obj) Validate() error
type ComposerP2ObjAdditional ¶
func (*ComposerP2ObjAdditional) Decode ¶
func (s *ComposerP2ObjAdditional) Decode(d *jx.Decoder) error
Decode decodes ComposerP2ObjAdditional from json.
func (ComposerP2ObjAdditional) Encode ¶
func (s ComposerP2ObjAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComposerP2ObjAdditional) MarshalJSON ¶
func (s ComposerP2ObjAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerP2ObjAdditional) UnmarshalJSON ¶
func (s *ComposerP2ObjAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ComposerP2ObjHeaders ¶
type ComposerP2ObjHeaders struct {
CacheControl OptString
ETag OptString
Response ComposerP2Obj
}
ComposerP2ObjHeaders wraps ComposerP2Obj with response headers.
func (*ComposerP2ObjHeaders) GetCacheControl ¶
func (s *ComposerP2ObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*ComposerP2ObjHeaders) GetETag ¶
func (s *ComposerP2ObjHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*ComposerP2ObjHeaders) GetResponse ¶
func (s *ComposerP2ObjHeaders) GetResponse() ComposerP2Obj
GetResponse returns the value of Response.
func (*ComposerP2ObjHeaders) SetCacheControl ¶
func (s *ComposerP2ObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*ComposerP2ObjHeaders) SetETag ¶
func (s *ComposerP2ObjHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*ComposerP2ObjHeaders) SetResponse ¶
func (s *ComposerP2ObjHeaders) SetResponse(val ComposerP2Obj)
SetResponse sets the value of Response.
func (*ComposerP2ObjHeaders) Validate ¶
func (s *ComposerP2ObjHeaders) Validate() error
type ComposerP2ObjPackages ¶
type ComposerP2ObjPackages map[string][]ComposerPackageVersionObj
One package name mapped to its Composer versions; yggvault serves non-minified p2 metadata.
func (*ComposerP2ObjPackages) Decode ¶
func (s *ComposerP2ObjPackages) Decode(d *jx.Decoder) error
Decode decodes ComposerP2ObjPackages from json.
func (ComposerP2ObjPackages) Encode ¶
func (s ComposerP2ObjPackages) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComposerP2ObjPackages) MarshalJSON ¶
func (s ComposerP2ObjPackages) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerP2ObjPackages) UnmarshalJSON ¶
func (s *ComposerP2ObjPackages) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ComposerP2ObjPackages) Validate ¶
func (s ComposerP2ObjPackages) Validate() error
type ComposerPackageListObj ¶
type ComposerPackageListObj struct {
// Composer package names available through this repository after collision resolution.
PackageNames []string `json:"packageNames"`
}
Ref: #/components/schemas/ComposerPackageListObj
func (*ComposerPackageListObj) Decode ¶
func (s *ComposerPackageListObj) Decode(d *jx.Decoder) error
Decode decodes ComposerPackageListObj from json.
func (*ComposerPackageListObj) Encode ¶
func (s *ComposerPackageListObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ComposerPackageListObj) GetPackageNames ¶
func (s *ComposerPackageListObj) GetPackageNames() []string
GetPackageNames returns the value of PackageNames.
func (*ComposerPackageListObj) MarshalJSON ¶
func (s *ComposerPackageListObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerPackageListObj) SetPackageNames ¶
func (s *ComposerPackageListObj) SetPackageNames(val []string)
SetPackageNames sets the value of PackageNames.
func (*ComposerPackageListObj) UnmarshalJSON ¶
func (s *ComposerPackageListObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ComposerPackageListObj) Validate ¶
func (s *ComposerPackageListObj) Validate() error
type ComposerPackageListObjHeaders ¶
type ComposerPackageListObjHeaders struct {
CacheControl OptString
ETag OptString
Response ComposerPackageListObj
}
ComposerPackageListObjHeaders wraps ComposerPackageListObj with response headers.
func (*ComposerPackageListObjHeaders) GetCacheControl ¶
func (s *ComposerPackageListObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*ComposerPackageListObjHeaders) GetETag ¶
func (s *ComposerPackageListObjHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*ComposerPackageListObjHeaders) GetResponse ¶
func (s *ComposerPackageListObjHeaders) GetResponse() ComposerPackageListObj
GetResponse returns the value of Response.
func (*ComposerPackageListObjHeaders) SetCacheControl ¶
func (s *ComposerPackageListObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*ComposerPackageListObjHeaders) SetETag ¶
func (s *ComposerPackageListObjHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*ComposerPackageListObjHeaders) SetResponse ¶
func (s *ComposerPackageListObjHeaders) SetResponse(val ComposerPackageListObj)
SetResponse sets the value of Response.
func (*ComposerPackageListObjHeaders) Validate ¶
func (s *ComposerPackageListObjHeaders) Validate() error
type ComposerPackageVersionObj ¶
type ComposerPackageVersionObj struct {
// Composer autoload section copied from upstream metadata.
Autoload OptComposerPackageVersionObjAutoload `json:"autoload"`
Dist ComposerDistObj `json:"dist"`
// License identifiers copied from upstream metadata, when present.
License []string `json:"license"`
// Composer package name in `vendor/name` form.
Name string `json:"name"`
// Runtime dependency constraints copied from upstream `composer.json`.
Require OptComposerPackageVersionObjRequire `json:"require"`
// Development dependency constraints copied from upstream `composer.json`.
RequireMinusDev OptComposerPackageVersionObjRequireMinusDev `json:"require-dev"`
// Upstream Composer source object, preserved when present.
Source OptComposerPackageVersionObjSource `json:"source"`
// Release timestamp used by Composer clients.
Time OptDateTime `json:"time"`
// Composer package type copied from upstream metadata when present.
Type OptString `json:"type"`
// Composer version string exposed to clients.
Version string `json:"version"`
// Composer-normalized version, when available from the upstream package metadata.
VersionNormalized OptString `json:"version_normalized"`
AdditionalProps ComposerPackageVersionObjAdditional
}
Ref: #/components/schemas/ComposerPackageVersionObj
func (*ComposerPackageVersionObj) Decode ¶
func (s *ComposerPackageVersionObj) Decode(d *jx.Decoder) error
Decode decodes ComposerPackageVersionObj from json.
func (*ComposerPackageVersionObj) Encode ¶
func (s *ComposerPackageVersionObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ComposerPackageVersionObj) GetAdditionalProps ¶
func (s *ComposerPackageVersionObj) GetAdditionalProps() ComposerPackageVersionObjAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ComposerPackageVersionObj) GetAutoload ¶
func (s *ComposerPackageVersionObj) GetAutoload() OptComposerPackageVersionObjAutoload
GetAutoload returns the value of Autoload.
func (*ComposerPackageVersionObj) GetDist ¶
func (s *ComposerPackageVersionObj) GetDist() ComposerDistObj
GetDist returns the value of Dist.
func (*ComposerPackageVersionObj) GetLicense ¶
func (s *ComposerPackageVersionObj) GetLicense() []string
GetLicense returns the value of License.
func (*ComposerPackageVersionObj) GetName ¶
func (s *ComposerPackageVersionObj) GetName() string
GetName returns the value of Name.
func (*ComposerPackageVersionObj) GetRequire ¶
func (s *ComposerPackageVersionObj) GetRequire() OptComposerPackageVersionObjRequire
GetRequire returns the value of Require.
func (*ComposerPackageVersionObj) GetRequireMinusDev ¶
func (s *ComposerPackageVersionObj) GetRequireMinusDev() OptComposerPackageVersionObjRequireMinusDev
GetRequireMinusDev returns the value of RequireMinusDev.
func (*ComposerPackageVersionObj) GetSource ¶
func (s *ComposerPackageVersionObj) GetSource() OptComposerPackageVersionObjSource
GetSource returns the value of Source.
func (*ComposerPackageVersionObj) GetTime ¶
func (s *ComposerPackageVersionObj) GetTime() OptDateTime
GetTime returns the value of Time.
func (*ComposerPackageVersionObj) GetType ¶
func (s *ComposerPackageVersionObj) GetType() OptString
GetType returns the value of Type.
func (*ComposerPackageVersionObj) GetVersion ¶
func (s *ComposerPackageVersionObj) GetVersion() string
GetVersion returns the value of Version.
func (*ComposerPackageVersionObj) GetVersionNormalized ¶
func (s *ComposerPackageVersionObj) GetVersionNormalized() OptString
GetVersionNormalized returns the value of VersionNormalized.
func (*ComposerPackageVersionObj) MarshalJSON ¶
func (s *ComposerPackageVersionObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerPackageVersionObj) SetAdditionalProps ¶
func (s *ComposerPackageVersionObj) SetAdditionalProps(val ComposerPackageVersionObjAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ComposerPackageVersionObj) SetAutoload ¶
func (s *ComposerPackageVersionObj) SetAutoload(val OptComposerPackageVersionObjAutoload)
SetAutoload sets the value of Autoload.
func (*ComposerPackageVersionObj) SetDist ¶
func (s *ComposerPackageVersionObj) SetDist(val ComposerDistObj)
SetDist sets the value of Dist.
func (*ComposerPackageVersionObj) SetLicense ¶
func (s *ComposerPackageVersionObj) SetLicense(val []string)
SetLicense sets the value of License.
func (*ComposerPackageVersionObj) SetName ¶
func (s *ComposerPackageVersionObj) SetName(val string)
SetName sets the value of Name.
func (*ComposerPackageVersionObj) SetRequire ¶
func (s *ComposerPackageVersionObj) SetRequire(val OptComposerPackageVersionObjRequire)
SetRequire sets the value of Require.
func (*ComposerPackageVersionObj) SetRequireMinusDev ¶
func (s *ComposerPackageVersionObj) SetRequireMinusDev(val OptComposerPackageVersionObjRequireMinusDev)
SetRequireMinusDev sets the value of RequireMinusDev.
func (*ComposerPackageVersionObj) SetSource ¶
func (s *ComposerPackageVersionObj) SetSource(val OptComposerPackageVersionObjSource)
SetSource sets the value of Source.
func (*ComposerPackageVersionObj) SetTime ¶
func (s *ComposerPackageVersionObj) SetTime(val OptDateTime)
SetTime sets the value of Time.
func (*ComposerPackageVersionObj) SetType ¶
func (s *ComposerPackageVersionObj) SetType(val OptString)
SetType sets the value of Type.
func (*ComposerPackageVersionObj) SetVersion ¶
func (s *ComposerPackageVersionObj) SetVersion(val string)
SetVersion sets the value of Version.
func (*ComposerPackageVersionObj) SetVersionNormalized ¶
func (s *ComposerPackageVersionObj) SetVersionNormalized(val OptString)
SetVersionNormalized sets the value of VersionNormalized.
func (*ComposerPackageVersionObj) UnmarshalJSON ¶
func (s *ComposerPackageVersionObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ComposerPackageVersionObj) Validate ¶
func (s *ComposerPackageVersionObj) Validate() error
type ComposerPackageVersionObjAdditional ¶
func (*ComposerPackageVersionObjAdditional) Decode ¶
func (s *ComposerPackageVersionObjAdditional) Decode(d *jx.Decoder) error
Decode decodes ComposerPackageVersionObjAdditional from json.
func (ComposerPackageVersionObjAdditional) Encode ¶
func (s ComposerPackageVersionObjAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComposerPackageVersionObjAdditional) MarshalJSON ¶
func (s ComposerPackageVersionObjAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerPackageVersionObjAdditional) UnmarshalJSON ¶
func (s *ComposerPackageVersionObjAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ComposerPackageVersionObjAutoload ¶
Composer autoload section copied from upstream metadata.
func (*ComposerPackageVersionObjAutoload) Decode ¶
func (s *ComposerPackageVersionObjAutoload) Decode(d *jx.Decoder) error
Decode decodes ComposerPackageVersionObjAutoload from json.
func (ComposerPackageVersionObjAutoload) Encode ¶
func (s ComposerPackageVersionObjAutoload) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComposerPackageVersionObjAutoload) MarshalJSON ¶
func (s ComposerPackageVersionObjAutoload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerPackageVersionObjAutoload) UnmarshalJSON ¶
func (s *ComposerPackageVersionObjAutoload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ComposerPackageVersionObjRequire ¶
Runtime dependency constraints copied from upstream `composer.json`.
func (*ComposerPackageVersionObjRequire) Decode ¶
func (s *ComposerPackageVersionObjRequire) Decode(d *jx.Decoder) error
Decode decodes ComposerPackageVersionObjRequire from json.
func (ComposerPackageVersionObjRequire) Encode ¶
func (s ComposerPackageVersionObjRequire) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComposerPackageVersionObjRequire) MarshalJSON ¶
func (s ComposerPackageVersionObjRequire) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerPackageVersionObjRequire) UnmarshalJSON ¶
func (s *ComposerPackageVersionObjRequire) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ComposerPackageVersionObjRequireMinusDev ¶
Development dependency constraints copied from upstream `composer.json`.
func (*ComposerPackageVersionObjRequireMinusDev) Decode ¶
func (s *ComposerPackageVersionObjRequireMinusDev) Decode(d *jx.Decoder) error
Decode decodes ComposerPackageVersionObjRequireMinusDev from json.
func (ComposerPackageVersionObjRequireMinusDev) Encode ¶
func (s ComposerPackageVersionObjRequireMinusDev) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComposerPackageVersionObjRequireMinusDev) MarshalJSON ¶
func (s ComposerPackageVersionObjRequireMinusDev) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerPackageVersionObjRequireMinusDev) UnmarshalJSON ¶
func (s *ComposerPackageVersionObjRequireMinusDev) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ComposerPackageVersionObjSource ¶
Upstream Composer source object, preserved when present.
func (*ComposerPackageVersionObjSource) Decode ¶
func (s *ComposerPackageVersionObjSource) Decode(d *jx.Decoder) error
Decode decodes ComposerPackageVersionObjSource from json.
func (ComposerPackageVersionObjSource) Encode ¶
func (s ComposerPackageVersionObjSource) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComposerPackageVersionObjSource) MarshalJSON ¶
func (s ComposerPackageVersionObjSource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerPackageVersionObjSource) UnmarshalJSON ¶
func (s *ComposerPackageVersionObjSource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ComposerPackagesObj ¶
type ComposerPackagesObj struct {
// Complete prebuilt list of package names currently available from this node.
AvailableMinusPackages []string `json:"available-packages"`
// Package-list endpoint, for example `/packages/list.json`.
List OptString `json:"list"`
// Composer v2 package metadata URL template, for example `/p2/%package%.json`.
MetadataMinusURL string `json:"metadata-url"`
// Inline package map. It is normally empty because yggvault uses Composer v2 lazy metadata.
Packages OptComposerPackagesObjPackages `json:"packages"`
AdditionalProps ComposerPackagesObjAdditional
}
Ref: #/components/schemas/ComposerPackagesObj
func (*ComposerPackagesObj) Decode ¶
func (s *ComposerPackagesObj) Decode(d *jx.Decoder) error
Decode decodes ComposerPackagesObj from json.
func (*ComposerPackagesObj) Encode ¶
func (s *ComposerPackagesObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ComposerPackagesObj) GetAdditionalProps ¶
func (s *ComposerPackagesObj) GetAdditionalProps() ComposerPackagesObjAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*ComposerPackagesObj) GetAvailableMinusPackages ¶
func (s *ComposerPackagesObj) GetAvailableMinusPackages() []string
GetAvailableMinusPackages returns the value of AvailableMinusPackages.
func (*ComposerPackagesObj) GetList ¶
func (s *ComposerPackagesObj) GetList() OptString
GetList returns the value of List.
func (*ComposerPackagesObj) GetMetadataMinusURL ¶
func (s *ComposerPackagesObj) GetMetadataMinusURL() string
GetMetadataMinusURL returns the value of MetadataMinusURL.
func (*ComposerPackagesObj) GetPackages ¶
func (s *ComposerPackagesObj) GetPackages() OptComposerPackagesObjPackages
GetPackages returns the value of Packages.
func (*ComposerPackagesObj) MarshalJSON ¶
func (s *ComposerPackagesObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerPackagesObj) SetAdditionalProps ¶
func (s *ComposerPackagesObj) SetAdditionalProps(val ComposerPackagesObjAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*ComposerPackagesObj) SetAvailableMinusPackages ¶
func (s *ComposerPackagesObj) SetAvailableMinusPackages(val []string)
SetAvailableMinusPackages sets the value of AvailableMinusPackages.
func (*ComposerPackagesObj) SetList ¶
func (s *ComposerPackagesObj) SetList(val OptString)
SetList sets the value of List.
func (*ComposerPackagesObj) SetMetadataMinusURL ¶
func (s *ComposerPackagesObj) SetMetadataMinusURL(val string)
SetMetadataMinusURL sets the value of MetadataMinusURL.
func (*ComposerPackagesObj) SetPackages ¶
func (s *ComposerPackagesObj) SetPackages(val OptComposerPackagesObjPackages)
SetPackages sets the value of Packages.
func (*ComposerPackagesObj) UnmarshalJSON ¶
func (s *ComposerPackagesObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ComposerPackagesObj) Validate ¶
func (s *ComposerPackagesObj) Validate() error
type ComposerPackagesObjAdditional ¶
func (*ComposerPackagesObjAdditional) Decode ¶
func (s *ComposerPackagesObjAdditional) Decode(d *jx.Decoder) error
Decode decodes ComposerPackagesObjAdditional from json.
func (ComposerPackagesObjAdditional) Encode ¶
func (s ComposerPackagesObjAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComposerPackagesObjAdditional) MarshalJSON ¶
func (s ComposerPackagesObjAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerPackagesObjAdditional) UnmarshalJSON ¶
func (s *ComposerPackagesObjAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ComposerPackagesObjHeaders ¶
type ComposerPackagesObjHeaders struct {
CacheControl OptString
ETag OptString
Response ComposerPackagesObj
}
ComposerPackagesObjHeaders wraps ComposerPackagesObj with response headers.
func (*ComposerPackagesObjHeaders) GetCacheControl ¶
func (s *ComposerPackagesObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*ComposerPackagesObjHeaders) GetETag ¶
func (s *ComposerPackagesObjHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*ComposerPackagesObjHeaders) GetResponse ¶
func (s *ComposerPackagesObjHeaders) GetResponse() ComposerPackagesObj
GetResponse returns the value of Response.
func (*ComposerPackagesObjHeaders) SetCacheControl ¶
func (s *ComposerPackagesObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*ComposerPackagesObjHeaders) SetETag ¶
func (s *ComposerPackagesObjHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*ComposerPackagesObjHeaders) SetResponse ¶
func (s *ComposerPackagesObjHeaders) SetResponse(val ComposerPackagesObj)
SetResponse sets the value of Response.
func (*ComposerPackagesObjHeaders) Validate ¶
func (s *ComposerPackagesObjHeaders) Validate() error
type ComposerPackagesObjPackages ¶
type ComposerPackagesObjPackages map[string]ComposerPackagesObjPackagesItem
Inline package map. It is normally empty because yggvault uses Composer v2 lazy metadata.
func (*ComposerPackagesObjPackages) Decode ¶
func (s *ComposerPackagesObjPackages) Decode(d *jx.Decoder) error
Decode decodes ComposerPackagesObjPackages from json.
func (ComposerPackagesObjPackages) Encode ¶
func (s ComposerPackagesObjPackages) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComposerPackagesObjPackages) MarshalJSON ¶
func (s ComposerPackagesObjPackages) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerPackagesObjPackages) UnmarshalJSON ¶
func (s *ComposerPackagesObjPackages) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ComposerPackagesObjPackages) Validate ¶
func (s ComposerPackagesObjPackages) Validate() error
type ComposerPackagesObjPackagesItem ¶
type ComposerPackagesObjPackagesItem map[string]ComposerPackageVersionObj
func (*ComposerPackagesObjPackagesItem) Decode ¶
func (s *ComposerPackagesObjPackagesItem) Decode(d *jx.Decoder) error
Decode decodes ComposerPackagesObjPackagesItem from json.
func (ComposerPackagesObjPackagesItem) Encode ¶
func (s ComposerPackagesObjPackagesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComposerPackagesObjPackagesItem) MarshalJSON ¶
func (s ComposerPackagesObjPackagesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComposerPackagesObjPackagesItem) UnmarshalJSON ¶
func (s *ComposerPackagesObjPackagesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ComposerPackagesObjPackagesItem) Validate ¶
func (s ComposerPackagesObjPackagesItem) Validate() error
type DefaultErrorObj ¶
type DefaultErrorObj struct {
// Short machine-oriented error code or stable error class.
Error string `json:"error"`
// Human-readable error description. Error text is always emitted in English.
Message string `json:"message"`
// Request identifier that can be used to find the matching access log entry.
RequestID OptString `json:"request_id"`
}
Ref: #/components/schemas/DefaultErrorObj
func (*DefaultErrorObj) Decode ¶
func (s *DefaultErrorObj) Decode(d *jx.Decoder) error
Decode decodes DefaultErrorObj from json.
func (*DefaultErrorObj) Encode ¶
func (s *DefaultErrorObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DefaultErrorObj) GetError ¶
func (s *DefaultErrorObj) GetError() string
GetError returns the value of Error.
func (*DefaultErrorObj) GetMessage ¶
func (s *DefaultErrorObj) GetMessage() string
GetMessage returns the value of Message.
func (*DefaultErrorObj) GetRequestID ¶
func (s *DefaultErrorObj) GetRequestID() OptString
GetRequestID returns the value of RequestID.
func (*DefaultErrorObj) MarshalJSON ¶
func (s *DefaultErrorObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DefaultErrorObj) SetError ¶
func (s *DefaultErrorObj) SetError(val string)
SetError sets the value of Error.
func (*DefaultErrorObj) SetMessage ¶
func (s *DefaultErrorObj) SetMessage(val string)
SetMessage sets the value of Message.
func (*DefaultErrorObj) SetRequestID ¶
func (s *DefaultErrorObj) SetRequestID(val OptString)
SetRequestID sets the value of RequestID.
func (*DefaultErrorObj) UnmarshalJSON ¶
func (s *DefaultErrorObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorType ¶
type ErrorType = DefaultErrorObj
type FuncInterface ¶
type FuncInterface interface {
// GetCatalog handles GET /catalog.json.
//
// Catalog of all configured mirror keys
//
// Lightweight cross-key snapshot containing each key, latest version, operational status, source classification, and source availability. Release notes and artifact lists are omitted. The body is served from the metadata cache and does not perform a live storage scan. Query parameters are rejected.
GetCatalog(ctx context.Context, params GetCatalogParams) (GetCatalogRes, error)
// GetComposerP2Package handles GET /p2/{vendor}/{packageFile}.
//
// Composer v2 package metadata
//
// Returns Composer v2 p2 metadata for one package name. `packageFile` contains the package segment with `.json` for stable metadata or `~dev.json` for the dev variant, for example `monolog.json` or `monolog~dev.json`. Unknown package names, dev-only misses, and invalid filenames return 404. Query parameters are rejected.
GetComposerP2Package(ctx context.Context, params GetComposerP2PackageParams) (GetComposerP2PackageRes, error)
// GetComposerPackageList handles GET /packages/list.json.
//
// Composer package-name list
//
// Returns available Composer package names after package-name collision resolution. The optional `filter` supports Composer-style `*` wildcards and is validated before matching so oversized or malformed filters return 400.
GetComposerPackageList(ctx context.Context, params GetComposerPackageListParams) (GetComposerPackageListRes, error)
// GetComposerPackages handles GET /packages.json.
//
// Composer repository root metadata
//
// Returns the Composer repository `packages.json` document. yggvault uses the Composer v2 lazy metadata flow: the root document advertises the p2 `metadata-url`, the complete prebuilt package-name list, and the package list endpoint. Query parameters are rejected.
GetComposerPackages(ctx context.Context, params GetComposerPackagesParams) (GetComposerPackagesRes, error)
// GetFavicon handles GET /favicon.ico.
//
// Node favicon
//
// Multi-resolution favicon (16/32/48) generated from the node logo. Pre-rendered at startup and served with a strong content ETag. Query parameters are rejected.
GetFavicon(ctx context.Context, params GetFaviconParams) (GetFaviconRes, error)
// GetFeed handles GET /feed.xml.
//
// Global Atom release-event feed
//
// Atom 1.0 feed built from the cross-key release history. New events come first. The feed includes publish events and archive mutation events; a mutation is a separate entry with an ID that includes the content hash. The number of entries is capped by `web.pages.feed_size`. Query parameters are rejected.
GetFeed(ctx context.Context, params GetFeedParams) (GetFeedRes, error)
// GetGoLatest handles GET /{key}/@latest.
//
// Latest version metadata for the Go module proxy
//
// Returns the Go proxy `@latest` JSON document for the newest active canonical version in the requested major line. Major-version paths such as `/{key}/v2/@latest` are accepted and mapped to the same operation. The route is available only when content detection has published a Go overlay for the key and major path.
GetGoLatest(ctx context.Context, params GetGoLatestParams) (GetGoLatestRes, error)
// GetGoVersionList handles GET /{key}/@v/list.
//
// Unpaginated Go-compatible version list
//
// Returns the Go proxy `@v/list` body: one canonical version per line, newest first. Major-version paths such as `/{key}/v2/@v/list` are accepted and mapped to the same operation. The route is available only for keys and major lines where content detection has published a Go overlay. Query parameters are rejected.
GetGoVersionList(ctx context.Context, params GetGoVersionListParams) (GetGoVersionListRes, error)
// GetHealth handles GET /health.
//
// Health status for the current entry channel
//
// Returns the live node health snapshot for the listener that handled the request. The response is not cached and includes the entry source (`web` or `yggdrasil`), current runtime status, recent diagnostic count, and the last completed rescan timestamp when available.
GetHealth(ctx context.Context) (GetHealthRes, error)
// GetInfo handles GET /info.
//
// Public node identity card
//
// Public node identity shared by all routes: name, optional description, optional location, public contacts, clearnet domain, and Yggdrasil host. The same identity data is also published through mesh `info`/`inet` signals. Empty `domain` or `ygg_host` means the matching entry is disabled.
GetInfo(ctx context.Context) (GetInfoRes, error)
// GetKeyFeed handles GET /{key}/releases.xml.
//
// Atom release-event feed for one key
//
// Atom 1.0 feed for release history events of one key. New events come first. The feed includes publish events and archive mutation events; a mutation is a separate entry with an ID that includes the content hash. The number of entries is capped by `web.pages.feed_size`. Query parameters are rejected.
GetKeyFeed(ctx context.Context, params GetKeyFeedParams) (GetKeyFeedRes, error)
// GetKeyReleases handles GET /{key}/releases.json.
//
// Paginated release list for one key
//
// Lightweight release snapshot for one key. Each item contains version, time, size, and a link to the detail document; release notes and artifact lists are intentionally omitted. Pagination uses keyset cursors: `?after=<next-from-previous-response>`. The `next` field is omitted on the last page.
GetKeyReleases(ctx context.Context, params GetKeyReleasesParams) (GetKeyReleasesRes, error)
// GetLogo handles GET /logo/{size}.
//
// Node logo PNG
//
// Square transparent PNG of the node logo at a whitelisted edge size (16, 32, 48, 180, 192, 512). Pre-rendered at startup; other sizes return 404. Query parameters are rejected.
GetLogo(ctx context.Context, params GetLogoParams) (GetLogoRes, error)
// GetMetricsCache handles GET /metrics/cache.
//
// Cache and storage-serving metrics
//
// JSON snapshot of the metadata/hot-file RAM cache and the storage engine (Pebble gauges, event counters, hot-cache enforcement). Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GetMetricsCache(ctx context.Context) (GetMetricsCacheRes, error)
// GetMetricsCore handles GET /metrics/core.
//
// Core HTTP request metrics
//
// JSON snapshot of core HTTP request signals aggregated across operations: request and error totals and request-duration sum/count. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GetMetricsCore(ctx context.Context) (GetMetricsCoreRes, error)
// GetMetricsErrors handles GET /metrics/errors.
//
// Error registry metrics
//
// JSON view of the Error Registry: active and dropped diagnostic counts plus the bounded newest-first recent buffer for real-time triage. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GetMetricsErrors(ctx context.Context) (GetMetricsErrorsRes, error)
// GetMetricsIndex handles GET /metrics.
//
// Human-readable metrics index
//
// Returns a small HTML page linking the enabled metric groups for the current entry. If both public and internal metric groups are disabled on that entry, the route is not advertised and returns 404.
GetMetricsIndex(ctx context.Context) (GetMetricsIndexRes, error)
// GetMetricsInternal handles GET /metrics/internal.
//
// Full Prometheus text exposition
//
// Complete Prometheus-compatible text exposition (version 0.0.4) covering every metric group: core, cache, rescan, errors, Yggdrasil, and internal runtime signals. Built for scrapers such as VictoriaMetrics and Prometheus. Served only when internal metrics are enabled for the current entry (`metrics.web.internal` or `metrics.ygg.internal`); otherwise the endpoint returns 404.
GetMetricsInternal(ctx context.Context) (GetMetricsInternalRes, error)
// GetMetricsRescan handles GET /metrics/rescan.
//
// Rescan and upstream-source metrics
//
// JSON snapshot of the rescan integrator: cycle, publish, and unavailability totals, mean cycle duration, and the last completed rescan timestamp. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GetMetricsRescan(ctx context.Context) (GetMetricsRescanRes, error)
// GetMetricsYgg handles GET /metrics/ygg.
//
// Yggdrasil mesh peer metrics
//
// JSON snapshot of the embedded Yggdrasil node: peer totals, traffic and latency aggregates, and isolation notifications, read from the prebuilt telemetry snapshot. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`) and the Yggdrasil node is running (`ygg.pem_key` is set); otherwise the endpoint returns 404. The per-peer list is included only when internal metrics are also enabled for the entry: it exposes direct topology, so the public response stays aggregate-only.
GetMetricsYgg(ctx context.Context) (GetMetricsYggRes, error)
// GetMirrorLatest handles GET /{key}/latest.
//
// Latest mirrored version as plain text
//
// Returns the latest indexed version for a mirrored key as a newline-terminated plain-text body. Unknown keys or keys without indexed versions return 404.
GetMirrorLatest(ctx context.Context, params GetMirrorLatestParams) (GetMirrorLatestRes, error)
// GetMirrorList handles GET /{key}/list.
//
// Mirrored version list as plain text
//
// Returns all indexed versions for a mirrored key as a newest-first plain-text list with one version per line. Unknown keys or keys without indexed versions return 404.
GetMirrorList(ctx context.Context, params GetMirrorListParams) (GetMirrorListRes, error)
// GetMirrorListFull handles GET /{key}/list/full.
//
// Mirrored version list with tree hash and source size
//
// Returns all indexed versions for a mirrored key as a newest-first JSON array body. The current handler serves this JSON body as `text/plain`; clients should parse the body content instead of relying on an `application/json` media type.
GetMirrorListFull(ctx context.Context, params GetMirrorListFullParams) (GetMirrorListFullRes, error)
// GetOgKey handles GET /og/{key}.
//
// Module Open Graph banner
//
// Open Graph banner for one mirror key: key name, latest version, version count, and last publish date. Unknown or empty keys return 404. Generated on demand and cached. Query parameters are rejected.
GetOgKey(ctx context.Context, params GetOgKeyParams) (GetOgKeyRes, error)
// GetOgNode handles GET /og.png.
//
// Node Open Graph banner
//
// Open Graph banner for the whole node (catalog page): mirror-key and version counts, plus the last publish date. Generated on demand and cached. Query parameters are rejected.
GetOgNode(ctx context.Context, params GetOgNodeParams) (GetOgNodeRes, error)
// GetOgVersion handles GET /og/{key}/{version}.
//
// Version Open Graph banner
//
// Open Graph banner for one version: version string, mirror key, source size, and detected overlays. Unknown key/version pairs return 404. Generated on demand and cached. Query parameters are rejected.
GetOgVersion(ctx context.Context, params GetOgVersionParams) (GetOgVersionRes, error)
// GetSitemap handles GET /sitemap.xml.
//
// Node sitemap
//
// Sitemap of crawlable HTML pages for the current entry: catalog, mirror-key pages, version pages with path-safe version labels, and the metrics index when public metrics are enabled. Absolute URLs use the entry scheme, host, and nested prefix; the URL count is capped by `web.pages.sitemap_size`. Query parameters are rejected.
GetSitemap(ctx context.Context, params GetSitemapParams) (GetSitemapRes, error)
// GetVersionArtifact handles GET /{key}/@v/{versionFile}.
//
// Go proxy version artifact: .info, .mod, or .zip
//
// Go module proxy endpoint. The file extension selects the body: `.info` returns the Go proxy info JSON, `.mod` returns the raw or rewritten `go.mod`, and `.zip` streams the Go module zip from the hot cache. Versions are unescaped before lookup. Major-version paths such as `/{key}/v2/@v/v2.1.0.zip` are accepted and mapped to the same operation. The route is available only when content detection has published a Go overlay. If import rewriting is required but `overlay.go.rewrite_enabled` is false, the Go artifact is not published. Composer dist and universal `.tar.gz` archives are served from `/<key>/<version>.{zip,tar.gz}` instead. If the version exists but its zip has not been materialized yet, the `.zip` request returns 503; retry after a short delay.
GetVersionArtifact(ctx context.Context, params GetVersionArtifactParams) (GetVersionArtifactRes, error)
// GetVersionFile handles GET /{key}/{versionFile}.
//
// Per-version file: <version>.json, <version>.zip, or <version>.tar.gz
//
// Dispatches by file extension. `.json` returns the release detail document, `.zip` returns a deterministic zip artifact, and `.tar.gz` returns a deterministic tar.gz artifact. Archive artifacts are always the raw uploaded source tree (top-dir `<key>-<version>/`) and are host-independent; Go-module import-path rewriting is exposed only on the go-proxy `@v/<version>.zip` endpoint. A bare `<version>` without an extension renders the browser HTML version page. If the version exists but its archive has not been materialized yet, the archive request returns 503; retry after a short delay. Query parameters are rejected.
GetVersionFile(ctx context.Context, params GetVersionFileParams) (GetVersionFileRes, error)
}
type GetCatalogBadRequest ¶
type GetCatalogBadRequest DefaultErrorObj
func (*GetCatalogBadRequest) Decode ¶
func (s *GetCatalogBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetCatalogBadRequest from json.
func (*GetCatalogBadRequest) Encode ¶
func (s *GetCatalogBadRequest) Encode(e *jx.Encoder)
Encode encodes GetCatalogBadRequest as json.
func (*GetCatalogBadRequest) MarshalJSON ¶
func (s *GetCatalogBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetCatalogBadRequest) UnmarshalJSON ¶
func (s *GetCatalogBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetCatalogInternalServerError ¶
type GetCatalogInternalServerError DefaultErrorObj
func (*GetCatalogInternalServerError) Decode ¶
func (s *GetCatalogInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetCatalogInternalServerError from json.
func (*GetCatalogInternalServerError) Encode ¶
func (s *GetCatalogInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetCatalogInternalServerError as json.
func (*GetCatalogInternalServerError) MarshalJSON ¶
func (s *GetCatalogInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetCatalogInternalServerError) UnmarshalJSON ¶
func (s *GetCatalogInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetCatalogMethodNotAllowed ¶
type GetCatalogMethodNotAllowed DefaultErrorObj
func (*GetCatalogMethodNotAllowed) Decode ¶
func (s *GetCatalogMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetCatalogMethodNotAllowed from json.
func (*GetCatalogMethodNotAllowed) Encode ¶
func (s *GetCatalogMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetCatalogMethodNotAllowed as json.
func (*GetCatalogMethodNotAllowed) MarshalJSON ¶
func (s *GetCatalogMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetCatalogMethodNotAllowed) UnmarshalJSON ¶
func (s *GetCatalogMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetCatalogOKTextPlain ¶
type GetCatalogOKTextPlainHeaders ¶
type GetCatalogOKTextPlainHeaders struct {
CacheControl OptString
ETag OptString
Response GetCatalogOKTextPlain
}
GetCatalogOKTextPlainHeaders wraps GetCatalogOKTextPlain with response headers.
func (*GetCatalogOKTextPlainHeaders) GetCacheControl ¶
func (s *GetCatalogOKTextPlainHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetCatalogOKTextPlainHeaders) GetETag ¶
func (s *GetCatalogOKTextPlainHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetCatalogOKTextPlainHeaders) GetResponse ¶
func (s *GetCatalogOKTextPlainHeaders) GetResponse() GetCatalogOKTextPlain
GetResponse returns the value of Response.
func (*GetCatalogOKTextPlainHeaders) SetCacheControl ¶
func (s *GetCatalogOKTextPlainHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetCatalogOKTextPlainHeaders) SetETag ¶
func (s *GetCatalogOKTextPlainHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetCatalogOKTextPlainHeaders) SetResponse ¶
func (s *GetCatalogOKTextPlainHeaders) SetResponse(val GetCatalogOKTextPlain)
SetResponse sets the value of Response.
type GetCatalogParams ¶
type GetCatalogParams struct {
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetCatalogParams is parameters of getCatalog operation.
type GetCatalogRequestHeaderFieldsTooLarge ¶
type GetCatalogRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetCatalogRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetCatalogRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetCatalogRequestHeaderFieldsTooLarge from json.
func (*GetCatalogRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetCatalogRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetCatalogRequestHeaderFieldsTooLarge as json.
func (*GetCatalogRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetCatalogRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetCatalogRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetCatalogRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetCatalogRequestURITooLong ¶
type GetCatalogRequestURITooLong DefaultErrorObj
func (*GetCatalogRequestURITooLong) Decode ¶
func (s *GetCatalogRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetCatalogRequestURITooLong from json.
func (*GetCatalogRequestURITooLong) Encode ¶
func (s *GetCatalogRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetCatalogRequestURITooLong as json.
func (*GetCatalogRequestURITooLong) MarshalJSON ¶
func (s *GetCatalogRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetCatalogRequestURITooLong) UnmarshalJSON ¶
func (s *GetCatalogRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetCatalogRes ¶
type GetCatalogRes interface {
// contains filtered or unexported methods
}
type GetCatalogTooManyRequests ¶
type GetCatalogTooManyRequests DefaultErrorObj
func (*GetCatalogTooManyRequests) Decode ¶
func (s *GetCatalogTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetCatalogTooManyRequests from json.
func (*GetCatalogTooManyRequests) Encode ¶
func (s *GetCatalogTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetCatalogTooManyRequests as json.
func (*GetCatalogTooManyRequests) MarshalJSON ¶
func (s *GetCatalogTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetCatalogTooManyRequests) UnmarshalJSON ¶
func (s *GetCatalogTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerP2PackageBadRequest ¶
type GetComposerP2PackageBadRequest DefaultErrorObj
func (*GetComposerP2PackageBadRequest) Decode ¶
func (s *GetComposerP2PackageBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetComposerP2PackageBadRequest from json.
func (*GetComposerP2PackageBadRequest) Encode ¶
func (s *GetComposerP2PackageBadRequest) Encode(e *jx.Encoder)
Encode encodes GetComposerP2PackageBadRequest as json.
func (*GetComposerP2PackageBadRequest) MarshalJSON ¶
func (s *GetComposerP2PackageBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerP2PackageBadRequest) UnmarshalJSON ¶
func (s *GetComposerP2PackageBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerP2PackageInternalServerError ¶
type GetComposerP2PackageInternalServerError DefaultErrorObj
func (*GetComposerP2PackageInternalServerError) Decode ¶
func (s *GetComposerP2PackageInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetComposerP2PackageInternalServerError from json.
func (*GetComposerP2PackageInternalServerError) Encode ¶
func (s *GetComposerP2PackageInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetComposerP2PackageInternalServerError as json.
func (*GetComposerP2PackageInternalServerError) MarshalJSON ¶
func (s *GetComposerP2PackageInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerP2PackageInternalServerError) UnmarshalJSON ¶
func (s *GetComposerP2PackageInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerP2PackageMethodNotAllowed ¶
type GetComposerP2PackageMethodNotAllowed DefaultErrorObj
func (*GetComposerP2PackageMethodNotAllowed) Decode ¶
func (s *GetComposerP2PackageMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetComposerP2PackageMethodNotAllowed from json.
func (*GetComposerP2PackageMethodNotAllowed) Encode ¶
func (s *GetComposerP2PackageMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetComposerP2PackageMethodNotAllowed as json.
func (*GetComposerP2PackageMethodNotAllowed) MarshalJSON ¶
func (s *GetComposerP2PackageMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerP2PackageMethodNotAllowed) UnmarshalJSON ¶
func (s *GetComposerP2PackageMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerP2PackageNotFound ¶
type GetComposerP2PackageNotFound DefaultErrorObj
func (*GetComposerP2PackageNotFound) Decode ¶
func (s *GetComposerP2PackageNotFound) Decode(d *jx.Decoder) error
Decode decodes GetComposerP2PackageNotFound from json.
func (*GetComposerP2PackageNotFound) Encode ¶
func (s *GetComposerP2PackageNotFound) Encode(e *jx.Encoder)
Encode encodes GetComposerP2PackageNotFound as json.
func (*GetComposerP2PackageNotFound) MarshalJSON ¶
func (s *GetComposerP2PackageNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerP2PackageNotFound) UnmarshalJSON ¶
func (s *GetComposerP2PackageNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerP2PackageParams ¶
type GetComposerP2PackageParams struct {
// Composer vendor segment.
Vendor string
// Composer package metadata filename, for example `monolog.json` or `monolog~dev.json`.
PackageFile string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetComposerP2PackageParams is parameters of getComposerP2Package operation.
type GetComposerP2PackageRequestHeaderFieldsTooLarge ¶
type GetComposerP2PackageRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetComposerP2PackageRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetComposerP2PackageRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetComposerP2PackageRequestHeaderFieldsTooLarge from json.
func (*GetComposerP2PackageRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetComposerP2PackageRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetComposerP2PackageRequestHeaderFieldsTooLarge as json.
func (*GetComposerP2PackageRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetComposerP2PackageRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerP2PackageRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetComposerP2PackageRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerP2PackageRequestURITooLong ¶
type GetComposerP2PackageRequestURITooLong DefaultErrorObj
func (*GetComposerP2PackageRequestURITooLong) Decode ¶
func (s *GetComposerP2PackageRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetComposerP2PackageRequestURITooLong from json.
func (*GetComposerP2PackageRequestURITooLong) Encode ¶
func (s *GetComposerP2PackageRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetComposerP2PackageRequestURITooLong as json.
func (*GetComposerP2PackageRequestURITooLong) MarshalJSON ¶
func (s *GetComposerP2PackageRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerP2PackageRequestURITooLong) UnmarshalJSON ¶
func (s *GetComposerP2PackageRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerP2PackageRes ¶
type GetComposerP2PackageRes interface {
// contains filtered or unexported methods
}
type GetComposerP2PackageTooManyRequests ¶
type GetComposerP2PackageTooManyRequests DefaultErrorObj
func (*GetComposerP2PackageTooManyRequests) Decode ¶
func (s *GetComposerP2PackageTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetComposerP2PackageTooManyRequests from json.
func (*GetComposerP2PackageTooManyRequests) Encode ¶
func (s *GetComposerP2PackageTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetComposerP2PackageTooManyRequests as json.
func (*GetComposerP2PackageTooManyRequests) MarshalJSON ¶
func (s *GetComposerP2PackageTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerP2PackageTooManyRequests) UnmarshalJSON ¶
func (s *GetComposerP2PackageTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackageListBadRequest ¶
type GetComposerPackageListBadRequest DefaultErrorObj
func (*GetComposerPackageListBadRequest) Decode ¶
func (s *GetComposerPackageListBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackageListBadRequest from json.
func (*GetComposerPackageListBadRequest) Encode ¶
func (s *GetComposerPackageListBadRequest) Encode(e *jx.Encoder)
Encode encodes GetComposerPackageListBadRequest as json.
func (*GetComposerPackageListBadRequest) MarshalJSON ¶
func (s *GetComposerPackageListBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackageListBadRequest) UnmarshalJSON ¶
func (s *GetComposerPackageListBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackageListInternalServerError ¶
type GetComposerPackageListInternalServerError DefaultErrorObj
func (*GetComposerPackageListInternalServerError) Decode ¶
func (s *GetComposerPackageListInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackageListInternalServerError from json.
func (*GetComposerPackageListInternalServerError) Encode ¶
func (s *GetComposerPackageListInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetComposerPackageListInternalServerError as json.
func (*GetComposerPackageListInternalServerError) MarshalJSON ¶
func (s *GetComposerPackageListInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackageListInternalServerError) UnmarshalJSON ¶
func (s *GetComposerPackageListInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackageListMethodNotAllowed ¶
type GetComposerPackageListMethodNotAllowed DefaultErrorObj
func (*GetComposerPackageListMethodNotAllowed) Decode ¶
func (s *GetComposerPackageListMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackageListMethodNotAllowed from json.
func (*GetComposerPackageListMethodNotAllowed) Encode ¶
func (s *GetComposerPackageListMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetComposerPackageListMethodNotAllowed as json.
func (*GetComposerPackageListMethodNotAllowed) MarshalJSON ¶
func (s *GetComposerPackageListMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackageListMethodNotAllowed) UnmarshalJSON ¶
func (s *GetComposerPackageListMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackageListParams ¶
type GetComposerPackageListParams struct {
// Composer filter with optional `*` wildcards.
Filter OptString `json:",omitempty,omitzero"`
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetComposerPackageListParams is parameters of getComposerPackageList operation.
type GetComposerPackageListRequestHeaderFieldsTooLarge ¶
type GetComposerPackageListRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetComposerPackageListRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetComposerPackageListRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackageListRequestHeaderFieldsTooLarge from json.
func (*GetComposerPackageListRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetComposerPackageListRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetComposerPackageListRequestHeaderFieldsTooLarge as json.
func (*GetComposerPackageListRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetComposerPackageListRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackageListRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetComposerPackageListRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackageListRequestURITooLong ¶
type GetComposerPackageListRequestURITooLong DefaultErrorObj
func (*GetComposerPackageListRequestURITooLong) Decode ¶
func (s *GetComposerPackageListRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackageListRequestURITooLong from json.
func (*GetComposerPackageListRequestURITooLong) Encode ¶
func (s *GetComposerPackageListRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetComposerPackageListRequestURITooLong as json.
func (*GetComposerPackageListRequestURITooLong) MarshalJSON ¶
func (s *GetComposerPackageListRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackageListRequestURITooLong) UnmarshalJSON ¶
func (s *GetComposerPackageListRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackageListRes ¶
type GetComposerPackageListRes interface {
// contains filtered or unexported methods
}
type GetComposerPackageListTooManyRequests ¶
type GetComposerPackageListTooManyRequests DefaultErrorObj
func (*GetComposerPackageListTooManyRequests) Decode ¶
func (s *GetComposerPackageListTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackageListTooManyRequests from json.
func (*GetComposerPackageListTooManyRequests) Encode ¶
func (s *GetComposerPackageListTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetComposerPackageListTooManyRequests as json.
func (*GetComposerPackageListTooManyRequests) MarshalJSON ¶
func (s *GetComposerPackageListTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackageListTooManyRequests) UnmarshalJSON ¶
func (s *GetComposerPackageListTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackagesBadRequest ¶
type GetComposerPackagesBadRequest DefaultErrorObj
func (*GetComposerPackagesBadRequest) Decode ¶
func (s *GetComposerPackagesBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackagesBadRequest from json.
func (*GetComposerPackagesBadRequest) Encode ¶
func (s *GetComposerPackagesBadRequest) Encode(e *jx.Encoder)
Encode encodes GetComposerPackagesBadRequest as json.
func (*GetComposerPackagesBadRequest) MarshalJSON ¶
func (s *GetComposerPackagesBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackagesBadRequest) UnmarshalJSON ¶
func (s *GetComposerPackagesBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackagesInternalServerError ¶
type GetComposerPackagesInternalServerError DefaultErrorObj
func (*GetComposerPackagesInternalServerError) Decode ¶
func (s *GetComposerPackagesInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackagesInternalServerError from json.
func (*GetComposerPackagesInternalServerError) Encode ¶
func (s *GetComposerPackagesInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetComposerPackagesInternalServerError as json.
func (*GetComposerPackagesInternalServerError) MarshalJSON ¶
func (s *GetComposerPackagesInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackagesInternalServerError) UnmarshalJSON ¶
func (s *GetComposerPackagesInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackagesMethodNotAllowed ¶
type GetComposerPackagesMethodNotAllowed DefaultErrorObj
func (*GetComposerPackagesMethodNotAllowed) Decode ¶
func (s *GetComposerPackagesMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackagesMethodNotAllowed from json.
func (*GetComposerPackagesMethodNotAllowed) Encode ¶
func (s *GetComposerPackagesMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetComposerPackagesMethodNotAllowed as json.
func (*GetComposerPackagesMethodNotAllowed) MarshalJSON ¶
func (s *GetComposerPackagesMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackagesMethodNotAllowed) UnmarshalJSON ¶
func (s *GetComposerPackagesMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackagesParams ¶
type GetComposerPackagesParams struct {
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetComposerPackagesParams is parameters of getComposerPackages operation.
type GetComposerPackagesRequestHeaderFieldsTooLarge ¶
type GetComposerPackagesRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetComposerPackagesRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetComposerPackagesRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackagesRequestHeaderFieldsTooLarge from json.
func (*GetComposerPackagesRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetComposerPackagesRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetComposerPackagesRequestHeaderFieldsTooLarge as json.
func (*GetComposerPackagesRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetComposerPackagesRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackagesRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetComposerPackagesRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackagesRequestURITooLong ¶
type GetComposerPackagesRequestURITooLong DefaultErrorObj
func (*GetComposerPackagesRequestURITooLong) Decode ¶
func (s *GetComposerPackagesRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackagesRequestURITooLong from json.
func (*GetComposerPackagesRequestURITooLong) Encode ¶
func (s *GetComposerPackagesRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetComposerPackagesRequestURITooLong as json.
func (*GetComposerPackagesRequestURITooLong) MarshalJSON ¶
func (s *GetComposerPackagesRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackagesRequestURITooLong) UnmarshalJSON ¶
func (s *GetComposerPackagesRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetComposerPackagesRes ¶
type GetComposerPackagesRes interface {
// contains filtered or unexported methods
}
type GetComposerPackagesTooManyRequests ¶
type GetComposerPackagesTooManyRequests DefaultErrorObj
func (*GetComposerPackagesTooManyRequests) Decode ¶
func (s *GetComposerPackagesTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetComposerPackagesTooManyRequests from json.
func (*GetComposerPackagesTooManyRequests) Encode ¶
func (s *GetComposerPackagesTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetComposerPackagesTooManyRequests as json.
func (*GetComposerPackagesTooManyRequests) MarshalJSON ¶
func (s *GetComposerPackagesTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetComposerPackagesTooManyRequests) UnmarshalJSON ¶
func (s *GetComposerPackagesTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFaviconBadRequest ¶
type GetFaviconBadRequest DefaultErrorObj
func (*GetFaviconBadRequest) Decode ¶
func (s *GetFaviconBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetFaviconBadRequest from json.
func (*GetFaviconBadRequest) Encode ¶
func (s *GetFaviconBadRequest) Encode(e *jx.Encoder)
Encode encodes GetFaviconBadRequest as json.
func (*GetFaviconBadRequest) MarshalJSON ¶
func (s *GetFaviconBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFaviconBadRequest) UnmarshalJSON ¶
func (s *GetFaviconBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFaviconInternalServerError ¶
type GetFaviconInternalServerError DefaultErrorObj
func (*GetFaviconInternalServerError) Decode ¶
func (s *GetFaviconInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetFaviconInternalServerError from json.
func (*GetFaviconInternalServerError) Encode ¶
func (s *GetFaviconInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetFaviconInternalServerError as json.
func (*GetFaviconInternalServerError) MarshalJSON ¶
func (s *GetFaviconInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFaviconInternalServerError) UnmarshalJSON ¶
func (s *GetFaviconInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFaviconMethodNotAllowed ¶
type GetFaviconMethodNotAllowed DefaultErrorObj
func (*GetFaviconMethodNotAllowed) Decode ¶
func (s *GetFaviconMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetFaviconMethodNotAllowed from json.
func (*GetFaviconMethodNotAllowed) Encode ¶
func (s *GetFaviconMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetFaviconMethodNotAllowed as json.
func (*GetFaviconMethodNotAllowed) MarshalJSON ¶
func (s *GetFaviconMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFaviconMethodNotAllowed) UnmarshalJSON ¶
func (s *GetFaviconMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFaviconOK ¶
type GetFaviconOKHeaders ¶
type GetFaviconOKHeaders struct {
CacheControl OptString
ETag OptString
Response GetFaviconOK
}
GetFaviconOKHeaders wraps GetFaviconOK with response headers.
func (*GetFaviconOKHeaders) GetCacheControl ¶
func (s *GetFaviconOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetFaviconOKHeaders) GetETag ¶
func (s *GetFaviconOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetFaviconOKHeaders) GetResponse ¶
func (s *GetFaviconOKHeaders) GetResponse() GetFaviconOK
GetResponse returns the value of Response.
func (*GetFaviconOKHeaders) SetCacheControl ¶
func (s *GetFaviconOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetFaviconOKHeaders) SetETag ¶
func (s *GetFaviconOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetFaviconOKHeaders) SetResponse ¶
func (s *GetFaviconOKHeaders) SetResponse(val GetFaviconOK)
SetResponse sets the value of Response.
type GetFaviconParams ¶
type GetFaviconParams struct {
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetFaviconParams is parameters of getFavicon operation.
type GetFaviconRequestHeaderFieldsTooLarge ¶
type GetFaviconRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetFaviconRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetFaviconRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetFaviconRequestHeaderFieldsTooLarge from json.
func (*GetFaviconRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetFaviconRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetFaviconRequestHeaderFieldsTooLarge as json.
func (*GetFaviconRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetFaviconRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFaviconRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetFaviconRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFaviconRequestURITooLong ¶
type GetFaviconRequestURITooLong DefaultErrorObj
func (*GetFaviconRequestURITooLong) Decode ¶
func (s *GetFaviconRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetFaviconRequestURITooLong from json.
func (*GetFaviconRequestURITooLong) Encode ¶
func (s *GetFaviconRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetFaviconRequestURITooLong as json.
func (*GetFaviconRequestURITooLong) MarshalJSON ¶
func (s *GetFaviconRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFaviconRequestURITooLong) UnmarshalJSON ¶
func (s *GetFaviconRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFaviconRes ¶
type GetFaviconRes interface {
// contains filtered or unexported methods
}
type GetFeedBadRequest ¶
type GetFeedBadRequest DefaultErrorObj
func (*GetFeedBadRequest) Decode ¶
func (s *GetFeedBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetFeedBadRequest from json.
func (*GetFeedBadRequest) Encode ¶
func (s *GetFeedBadRequest) Encode(e *jx.Encoder)
Encode encodes GetFeedBadRequest as json.
func (*GetFeedBadRequest) MarshalJSON ¶
func (s *GetFeedBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFeedBadRequest) UnmarshalJSON ¶
func (s *GetFeedBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFeedInternalServerError ¶
type GetFeedInternalServerError DefaultErrorObj
func (*GetFeedInternalServerError) Decode ¶
func (s *GetFeedInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetFeedInternalServerError from json.
func (*GetFeedInternalServerError) Encode ¶
func (s *GetFeedInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetFeedInternalServerError as json.
func (*GetFeedInternalServerError) MarshalJSON ¶
func (s *GetFeedInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFeedInternalServerError) UnmarshalJSON ¶
func (s *GetFeedInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFeedMethodNotAllowed ¶
type GetFeedMethodNotAllowed DefaultErrorObj
func (*GetFeedMethodNotAllowed) Decode ¶
func (s *GetFeedMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetFeedMethodNotAllowed from json.
func (*GetFeedMethodNotAllowed) Encode ¶
func (s *GetFeedMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetFeedMethodNotAllowed as json.
func (*GetFeedMethodNotAllowed) MarshalJSON ¶
func (s *GetFeedMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFeedMethodNotAllowed) UnmarshalJSON ¶
func (s *GetFeedMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFeedOKHeaders ¶
GetFeedOKHeaders wraps GetFeedOK with response headers.
func (*GetFeedOKHeaders) GetCacheControl ¶
func (s *GetFeedOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetFeedOKHeaders) GetETag ¶
func (s *GetFeedOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetFeedOKHeaders) GetResponse ¶
func (s *GetFeedOKHeaders) GetResponse() GetFeedOK
GetResponse returns the value of Response.
func (*GetFeedOKHeaders) SetCacheControl ¶
func (s *GetFeedOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetFeedOKHeaders) SetETag ¶
func (s *GetFeedOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetFeedOKHeaders) SetResponse ¶
func (s *GetFeedOKHeaders) SetResponse(val GetFeedOK)
SetResponse sets the value of Response.
type GetFeedParams ¶
type GetFeedParams struct {
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetFeedParams is parameters of getFeed operation.
type GetFeedRequestHeaderFieldsTooLarge ¶
type GetFeedRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetFeedRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetFeedRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetFeedRequestHeaderFieldsTooLarge from json.
func (*GetFeedRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetFeedRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetFeedRequestHeaderFieldsTooLarge as json.
func (*GetFeedRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetFeedRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFeedRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetFeedRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFeedRequestURITooLong ¶
type GetFeedRequestURITooLong DefaultErrorObj
func (*GetFeedRequestURITooLong) Decode ¶
func (s *GetFeedRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetFeedRequestURITooLong from json.
func (*GetFeedRequestURITooLong) Encode ¶
func (s *GetFeedRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetFeedRequestURITooLong as json.
func (*GetFeedRequestURITooLong) MarshalJSON ¶
func (s *GetFeedRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFeedRequestURITooLong) UnmarshalJSON ¶
func (s *GetFeedRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetFeedRes ¶
type GetFeedRes interface {
// contains filtered or unexported methods
}
type GetFeedTooManyRequests ¶
type GetFeedTooManyRequests DefaultErrorObj
func (*GetFeedTooManyRequests) Decode ¶
func (s *GetFeedTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetFeedTooManyRequests from json.
func (*GetFeedTooManyRequests) Encode ¶
func (s *GetFeedTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetFeedTooManyRequests as json.
func (*GetFeedTooManyRequests) MarshalJSON ¶
func (s *GetFeedTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetFeedTooManyRequests) UnmarshalJSON ¶
func (s *GetFeedTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoLatestBadRequest ¶
type GetGoLatestBadRequest DefaultErrorObj
func (*GetGoLatestBadRequest) Decode ¶
func (s *GetGoLatestBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetGoLatestBadRequest from json.
func (*GetGoLatestBadRequest) Encode ¶
func (s *GetGoLatestBadRequest) Encode(e *jx.Encoder)
Encode encodes GetGoLatestBadRequest as json.
func (*GetGoLatestBadRequest) MarshalJSON ¶
func (s *GetGoLatestBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoLatestBadRequest) UnmarshalJSON ¶
func (s *GetGoLatestBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoLatestInternalServerError ¶
type GetGoLatestInternalServerError DefaultErrorObj
func (*GetGoLatestInternalServerError) Decode ¶
func (s *GetGoLatestInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetGoLatestInternalServerError from json.
func (*GetGoLatestInternalServerError) Encode ¶
func (s *GetGoLatestInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetGoLatestInternalServerError as json.
func (*GetGoLatestInternalServerError) MarshalJSON ¶
func (s *GetGoLatestInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoLatestInternalServerError) UnmarshalJSON ¶
func (s *GetGoLatestInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoLatestMethodNotAllowed ¶
type GetGoLatestMethodNotAllowed DefaultErrorObj
func (*GetGoLatestMethodNotAllowed) Decode ¶
func (s *GetGoLatestMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetGoLatestMethodNotAllowed from json.
func (*GetGoLatestMethodNotAllowed) Encode ¶
func (s *GetGoLatestMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetGoLatestMethodNotAllowed as json.
func (*GetGoLatestMethodNotAllowed) MarshalJSON ¶
func (s *GetGoLatestMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoLatestMethodNotAllowed) UnmarshalJSON ¶
func (s *GetGoLatestMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoLatestNotFound ¶
type GetGoLatestNotFound DefaultErrorObj
func (*GetGoLatestNotFound) Decode ¶
func (s *GetGoLatestNotFound) Decode(d *jx.Decoder) error
Decode decodes GetGoLatestNotFound from json.
func (*GetGoLatestNotFound) Encode ¶
func (s *GetGoLatestNotFound) Encode(e *jx.Encoder)
Encode encodes GetGoLatestNotFound as json.
func (*GetGoLatestNotFound) MarshalJSON ¶
func (s *GetGoLatestNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoLatestNotFound) UnmarshalJSON ¶
func (s *GetGoLatestNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoLatestParams ¶
type GetGoLatestParams struct {
// Registry key configured in `release_mirrors`. Valid configuration keys match
// `^[a-z0-9][a-z0-9._-]{1,38}[a-z0-9]$`, cannot look like a Go major suffix such as `v2`, and cannot
// use reserved route names including `list`, `latest`, `@v`, `@latest`, `health`, `info`, `metrics`,
// `openapi.json`, `p`, `p2`, `packages`, `packages.json`, `rpc`, `catalog.json`, `feed.xml`, `logo`,
// `og.png`, `favicon.ico`, and `sitemap.xml`.
Key string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetGoLatestParams is parameters of getGoLatest operation.
type GetGoLatestRequestHeaderFieldsTooLarge ¶
type GetGoLatestRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetGoLatestRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetGoLatestRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetGoLatestRequestHeaderFieldsTooLarge from json.
func (*GetGoLatestRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetGoLatestRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetGoLatestRequestHeaderFieldsTooLarge as json.
func (*GetGoLatestRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetGoLatestRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoLatestRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetGoLatestRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoLatestRequestURITooLong ¶
type GetGoLatestRequestURITooLong DefaultErrorObj
func (*GetGoLatestRequestURITooLong) Decode ¶
func (s *GetGoLatestRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetGoLatestRequestURITooLong from json.
func (*GetGoLatestRequestURITooLong) Encode ¶
func (s *GetGoLatestRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetGoLatestRequestURITooLong as json.
func (*GetGoLatestRequestURITooLong) MarshalJSON ¶
func (s *GetGoLatestRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoLatestRequestURITooLong) UnmarshalJSON ¶
func (s *GetGoLatestRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoLatestRes ¶
type GetGoLatestRes interface {
// contains filtered or unexported methods
}
type GetGoLatestTooManyRequests ¶
type GetGoLatestTooManyRequests DefaultErrorObj
func (*GetGoLatestTooManyRequests) Decode ¶
func (s *GetGoLatestTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetGoLatestTooManyRequests from json.
func (*GetGoLatestTooManyRequests) Encode ¶
func (s *GetGoLatestTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetGoLatestTooManyRequests as json.
func (*GetGoLatestTooManyRequests) MarshalJSON ¶
func (s *GetGoLatestTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoLatestTooManyRequests) UnmarshalJSON ¶
func (s *GetGoLatestTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoVersionListBadRequest ¶
type GetGoVersionListBadRequest DefaultErrorObj
func (*GetGoVersionListBadRequest) Decode ¶
func (s *GetGoVersionListBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetGoVersionListBadRequest from json.
func (*GetGoVersionListBadRequest) Encode ¶
func (s *GetGoVersionListBadRequest) Encode(e *jx.Encoder)
Encode encodes GetGoVersionListBadRequest as json.
func (*GetGoVersionListBadRequest) MarshalJSON ¶
func (s *GetGoVersionListBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoVersionListBadRequest) UnmarshalJSON ¶
func (s *GetGoVersionListBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoVersionListInternalServerError ¶
type GetGoVersionListInternalServerError DefaultErrorObj
func (*GetGoVersionListInternalServerError) Decode ¶
func (s *GetGoVersionListInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetGoVersionListInternalServerError from json.
func (*GetGoVersionListInternalServerError) Encode ¶
func (s *GetGoVersionListInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetGoVersionListInternalServerError as json.
func (*GetGoVersionListInternalServerError) MarshalJSON ¶
func (s *GetGoVersionListInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoVersionListInternalServerError) UnmarshalJSON ¶
func (s *GetGoVersionListInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoVersionListMethodNotAllowed ¶
type GetGoVersionListMethodNotAllowed DefaultErrorObj
func (*GetGoVersionListMethodNotAllowed) Decode ¶
func (s *GetGoVersionListMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetGoVersionListMethodNotAllowed from json.
func (*GetGoVersionListMethodNotAllowed) Encode ¶
func (s *GetGoVersionListMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetGoVersionListMethodNotAllowed as json.
func (*GetGoVersionListMethodNotAllowed) MarshalJSON ¶
func (s *GetGoVersionListMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoVersionListMethodNotAllowed) UnmarshalJSON ¶
func (s *GetGoVersionListMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoVersionListNotFound ¶
type GetGoVersionListNotFound DefaultErrorObj
func (*GetGoVersionListNotFound) Decode ¶
func (s *GetGoVersionListNotFound) Decode(d *jx.Decoder) error
Decode decodes GetGoVersionListNotFound from json.
func (*GetGoVersionListNotFound) Encode ¶
func (s *GetGoVersionListNotFound) Encode(e *jx.Encoder)
Encode encodes GetGoVersionListNotFound as json.
func (*GetGoVersionListNotFound) MarshalJSON ¶
func (s *GetGoVersionListNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoVersionListNotFound) UnmarshalJSON ¶
func (s *GetGoVersionListNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoVersionListOK ¶
type GetGoVersionListOKHeaders ¶
type GetGoVersionListOKHeaders struct {
CacheControl OptString
ETag OptString
Response GetGoVersionListOK
}
GetGoVersionListOKHeaders wraps GetGoVersionListOK with response headers.
func (*GetGoVersionListOKHeaders) GetCacheControl ¶
func (s *GetGoVersionListOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetGoVersionListOKHeaders) GetETag ¶
func (s *GetGoVersionListOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetGoVersionListOKHeaders) GetResponse ¶
func (s *GetGoVersionListOKHeaders) GetResponse() GetGoVersionListOK
GetResponse returns the value of Response.
func (*GetGoVersionListOKHeaders) SetCacheControl ¶
func (s *GetGoVersionListOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetGoVersionListOKHeaders) SetETag ¶
func (s *GetGoVersionListOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetGoVersionListOKHeaders) SetResponse ¶
func (s *GetGoVersionListOKHeaders) SetResponse(val GetGoVersionListOK)
SetResponse sets the value of Response.
type GetGoVersionListParams ¶
type GetGoVersionListParams struct {
// Registry key configured in `release_mirrors`. Valid configuration keys match
// `^[a-z0-9][a-z0-9._-]{1,38}[a-z0-9]$`, cannot look like a Go major suffix such as `v2`, and cannot
// use reserved route names including `list`, `latest`, `@v`, `@latest`, `health`, `info`, `metrics`,
// `openapi.json`, `p`, `p2`, `packages`, `packages.json`, `rpc`, `catalog.json`, `feed.xml`, `logo`,
// `og.png`, `favicon.ico`, and `sitemap.xml`.
Key string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetGoVersionListParams is parameters of getGoVersionList operation.
type GetGoVersionListRequestHeaderFieldsTooLarge ¶
type GetGoVersionListRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetGoVersionListRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetGoVersionListRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetGoVersionListRequestHeaderFieldsTooLarge from json.
func (*GetGoVersionListRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetGoVersionListRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetGoVersionListRequestHeaderFieldsTooLarge as json.
func (*GetGoVersionListRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetGoVersionListRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoVersionListRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetGoVersionListRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoVersionListRequestURITooLong ¶
type GetGoVersionListRequestURITooLong DefaultErrorObj
func (*GetGoVersionListRequestURITooLong) Decode ¶
func (s *GetGoVersionListRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetGoVersionListRequestURITooLong from json.
func (*GetGoVersionListRequestURITooLong) Encode ¶
func (s *GetGoVersionListRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetGoVersionListRequestURITooLong as json.
func (*GetGoVersionListRequestURITooLong) MarshalJSON ¶
func (s *GetGoVersionListRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoVersionListRequestURITooLong) UnmarshalJSON ¶
func (s *GetGoVersionListRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetGoVersionListRes ¶
type GetGoVersionListRes interface {
// contains filtered or unexported methods
}
type GetGoVersionListTooManyRequests ¶
type GetGoVersionListTooManyRequests DefaultErrorObj
func (*GetGoVersionListTooManyRequests) Decode ¶
func (s *GetGoVersionListTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetGoVersionListTooManyRequests from json.
func (*GetGoVersionListTooManyRequests) Encode ¶
func (s *GetGoVersionListTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetGoVersionListTooManyRequests as json.
func (*GetGoVersionListTooManyRequests) MarshalJSON ¶
func (s *GetGoVersionListTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetGoVersionListTooManyRequests) UnmarshalJSON ¶
func (s *GetGoVersionListTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetHealthBadRequest ¶
type GetHealthBadRequest DefaultErrorObj
func (*GetHealthBadRequest) Decode ¶
func (s *GetHealthBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetHealthBadRequest from json.
func (*GetHealthBadRequest) Encode ¶
func (s *GetHealthBadRequest) Encode(e *jx.Encoder)
Encode encodes GetHealthBadRequest as json.
func (*GetHealthBadRequest) MarshalJSON ¶
func (s *GetHealthBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetHealthBadRequest) UnmarshalJSON ¶
func (s *GetHealthBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetHealthInternalServerError ¶
type GetHealthInternalServerError DefaultErrorObj
func (*GetHealthInternalServerError) Decode ¶
func (s *GetHealthInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetHealthInternalServerError from json.
func (*GetHealthInternalServerError) Encode ¶
func (s *GetHealthInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetHealthInternalServerError as json.
func (*GetHealthInternalServerError) MarshalJSON ¶
func (s *GetHealthInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetHealthInternalServerError) UnmarshalJSON ¶
func (s *GetHealthInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetHealthMethodNotAllowed ¶
type GetHealthMethodNotAllowed DefaultErrorObj
func (*GetHealthMethodNotAllowed) Decode ¶
func (s *GetHealthMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetHealthMethodNotAllowed from json.
func (*GetHealthMethodNotAllowed) Encode ¶
func (s *GetHealthMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetHealthMethodNotAllowed as json.
func (*GetHealthMethodNotAllowed) MarshalJSON ¶
func (s *GetHealthMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetHealthMethodNotAllowed) UnmarshalJSON ¶
func (s *GetHealthMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetHealthRequestHeaderFieldsTooLarge ¶
type GetHealthRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetHealthRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetHealthRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetHealthRequestHeaderFieldsTooLarge from json.
func (*GetHealthRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetHealthRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetHealthRequestHeaderFieldsTooLarge as json.
func (*GetHealthRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetHealthRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetHealthRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetHealthRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetHealthRequestURITooLong ¶
type GetHealthRequestURITooLong DefaultErrorObj
func (*GetHealthRequestURITooLong) Decode ¶
func (s *GetHealthRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetHealthRequestURITooLong from json.
func (*GetHealthRequestURITooLong) Encode ¶
func (s *GetHealthRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetHealthRequestURITooLong as json.
func (*GetHealthRequestURITooLong) MarshalJSON ¶
func (s *GetHealthRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetHealthRequestURITooLong) UnmarshalJSON ¶
func (s *GetHealthRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetHealthRes ¶
type GetHealthRes interface {
// contains filtered or unexported methods
}
type GetInfoBadRequest ¶
type GetInfoBadRequest DefaultErrorObj
func (*GetInfoBadRequest) Decode ¶
func (s *GetInfoBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetInfoBadRequest from json.
func (*GetInfoBadRequest) Encode ¶
func (s *GetInfoBadRequest) Encode(e *jx.Encoder)
Encode encodes GetInfoBadRequest as json.
func (*GetInfoBadRequest) MarshalJSON ¶
func (s *GetInfoBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetInfoBadRequest) UnmarshalJSON ¶
func (s *GetInfoBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetInfoInternalServerError ¶
type GetInfoInternalServerError DefaultErrorObj
func (*GetInfoInternalServerError) Decode ¶
func (s *GetInfoInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetInfoInternalServerError from json.
func (*GetInfoInternalServerError) Encode ¶
func (s *GetInfoInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetInfoInternalServerError as json.
func (*GetInfoInternalServerError) MarshalJSON ¶
func (s *GetInfoInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetInfoInternalServerError) UnmarshalJSON ¶
func (s *GetInfoInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetInfoMethodNotAllowed ¶
type GetInfoMethodNotAllowed DefaultErrorObj
func (*GetInfoMethodNotAllowed) Decode ¶
func (s *GetInfoMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetInfoMethodNotAllowed from json.
func (*GetInfoMethodNotAllowed) Encode ¶
func (s *GetInfoMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetInfoMethodNotAllowed as json.
func (*GetInfoMethodNotAllowed) MarshalJSON ¶
func (s *GetInfoMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetInfoMethodNotAllowed) UnmarshalJSON ¶
func (s *GetInfoMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetInfoRequestHeaderFieldsTooLarge ¶
type GetInfoRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetInfoRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetInfoRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetInfoRequestHeaderFieldsTooLarge from json.
func (*GetInfoRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetInfoRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetInfoRequestHeaderFieldsTooLarge as json.
func (*GetInfoRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetInfoRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetInfoRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetInfoRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetInfoRequestURITooLong ¶
type GetInfoRequestURITooLong DefaultErrorObj
func (*GetInfoRequestURITooLong) Decode ¶
func (s *GetInfoRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetInfoRequestURITooLong from json.
func (*GetInfoRequestURITooLong) Encode ¶
func (s *GetInfoRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetInfoRequestURITooLong as json.
func (*GetInfoRequestURITooLong) MarshalJSON ¶
func (s *GetInfoRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetInfoRequestURITooLong) UnmarshalJSON ¶
func (s *GetInfoRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetInfoRes ¶
type GetInfoRes interface {
// contains filtered or unexported methods
}
type GetKeyFeedBadRequest ¶
type GetKeyFeedBadRequest DefaultErrorObj
func (*GetKeyFeedBadRequest) Decode ¶
func (s *GetKeyFeedBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetKeyFeedBadRequest from json.
func (*GetKeyFeedBadRequest) Encode ¶
func (s *GetKeyFeedBadRequest) Encode(e *jx.Encoder)
Encode encodes GetKeyFeedBadRequest as json.
func (*GetKeyFeedBadRequest) MarshalJSON ¶
func (s *GetKeyFeedBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyFeedBadRequest) UnmarshalJSON ¶
func (s *GetKeyFeedBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyFeedInternalServerError ¶
type GetKeyFeedInternalServerError DefaultErrorObj
func (*GetKeyFeedInternalServerError) Decode ¶
func (s *GetKeyFeedInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetKeyFeedInternalServerError from json.
func (*GetKeyFeedInternalServerError) Encode ¶
func (s *GetKeyFeedInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetKeyFeedInternalServerError as json.
func (*GetKeyFeedInternalServerError) MarshalJSON ¶
func (s *GetKeyFeedInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyFeedInternalServerError) UnmarshalJSON ¶
func (s *GetKeyFeedInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyFeedMethodNotAllowed ¶
type GetKeyFeedMethodNotAllowed DefaultErrorObj
func (*GetKeyFeedMethodNotAllowed) Decode ¶
func (s *GetKeyFeedMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetKeyFeedMethodNotAllowed from json.
func (*GetKeyFeedMethodNotAllowed) Encode ¶
func (s *GetKeyFeedMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetKeyFeedMethodNotAllowed as json.
func (*GetKeyFeedMethodNotAllowed) MarshalJSON ¶
func (s *GetKeyFeedMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyFeedMethodNotAllowed) UnmarshalJSON ¶
func (s *GetKeyFeedMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyFeedNotFound ¶
type GetKeyFeedNotFound DefaultErrorObj
func (*GetKeyFeedNotFound) Decode ¶
func (s *GetKeyFeedNotFound) Decode(d *jx.Decoder) error
Decode decodes GetKeyFeedNotFound from json.
func (*GetKeyFeedNotFound) Encode ¶
func (s *GetKeyFeedNotFound) Encode(e *jx.Encoder)
Encode encodes GetKeyFeedNotFound as json.
func (*GetKeyFeedNotFound) MarshalJSON ¶
func (s *GetKeyFeedNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyFeedNotFound) UnmarshalJSON ¶
func (s *GetKeyFeedNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyFeedOK ¶
type GetKeyFeedOKHeaders ¶
type GetKeyFeedOKHeaders struct {
CacheControl OptString
ETag OptString
Response GetKeyFeedOK
}
GetKeyFeedOKHeaders wraps GetKeyFeedOK with response headers.
func (*GetKeyFeedOKHeaders) GetCacheControl ¶
func (s *GetKeyFeedOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetKeyFeedOKHeaders) GetETag ¶
func (s *GetKeyFeedOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetKeyFeedOKHeaders) GetResponse ¶
func (s *GetKeyFeedOKHeaders) GetResponse() GetKeyFeedOK
GetResponse returns the value of Response.
func (*GetKeyFeedOKHeaders) SetCacheControl ¶
func (s *GetKeyFeedOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetKeyFeedOKHeaders) SetETag ¶
func (s *GetKeyFeedOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetKeyFeedOKHeaders) SetResponse ¶
func (s *GetKeyFeedOKHeaders) SetResponse(val GetKeyFeedOK)
SetResponse sets the value of Response.
type GetKeyFeedParams ¶
type GetKeyFeedParams struct {
// Registry key configured in `release_mirrors`. Valid configuration keys match
// `^[a-z0-9][a-z0-9._-]{1,38}[a-z0-9]$`, cannot look like a Go major suffix such as `v2`, and cannot
// use reserved route names including `list`, `latest`, `@v`, `@latest`, `health`, `info`, `metrics`,
// `openapi.json`, `p`, `p2`, `packages`, `packages.json`, `rpc`, `catalog.json`, `feed.xml`, `logo`,
// `og.png`, `favicon.ico`, and `sitemap.xml`.
Key string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetKeyFeedParams is parameters of getKeyFeed operation.
type GetKeyFeedRequestHeaderFieldsTooLarge ¶
type GetKeyFeedRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetKeyFeedRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetKeyFeedRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetKeyFeedRequestHeaderFieldsTooLarge from json.
func (*GetKeyFeedRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetKeyFeedRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetKeyFeedRequestHeaderFieldsTooLarge as json.
func (*GetKeyFeedRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetKeyFeedRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyFeedRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetKeyFeedRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyFeedRequestURITooLong ¶
type GetKeyFeedRequestURITooLong DefaultErrorObj
func (*GetKeyFeedRequestURITooLong) Decode ¶
func (s *GetKeyFeedRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetKeyFeedRequestURITooLong from json.
func (*GetKeyFeedRequestURITooLong) Encode ¶
func (s *GetKeyFeedRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetKeyFeedRequestURITooLong as json.
func (*GetKeyFeedRequestURITooLong) MarshalJSON ¶
func (s *GetKeyFeedRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyFeedRequestURITooLong) UnmarshalJSON ¶
func (s *GetKeyFeedRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyFeedRes ¶
type GetKeyFeedRes interface {
// contains filtered or unexported methods
}
type GetKeyFeedTooManyRequests ¶
type GetKeyFeedTooManyRequests DefaultErrorObj
func (*GetKeyFeedTooManyRequests) Decode ¶
func (s *GetKeyFeedTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetKeyFeedTooManyRequests from json.
func (*GetKeyFeedTooManyRequests) Encode ¶
func (s *GetKeyFeedTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetKeyFeedTooManyRequests as json.
func (*GetKeyFeedTooManyRequests) MarshalJSON ¶
func (s *GetKeyFeedTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyFeedTooManyRequests) UnmarshalJSON ¶
func (s *GetKeyFeedTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyReleasesBadRequest ¶
type GetKeyReleasesBadRequest DefaultErrorObj
func (*GetKeyReleasesBadRequest) Decode ¶
func (s *GetKeyReleasesBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetKeyReleasesBadRequest from json.
func (*GetKeyReleasesBadRequest) Encode ¶
func (s *GetKeyReleasesBadRequest) Encode(e *jx.Encoder)
Encode encodes GetKeyReleasesBadRequest as json.
func (*GetKeyReleasesBadRequest) MarshalJSON ¶
func (s *GetKeyReleasesBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyReleasesBadRequest) UnmarshalJSON ¶
func (s *GetKeyReleasesBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyReleasesInternalServerError ¶
type GetKeyReleasesInternalServerError DefaultErrorObj
func (*GetKeyReleasesInternalServerError) Decode ¶
func (s *GetKeyReleasesInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetKeyReleasesInternalServerError from json.
func (*GetKeyReleasesInternalServerError) Encode ¶
func (s *GetKeyReleasesInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetKeyReleasesInternalServerError as json.
func (*GetKeyReleasesInternalServerError) MarshalJSON ¶
func (s *GetKeyReleasesInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyReleasesInternalServerError) UnmarshalJSON ¶
func (s *GetKeyReleasesInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyReleasesMethodNotAllowed ¶
type GetKeyReleasesMethodNotAllowed DefaultErrorObj
func (*GetKeyReleasesMethodNotAllowed) Decode ¶
func (s *GetKeyReleasesMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetKeyReleasesMethodNotAllowed from json.
func (*GetKeyReleasesMethodNotAllowed) Encode ¶
func (s *GetKeyReleasesMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetKeyReleasesMethodNotAllowed as json.
func (*GetKeyReleasesMethodNotAllowed) MarshalJSON ¶
func (s *GetKeyReleasesMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyReleasesMethodNotAllowed) UnmarshalJSON ¶
func (s *GetKeyReleasesMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyReleasesNotFound ¶
type GetKeyReleasesNotFound DefaultErrorObj
func (*GetKeyReleasesNotFound) Decode ¶
func (s *GetKeyReleasesNotFound) Decode(d *jx.Decoder) error
Decode decodes GetKeyReleasesNotFound from json.
func (*GetKeyReleasesNotFound) Encode ¶
func (s *GetKeyReleasesNotFound) Encode(e *jx.Encoder)
Encode encodes GetKeyReleasesNotFound as json.
func (*GetKeyReleasesNotFound) MarshalJSON ¶
func (s *GetKeyReleasesNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyReleasesNotFound) UnmarshalJSON ¶
func (s *GetKeyReleasesNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyReleasesOKTextPlainHeaders ¶
type GetKeyReleasesOKTextPlainHeaders struct {
CacheControl OptString
ETag OptString
Response GetKeyReleasesOKTextPlain
}
GetKeyReleasesOKTextPlainHeaders wraps GetKeyReleasesOKTextPlain with response headers.
func (*GetKeyReleasesOKTextPlainHeaders) GetCacheControl ¶
func (s *GetKeyReleasesOKTextPlainHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetKeyReleasesOKTextPlainHeaders) GetETag ¶
func (s *GetKeyReleasesOKTextPlainHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetKeyReleasesOKTextPlainHeaders) GetResponse ¶
func (s *GetKeyReleasesOKTextPlainHeaders) GetResponse() GetKeyReleasesOKTextPlain
GetResponse returns the value of Response.
func (*GetKeyReleasesOKTextPlainHeaders) SetCacheControl ¶
func (s *GetKeyReleasesOKTextPlainHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetKeyReleasesOKTextPlainHeaders) SetETag ¶
func (s *GetKeyReleasesOKTextPlainHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetKeyReleasesOKTextPlainHeaders) SetResponse ¶
func (s *GetKeyReleasesOKTextPlainHeaders) SetResponse(val GetKeyReleasesOKTextPlain)
SetResponse sets the value of Response.
type GetKeyReleasesParams ¶
type GetKeyReleasesParams struct {
// Registry key configured in `release_mirrors`. Valid configuration keys match
// `^[a-z0-9][a-z0-9._-]{1,38}[a-z0-9]$`, cannot look like a Go major suffix such as `v2`, and cannot
// use reserved route names including `list`, `latest`, `@v`, `@latest`, `health`, `info`, `metrics`,
// `openapi.json`, `p`, `p2`, `packages`, `packages.json`, `rpc`, `catalog.json`, `feed.xml`, `logo`,
// `og.png`, `favicon.ico`, and `sitemap.xml`.
Key string
// Opaque keyset cursor copied from the `next` field of the previous response. Omit it to read the
// first page. The page size is controlled by `web.pages.list_page_size`.
After OptString `json:",omitempty,omitzero"`
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetKeyReleasesParams is parameters of getKeyReleases operation.
type GetKeyReleasesRequestHeaderFieldsTooLarge ¶
type GetKeyReleasesRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetKeyReleasesRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetKeyReleasesRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetKeyReleasesRequestHeaderFieldsTooLarge from json.
func (*GetKeyReleasesRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetKeyReleasesRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetKeyReleasesRequestHeaderFieldsTooLarge as json.
func (*GetKeyReleasesRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetKeyReleasesRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyReleasesRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetKeyReleasesRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyReleasesRequestURITooLong ¶
type GetKeyReleasesRequestURITooLong DefaultErrorObj
func (*GetKeyReleasesRequestURITooLong) Decode ¶
func (s *GetKeyReleasesRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetKeyReleasesRequestURITooLong from json.
func (*GetKeyReleasesRequestURITooLong) Encode ¶
func (s *GetKeyReleasesRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetKeyReleasesRequestURITooLong as json.
func (*GetKeyReleasesRequestURITooLong) MarshalJSON ¶
func (s *GetKeyReleasesRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyReleasesRequestURITooLong) UnmarshalJSON ¶
func (s *GetKeyReleasesRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetKeyReleasesRes ¶
type GetKeyReleasesRes interface {
// contains filtered or unexported methods
}
type GetKeyReleasesTooManyRequests ¶
type GetKeyReleasesTooManyRequests DefaultErrorObj
func (*GetKeyReleasesTooManyRequests) Decode ¶
func (s *GetKeyReleasesTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetKeyReleasesTooManyRequests from json.
func (*GetKeyReleasesTooManyRequests) Encode ¶
func (s *GetKeyReleasesTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetKeyReleasesTooManyRequests as json.
func (*GetKeyReleasesTooManyRequests) MarshalJSON ¶
func (s *GetKeyReleasesTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetKeyReleasesTooManyRequests) UnmarshalJSON ¶
func (s *GetKeyReleasesTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLogoBadRequest ¶
type GetLogoBadRequest DefaultErrorObj
func (*GetLogoBadRequest) Decode ¶
func (s *GetLogoBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetLogoBadRequest from json.
func (*GetLogoBadRequest) Encode ¶
func (s *GetLogoBadRequest) Encode(e *jx.Encoder)
Encode encodes GetLogoBadRequest as json.
func (*GetLogoBadRequest) MarshalJSON ¶
func (s *GetLogoBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLogoBadRequest) UnmarshalJSON ¶
func (s *GetLogoBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLogoInternalServerError ¶
type GetLogoInternalServerError DefaultErrorObj
func (*GetLogoInternalServerError) Decode ¶
func (s *GetLogoInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetLogoInternalServerError from json.
func (*GetLogoInternalServerError) Encode ¶
func (s *GetLogoInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetLogoInternalServerError as json.
func (*GetLogoInternalServerError) MarshalJSON ¶
func (s *GetLogoInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLogoInternalServerError) UnmarshalJSON ¶
func (s *GetLogoInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLogoMethodNotAllowed ¶
type GetLogoMethodNotAllowed DefaultErrorObj
func (*GetLogoMethodNotAllowed) Decode ¶
func (s *GetLogoMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetLogoMethodNotAllowed from json.
func (*GetLogoMethodNotAllowed) Encode ¶
func (s *GetLogoMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetLogoMethodNotAllowed as json.
func (*GetLogoMethodNotAllowed) MarshalJSON ¶
func (s *GetLogoMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLogoMethodNotAllowed) UnmarshalJSON ¶
func (s *GetLogoMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLogoNotFound ¶
type GetLogoNotFound DefaultErrorObj
func (*GetLogoNotFound) Decode ¶
func (s *GetLogoNotFound) Decode(d *jx.Decoder) error
Decode decodes GetLogoNotFound from json.
func (*GetLogoNotFound) Encode ¶
func (s *GetLogoNotFound) Encode(e *jx.Encoder)
Encode encodes GetLogoNotFound as json.
func (*GetLogoNotFound) MarshalJSON ¶
func (s *GetLogoNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLogoNotFound) UnmarshalJSON ¶
func (s *GetLogoNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLogoOKHeaders ¶
GetLogoOKHeaders wraps GetLogoOK with response headers.
func (*GetLogoOKHeaders) GetCacheControl ¶
func (s *GetLogoOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetLogoOKHeaders) GetETag ¶
func (s *GetLogoOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetLogoOKHeaders) GetResponse ¶
func (s *GetLogoOKHeaders) GetResponse() GetLogoOK
GetResponse returns the value of Response.
func (*GetLogoOKHeaders) SetCacheControl ¶
func (s *GetLogoOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetLogoOKHeaders) SetETag ¶
func (s *GetLogoOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetLogoOKHeaders) SetResponse ¶
func (s *GetLogoOKHeaders) SetResponse(val GetLogoOK)
SetResponse sets the value of Response.
type GetLogoParams ¶
type GetLogoParams struct {
// Whitelisted logo edge in pixels, for example `192`.
Size string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetLogoParams is parameters of getLogo operation.
type GetLogoRequestHeaderFieldsTooLarge ¶
type GetLogoRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetLogoRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetLogoRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetLogoRequestHeaderFieldsTooLarge from json.
func (*GetLogoRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetLogoRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetLogoRequestHeaderFieldsTooLarge as json.
func (*GetLogoRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetLogoRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLogoRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetLogoRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLogoRequestURITooLong ¶
type GetLogoRequestURITooLong DefaultErrorObj
func (*GetLogoRequestURITooLong) Decode ¶
func (s *GetLogoRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetLogoRequestURITooLong from json.
func (*GetLogoRequestURITooLong) Encode ¶
func (s *GetLogoRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetLogoRequestURITooLong as json.
func (*GetLogoRequestURITooLong) MarshalJSON ¶
func (s *GetLogoRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetLogoRequestURITooLong) UnmarshalJSON ¶
func (s *GetLogoRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetLogoRes ¶
type GetLogoRes interface {
// contains filtered or unexported methods
}
type GetMetricsCacheBadRequest ¶
type GetMetricsCacheBadRequest DefaultErrorObj
func (*GetMetricsCacheBadRequest) Decode ¶
func (s *GetMetricsCacheBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCacheBadRequest from json.
func (*GetMetricsCacheBadRequest) Encode ¶
func (s *GetMetricsCacheBadRequest) Encode(e *jx.Encoder)
Encode encodes GetMetricsCacheBadRequest as json.
func (*GetMetricsCacheBadRequest) MarshalJSON ¶
func (s *GetMetricsCacheBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCacheBadRequest) UnmarshalJSON ¶
func (s *GetMetricsCacheBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCacheInternalServerError ¶
type GetMetricsCacheInternalServerError DefaultErrorObj
func (*GetMetricsCacheInternalServerError) Decode ¶
func (s *GetMetricsCacheInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCacheInternalServerError from json.
func (*GetMetricsCacheInternalServerError) Encode ¶
func (s *GetMetricsCacheInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetMetricsCacheInternalServerError as json.
func (*GetMetricsCacheInternalServerError) MarshalJSON ¶
func (s *GetMetricsCacheInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCacheInternalServerError) UnmarshalJSON ¶
func (s *GetMetricsCacheInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCacheMethodNotAllowed ¶
type GetMetricsCacheMethodNotAllowed DefaultErrorObj
func (*GetMetricsCacheMethodNotAllowed) Decode ¶
func (s *GetMetricsCacheMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCacheMethodNotAllowed from json.
func (*GetMetricsCacheMethodNotAllowed) Encode ¶
func (s *GetMetricsCacheMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetMetricsCacheMethodNotAllowed as json.
func (*GetMetricsCacheMethodNotAllowed) MarshalJSON ¶
func (s *GetMetricsCacheMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCacheMethodNotAllowed) UnmarshalJSON ¶
func (s *GetMetricsCacheMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCacheNotFound ¶
type GetMetricsCacheNotFound DefaultErrorObj
func (*GetMetricsCacheNotFound) Decode ¶
func (s *GetMetricsCacheNotFound) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCacheNotFound from json.
func (*GetMetricsCacheNotFound) Encode ¶
func (s *GetMetricsCacheNotFound) Encode(e *jx.Encoder)
Encode encodes GetMetricsCacheNotFound as json.
func (*GetMetricsCacheNotFound) MarshalJSON ¶
func (s *GetMetricsCacheNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCacheNotFound) UnmarshalJSON ¶
func (s *GetMetricsCacheNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCacheRequestHeaderFieldsTooLarge ¶
type GetMetricsCacheRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetMetricsCacheRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetMetricsCacheRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCacheRequestHeaderFieldsTooLarge from json.
func (*GetMetricsCacheRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetMetricsCacheRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetMetricsCacheRequestHeaderFieldsTooLarge as json.
func (*GetMetricsCacheRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetMetricsCacheRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCacheRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetMetricsCacheRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCacheRequestURITooLong ¶
type GetMetricsCacheRequestURITooLong DefaultErrorObj
func (*GetMetricsCacheRequestURITooLong) Decode ¶
func (s *GetMetricsCacheRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCacheRequestURITooLong from json.
func (*GetMetricsCacheRequestURITooLong) Encode ¶
func (s *GetMetricsCacheRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetMetricsCacheRequestURITooLong as json.
func (*GetMetricsCacheRequestURITooLong) MarshalJSON ¶
func (s *GetMetricsCacheRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCacheRequestURITooLong) UnmarshalJSON ¶
func (s *GetMetricsCacheRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCacheRes ¶
type GetMetricsCacheRes interface {
// contains filtered or unexported methods
}
type GetMetricsCoreBadRequest ¶
type GetMetricsCoreBadRequest DefaultErrorObj
func (*GetMetricsCoreBadRequest) Decode ¶
func (s *GetMetricsCoreBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCoreBadRequest from json.
func (*GetMetricsCoreBadRequest) Encode ¶
func (s *GetMetricsCoreBadRequest) Encode(e *jx.Encoder)
Encode encodes GetMetricsCoreBadRequest as json.
func (*GetMetricsCoreBadRequest) MarshalJSON ¶
func (s *GetMetricsCoreBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCoreBadRequest) UnmarshalJSON ¶
func (s *GetMetricsCoreBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCoreInternalServerError ¶
type GetMetricsCoreInternalServerError DefaultErrorObj
func (*GetMetricsCoreInternalServerError) Decode ¶
func (s *GetMetricsCoreInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCoreInternalServerError from json.
func (*GetMetricsCoreInternalServerError) Encode ¶
func (s *GetMetricsCoreInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetMetricsCoreInternalServerError as json.
func (*GetMetricsCoreInternalServerError) MarshalJSON ¶
func (s *GetMetricsCoreInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCoreInternalServerError) UnmarshalJSON ¶
func (s *GetMetricsCoreInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCoreMethodNotAllowed ¶
type GetMetricsCoreMethodNotAllowed DefaultErrorObj
func (*GetMetricsCoreMethodNotAllowed) Decode ¶
func (s *GetMetricsCoreMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCoreMethodNotAllowed from json.
func (*GetMetricsCoreMethodNotAllowed) Encode ¶
func (s *GetMetricsCoreMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetMetricsCoreMethodNotAllowed as json.
func (*GetMetricsCoreMethodNotAllowed) MarshalJSON ¶
func (s *GetMetricsCoreMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCoreMethodNotAllowed) UnmarshalJSON ¶
func (s *GetMetricsCoreMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCoreNotFound ¶
type GetMetricsCoreNotFound DefaultErrorObj
func (*GetMetricsCoreNotFound) Decode ¶
func (s *GetMetricsCoreNotFound) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCoreNotFound from json.
func (*GetMetricsCoreNotFound) Encode ¶
func (s *GetMetricsCoreNotFound) Encode(e *jx.Encoder)
Encode encodes GetMetricsCoreNotFound as json.
func (*GetMetricsCoreNotFound) MarshalJSON ¶
func (s *GetMetricsCoreNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCoreNotFound) UnmarshalJSON ¶
func (s *GetMetricsCoreNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCoreRequestHeaderFieldsTooLarge ¶
type GetMetricsCoreRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetMetricsCoreRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetMetricsCoreRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCoreRequestHeaderFieldsTooLarge from json.
func (*GetMetricsCoreRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetMetricsCoreRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetMetricsCoreRequestHeaderFieldsTooLarge as json.
func (*GetMetricsCoreRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetMetricsCoreRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCoreRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetMetricsCoreRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCoreRequestURITooLong ¶
type GetMetricsCoreRequestURITooLong DefaultErrorObj
func (*GetMetricsCoreRequestURITooLong) Decode ¶
func (s *GetMetricsCoreRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetMetricsCoreRequestURITooLong from json.
func (*GetMetricsCoreRequestURITooLong) Encode ¶
func (s *GetMetricsCoreRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetMetricsCoreRequestURITooLong as json.
func (*GetMetricsCoreRequestURITooLong) MarshalJSON ¶
func (s *GetMetricsCoreRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsCoreRequestURITooLong) UnmarshalJSON ¶
func (s *GetMetricsCoreRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsCoreRes ¶
type GetMetricsCoreRes interface {
// contains filtered or unexported methods
}
type GetMetricsErrorsBadRequest ¶
type GetMetricsErrorsBadRequest DefaultErrorObj
func (*GetMetricsErrorsBadRequest) Decode ¶
func (s *GetMetricsErrorsBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetMetricsErrorsBadRequest from json.
func (*GetMetricsErrorsBadRequest) Encode ¶
func (s *GetMetricsErrorsBadRequest) Encode(e *jx.Encoder)
Encode encodes GetMetricsErrorsBadRequest as json.
func (*GetMetricsErrorsBadRequest) MarshalJSON ¶
func (s *GetMetricsErrorsBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsErrorsBadRequest) UnmarshalJSON ¶
func (s *GetMetricsErrorsBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsErrorsInternalServerError ¶
type GetMetricsErrorsInternalServerError DefaultErrorObj
func (*GetMetricsErrorsInternalServerError) Decode ¶
func (s *GetMetricsErrorsInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetMetricsErrorsInternalServerError from json.
func (*GetMetricsErrorsInternalServerError) Encode ¶
func (s *GetMetricsErrorsInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetMetricsErrorsInternalServerError as json.
func (*GetMetricsErrorsInternalServerError) MarshalJSON ¶
func (s *GetMetricsErrorsInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsErrorsInternalServerError) UnmarshalJSON ¶
func (s *GetMetricsErrorsInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsErrorsMethodNotAllowed ¶
type GetMetricsErrorsMethodNotAllowed DefaultErrorObj
func (*GetMetricsErrorsMethodNotAllowed) Decode ¶
func (s *GetMetricsErrorsMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetMetricsErrorsMethodNotAllowed from json.
func (*GetMetricsErrorsMethodNotAllowed) Encode ¶
func (s *GetMetricsErrorsMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetMetricsErrorsMethodNotAllowed as json.
func (*GetMetricsErrorsMethodNotAllowed) MarshalJSON ¶
func (s *GetMetricsErrorsMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsErrorsMethodNotAllowed) UnmarshalJSON ¶
func (s *GetMetricsErrorsMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsErrorsNotFound ¶
type GetMetricsErrorsNotFound DefaultErrorObj
func (*GetMetricsErrorsNotFound) Decode ¶
func (s *GetMetricsErrorsNotFound) Decode(d *jx.Decoder) error
Decode decodes GetMetricsErrorsNotFound from json.
func (*GetMetricsErrorsNotFound) Encode ¶
func (s *GetMetricsErrorsNotFound) Encode(e *jx.Encoder)
Encode encodes GetMetricsErrorsNotFound as json.
func (*GetMetricsErrorsNotFound) MarshalJSON ¶
func (s *GetMetricsErrorsNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsErrorsNotFound) UnmarshalJSON ¶
func (s *GetMetricsErrorsNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsErrorsRequestHeaderFieldsTooLarge ¶
type GetMetricsErrorsRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetMetricsErrorsRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetMetricsErrorsRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetMetricsErrorsRequestHeaderFieldsTooLarge from json.
func (*GetMetricsErrorsRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetMetricsErrorsRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetMetricsErrorsRequestHeaderFieldsTooLarge as json.
func (*GetMetricsErrorsRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetMetricsErrorsRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsErrorsRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetMetricsErrorsRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsErrorsRequestURITooLong ¶
type GetMetricsErrorsRequestURITooLong DefaultErrorObj
func (*GetMetricsErrorsRequestURITooLong) Decode ¶
func (s *GetMetricsErrorsRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetMetricsErrorsRequestURITooLong from json.
func (*GetMetricsErrorsRequestURITooLong) Encode ¶
func (s *GetMetricsErrorsRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetMetricsErrorsRequestURITooLong as json.
func (*GetMetricsErrorsRequestURITooLong) MarshalJSON ¶
func (s *GetMetricsErrorsRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsErrorsRequestURITooLong) UnmarshalJSON ¶
func (s *GetMetricsErrorsRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsErrorsRes ¶
type GetMetricsErrorsRes interface {
// contains filtered or unexported methods
}
type GetMetricsIndexBadRequest ¶
type GetMetricsIndexBadRequest DefaultErrorObj
func (*GetMetricsIndexBadRequest) Decode ¶
func (s *GetMetricsIndexBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetMetricsIndexBadRequest from json.
func (*GetMetricsIndexBadRequest) Encode ¶
func (s *GetMetricsIndexBadRequest) Encode(e *jx.Encoder)
Encode encodes GetMetricsIndexBadRequest as json.
func (*GetMetricsIndexBadRequest) MarshalJSON ¶
func (s *GetMetricsIndexBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsIndexBadRequest) UnmarshalJSON ¶
func (s *GetMetricsIndexBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsIndexInternalServerError ¶
type GetMetricsIndexInternalServerError DefaultErrorObj
func (*GetMetricsIndexInternalServerError) Decode ¶
func (s *GetMetricsIndexInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetMetricsIndexInternalServerError from json.
func (*GetMetricsIndexInternalServerError) Encode ¶
func (s *GetMetricsIndexInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetMetricsIndexInternalServerError as json.
func (*GetMetricsIndexInternalServerError) MarshalJSON ¶
func (s *GetMetricsIndexInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsIndexInternalServerError) UnmarshalJSON ¶
func (s *GetMetricsIndexInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsIndexMethodNotAllowed ¶
type GetMetricsIndexMethodNotAllowed DefaultErrorObj
func (*GetMetricsIndexMethodNotAllowed) Decode ¶
func (s *GetMetricsIndexMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetMetricsIndexMethodNotAllowed from json.
func (*GetMetricsIndexMethodNotAllowed) Encode ¶
func (s *GetMetricsIndexMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetMetricsIndexMethodNotAllowed as json.
func (*GetMetricsIndexMethodNotAllowed) MarshalJSON ¶
func (s *GetMetricsIndexMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsIndexMethodNotAllowed) UnmarshalJSON ¶
func (s *GetMetricsIndexMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsIndexOK ¶
type GetMetricsIndexOKHeaders ¶
type GetMetricsIndexOKHeaders struct {
CacheControl OptString
Response GetMetricsIndexOK
}
GetMetricsIndexOKHeaders wraps GetMetricsIndexOK with response headers.
func (*GetMetricsIndexOKHeaders) GetCacheControl ¶
func (s *GetMetricsIndexOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetMetricsIndexOKHeaders) GetResponse ¶
func (s *GetMetricsIndexOKHeaders) GetResponse() GetMetricsIndexOK
GetResponse returns the value of Response.
func (*GetMetricsIndexOKHeaders) SetCacheControl ¶
func (s *GetMetricsIndexOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetMetricsIndexOKHeaders) SetResponse ¶
func (s *GetMetricsIndexOKHeaders) SetResponse(val GetMetricsIndexOK)
SetResponse sets the value of Response.
type GetMetricsIndexRequestHeaderFieldsTooLarge ¶
type GetMetricsIndexRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetMetricsIndexRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetMetricsIndexRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetMetricsIndexRequestHeaderFieldsTooLarge from json.
func (*GetMetricsIndexRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetMetricsIndexRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetMetricsIndexRequestHeaderFieldsTooLarge as json.
func (*GetMetricsIndexRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetMetricsIndexRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsIndexRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetMetricsIndexRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsIndexRequestURITooLong ¶
type GetMetricsIndexRequestURITooLong DefaultErrorObj
func (*GetMetricsIndexRequestURITooLong) Decode ¶
func (s *GetMetricsIndexRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetMetricsIndexRequestURITooLong from json.
func (*GetMetricsIndexRequestURITooLong) Encode ¶
func (s *GetMetricsIndexRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetMetricsIndexRequestURITooLong as json.
func (*GetMetricsIndexRequestURITooLong) MarshalJSON ¶
func (s *GetMetricsIndexRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsIndexRequestURITooLong) UnmarshalJSON ¶
func (s *GetMetricsIndexRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsIndexRes ¶
type GetMetricsIndexRes interface {
// contains filtered or unexported methods
}
type GetMetricsInternalBadRequest ¶
type GetMetricsInternalBadRequest DefaultErrorObj
func (*GetMetricsInternalBadRequest) Decode ¶
func (s *GetMetricsInternalBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetMetricsInternalBadRequest from json.
func (*GetMetricsInternalBadRequest) Encode ¶
func (s *GetMetricsInternalBadRequest) Encode(e *jx.Encoder)
Encode encodes GetMetricsInternalBadRequest as json.
func (*GetMetricsInternalBadRequest) MarshalJSON ¶
func (s *GetMetricsInternalBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsInternalBadRequest) UnmarshalJSON ¶
func (s *GetMetricsInternalBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsInternalInternalServerError ¶
type GetMetricsInternalInternalServerError DefaultErrorObj
func (*GetMetricsInternalInternalServerError) Decode ¶
func (s *GetMetricsInternalInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetMetricsInternalInternalServerError from json.
func (*GetMetricsInternalInternalServerError) Encode ¶
func (s *GetMetricsInternalInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetMetricsInternalInternalServerError as json.
func (*GetMetricsInternalInternalServerError) MarshalJSON ¶
func (s *GetMetricsInternalInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsInternalInternalServerError) UnmarshalJSON ¶
func (s *GetMetricsInternalInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsInternalMethodNotAllowed ¶
type GetMetricsInternalMethodNotAllowed DefaultErrorObj
func (*GetMetricsInternalMethodNotAllowed) Decode ¶
func (s *GetMetricsInternalMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetMetricsInternalMethodNotAllowed from json.
func (*GetMetricsInternalMethodNotAllowed) Encode ¶
func (s *GetMetricsInternalMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetMetricsInternalMethodNotAllowed as json.
func (*GetMetricsInternalMethodNotAllowed) MarshalJSON ¶
func (s *GetMetricsInternalMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsInternalMethodNotAllowed) UnmarshalJSON ¶
func (s *GetMetricsInternalMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsInternalNotFound ¶
type GetMetricsInternalNotFound DefaultErrorObj
func (*GetMetricsInternalNotFound) Decode ¶
func (s *GetMetricsInternalNotFound) Decode(d *jx.Decoder) error
Decode decodes GetMetricsInternalNotFound from json.
func (*GetMetricsInternalNotFound) Encode ¶
func (s *GetMetricsInternalNotFound) Encode(e *jx.Encoder)
Encode encodes GetMetricsInternalNotFound as json.
func (*GetMetricsInternalNotFound) MarshalJSON ¶
func (s *GetMetricsInternalNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsInternalNotFound) UnmarshalJSON ¶
func (s *GetMetricsInternalNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsInternalOK ¶
type GetMetricsInternalOKHeaders ¶
type GetMetricsInternalOKHeaders struct {
CacheControl OptString
Response GetMetricsInternalOK
}
GetMetricsInternalOKHeaders wraps GetMetricsInternalOK with response headers.
func (*GetMetricsInternalOKHeaders) GetCacheControl ¶
func (s *GetMetricsInternalOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetMetricsInternalOKHeaders) GetResponse ¶
func (s *GetMetricsInternalOKHeaders) GetResponse() GetMetricsInternalOK
GetResponse returns the value of Response.
func (*GetMetricsInternalOKHeaders) SetCacheControl ¶
func (s *GetMetricsInternalOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetMetricsInternalOKHeaders) SetResponse ¶
func (s *GetMetricsInternalOKHeaders) SetResponse(val GetMetricsInternalOK)
SetResponse sets the value of Response.
type GetMetricsInternalRequestHeaderFieldsTooLarge ¶
type GetMetricsInternalRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetMetricsInternalRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetMetricsInternalRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetMetricsInternalRequestHeaderFieldsTooLarge from json.
func (*GetMetricsInternalRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetMetricsInternalRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetMetricsInternalRequestHeaderFieldsTooLarge as json.
func (*GetMetricsInternalRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetMetricsInternalRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsInternalRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetMetricsInternalRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsInternalRequestURITooLong ¶
type GetMetricsInternalRequestURITooLong DefaultErrorObj
func (*GetMetricsInternalRequestURITooLong) Decode ¶
func (s *GetMetricsInternalRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetMetricsInternalRequestURITooLong from json.
func (*GetMetricsInternalRequestURITooLong) Encode ¶
func (s *GetMetricsInternalRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetMetricsInternalRequestURITooLong as json.
func (*GetMetricsInternalRequestURITooLong) MarshalJSON ¶
func (s *GetMetricsInternalRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsInternalRequestURITooLong) UnmarshalJSON ¶
func (s *GetMetricsInternalRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsInternalRes ¶
type GetMetricsInternalRes interface {
// contains filtered or unexported methods
}
type GetMetricsRescanBadRequest ¶
type GetMetricsRescanBadRequest DefaultErrorObj
func (*GetMetricsRescanBadRequest) Decode ¶
func (s *GetMetricsRescanBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetMetricsRescanBadRequest from json.
func (*GetMetricsRescanBadRequest) Encode ¶
func (s *GetMetricsRescanBadRequest) Encode(e *jx.Encoder)
Encode encodes GetMetricsRescanBadRequest as json.
func (*GetMetricsRescanBadRequest) MarshalJSON ¶
func (s *GetMetricsRescanBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsRescanBadRequest) UnmarshalJSON ¶
func (s *GetMetricsRescanBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsRescanInternalServerError ¶
type GetMetricsRescanInternalServerError DefaultErrorObj
func (*GetMetricsRescanInternalServerError) Decode ¶
func (s *GetMetricsRescanInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetMetricsRescanInternalServerError from json.
func (*GetMetricsRescanInternalServerError) Encode ¶
func (s *GetMetricsRescanInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetMetricsRescanInternalServerError as json.
func (*GetMetricsRescanInternalServerError) MarshalJSON ¶
func (s *GetMetricsRescanInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsRescanInternalServerError) UnmarshalJSON ¶
func (s *GetMetricsRescanInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsRescanMethodNotAllowed ¶
type GetMetricsRescanMethodNotAllowed DefaultErrorObj
func (*GetMetricsRescanMethodNotAllowed) Decode ¶
func (s *GetMetricsRescanMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetMetricsRescanMethodNotAllowed from json.
func (*GetMetricsRescanMethodNotAllowed) Encode ¶
func (s *GetMetricsRescanMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetMetricsRescanMethodNotAllowed as json.
func (*GetMetricsRescanMethodNotAllowed) MarshalJSON ¶
func (s *GetMetricsRescanMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsRescanMethodNotAllowed) UnmarshalJSON ¶
func (s *GetMetricsRescanMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsRescanNotFound ¶
type GetMetricsRescanNotFound DefaultErrorObj
func (*GetMetricsRescanNotFound) Decode ¶
func (s *GetMetricsRescanNotFound) Decode(d *jx.Decoder) error
Decode decodes GetMetricsRescanNotFound from json.
func (*GetMetricsRescanNotFound) Encode ¶
func (s *GetMetricsRescanNotFound) Encode(e *jx.Encoder)
Encode encodes GetMetricsRescanNotFound as json.
func (*GetMetricsRescanNotFound) MarshalJSON ¶
func (s *GetMetricsRescanNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsRescanNotFound) UnmarshalJSON ¶
func (s *GetMetricsRescanNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsRescanRequestHeaderFieldsTooLarge ¶
type GetMetricsRescanRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetMetricsRescanRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetMetricsRescanRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetMetricsRescanRequestHeaderFieldsTooLarge from json.
func (*GetMetricsRescanRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetMetricsRescanRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetMetricsRescanRequestHeaderFieldsTooLarge as json.
func (*GetMetricsRescanRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetMetricsRescanRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsRescanRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetMetricsRescanRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsRescanRequestURITooLong ¶
type GetMetricsRescanRequestURITooLong DefaultErrorObj
func (*GetMetricsRescanRequestURITooLong) Decode ¶
func (s *GetMetricsRescanRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetMetricsRescanRequestURITooLong from json.
func (*GetMetricsRescanRequestURITooLong) Encode ¶
func (s *GetMetricsRescanRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetMetricsRescanRequestURITooLong as json.
func (*GetMetricsRescanRequestURITooLong) MarshalJSON ¶
func (s *GetMetricsRescanRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsRescanRequestURITooLong) UnmarshalJSON ¶
func (s *GetMetricsRescanRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsRescanRes ¶
type GetMetricsRescanRes interface {
// contains filtered or unexported methods
}
type GetMetricsYggBadRequest ¶ added in v0.4.0
type GetMetricsYggBadRequest DefaultErrorObj
func (*GetMetricsYggBadRequest) Decode ¶ added in v0.4.0
func (s *GetMetricsYggBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetMetricsYggBadRequest from json.
func (*GetMetricsYggBadRequest) Encode ¶ added in v0.4.0
func (s *GetMetricsYggBadRequest) Encode(e *jx.Encoder)
Encode encodes GetMetricsYggBadRequest as json.
func (*GetMetricsYggBadRequest) MarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsYggBadRequest) UnmarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsYggInternalServerError ¶ added in v0.4.0
type GetMetricsYggInternalServerError DefaultErrorObj
func (*GetMetricsYggInternalServerError) Decode ¶ added in v0.4.0
func (s *GetMetricsYggInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetMetricsYggInternalServerError from json.
func (*GetMetricsYggInternalServerError) Encode ¶ added in v0.4.0
func (s *GetMetricsYggInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetMetricsYggInternalServerError as json.
func (*GetMetricsYggInternalServerError) MarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsYggInternalServerError) UnmarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsYggMethodNotAllowed ¶ added in v0.4.0
type GetMetricsYggMethodNotAllowed DefaultErrorObj
func (*GetMetricsYggMethodNotAllowed) Decode ¶ added in v0.4.0
func (s *GetMetricsYggMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetMetricsYggMethodNotAllowed from json.
func (*GetMetricsYggMethodNotAllowed) Encode ¶ added in v0.4.0
func (s *GetMetricsYggMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetMetricsYggMethodNotAllowed as json.
func (*GetMetricsYggMethodNotAllowed) MarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsYggMethodNotAllowed) UnmarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsYggNotFound ¶ added in v0.4.0
type GetMetricsYggNotFound DefaultErrorObj
func (*GetMetricsYggNotFound) Decode ¶ added in v0.4.0
func (s *GetMetricsYggNotFound) Decode(d *jx.Decoder) error
Decode decodes GetMetricsYggNotFound from json.
func (*GetMetricsYggNotFound) Encode ¶ added in v0.4.0
func (s *GetMetricsYggNotFound) Encode(e *jx.Encoder)
Encode encodes GetMetricsYggNotFound as json.
func (*GetMetricsYggNotFound) MarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsYggNotFound) UnmarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsYggRequestHeaderFieldsTooLarge ¶ added in v0.4.0
type GetMetricsYggRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetMetricsYggRequestHeaderFieldsTooLarge) Decode ¶ added in v0.4.0
func (s *GetMetricsYggRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetMetricsYggRequestHeaderFieldsTooLarge from json.
func (*GetMetricsYggRequestHeaderFieldsTooLarge) Encode ¶ added in v0.4.0
func (s *GetMetricsYggRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetMetricsYggRequestHeaderFieldsTooLarge as json.
func (*GetMetricsYggRequestHeaderFieldsTooLarge) MarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsYggRequestHeaderFieldsTooLarge) UnmarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsYggRequestURITooLong ¶ added in v0.4.0
type GetMetricsYggRequestURITooLong DefaultErrorObj
func (*GetMetricsYggRequestURITooLong) Decode ¶ added in v0.4.0
func (s *GetMetricsYggRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetMetricsYggRequestURITooLong from json.
func (*GetMetricsYggRequestURITooLong) Encode ¶ added in v0.4.0
func (s *GetMetricsYggRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetMetricsYggRequestURITooLong as json.
func (*GetMetricsYggRequestURITooLong) MarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMetricsYggRequestURITooLong) UnmarshalJSON ¶ added in v0.4.0
func (s *GetMetricsYggRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMetricsYggRes ¶ added in v0.4.0
type GetMetricsYggRes interface {
// contains filtered or unexported methods
}
type GetMirrorLatestBadRequest ¶
type GetMirrorLatestBadRequest DefaultErrorObj
func (*GetMirrorLatestBadRequest) Decode ¶
func (s *GetMirrorLatestBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetMirrorLatestBadRequest from json.
func (*GetMirrorLatestBadRequest) Encode ¶
func (s *GetMirrorLatestBadRequest) Encode(e *jx.Encoder)
Encode encodes GetMirrorLatestBadRequest as json.
func (*GetMirrorLatestBadRequest) MarshalJSON ¶
func (s *GetMirrorLatestBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorLatestBadRequest) UnmarshalJSON ¶
func (s *GetMirrorLatestBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorLatestInternalServerError ¶
type GetMirrorLatestInternalServerError DefaultErrorObj
func (*GetMirrorLatestInternalServerError) Decode ¶
func (s *GetMirrorLatestInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetMirrorLatestInternalServerError from json.
func (*GetMirrorLatestInternalServerError) Encode ¶
func (s *GetMirrorLatestInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetMirrorLatestInternalServerError as json.
func (*GetMirrorLatestInternalServerError) MarshalJSON ¶
func (s *GetMirrorLatestInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorLatestInternalServerError) UnmarshalJSON ¶
func (s *GetMirrorLatestInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorLatestMethodNotAllowed ¶
type GetMirrorLatestMethodNotAllowed DefaultErrorObj
func (*GetMirrorLatestMethodNotAllowed) Decode ¶
func (s *GetMirrorLatestMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetMirrorLatestMethodNotAllowed from json.
func (*GetMirrorLatestMethodNotAllowed) Encode ¶
func (s *GetMirrorLatestMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetMirrorLatestMethodNotAllowed as json.
func (*GetMirrorLatestMethodNotAllowed) MarshalJSON ¶
func (s *GetMirrorLatestMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorLatestMethodNotAllowed) UnmarshalJSON ¶
func (s *GetMirrorLatestMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorLatestNotFound ¶
type GetMirrorLatestNotFound DefaultErrorObj
func (*GetMirrorLatestNotFound) Decode ¶
func (s *GetMirrorLatestNotFound) Decode(d *jx.Decoder) error
Decode decodes GetMirrorLatestNotFound from json.
func (*GetMirrorLatestNotFound) Encode ¶
func (s *GetMirrorLatestNotFound) Encode(e *jx.Encoder)
Encode encodes GetMirrorLatestNotFound as json.
func (*GetMirrorLatestNotFound) MarshalJSON ¶
func (s *GetMirrorLatestNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorLatestNotFound) UnmarshalJSON ¶
func (s *GetMirrorLatestNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorLatestOK ¶
type GetMirrorLatestOKHeaders ¶
type GetMirrorLatestOKHeaders struct {
CacheControl OptString
ETag OptString
Response GetMirrorLatestOK
}
GetMirrorLatestOKHeaders wraps GetMirrorLatestOK with response headers.
func (*GetMirrorLatestOKHeaders) GetCacheControl ¶
func (s *GetMirrorLatestOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetMirrorLatestOKHeaders) GetETag ¶
func (s *GetMirrorLatestOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetMirrorLatestOKHeaders) GetResponse ¶
func (s *GetMirrorLatestOKHeaders) GetResponse() GetMirrorLatestOK
GetResponse returns the value of Response.
func (*GetMirrorLatestOKHeaders) SetCacheControl ¶
func (s *GetMirrorLatestOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetMirrorLatestOKHeaders) SetETag ¶
func (s *GetMirrorLatestOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetMirrorLatestOKHeaders) SetResponse ¶
func (s *GetMirrorLatestOKHeaders) SetResponse(val GetMirrorLatestOK)
SetResponse sets the value of Response.
type GetMirrorLatestParams ¶
type GetMirrorLatestParams struct {
// Registry key configured in `release_mirrors`. Valid configuration keys match
// `^[a-z0-9][a-z0-9._-]{1,38}[a-z0-9]$`, cannot look like a Go major suffix such as `v2`, and cannot
// use reserved route names including `list`, `latest`, `@v`, `@latest`, `health`, `info`, `metrics`,
// `openapi.json`, `p`, `p2`, `packages`, `packages.json`, `rpc`, `catalog.json`, `feed.xml`, `logo`,
// `og.png`, `favicon.ico`, and `sitemap.xml`.
Key string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetMirrorLatestParams is parameters of getMirrorLatest operation.
type GetMirrorLatestRequestHeaderFieldsTooLarge ¶
type GetMirrorLatestRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetMirrorLatestRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetMirrorLatestRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetMirrorLatestRequestHeaderFieldsTooLarge from json.
func (*GetMirrorLatestRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetMirrorLatestRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetMirrorLatestRequestHeaderFieldsTooLarge as json.
func (*GetMirrorLatestRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetMirrorLatestRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorLatestRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetMirrorLatestRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorLatestRequestURITooLong ¶
type GetMirrorLatestRequestURITooLong DefaultErrorObj
func (*GetMirrorLatestRequestURITooLong) Decode ¶
func (s *GetMirrorLatestRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetMirrorLatestRequestURITooLong from json.
func (*GetMirrorLatestRequestURITooLong) Encode ¶
func (s *GetMirrorLatestRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetMirrorLatestRequestURITooLong as json.
func (*GetMirrorLatestRequestURITooLong) MarshalJSON ¶
func (s *GetMirrorLatestRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorLatestRequestURITooLong) UnmarshalJSON ¶
func (s *GetMirrorLatestRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorLatestRes ¶
type GetMirrorLatestRes interface {
// contains filtered or unexported methods
}
type GetMirrorLatestTooManyRequests ¶
type GetMirrorLatestTooManyRequests DefaultErrorObj
func (*GetMirrorLatestTooManyRequests) Decode ¶
func (s *GetMirrorLatestTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetMirrorLatestTooManyRequests from json.
func (*GetMirrorLatestTooManyRequests) Encode ¶
func (s *GetMirrorLatestTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetMirrorLatestTooManyRequests as json.
func (*GetMirrorLatestTooManyRequests) MarshalJSON ¶
func (s *GetMirrorLatestTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorLatestTooManyRequests) UnmarshalJSON ¶
func (s *GetMirrorLatestTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListBadRequest ¶
type GetMirrorListBadRequest DefaultErrorObj
func (*GetMirrorListBadRequest) Decode ¶
func (s *GetMirrorListBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListBadRequest from json.
func (*GetMirrorListBadRequest) Encode ¶
func (s *GetMirrorListBadRequest) Encode(e *jx.Encoder)
Encode encodes GetMirrorListBadRequest as json.
func (*GetMirrorListBadRequest) MarshalJSON ¶
func (s *GetMirrorListBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListBadRequest) UnmarshalJSON ¶
func (s *GetMirrorListBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListFullBadRequest ¶
type GetMirrorListFullBadRequest DefaultErrorObj
func (*GetMirrorListFullBadRequest) Decode ¶
func (s *GetMirrorListFullBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListFullBadRequest from json.
func (*GetMirrorListFullBadRequest) Encode ¶
func (s *GetMirrorListFullBadRequest) Encode(e *jx.Encoder)
Encode encodes GetMirrorListFullBadRequest as json.
func (*GetMirrorListFullBadRequest) MarshalJSON ¶
func (s *GetMirrorListFullBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListFullBadRequest) UnmarshalJSON ¶
func (s *GetMirrorListFullBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListFullInternalServerError ¶
type GetMirrorListFullInternalServerError DefaultErrorObj
func (*GetMirrorListFullInternalServerError) Decode ¶
func (s *GetMirrorListFullInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListFullInternalServerError from json.
func (*GetMirrorListFullInternalServerError) Encode ¶
func (s *GetMirrorListFullInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetMirrorListFullInternalServerError as json.
func (*GetMirrorListFullInternalServerError) MarshalJSON ¶
func (s *GetMirrorListFullInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListFullInternalServerError) UnmarshalJSON ¶
func (s *GetMirrorListFullInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListFullMethodNotAllowed ¶
type GetMirrorListFullMethodNotAllowed DefaultErrorObj
func (*GetMirrorListFullMethodNotAllowed) Decode ¶
func (s *GetMirrorListFullMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListFullMethodNotAllowed from json.
func (*GetMirrorListFullMethodNotAllowed) Encode ¶
func (s *GetMirrorListFullMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetMirrorListFullMethodNotAllowed as json.
func (*GetMirrorListFullMethodNotAllowed) MarshalJSON ¶
func (s *GetMirrorListFullMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListFullMethodNotAllowed) UnmarshalJSON ¶
func (s *GetMirrorListFullMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListFullNotFound ¶
type GetMirrorListFullNotFound DefaultErrorObj
func (*GetMirrorListFullNotFound) Decode ¶
func (s *GetMirrorListFullNotFound) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListFullNotFound from json.
func (*GetMirrorListFullNotFound) Encode ¶
func (s *GetMirrorListFullNotFound) Encode(e *jx.Encoder)
Encode encodes GetMirrorListFullNotFound as json.
func (*GetMirrorListFullNotFound) MarshalJSON ¶
func (s *GetMirrorListFullNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListFullNotFound) UnmarshalJSON ¶
func (s *GetMirrorListFullNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListFullOK ¶
type GetMirrorListFullOKHeaders ¶
type GetMirrorListFullOKHeaders struct {
CacheControl OptString
ETag OptString
Response GetMirrorListFullOK
}
GetMirrorListFullOKHeaders wraps GetMirrorListFullOK with response headers.
func (*GetMirrorListFullOKHeaders) GetCacheControl ¶
func (s *GetMirrorListFullOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetMirrorListFullOKHeaders) GetETag ¶
func (s *GetMirrorListFullOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetMirrorListFullOKHeaders) GetResponse ¶
func (s *GetMirrorListFullOKHeaders) GetResponse() GetMirrorListFullOK
GetResponse returns the value of Response.
func (*GetMirrorListFullOKHeaders) SetCacheControl ¶
func (s *GetMirrorListFullOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetMirrorListFullOKHeaders) SetETag ¶
func (s *GetMirrorListFullOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetMirrorListFullOKHeaders) SetResponse ¶
func (s *GetMirrorListFullOKHeaders) SetResponse(val GetMirrorListFullOK)
SetResponse sets the value of Response.
type GetMirrorListFullParams ¶
type GetMirrorListFullParams struct {
// Registry key configured in `release_mirrors`. Valid configuration keys match
// `^[a-z0-9][a-z0-9._-]{1,38}[a-z0-9]$`, cannot look like a Go major suffix such as `v2`, and cannot
// use reserved route names including `list`, `latest`, `@v`, `@latest`, `health`, `info`, `metrics`,
// `openapi.json`, `p`, `p2`, `packages`, `packages.json`, `rpc`, `catalog.json`, `feed.xml`, `logo`,
// `og.png`, `favicon.ico`, and `sitemap.xml`.
Key string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetMirrorListFullParams is parameters of getMirrorListFull operation.
type GetMirrorListFullRequestHeaderFieldsTooLarge ¶
type GetMirrorListFullRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetMirrorListFullRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetMirrorListFullRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListFullRequestHeaderFieldsTooLarge from json.
func (*GetMirrorListFullRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetMirrorListFullRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetMirrorListFullRequestHeaderFieldsTooLarge as json.
func (*GetMirrorListFullRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetMirrorListFullRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListFullRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetMirrorListFullRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListFullRequestURITooLong ¶
type GetMirrorListFullRequestURITooLong DefaultErrorObj
func (*GetMirrorListFullRequestURITooLong) Decode ¶
func (s *GetMirrorListFullRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListFullRequestURITooLong from json.
func (*GetMirrorListFullRequestURITooLong) Encode ¶
func (s *GetMirrorListFullRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetMirrorListFullRequestURITooLong as json.
func (*GetMirrorListFullRequestURITooLong) MarshalJSON ¶
func (s *GetMirrorListFullRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListFullRequestURITooLong) UnmarshalJSON ¶
func (s *GetMirrorListFullRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListFullRes ¶
type GetMirrorListFullRes interface {
// contains filtered or unexported methods
}
type GetMirrorListFullTooManyRequests ¶
type GetMirrorListFullTooManyRequests DefaultErrorObj
func (*GetMirrorListFullTooManyRequests) Decode ¶
func (s *GetMirrorListFullTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListFullTooManyRequests from json.
func (*GetMirrorListFullTooManyRequests) Encode ¶
func (s *GetMirrorListFullTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetMirrorListFullTooManyRequests as json.
func (*GetMirrorListFullTooManyRequests) MarshalJSON ¶
func (s *GetMirrorListFullTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListFullTooManyRequests) UnmarshalJSON ¶
func (s *GetMirrorListFullTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListInternalServerError ¶
type GetMirrorListInternalServerError DefaultErrorObj
func (*GetMirrorListInternalServerError) Decode ¶
func (s *GetMirrorListInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListInternalServerError from json.
func (*GetMirrorListInternalServerError) Encode ¶
func (s *GetMirrorListInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetMirrorListInternalServerError as json.
func (*GetMirrorListInternalServerError) MarshalJSON ¶
func (s *GetMirrorListInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListInternalServerError) UnmarshalJSON ¶
func (s *GetMirrorListInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListMethodNotAllowed ¶
type GetMirrorListMethodNotAllowed DefaultErrorObj
func (*GetMirrorListMethodNotAllowed) Decode ¶
func (s *GetMirrorListMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListMethodNotAllowed from json.
func (*GetMirrorListMethodNotAllowed) Encode ¶
func (s *GetMirrorListMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetMirrorListMethodNotAllowed as json.
func (*GetMirrorListMethodNotAllowed) MarshalJSON ¶
func (s *GetMirrorListMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListMethodNotAllowed) UnmarshalJSON ¶
func (s *GetMirrorListMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListNotFound ¶
type GetMirrorListNotFound DefaultErrorObj
func (*GetMirrorListNotFound) Decode ¶
func (s *GetMirrorListNotFound) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListNotFound from json.
func (*GetMirrorListNotFound) Encode ¶
func (s *GetMirrorListNotFound) Encode(e *jx.Encoder)
Encode encodes GetMirrorListNotFound as json.
func (*GetMirrorListNotFound) MarshalJSON ¶
func (s *GetMirrorListNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListNotFound) UnmarshalJSON ¶
func (s *GetMirrorListNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListOK ¶
type GetMirrorListOKHeaders ¶
type GetMirrorListOKHeaders struct {
CacheControl OptString
ETag OptString
Response GetMirrorListOK
}
GetMirrorListOKHeaders wraps GetMirrorListOK with response headers.
func (*GetMirrorListOKHeaders) GetCacheControl ¶
func (s *GetMirrorListOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetMirrorListOKHeaders) GetETag ¶
func (s *GetMirrorListOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetMirrorListOKHeaders) GetResponse ¶
func (s *GetMirrorListOKHeaders) GetResponse() GetMirrorListOK
GetResponse returns the value of Response.
func (*GetMirrorListOKHeaders) SetCacheControl ¶
func (s *GetMirrorListOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetMirrorListOKHeaders) SetETag ¶
func (s *GetMirrorListOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetMirrorListOKHeaders) SetResponse ¶
func (s *GetMirrorListOKHeaders) SetResponse(val GetMirrorListOK)
SetResponse sets the value of Response.
type GetMirrorListParams ¶
type GetMirrorListParams struct {
// Registry key configured in `release_mirrors`. Valid configuration keys match
// `^[a-z0-9][a-z0-9._-]{1,38}[a-z0-9]$`, cannot look like a Go major suffix such as `v2`, and cannot
// use reserved route names including `list`, `latest`, `@v`, `@latest`, `health`, `info`, `metrics`,
// `openapi.json`, `p`, `p2`, `packages`, `packages.json`, `rpc`, `catalog.json`, `feed.xml`, `logo`,
// `og.png`, `favicon.ico`, and `sitemap.xml`.
Key string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetMirrorListParams is parameters of getMirrorList operation.
type GetMirrorListRequestHeaderFieldsTooLarge ¶
type GetMirrorListRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetMirrorListRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetMirrorListRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListRequestHeaderFieldsTooLarge from json.
func (*GetMirrorListRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetMirrorListRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetMirrorListRequestHeaderFieldsTooLarge as json.
func (*GetMirrorListRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetMirrorListRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetMirrorListRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListRequestURITooLong ¶
type GetMirrorListRequestURITooLong DefaultErrorObj
func (*GetMirrorListRequestURITooLong) Decode ¶
func (s *GetMirrorListRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListRequestURITooLong from json.
func (*GetMirrorListRequestURITooLong) Encode ¶
func (s *GetMirrorListRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetMirrorListRequestURITooLong as json.
func (*GetMirrorListRequestURITooLong) MarshalJSON ¶
func (s *GetMirrorListRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListRequestURITooLong) UnmarshalJSON ¶
func (s *GetMirrorListRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMirrorListRes ¶
type GetMirrorListRes interface {
// contains filtered or unexported methods
}
type GetMirrorListTooManyRequests ¶
type GetMirrorListTooManyRequests DefaultErrorObj
func (*GetMirrorListTooManyRequests) Decode ¶
func (s *GetMirrorListTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetMirrorListTooManyRequests from json.
func (*GetMirrorListTooManyRequests) Encode ¶
func (s *GetMirrorListTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetMirrorListTooManyRequests as json.
func (*GetMirrorListTooManyRequests) MarshalJSON ¶
func (s *GetMirrorListTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMirrorListTooManyRequests) UnmarshalJSON ¶
func (s *GetMirrorListTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgKeyBadRequest ¶
type GetOgKeyBadRequest DefaultErrorObj
func (*GetOgKeyBadRequest) Decode ¶
func (s *GetOgKeyBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetOgKeyBadRequest from json.
func (*GetOgKeyBadRequest) Encode ¶
func (s *GetOgKeyBadRequest) Encode(e *jx.Encoder)
Encode encodes GetOgKeyBadRequest as json.
func (*GetOgKeyBadRequest) MarshalJSON ¶
func (s *GetOgKeyBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgKeyBadRequest) UnmarshalJSON ¶
func (s *GetOgKeyBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgKeyInternalServerError ¶
type GetOgKeyInternalServerError DefaultErrorObj
func (*GetOgKeyInternalServerError) Decode ¶
func (s *GetOgKeyInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetOgKeyInternalServerError from json.
func (*GetOgKeyInternalServerError) Encode ¶
func (s *GetOgKeyInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetOgKeyInternalServerError as json.
func (*GetOgKeyInternalServerError) MarshalJSON ¶
func (s *GetOgKeyInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgKeyInternalServerError) UnmarshalJSON ¶
func (s *GetOgKeyInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgKeyMethodNotAllowed ¶
type GetOgKeyMethodNotAllowed DefaultErrorObj
func (*GetOgKeyMethodNotAllowed) Decode ¶
func (s *GetOgKeyMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetOgKeyMethodNotAllowed from json.
func (*GetOgKeyMethodNotAllowed) Encode ¶
func (s *GetOgKeyMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetOgKeyMethodNotAllowed as json.
func (*GetOgKeyMethodNotAllowed) MarshalJSON ¶
func (s *GetOgKeyMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgKeyMethodNotAllowed) UnmarshalJSON ¶
func (s *GetOgKeyMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgKeyNotFound ¶
type GetOgKeyNotFound DefaultErrorObj
func (*GetOgKeyNotFound) Decode ¶
func (s *GetOgKeyNotFound) Decode(d *jx.Decoder) error
Decode decodes GetOgKeyNotFound from json.
func (*GetOgKeyNotFound) Encode ¶
func (s *GetOgKeyNotFound) Encode(e *jx.Encoder)
Encode encodes GetOgKeyNotFound as json.
func (*GetOgKeyNotFound) MarshalJSON ¶
func (s *GetOgKeyNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgKeyNotFound) UnmarshalJSON ¶
func (s *GetOgKeyNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgKeyOK ¶
type GetOgKeyOKHeaders ¶
type GetOgKeyOKHeaders struct {
CacheControl OptString
ETag OptString
Response GetOgKeyOK
}
GetOgKeyOKHeaders wraps GetOgKeyOK with response headers.
func (*GetOgKeyOKHeaders) GetCacheControl ¶
func (s *GetOgKeyOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetOgKeyOKHeaders) GetETag ¶
func (s *GetOgKeyOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetOgKeyOKHeaders) GetResponse ¶
func (s *GetOgKeyOKHeaders) GetResponse() GetOgKeyOK
GetResponse returns the value of Response.
func (*GetOgKeyOKHeaders) SetCacheControl ¶
func (s *GetOgKeyOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetOgKeyOKHeaders) SetETag ¶
func (s *GetOgKeyOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetOgKeyOKHeaders) SetResponse ¶
func (s *GetOgKeyOKHeaders) SetResponse(val GetOgKeyOK)
SetResponse sets the value of Response.
type GetOgKeyParams ¶
type GetOgKeyParams struct {
// Registry key configured in `release_mirrors`. Valid configuration keys match
// `^[a-z0-9][a-z0-9._-]{1,38}[a-z0-9]$`, cannot look like a Go major suffix such as `v2`, and cannot
// use reserved route names including `list`, `latest`, `@v`, `@latest`, `health`, `info`, `metrics`,
// `openapi.json`, `p`, `p2`, `packages`, `packages.json`, `rpc`, `catalog.json`, `feed.xml`, `logo`,
// `og.png`, `favicon.ico`, and `sitemap.xml`.
Key string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetOgKeyParams is parameters of getOgKey operation.
type GetOgKeyRequestHeaderFieldsTooLarge ¶
type GetOgKeyRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetOgKeyRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetOgKeyRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetOgKeyRequestHeaderFieldsTooLarge from json.
func (*GetOgKeyRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetOgKeyRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetOgKeyRequestHeaderFieldsTooLarge as json.
func (*GetOgKeyRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetOgKeyRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgKeyRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetOgKeyRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgKeyRequestURITooLong ¶
type GetOgKeyRequestURITooLong DefaultErrorObj
func (*GetOgKeyRequestURITooLong) Decode ¶
func (s *GetOgKeyRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetOgKeyRequestURITooLong from json.
func (*GetOgKeyRequestURITooLong) Encode ¶
func (s *GetOgKeyRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetOgKeyRequestURITooLong as json.
func (*GetOgKeyRequestURITooLong) MarshalJSON ¶
func (s *GetOgKeyRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgKeyRequestURITooLong) UnmarshalJSON ¶
func (s *GetOgKeyRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgKeyRes ¶
type GetOgKeyRes interface {
// contains filtered or unexported methods
}
type GetOgNodeBadRequest ¶
type GetOgNodeBadRequest DefaultErrorObj
func (*GetOgNodeBadRequest) Decode ¶
func (s *GetOgNodeBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetOgNodeBadRequest from json.
func (*GetOgNodeBadRequest) Encode ¶
func (s *GetOgNodeBadRequest) Encode(e *jx.Encoder)
Encode encodes GetOgNodeBadRequest as json.
func (*GetOgNodeBadRequest) MarshalJSON ¶
func (s *GetOgNodeBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgNodeBadRequest) UnmarshalJSON ¶
func (s *GetOgNodeBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgNodeInternalServerError ¶
type GetOgNodeInternalServerError DefaultErrorObj
func (*GetOgNodeInternalServerError) Decode ¶
func (s *GetOgNodeInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetOgNodeInternalServerError from json.
func (*GetOgNodeInternalServerError) Encode ¶
func (s *GetOgNodeInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetOgNodeInternalServerError as json.
func (*GetOgNodeInternalServerError) MarshalJSON ¶
func (s *GetOgNodeInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgNodeInternalServerError) UnmarshalJSON ¶
func (s *GetOgNodeInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgNodeMethodNotAllowed ¶
type GetOgNodeMethodNotAllowed DefaultErrorObj
func (*GetOgNodeMethodNotAllowed) Decode ¶
func (s *GetOgNodeMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetOgNodeMethodNotAllowed from json.
func (*GetOgNodeMethodNotAllowed) Encode ¶
func (s *GetOgNodeMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetOgNodeMethodNotAllowed as json.
func (*GetOgNodeMethodNotAllowed) MarshalJSON ¶
func (s *GetOgNodeMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgNodeMethodNotAllowed) UnmarshalJSON ¶
func (s *GetOgNodeMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgNodeOK ¶
type GetOgNodeOKHeaders ¶
type GetOgNodeOKHeaders struct {
CacheControl OptString
ETag OptString
Response GetOgNodeOK
}
GetOgNodeOKHeaders wraps GetOgNodeOK with response headers.
func (*GetOgNodeOKHeaders) GetCacheControl ¶
func (s *GetOgNodeOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetOgNodeOKHeaders) GetETag ¶
func (s *GetOgNodeOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetOgNodeOKHeaders) GetResponse ¶
func (s *GetOgNodeOKHeaders) GetResponse() GetOgNodeOK
GetResponse returns the value of Response.
func (*GetOgNodeOKHeaders) SetCacheControl ¶
func (s *GetOgNodeOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetOgNodeOKHeaders) SetETag ¶
func (s *GetOgNodeOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetOgNodeOKHeaders) SetResponse ¶
func (s *GetOgNodeOKHeaders) SetResponse(val GetOgNodeOK)
SetResponse sets the value of Response.
type GetOgNodeParams ¶
type GetOgNodeParams struct {
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetOgNodeParams is parameters of getOgNode operation.
type GetOgNodeRequestHeaderFieldsTooLarge ¶
type GetOgNodeRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetOgNodeRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetOgNodeRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetOgNodeRequestHeaderFieldsTooLarge from json.
func (*GetOgNodeRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetOgNodeRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetOgNodeRequestHeaderFieldsTooLarge as json.
func (*GetOgNodeRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetOgNodeRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgNodeRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetOgNodeRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgNodeRequestURITooLong ¶
type GetOgNodeRequestURITooLong DefaultErrorObj
func (*GetOgNodeRequestURITooLong) Decode ¶
func (s *GetOgNodeRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetOgNodeRequestURITooLong from json.
func (*GetOgNodeRequestURITooLong) Encode ¶
func (s *GetOgNodeRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetOgNodeRequestURITooLong as json.
func (*GetOgNodeRequestURITooLong) MarshalJSON ¶
func (s *GetOgNodeRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgNodeRequestURITooLong) UnmarshalJSON ¶
func (s *GetOgNodeRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgNodeRes ¶
type GetOgNodeRes interface {
// contains filtered or unexported methods
}
type GetOgVersionBadRequest ¶
type GetOgVersionBadRequest DefaultErrorObj
func (*GetOgVersionBadRequest) Decode ¶
func (s *GetOgVersionBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetOgVersionBadRequest from json.
func (*GetOgVersionBadRequest) Encode ¶
func (s *GetOgVersionBadRequest) Encode(e *jx.Encoder)
Encode encodes GetOgVersionBadRequest as json.
func (*GetOgVersionBadRequest) MarshalJSON ¶
func (s *GetOgVersionBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgVersionBadRequest) UnmarshalJSON ¶
func (s *GetOgVersionBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgVersionInternalServerError ¶
type GetOgVersionInternalServerError DefaultErrorObj
func (*GetOgVersionInternalServerError) Decode ¶
func (s *GetOgVersionInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetOgVersionInternalServerError from json.
func (*GetOgVersionInternalServerError) Encode ¶
func (s *GetOgVersionInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetOgVersionInternalServerError as json.
func (*GetOgVersionInternalServerError) MarshalJSON ¶
func (s *GetOgVersionInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgVersionInternalServerError) UnmarshalJSON ¶
func (s *GetOgVersionInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgVersionMethodNotAllowed ¶
type GetOgVersionMethodNotAllowed DefaultErrorObj
func (*GetOgVersionMethodNotAllowed) Decode ¶
func (s *GetOgVersionMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetOgVersionMethodNotAllowed from json.
func (*GetOgVersionMethodNotAllowed) Encode ¶
func (s *GetOgVersionMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetOgVersionMethodNotAllowed as json.
func (*GetOgVersionMethodNotAllowed) MarshalJSON ¶
func (s *GetOgVersionMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgVersionMethodNotAllowed) UnmarshalJSON ¶
func (s *GetOgVersionMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgVersionNotFound ¶
type GetOgVersionNotFound DefaultErrorObj
func (*GetOgVersionNotFound) Decode ¶
func (s *GetOgVersionNotFound) Decode(d *jx.Decoder) error
Decode decodes GetOgVersionNotFound from json.
func (*GetOgVersionNotFound) Encode ¶
func (s *GetOgVersionNotFound) Encode(e *jx.Encoder)
Encode encodes GetOgVersionNotFound as json.
func (*GetOgVersionNotFound) MarshalJSON ¶
func (s *GetOgVersionNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgVersionNotFound) UnmarshalJSON ¶
func (s *GetOgVersionNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgVersionOK ¶
type GetOgVersionOKHeaders ¶
type GetOgVersionOKHeaders struct {
CacheControl OptString
ETag OptString
Response GetOgVersionOK
}
GetOgVersionOKHeaders wraps GetOgVersionOK with response headers.
func (*GetOgVersionOKHeaders) GetCacheControl ¶
func (s *GetOgVersionOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetOgVersionOKHeaders) GetETag ¶
func (s *GetOgVersionOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetOgVersionOKHeaders) GetResponse ¶
func (s *GetOgVersionOKHeaders) GetResponse() GetOgVersionOK
GetResponse returns the value of Response.
func (*GetOgVersionOKHeaders) SetCacheControl ¶
func (s *GetOgVersionOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetOgVersionOKHeaders) SetETag ¶
func (s *GetOgVersionOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetOgVersionOKHeaders) SetResponse ¶
func (s *GetOgVersionOKHeaders) SetResponse(val GetOgVersionOK)
SetResponse sets the value of Response.
type GetOgVersionParams ¶
type GetOgVersionParams struct {
// Registry key configured in `release_mirrors`. Valid configuration keys match
// `^[a-z0-9][a-z0-9._-]{1,38}[a-z0-9]$`, cannot look like a Go major suffix such as `v2`, and cannot
// use reserved route names including `list`, `latest`, `@v`, `@latest`, `health`, `info`, `metrics`,
// `openapi.json`, `p`, `p2`, `packages`, `packages.json`, `rpc`, `catalog.json`, `feed.xml`, `logo`,
// `og.png`, `favicon.ico`, and `sitemap.xml`.
Key string
// Version label, for example `v1.2.3`.
Version string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetOgVersionParams is parameters of getOgVersion operation.
type GetOgVersionRequestHeaderFieldsTooLarge ¶
type GetOgVersionRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetOgVersionRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetOgVersionRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetOgVersionRequestHeaderFieldsTooLarge from json.
func (*GetOgVersionRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetOgVersionRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetOgVersionRequestHeaderFieldsTooLarge as json.
func (*GetOgVersionRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetOgVersionRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgVersionRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetOgVersionRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgVersionRequestURITooLong ¶
type GetOgVersionRequestURITooLong DefaultErrorObj
func (*GetOgVersionRequestURITooLong) Decode ¶
func (s *GetOgVersionRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetOgVersionRequestURITooLong from json.
func (*GetOgVersionRequestURITooLong) Encode ¶
func (s *GetOgVersionRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetOgVersionRequestURITooLong as json.
func (*GetOgVersionRequestURITooLong) MarshalJSON ¶
func (s *GetOgVersionRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetOgVersionRequestURITooLong) UnmarshalJSON ¶
func (s *GetOgVersionRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetOgVersionRes ¶
type GetOgVersionRes interface {
// contains filtered or unexported methods
}
type GetSitemapBadRequest ¶
type GetSitemapBadRequest DefaultErrorObj
func (*GetSitemapBadRequest) Decode ¶
func (s *GetSitemapBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetSitemapBadRequest from json.
func (*GetSitemapBadRequest) Encode ¶
func (s *GetSitemapBadRequest) Encode(e *jx.Encoder)
Encode encodes GetSitemapBadRequest as json.
func (*GetSitemapBadRequest) MarshalJSON ¶
func (s *GetSitemapBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSitemapBadRequest) UnmarshalJSON ¶
func (s *GetSitemapBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSitemapInternalServerError ¶
type GetSitemapInternalServerError DefaultErrorObj
func (*GetSitemapInternalServerError) Decode ¶
func (s *GetSitemapInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetSitemapInternalServerError from json.
func (*GetSitemapInternalServerError) Encode ¶
func (s *GetSitemapInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetSitemapInternalServerError as json.
func (*GetSitemapInternalServerError) MarshalJSON ¶
func (s *GetSitemapInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSitemapInternalServerError) UnmarshalJSON ¶
func (s *GetSitemapInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSitemapMethodNotAllowed ¶
type GetSitemapMethodNotAllowed DefaultErrorObj
func (*GetSitemapMethodNotAllowed) Decode ¶
func (s *GetSitemapMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetSitemapMethodNotAllowed from json.
func (*GetSitemapMethodNotAllowed) Encode ¶
func (s *GetSitemapMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetSitemapMethodNotAllowed as json.
func (*GetSitemapMethodNotAllowed) MarshalJSON ¶
func (s *GetSitemapMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSitemapMethodNotAllowed) UnmarshalJSON ¶
func (s *GetSitemapMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSitemapOK ¶
type GetSitemapOKHeaders ¶
type GetSitemapOKHeaders struct {
CacheControl OptString
ETag OptString
Response GetSitemapOK
}
GetSitemapOKHeaders wraps GetSitemapOK with response headers.
func (*GetSitemapOKHeaders) GetCacheControl ¶
func (s *GetSitemapOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetSitemapOKHeaders) GetETag ¶
func (s *GetSitemapOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetSitemapOKHeaders) GetResponse ¶
func (s *GetSitemapOKHeaders) GetResponse() GetSitemapOK
GetResponse returns the value of Response.
func (*GetSitemapOKHeaders) SetCacheControl ¶
func (s *GetSitemapOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetSitemapOKHeaders) SetETag ¶
func (s *GetSitemapOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetSitemapOKHeaders) SetResponse ¶
func (s *GetSitemapOKHeaders) SetResponse(val GetSitemapOK)
SetResponse sets the value of Response.
type GetSitemapParams ¶
type GetSitemapParams struct {
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
}
GetSitemapParams is parameters of getSitemap operation.
type GetSitemapRequestHeaderFieldsTooLarge ¶
type GetSitemapRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetSitemapRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetSitemapRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetSitemapRequestHeaderFieldsTooLarge from json.
func (*GetSitemapRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetSitemapRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetSitemapRequestHeaderFieldsTooLarge as json.
func (*GetSitemapRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetSitemapRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSitemapRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetSitemapRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSitemapRequestURITooLong ¶
type GetSitemapRequestURITooLong DefaultErrorObj
func (*GetSitemapRequestURITooLong) Decode ¶
func (s *GetSitemapRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetSitemapRequestURITooLong from json.
func (*GetSitemapRequestURITooLong) Encode ¶
func (s *GetSitemapRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetSitemapRequestURITooLong as json.
func (*GetSitemapRequestURITooLong) MarshalJSON ¶
func (s *GetSitemapRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetSitemapRequestURITooLong) UnmarshalJSON ¶
func (s *GetSitemapRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetSitemapRes ¶
type GetSitemapRes interface {
// contains filtered or unexported methods
}
type GetVersionArtifactBadRequest ¶
type GetVersionArtifactBadRequest DefaultErrorObj
func (*GetVersionArtifactBadRequest) Decode ¶
func (s *GetVersionArtifactBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetVersionArtifactBadRequest from json.
func (*GetVersionArtifactBadRequest) Encode ¶
func (s *GetVersionArtifactBadRequest) Encode(e *jx.Encoder)
Encode encodes GetVersionArtifactBadRequest as json.
func (*GetVersionArtifactBadRequest) MarshalJSON ¶
func (s *GetVersionArtifactBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionArtifactBadRequest) UnmarshalJSON ¶
func (s *GetVersionArtifactBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionArtifactInternalServerError ¶
type GetVersionArtifactInternalServerError DefaultErrorObj
func (*GetVersionArtifactInternalServerError) Decode ¶
func (s *GetVersionArtifactInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetVersionArtifactInternalServerError from json.
func (*GetVersionArtifactInternalServerError) Encode ¶
func (s *GetVersionArtifactInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetVersionArtifactInternalServerError as json.
func (*GetVersionArtifactInternalServerError) MarshalJSON ¶
func (s *GetVersionArtifactInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionArtifactInternalServerError) UnmarshalJSON ¶
func (s *GetVersionArtifactInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionArtifactMethodNotAllowed ¶
type GetVersionArtifactMethodNotAllowed DefaultErrorObj
func (*GetVersionArtifactMethodNotAllowed) Decode ¶
func (s *GetVersionArtifactMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetVersionArtifactMethodNotAllowed from json.
func (*GetVersionArtifactMethodNotAllowed) Encode ¶
func (s *GetVersionArtifactMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetVersionArtifactMethodNotAllowed as json.
func (*GetVersionArtifactMethodNotAllowed) MarshalJSON ¶
func (s *GetVersionArtifactMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionArtifactMethodNotAllowed) UnmarshalJSON ¶
func (s *GetVersionArtifactMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionArtifactNotFound ¶
type GetVersionArtifactNotFound DefaultErrorObj
func (*GetVersionArtifactNotFound) Decode ¶
func (s *GetVersionArtifactNotFound) Decode(d *jx.Decoder) error
Decode decodes GetVersionArtifactNotFound from json.
func (*GetVersionArtifactNotFound) Encode ¶
func (s *GetVersionArtifactNotFound) Encode(e *jx.Encoder)
Encode encodes GetVersionArtifactNotFound as json.
func (*GetVersionArtifactNotFound) MarshalJSON ¶
func (s *GetVersionArtifactNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionArtifactNotFound) UnmarshalJSON ¶
func (s *GetVersionArtifactNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionArtifactOK ¶
type GetVersionArtifactOKHeaders ¶
type GetVersionArtifactOKHeaders struct {
AcceptRanges OptString
CacheControl OptString
ContentDisposition OptString
ContentLength OptInt64
ETag OptString
LastModified OptString
Response GetVersionArtifactOK
}
GetVersionArtifactOKHeaders wraps GetVersionArtifactOK with response headers.
func (*GetVersionArtifactOKHeaders) GetAcceptRanges ¶
func (s *GetVersionArtifactOKHeaders) GetAcceptRanges() OptString
GetAcceptRanges returns the value of AcceptRanges.
func (*GetVersionArtifactOKHeaders) GetCacheControl ¶
func (s *GetVersionArtifactOKHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetVersionArtifactOKHeaders) GetContentDisposition ¶ added in v0.3.0
func (s *GetVersionArtifactOKHeaders) GetContentDisposition() OptString
GetContentDisposition returns the value of ContentDisposition.
func (*GetVersionArtifactOKHeaders) GetContentLength ¶
func (s *GetVersionArtifactOKHeaders) GetContentLength() OptInt64
GetContentLength returns the value of ContentLength.
func (*GetVersionArtifactOKHeaders) GetETag ¶
func (s *GetVersionArtifactOKHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetVersionArtifactOKHeaders) GetLastModified ¶
func (s *GetVersionArtifactOKHeaders) GetLastModified() OptString
GetLastModified returns the value of LastModified.
func (*GetVersionArtifactOKHeaders) GetResponse ¶
func (s *GetVersionArtifactOKHeaders) GetResponse() GetVersionArtifactOK
GetResponse returns the value of Response.
func (*GetVersionArtifactOKHeaders) SetAcceptRanges ¶
func (s *GetVersionArtifactOKHeaders) SetAcceptRanges(val OptString)
SetAcceptRanges sets the value of AcceptRanges.
func (*GetVersionArtifactOKHeaders) SetCacheControl ¶
func (s *GetVersionArtifactOKHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetVersionArtifactOKHeaders) SetContentDisposition ¶ added in v0.3.0
func (s *GetVersionArtifactOKHeaders) SetContentDisposition(val OptString)
SetContentDisposition sets the value of ContentDisposition.
func (*GetVersionArtifactOKHeaders) SetContentLength ¶
func (s *GetVersionArtifactOKHeaders) SetContentLength(val OptInt64)
SetContentLength sets the value of ContentLength.
func (*GetVersionArtifactOKHeaders) SetETag ¶
func (s *GetVersionArtifactOKHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetVersionArtifactOKHeaders) SetLastModified ¶
func (s *GetVersionArtifactOKHeaders) SetLastModified(val OptString)
SetLastModified sets the value of LastModified.
func (*GetVersionArtifactOKHeaders) SetResponse ¶
func (s *GetVersionArtifactOKHeaders) SetResponse(val GetVersionArtifactOK)
SetResponse sets the value of Response.
type GetVersionArtifactParams ¶
type GetVersionArtifactParams struct {
// Registry key configured in `release_mirrors`. Valid configuration keys match
// `^[a-z0-9][a-z0-9._-]{1,38}[a-z0-9]$`, cannot look like a Go major suffix such as `v2`, and cannot
// use reserved route names including `list`, `latest`, `@v`, `@latest`, `health`, `info`, `metrics`,
// `openapi.json`, `p`, `p2`, `packages`, `packages.json`, `rpc`, `catalog.json`, `feed.xml`, `logo`,
// `og.png`, `favicon.ico`, and `sitemap.xml`.
Key string
// Version file name, for example `v1.2.3.info`, `v1.2.3.mod`, or `v1.2.3.zip`.
VersionFile string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
// HTTP date validator accepted on artifact routes for client compatibility. The current handlers do
// not use this header to decide `304 Not Modified`; use `If-None-Match` for cache revalidation and
// `If-Range` for ranged downloads.
IfModifiedSince OptString `json:",omitempty,omitzero"`
// Single byte range request for artifact bodies. Satisfiable ranges return `206 Partial Content`;
// out-of-bounds ranges return `416`. Malformed or unsupported ranges are ignored and the full body is
// returned.
Range OptString `json:",omitempty,omitzero"`
// Validator for a `Range` request. The byte range is served only when the value matches the current
// ETag; otherwise the server ignores `Range` and returns the full resource with `200 OK`.
IfRange OptString `json:",omitempty,omitzero"`
}
GetVersionArtifactParams is parameters of getVersionArtifact operation.
type GetVersionArtifactRequestHeaderFieldsTooLarge ¶
type GetVersionArtifactRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetVersionArtifactRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetVersionArtifactRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetVersionArtifactRequestHeaderFieldsTooLarge from json.
func (*GetVersionArtifactRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetVersionArtifactRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetVersionArtifactRequestHeaderFieldsTooLarge as json.
func (*GetVersionArtifactRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetVersionArtifactRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionArtifactRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetVersionArtifactRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionArtifactRequestURITooLong ¶
type GetVersionArtifactRequestURITooLong DefaultErrorObj
func (*GetVersionArtifactRequestURITooLong) Decode ¶
func (s *GetVersionArtifactRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetVersionArtifactRequestURITooLong from json.
func (*GetVersionArtifactRequestURITooLong) Encode ¶
func (s *GetVersionArtifactRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetVersionArtifactRequestURITooLong as json.
func (*GetVersionArtifactRequestURITooLong) MarshalJSON ¶
func (s *GetVersionArtifactRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionArtifactRequestURITooLong) UnmarshalJSON ¶
func (s *GetVersionArtifactRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionArtifactRequestedRangeNotSatisfiable ¶
type GetVersionArtifactRequestedRangeNotSatisfiable DefaultErrorObj
func (*GetVersionArtifactRequestedRangeNotSatisfiable) Decode ¶
func (s *GetVersionArtifactRequestedRangeNotSatisfiable) Decode(d *jx.Decoder) error
Decode decodes GetVersionArtifactRequestedRangeNotSatisfiable from json.
func (*GetVersionArtifactRequestedRangeNotSatisfiable) Encode ¶
func (s *GetVersionArtifactRequestedRangeNotSatisfiable) Encode(e *jx.Encoder)
Encode encodes GetVersionArtifactRequestedRangeNotSatisfiable as json.
func (*GetVersionArtifactRequestedRangeNotSatisfiable) MarshalJSON ¶
func (s *GetVersionArtifactRequestedRangeNotSatisfiable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionArtifactRequestedRangeNotSatisfiable) UnmarshalJSON ¶
func (s *GetVersionArtifactRequestedRangeNotSatisfiable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionArtifactRes ¶
type GetVersionArtifactRes interface {
// contains filtered or unexported methods
}
type GetVersionArtifactServiceUnavailable ¶ added in v0.4.0
type GetVersionArtifactServiceUnavailable DefaultErrorObj
func (*GetVersionArtifactServiceUnavailable) Decode ¶ added in v0.4.0
func (s *GetVersionArtifactServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes GetVersionArtifactServiceUnavailable from json.
func (*GetVersionArtifactServiceUnavailable) Encode ¶ added in v0.4.0
func (s *GetVersionArtifactServiceUnavailable) Encode(e *jx.Encoder)
Encode encodes GetVersionArtifactServiceUnavailable as json.
func (*GetVersionArtifactServiceUnavailable) MarshalJSON ¶ added in v0.4.0
func (s *GetVersionArtifactServiceUnavailable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionArtifactServiceUnavailable) UnmarshalJSON ¶ added in v0.4.0
func (s *GetVersionArtifactServiceUnavailable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionArtifactTooManyRequests ¶
type GetVersionArtifactTooManyRequests DefaultErrorObj
func (*GetVersionArtifactTooManyRequests) Decode ¶
func (s *GetVersionArtifactTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetVersionArtifactTooManyRequests from json.
func (*GetVersionArtifactTooManyRequests) Encode ¶
func (s *GetVersionArtifactTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetVersionArtifactTooManyRequests as json.
func (*GetVersionArtifactTooManyRequests) MarshalJSON ¶
func (s *GetVersionArtifactTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionArtifactTooManyRequests) UnmarshalJSON ¶
func (s *GetVersionArtifactTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionFileBadRequest ¶
type GetVersionFileBadRequest DefaultErrorObj
func (*GetVersionFileBadRequest) Decode ¶
func (s *GetVersionFileBadRequest) Decode(d *jx.Decoder) error
Decode decodes GetVersionFileBadRequest from json.
func (*GetVersionFileBadRequest) Encode ¶
func (s *GetVersionFileBadRequest) Encode(e *jx.Encoder)
Encode encodes GetVersionFileBadRequest as json.
func (*GetVersionFileBadRequest) MarshalJSON ¶
func (s *GetVersionFileBadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionFileBadRequest) UnmarshalJSON ¶
func (s *GetVersionFileBadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionFileInternalServerError ¶
type GetVersionFileInternalServerError DefaultErrorObj
func (*GetVersionFileInternalServerError) Decode ¶
func (s *GetVersionFileInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetVersionFileInternalServerError from json.
func (*GetVersionFileInternalServerError) Encode ¶
func (s *GetVersionFileInternalServerError) Encode(e *jx.Encoder)
Encode encodes GetVersionFileInternalServerError as json.
func (*GetVersionFileInternalServerError) MarshalJSON ¶
func (s *GetVersionFileInternalServerError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionFileInternalServerError) UnmarshalJSON ¶
func (s *GetVersionFileInternalServerError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionFileMethodNotAllowed ¶
type GetVersionFileMethodNotAllowed DefaultErrorObj
func (*GetVersionFileMethodNotAllowed) Decode ¶
func (s *GetVersionFileMethodNotAllowed) Decode(d *jx.Decoder) error
Decode decodes GetVersionFileMethodNotAllowed from json.
func (*GetVersionFileMethodNotAllowed) Encode ¶
func (s *GetVersionFileMethodNotAllowed) Encode(e *jx.Encoder)
Encode encodes GetVersionFileMethodNotAllowed as json.
func (*GetVersionFileMethodNotAllowed) MarshalJSON ¶
func (s *GetVersionFileMethodNotAllowed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionFileMethodNotAllowed) UnmarshalJSON ¶
func (s *GetVersionFileMethodNotAllowed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionFileNotFound ¶
type GetVersionFileNotFound DefaultErrorObj
func (*GetVersionFileNotFound) Decode ¶
func (s *GetVersionFileNotFound) Decode(d *jx.Decoder) error
Decode decodes GetVersionFileNotFound from json.
func (*GetVersionFileNotFound) Encode ¶
func (s *GetVersionFileNotFound) Encode(e *jx.Encoder)
Encode encodes GetVersionFileNotFound as json.
func (*GetVersionFileNotFound) MarshalJSON ¶
func (s *GetVersionFileNotFound) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionFileNotFound) UnmarshalJSON ¶
func (s *GetVersionFileNotFound) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionFileOKApplicationOctetStreamHeaders ¶
type GetVersionFileOKApplicationOctetStreamHeaders struct {
AcceptRanges OptString
CacheControl OptString
ContentDisposition OptString
ContentLength OptInt64
ETag OptString
LastModified OptString
Response GetVersionFileOKApplicationOctetStream
}
GetVersionFileOKApplicationOctetStreamHeaders wraps GetVersionFileOKApplicationOctetStream with response headers.
func (*GetVersionFileOKApplicationOctetStreamHeaders) GetAcceptRanges ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetAcceptRanges() OptString
GetAcceptRanges returns the value of AcceptRanges.
func (*GetVersionFileOKApplicationOctetStreamHeaders) GetCacheControl ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetVersionFileOKApplicationOctetStreamHeaders) GetContentDisposition ¶ added in v0.3.0
func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetContentDisposition() OptString
GetContentDisposition returns the value of ContentDisposition.
func (*GetVersionFileOKApplicationOctetStreamHeaders) GetContentLength ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetContentLength() OptInt64
GetContentLength returns the value of ContentLength.
func (*GetVersionFileOKApplicationOctetStreamHeaders) GetETag ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetVersionFileOKApplicationOctetStreamHeaders) GetLastModified ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetLastModified() OptString
GetLastModified returns the value of LastModified.
func (*GetVersionFileOKApplicationOctetStreamHeaders) GetResponse ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) GetResponse() GetVersionFileOKApplicationOctetStream
GetResponse returns the value of Response.
func (*GetVersionFileOKApplicationOctetStreamHeaders) SetAcceptRanges ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetAcceptRanges(val OptString)
SetAcceptRanges sets the value of AcceptRanges.
func (*GetVersionFileOKApplicationOctetStreamHeaders) SetCacheControl ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetVersionFileOKApplicationOctetStreamHeaders) SetContentDisposition ¶ added in v0.3.0
func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetContentDisposition(val OptString)
SetContentDisposition sets the value of ContentDisposition.
func (*GetVersionFileOKApplicationOctetStreamHeaders) SetContentLength ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetContentLength(val OptInt64)
SetContentLength sets the value of ContentLength.
func (*GetVersionFileOKApplicationOctetStreamHeaders) SetETag ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetVersionFileOKApplicationOctetStreamHeaders) SetLastModified ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetLastModified(val OptString)
SetLastModified sets the value of LastModified.
func (*GetVersionFileOKApplicationOctetStreamHeaders) SetResponse ¶
func (s *GetVersionFileOKApplicationOctetStreamHeaders) SetResponse(val GetVersionFileOKApplicationOctetStream)
SetResponse sets the value of Response.
type GetVersionFileOKTextHTMLHeaders ¶
type GetVersionFileOKTextHTMLHeaders struct {
AcceptRanges OptString
CacheControl OptString
ContentDisposition OptString
ContentLength OptInt64
ETag OptString
LastModified OptString
Response GetVersionFileOKTextHTML
}
GetVersionFileOKTextHTMLHeaders wraps GetVersionFileOKTextHTML with response headers.
func (*GetVersionFileOKTextHTMLHeaders) GetAcceptRanges ¶
func (s *GetVersionFileOKTextHTMLHeaders) GetAcceptRanges() OptString
GetAcceptRanges returns the value of AcceptRanges.
func (*GetVersionFileOKTextHTMLHeaders) GetCacheControl ¶
func (s *GetVersionFileOKTextHTMLHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GetVersionFileOKTextHTMLHeaders) GetContentDisposition ¶ added in v0.3.0
func (s *GetVersionFileOKTextHTMLHeaders) GetContentDisposition() OptString
GetContentDisposition returns the value of ContentDisposition.
func (*GetVersionFileOKTextHTMLHeaders) GetContentLength ¶
func (s *GetVersionFileOKTextHTMLHeaders) GetContentLength() OptInt64
GetContentLength returns the value of ContentLength.
func (*GetVersionFileOKTextHTMLHeaders) GetETag ¶
func (s *GetVersionFileOKTextHTMLHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GetVersionFileOKTextHTMLHeaders) GetLastModified ¶
func (s *GetVersionFileOKTextHTMLHeaders) GetLastModified() OptString
GetLastModified returns the value of LastModified.
func (*GetVersionFileOKTextHTMLHeaders) GetResponse ¶
func (s *GetVersionFileOKTextHTMLHeaders) GetResponse() GetVersionFileOKTextHTML
GetResponse returns the value of Response.
func (*GetVersionFileOKTextHTMLHeaders) SetAcceptRanges ¶
func (s *GetVersionFileOKTextHTMLHeaders) SetAcceptRanges(val OptString)
SetAcceptRanges sets the value of AcceptRanges.
func (*GetVersionFileOKTextHTMLHeaders) SetCacheControl ¶
func (s *GetVersionFileOKTextHTMLHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GetVersionFileOKTextHTMLHeaders) SetContentDisposition ¶ added in v0.3.0
func (s *GetVersionFileOKTextHTMLHeaders) SetContentDisposition(val OptString)
SetContentDisposition sets the value of ContentDisposition.
func (*GetVersionFileOKTextHTMLHeaders) SetContentLength ¶
func (s *GetVersionFileOKTextHTMLHeaders) SetContentLength(val OptInt64)
SetContentLength sets the value of ContentLength.
func (*GetVersionFileOKTextHTMLHeaders) SetETag ¶
func (s *GetVersionFileOKTextHTMLHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GetVersionFileOKTextHTMLHeaders) SetLastModified ¶
func (s *GetVersionFileOKTextHTMLHeaders) SetLastModified(val OptString)
SetLastModified sets the value of LastModified.
func (*GetVersionFileOKTextHTMLHeaders) SetResponse ¶
func (s *GetVersionFileOKTextHTMLHeaders) SetResponse(val GetVersionFileOKTextHTML)
SetResponse sets the value of Response.
type GetVersionFileParams ¶
type GetVersionFileParams struct {
// Registry key configured in `release_mirrors`. Valid configuration keys match
// `^[a-z0-9][a-z0-9._-]{1,38}[a-z0-9]$`, cannot look like a Go major suffix such as `v2`, and cannot
// use reserved route names including `list`, `latest`, `@v`, `@latest`, `health`, `info`, `metrics`,
// `openapi.json`, `p`, `p2`, `packages`, `packages.json`, `rpc`, `catalog.json`, `feed.xml`, `logo`,
// `og.png`, `favicon.ico`, and `sitemap.xml`.
Key string
// Version file name, for example `v1.2.3.json`, `v1.2.3.zip`, or `v1.2.3.tar.gz`.
VersionFile string
// Client ETag validator. If one supplied tag matches the current resource ETag, the server returns
// `304 Not Modified` without a response body.
IfNoneMatch OptString `json:",omitempty,omitzero"`
// HTTP date validator accepted on artifact routes for client compatibility. The current handlers do
// not use this header to decide `304 Not Modified`; use `If-None-Match` for cache revalidation and
// `If-Range` for ranged downloads.
IfModifiedSince OptString `json:",omitempty,omitzero"`
// Single byte range request for artifact bodies. Satisfiable ranges return `206 Partial Content`;
// out-of-bounds ranges return `416`. Malformed or unsupported ranges are ignored and the full body is
// returned.
Range OptString `json:",omitempty,omitzero"`
// Validator for a `Range` request. The byte range is served only when the value matches the current
// ETag; otherwise the server ignores `Range` and returns the full resource with `200 OK`.
IfRange OptString `json:",omitempty,omitzero"`
}
GetVersionFileParams is parameters of getVersionFile operation.
type GetVersionFileRequestHeaderFieldsTooLarge ¶
type GetVersionFileRequestHeaderFieldsTooLarge DefaultErrorObj
func (*GetVersionFileRequestHeaderFieldsTooLarge) Decode ¶
func (s *GetVersionFileRequestHeaderFieldsTooLarge) Decode(d *jx.Decoder) error
Decode decodes GetVersionFileRequestHeaderFieldsTooLarge from json.
func (*GetVersionFileRequestHeaderFieldsTooLarge) Encode ¶
func (s *GetVersionFileRequestHeaderFieldsTooLarge) Encode(e *jx.Encoder)
Encode encodes GetVersionFileRequestHeaderFieldsTooLarge as json.
func (*GetVersionFileRequestHeaderFieldsTooLarge) MarshalJSON ¶
func (s *GetVersionFileRequestHeaderFieldsTooLarge) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionFileRequestHeaderFieldsTooLarge) UnmarshalJSON ¶
func (s *GetVersionFileRequestHeaderFieldsTooLarge) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionFileRequestURITooLong ¶
type GetVersionFileRequestURITooLong DefaultErrorObj
func (*GetVersionFileRequestURITooLong) Decode ¶
func (s *GetVersionFileRequestURITooLong) Decode(d *jx.Decoder) error
Decode decodes GetVersionFileRequestURITooLong from json.
func (*GetVersionFileRequestURITooLong) Encode ¶
func (s *GetVersionFileRequestURITooLong) Encode(e *jx.Encoder)
Encode encodes GetVersionFileRequestURITooLong as json.
func (*GetVersionFileRequestURITooLong) MarshalJSON ¶
func (s *GetVersionFileRequestURITooLong) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionFileRequestURITooLong) UnmarshalJSON ¶
func (s *GetVersionFileRequestURITooLong) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionFileRequestedRangeNotSatisfiable ¶
type GetVersionFileRequestedRangeNotSatisfiable DefaultErrorObj
func (*GetVersionFileRequestedRangeNotSatisfiable) Decode ¶
func (s *GetVersionFileRequestedRangeNotSatisfiable) Decode(d *jx.Decoder) error
Decode decodes GetVersionFileRequestedRangeNotSatisfiable from json.
func (*GetVersionFileRequestedRangeNotSatisfiable) Encode ¶
func (s *GetVersionFileRequestedRangeNotSatisfiable) Encode(e *jx.Encoder)
Encode encodes GetVersionFileRequestedRangeNotSatisfiable as json.
func (*GetVersionFileRequestedRangeNotSatisfiable) MarshalJSON ¶
func (s *GetVersionFileRequestedRangeNotSatisfiable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionFileRequestedRangeNotSatisfiable) UnmarshalJSON ¶
func (s *GetVersionFileRequestedRangeNotSatisfiable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionFileRes ¶
type GetVersionFileRes interface {
// contains filtered or unexported methods
}
type GetVersionFileServiceUnavailable ¶ added in v0.4.0
type GetVersionFileServiceUnavailable DefaultErrorObj
func (*GetVersionFileServiceUnavailable) Decode ¶ added in v0.4.0
func (s *GetVersionFileServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes GetVersionFileServiceUnavailable from json.
func (*GetVersionFileServiceUnavailable) Encode ¶ added in v0.4.0
func (s *GetVersionFileServiceUnavailable) Encode(e *jx.Encoder)
Encode encodes GetVersionFileServiceUnavailable as json.
func (*GetVersionFileServiceUnavailable) MarshalJSON ¶ added in v0.4.0
func (s *GetVersionFileServiceUnavailable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionFileServiceUnavailable) UnmarshalJSON ¶ added in v0.4.0
func (s *GetVersionFileServiceUnavailable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetVersionFileTooManyRequests ¶
type GetVersionFileTooManyRequests DefaultErrorObj
func (*GetVersionFileTooManyRequests) Decode ¶
func (s *GetVersionFileTooManyRequests) Decode(d *jx.Decoder) error
Decode decodes GetVersionFileTooManyRequests from json.
func (*GetVersionFileTooManyRequests) Encode ¶
func (s *GetVersionFileTooManyRequests) Encode(e *jx.Encoder)
Encode encodes GetVersionFileTooManyRequests as json.
func (*GetVersionFileTooManyRequests) MarshalJSON ¶
func (s *GetVersionFileTooManyRequests) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetVersionFileTooManyRequests) UnmarshalJSON ¶
func (s *GetVersionFileTooManyRequests) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GoInfoObj ¶
type GoInfoObj struct {
// Release timestamp returned in the Go proxy `.info` document.
Time time.Time `json:"Time"`
// Canonical Go module version returned by the proxy.
Version string `json:"Version"`
}
Ref: #/components/schemas/GoInfoObj
func (*GoInfoObj) GetVersion ¶
GetVersion returns the value of Version.
func (*GoInfoObj) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*GoInfoObj) SetVersion ¶
SetVersion sets the value of Version.
func (*GoInfoObj) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type GoInfoObjHeaders ¶
GoInfoObjHeaders wraps GoInfoObj with response headers.
func (*GoInfoObjHeaders) GetCacheControl ¶
func (s *GoInfoObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*GoInfoObjHeaders) GetETag ¶
func (s *GoInfoObjHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*GoInfoObjHeaders) GetResponse ¶
func (s *GoInfoObjHeaders) GetResponse() GoInfoObj
GetResponse returns the value of Response.
func (*GoInfoObjHeaders) SetCacheControl ¶
func (s *GoInfoObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*GoInfoObjHeaders) SetETag ¶
func (s *GoInfoObjHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*GoInfoObjHeaders) SetResponse ¶
func (s *GoInfoObjHeaders) SetResponse(val GoInfoObj)
SetResponse sets the value of Response.
type Handler ¶
type Handler interface {
// GetCatalog implements getCatalog operation.
//
// Lightweight cross-key snapshot containing each key, latest version, operational status, source
// classification, and source availability. Release notes and artifact lists are omitted. The body is
// served from the metadata cache and does not perform a live storage scan. Query parameters are
// rejected.
//
// GET /catalog.json
GetCatalog(ctx context.Context, params GetCatalogParams) (GetCatalogRes, error)
// GetComposerP2Package implements getComposerP2Package operation.
//
// Returns Composer v2 p2 metadata for one package name. `packageFile` contains the package segment
// with `.json` for stable metadata or `~dev.json` for the dev variant, for example `monolog.json` or
// `monolog~dev.json`. Unknown package names, dev-only misses, and invalid filenames return 404. Query
// parameters are rejected.
//
// GET /p2/{vendor}/{packageFile}
GetComposerP2Package(ctx context.Context, params GetComposerP2PackageParams) (GetComposerP2PackageRes, error)
// GetComposerPackageList implements getComposerPackageList operation.
//
// Returns available Composer package names after package-name collision resolution. The optional
// `filter` supports Composer-style `*` wildcards and is validated before matching so oversized or
// malformed filters return 400.
//
// GET /packages/list.json
GetComposerPackageList(ctx context.Context, params GetComposerPackageListParams) (GetComposerPackageListRes, error)
// GetComposerPackages implements getComposerPackages operation.
//
// Returns the Composer repository `packages.json` document. yggvault uses the Composer v2 lazy
// metadata flow: the root document advertises the p2 `metadata-url`, the complete prebuilt
// package-name list, and the package list endpoint. Query parameters are rejected.
//
// GET /packages.json
GetComposerPackages(ctx context.Context, params GetComposerPackagesParams) (GetComposerPackagesRes, error)
// GetFavicon implements getFavicon operation.
//
// Multi-resolution favicon (16/32/48) generated from the node logo. Pre-rendered at startup and served
// with a strong content ETag. Query parameters are rejected.
//
// GET /favicon.ico
GetFavicon(ctx context.Context, params GetFaviconParams) (GetFaviconRes, error)
// GetFeed implements getFeed operation.
//
// Atom 1.0 feed built from the cross-key release history. New events come first. The feed includes
// publish events and archive mutation events; a mutation is a separate entry with an ID that includes
// the content hash. The number of entries is capped by `web.pages.feed_size`. Query parameters are
// rejected.
//
// GET /feed.xml
GetFeed(ctx context.Context, params GetFeedParams) (GetFeedRes, error)
// GetGoLatest implements getGoLatest operation.
//
// Returns the Go proxy `@latest` JSON document for the newest active canonical version in the
// requested major line. Major-version paths such as `/{key}/v2/@latest` are accepted and mapped to the
// same operation. The route is available only when content detection has published a Go overlay for
// the key and major path.
//
// GET /{key}/@latest
GetGoLatest(ctx context.Context, params GetGoLatestParams) (GetGoLatestRes, error)
// GetGoVersionList implements getGoVersionList operation.
//
// Returns the Go proxy `@v/list` body: one canonical version per line, newest first. Major-version
// paths such as `/{key}/v2/@v/list` are accepted and mapped to the same operation. The route is
// available only for keys and major lines where content detection has published a Go overlay. Query
// parameters are rejected.
//
// GET /{key}/@v/list
GetGoVersionList(ctx context.Context, params GetGoVersionListParams) (GetGoVersionListRes, error)
// GetHealth implements getHealth operation.
//
// Returns the live node health snapshot for the listener that handled the request. The response is not
// cached and includes the entry source (`web` or `yggdrasil`), current runtime status, recent
// diagnostic count, and the last completed rescan timestamp when available.
//
// GET /health
GetHealth(ctx context.Context) (GetHealthRes, error)
// GetInfo implements getInfo operation.
//
// Public node identity shared by all routes: name, optional description, optional location, public
// contacts, clearnet domain, and Yggdrasil host. The same identity data is also published through mesh
// `info`/`inet` signals. Empty `domain` or `ygg_host` means the matching entry is disabled.
//
// GET /info
GetInfo(ctx context.Context) (GetInfoRes, error)
// GetKeyFeed implements getKeyFeed operation.
//
// Atom 1.0 feed for release history events of one key. New events come first. The feed includes
// publish events and archive mutation events; a mutation is a separate entry with an ID that includes
// the content hash. The number of entries is capped by `web.pages.feed_size`. Query parameters are
// rejected.
//
// GET /{key}/releases.xml
GetKeyFeed(ctx context.Context, params GetKeyFeedParams) (GetKeyFeedRes, error)
// GetKeyReleases implements getKeyReleases operation.
//
// Lightweight release snapshot for one key. Each item contains version, time, size, and a link to the
// detail document; release notes and artifact lists are intentionally omitted. Pagination uses keyset
// cursors: `?after=<next-from-previous-response>`. The `next` field is omitted on the last page.
//
// GET /{key}/releases.json
GetKeyReleases(ctx context.Context, params GetKeyReleasesParams) (GetKeyReleasesRes, error)
// GetLogo implements getLogo operation.
//
// Square transparent PNG of the node logo at a whitelisted edge size (16, 32, 48, 180, 192, 512).
// Pre-rendered at startup; other sizes return 404. Query parameters are rejected.
//
// GET /logo/{size}
GetLogo(ctx context.Context, params GetLogoParams) (GetLogoRes, error)
// GetMetricsCache implements getMetricsCache operation.
//
// JSON snapshot of the metadata/hot-file RAM cache and the storage engine (Pebble gauges, event
// counters, hot-cache enforcement). Served only when public metrics are enabled for the current entry
// (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
//
// GET /metrics/cache
GetMetricsCache(ctx context.Context) (GetMetricsCacheRes, error)
// GetMetricsCore implements getMetricsCore operation.
//
// JSON snapshot of core HTTP request signals aggregated across operations: request and error totals
// and request-duration sum/count. Served only when public metrics are enabled for the current entry
// (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
//
// GET /metrics/core
GetMetricsCore(ctx context.Context) (GetMetricsCoreRes, error)
// GetMetricsErrors implements getMetricsErrors operation.
//
// JSON view of the Error Registry: active and dropped diagnostic counts plus the bounded newest-first
// recent buffer for real-time triage. Served only when public metrics are enabled for the current
// entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
//
// GET /metrics/errors
GetMetricsErrors(ctx context.Context) (GetMetricsErrorsRes, error)
// GetMetricsIndex implements getMetricsIndex operation.
//
// Returns a small HTML page linking the enabled metric groups for the current entry. If both public
// and internal metric groups are disabled on that entry, the route is not advertised and returns 404.
//
// GET /metrics
GetMetricsIndex(ctx context.Context) (GetMetricsIndexRes, error)
// GetMetricsInternal implements getMetricsInternal operation.
//
// Complete Prometheus-compatible text exposition (version 0.0.4) covering every metric group: core,
// cache, rescan, errors, Yggdrasil, and internal runtime signals. Built for scrapers such as
// VictoriaMetrics and Prometheus. Served only when internal metrics are enabled for the current entry
// (`metrics.web.internal` or `metrics.ygg.internal`); otherwise the endpoint returns 404.
//
// GET /metrics/internal
GetMetricsInternal(ctx context.Context) (GetMetricsInternalRes, error)
// GetMetricsRescan implements getMetricsRescan operation.
//
// JSON snapshot of the rescan integrator: cycle, publish, and unavailability totals, mean cycle
// duration, and the last completed rescan timestamp. Served only when public metrics are enabled for
// the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns
// 404.
//
// GET /metrics/rescan
GetMetricsRescan(ctx context.Context) (GetMetricsRescanRes, error)
// GetMetricsYgg implements getMetricsYgg operation.
//
// JSON snapshot of the embedded Yggdrasil node: peer totals, traffic and latency aggregates, and
// isolation notifications, read from the prebuilt telemetry snapshot. Served only when public metrics
// are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`) and the Yggdrasil
// node is running (`ygg.pem_key` is set); otherwise the endpoint returns 404. The per-peer list is
// included only when internal metrics are also enabled for the entry: it exposes direct topology, so
// the public response stays aggregate-only.
//
// GET /metrics/ygg
GetMetricsYgg(ctx context.Context) (GetMetricsYggRes, error)
// GetMirrorLatest implements getMirrorLatest operation.
//
// Returns the latest indexed version for a mirrored key as a newline-terminated plain-text body.
// Unknown keys or keys without indexed versions return 404.
//
// GET /{key}/latest
GetMirrorLatest(ctx context.Context, params GetMirrorLatestParams) (GetMirrorLatestRes, error)
// GetMirrorList implements getMirrorList operation.
//
// Returns all indexed versions for a mirrored key as a newest-first plain-text list with one version
// per line. Unknown keys or keys without indexed versions return 404.
//
// GET /{key}/list
GetMirrorList(ctx context.Context, params GetMirrorListParams) (GetMirrorListRes, error)
// GetMirrorListFull implements getMirrorListFull operation.
//
// Returns all indexed versions for a mirrored key as a newest-first JSON array body. The current
// handler serves this JSON body as `text/plain`; clients should parse the body content instead of
// relying on an `application/json` media type.
//
// GET /{key}/list/full
GetMirrorListFull(ctx context.Context, params GetMirrorListFullParams) (GetMirrorListFullRes, error)
// GetOgKey implements getOgKey operation.
//
// Open Graph banner for one mirror key: key name, latest version, version count, and last publish
// date. Unknown or empty keys return 404. Generated on demand and cached. Query parameters are
// rejected.
//
// GET /og/{key}
GetOgKey(ctx context.Context, params GetOgKeyParams) (GetOgKeyRes, error)
// GetOgNode implements getOgNode operation.
//
// Open Graph banner for the whole node (catalog page): mirror-key and version counts, plus the last
// publish date. Generated on demand and cached. Query parameters are rejected.
//
// GET /og.png
GetOgNode(ctx context.Context, params GetOgNodeParams) (GetOgNodeRes, error)
// GetOgVersion implements getOgVersion operation.
//
// Open Graph banner for one version: version string, mirror key, source size, and detected overlays.
// Unknown key/version pairs return 404. Generated on demand and cached. Query parameters are rejected.
//
// GET /og/{key}/{version}
GetOgVersion(ctx context.Context, params GetOgVersionParams) (GetOgVersionRes, error)
// GetSitemap implements getSitemap operation.
//
// Sitemap of crawlable HTML pages for the current entry: catalog, mirror-key pages, version pages with
// path-safe version labels, and the metrics index when public metrics are enabled. Absolute URLs use
// the entry scheme, host, and nested prefix; the URL count is capped by `web.pages.sitemap_size`.
// Query parameters are rejected.
//
// GET /sitemap.xml
GetSitemap(ctx context.Context, params GetSitemapParams) (GetSitemapRes, error)
// GetVersionArtifact implements getVersionArtifact operation.
//
// Go module proxy endpoint. The file extension selects the body: `.info` returns the Go proxy info
// JSON, `.mod` returns the raw or rewritten `go.mod`, and `.zip` streams the Go module zip from the
// hot cache. Versions are unescaped before lookup. Major-version paths such as
// `/{key}/v2/@v/v2.1.0.zip` are accepted and mapped to the same operation. The route is available only
// when content detection has published a Go overlay. If import rewriting is required but
// `overlay.go.rewrite_enabled` is false, the Go artifact is not published. Composer dist and universal
// `.tar.gz` archives are served from `/<key>/<version>.{zip,tar.gz}` instead. If the version exists
// but its zip has not been materialized yet, the `.zip` request returns 503; retry after a short
// delay.
//
// GET /{key}/@v/{versionFile}
GetVersionArtifact(ctx context.Context, params GetVersionArtifactParams) (GetVersionArtifactRes, error)
// GetVersionFile implements getVersionFile operation.
//
// Dispatches by file extension. `.json` returns the release detail document, `.zip` returns a
// deterministic zip artifact, and `.tar.gz` returns a deterministic tar.gz artifact. Archive artifacts
// are always the raw uploaded source tree (top-dir `<key>-<version>/`) and are host-independent;
// Go-module import-path rewriting is exposed only on the go-proxy `@v/<version>.zip` endpoint. A bare
// `<version>` without an extension renders the browser HTML version page. If the version exists but
// its archive has not been materialized yet, the archive request returns 503; retry after a short
// delay. Query parameters are rejected.
//
// GET /{key}/{versionFile}
GetVersionFile(ctx context.Context, params GetVersionFileParams) (GetVersionFileRes, error)
}
Handler handles operations described by OpenAPI v3 specification.
type HandlerObj ¶
type HandlerObj struct {
FuncObj FuncInterface
}
func (*HandlerObj) GetCatalog ¶
func (obj *HandlerObj) GetCatalog(ctx context.Context, params GetCatalogParams) (GetCatalogRes, error)
func (*HandlerObj) GetComposerP2Package ¶
func (obj *HandlerObj) GetComposerP2Package(ctx context.Context, params GetComposerP2PackageParams) (GetComposerP2PackageRes, error)
func (*HandlerObj) GetComposerPackageList ¶
func (obj *HandlerObj) GetComposerPackageList(ctx context.Context, params GetComposerPackageListParams) (GetComposerPackageListRes, error)
func (*HandlerObj) GetComposerPackages ¶
func (obj *HandlerObj) GetComposerPackages(ctx context.Context, params GetComposerPackagesParams) (GetComposerPackagesRes, error)
func (*HandlerObj) GetFavicon ¶
func (obj *HandlerObj) GetFavicon(ctx context.Context, params GetFaviconParams) (GetFaviconRes, error)
func (*HandlerObj) GetFeed ¶
func (obj *HandlerObj) GetFeed(ctx context.Context, params GetFeedParams) (GetFeedRes, error)
func (*HandlerObj) GetGoLatest ¶
func (obj *HandlerObj) GetGoLatest(ctx context.Context, params GetGoLatestParams) (GetGoLatestRes, error)
func (*HandlerObj) GetGoVersionList ¶
func (obj *HandlerObj) GetGoVersionList(ctx context.Context, params GetGoVersionListParams) (GetGoVersionListRes, error)
func (*HandlerObj) GetHealth ¶
func (obj *HandlerObj) GetHealth(ctx context.Context) (GetHealthRes, error)
func (*HandlerObj) GetInfo ¶
func (obj *HandlerObj) GetInfo(ctx context.Context) (GetInfoRes, error)
func (*HandlerObj) GetKeyFeed ¶
func (obj *HandlerObj) GetKeyFeed(ctx context.Context, params GetKeyFeedParams) (GetKeyFeedRes, error)
func (*HandlerObj) GetKeyReleases ¶
func (obj *HandlerObj) GetKeyReleases(ctx context.Context, params GetKeyReleasesParams) (GetKeyReleasesRes, error)
func (*HandlerObj) GetLogo ¶
func (obj *HandlerObj) GetLogo(ctx context.Context, params GetLogoParams) (GetLogoRes, error)
func (*HandlerObj) GetMetricsCache ¶
func (obj *HandlerObj) GetMetricsCache(ctx context.Context) (GetMetricsCacheRes, error)
func (*HandlerObj) GetMetricsCore ¶
func (obj *HandlerObj) GetMetricsCore(ctx context.Context) (GetMetricsCoreRes, error)
func (*HandlerObj) GetMetricsErrors ¶
func (obj *HandlerObj) GetMetricsErrors(ctx context.Context) (GetMetricsErrorsRes, error)
func (*HandlerObj) GetMetricsIndex ¶
func (obj *HandlerObj) GetMetricsIndex(ctx context.Context) (GetMetricsIndexRes, error)
func (*HandlerObj) GetMetricsInternal ¶
func (obj *HandlerObj) GetMetricsInternal(ctx context.Context) (GetMetricsInternalRes, error)
func (*HandlerObj) GetMetricsRescan ¶
func (obj *HandlerObj) GetMetricsRescan(ctx context.Context) (GetMetricsRescanRes, error)
func (*HandlerObj) GetMetricsYgg ¶ added in v0.4.0
func (obj *HandlerObj) GetMetricsYgg(ctx context.Context) (GetMetricsYggRes, error)
func (*HandlerObj) GetMirrorLatest ¶
func (obj *HandlerObj) GetMirrorLatest(ctx context.Context, params GetMirrorLatestParams) (GetMirrorLatestRes, error)
func (*HandlerObj) GetMirrorList ¶
func (obj *HandlerObj) GetMirrorList(ctx context.Context, params GetMirrorListParams) (GetMirrorListRes, error)
func (*HandlerObj) GetMirrorListFull ¶
func (obj *HandlerObj) GetMirrorListFull(ctx context.Context, params GetMirrorListFullParams) (GetMirrorListFullRes, error)
func (*HandlerObj) GetOgKey ¶
func (obj *HandlerObj) GetOgKey(ctx context.Context, params GetOgKeyParams) (GetOgKeyRes, error)
func (*HandlerObj) GetOgNode ¶
func (obj *HandlerObj) GetOgNode(ctx context.Context, params GetOgNodeParams) (GetOgNodeRes, error)
func (*HandlerObj) GetOgVersion ¶
func (obj *HandlerObj) GetOgVersion(ctx context.Context, params GetOgVersionParams) (GetOgVersionRes, error)
func (*HandlerObj) GetSitemap ¶
func (obj *HandlerObj) GetSitemap(ctx context.Context, params GetSitemapParams) (GetSitemapRes, error)
func (*HandlerObj) GetVersionArtifact ¶
func (obj *HandlerObj) GetVersionArtifact(ctx context.Context, params GetVersionArtifactParams) (GetVersionArtifactRes, error)
func (*HandlerObj) GetVersionFile ¶
func (obj *HandlerObj) GetVersionFile(ctx context.Context, params GetVersionFileParams) (GetVersionFileRes, error)
type HealthObj ¶
type HealthObj struct {
// Number of recent diagnostics currently tracked by the runtime state.
ErrorsCount OptInt32 `json:"errors_count"`
// Timestamp of the last completed rescan cycle, omitted before the first completed cycle.
LastRescan OptDateTime `json:"last_rescan"`
// Degraded or error reasons as stable reason strings.
Reasons []string `json:"reasons"`
// Service name emitted by this binary.
Service HealthObjService `json:"service"`
// Entry channel that served this request: `web` or `yggdrasil`.
Source HealthObjSource `json:"source"`
// Current node health after runtime self-checks and recent diagnostics.
Status HealthObjStatus `json:"status"`
// Timestamp when the health snapshot was produced.
Ts time.Time `json:"ts"`
}
Ref: #/components/schemas/HealthObj
func (*HealthObj) GetErrorsCount ¶
GetErrorsCount returns the value of ErrorsCount.
func (*HealthObj) GetLastRescan ¶
func (s *HealthObj) GetLastRescan() OptDateTime
GetLastRescan returns the value of LastRescan.
func (*HealthObj) GetReasons ¶
GetReasons returns the value of Reasons.
func (*HealthObj) GetService ¶
func (s *HealthObj) GetService() HealthObjService
GetService returns the value of Service.
func (*HealthObj) GetSource ¶
func (s *HealthObj) GetSource() HealthObjSource
GetSource returns the value of Source.
func (*HealthObj) GetStatus ¶
func (s *HealthObj) GetStatus() HealthObjStatus
GetStatus returns the value of Status.
func (*HealthObj) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*HealthObj) SetErrorsCount ¶
SetErrorsCount sets the value of ErrorsCount.
func (*HealthObj) SetLastRescan ¶
func (s *HealthObj) SetLastRescan(val OptDateTime)
SetLastRescan sets the value of LastRescan.
func (*HealthObj) SetReasons ¶
SetReasons sets the value of Reasons.
func (*HealthObj) SetService ¶
func (s *HealthObj) SetService(val HealthObjService)
SetService sets the value of Service.
func (*HealthObj) SetSource ¶
func (s *HealthObj) SetSource(val HealthObjSource)
SetSource sets the value of Source.
func (*HealthObj) SetStatus ¶
func (s *HealthObj) SetStatus(val HealthObjStatus)
SetStatus sets the value of Status.
func (*HealthObj) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type HealthObjHeaders ¶
HealthObjHeaders wraps HealthObj with response headers.
func (*HealthObjHeaders) GetCacheControl ¶
func (s *HealthObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*HealthObjHeaders) GetResponse ¶
func (s *HealthObjHeaders) GetResponse() HealthObj
GetResponse returns the value of Response.
func (*HealthObjHeaders) SetCacheControl ¶
func (s *HealthObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*HealthObjHeaders) SetResponse ¶
func (s *HealthObjHeaders) SetResponse(val HealthObj)
SetResponse sets the value of Response.
func (*HealthObjHeaders) Validate ¶
func (s *HealthObjHeaders) Validate() error
type HealthObjService ¶
type HealthObjService string
Service name emitted by this binary.
const (
HealthObjServiceYggvault HealthObjService = "yggvault"
)
func (HealthObjService) AllValues ¶
func (HealthObjService) AllValues() []HealthObjService
AllValues returns all HealthObjService values.
func (*HealthObjService) Decode ¶
func (s *HealthObjService) Decode(d *jx.Decoder) error
Decode decodes HealthObjService from json.
func (HealthObjService) Encode ¶
func (s HealthObjService) Encode(e *jx.Encoder)
Encode encodes HealthObjService as json.
func (HealthObjService) MarshalJSON ¶
func (s HealthObjService) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HealthObjService) MarshalText ¶
func (s HealthObjService) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HealthObjService) UnmarshalJSON ¶
func (s *HealthObjService) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HealthObjService) UnmarshalText ¶
func (s *HealthObjService) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HealthObjService) Validate ¶
func (s HealthObjService) Validate() error
type HealthObjSource ¶
type HealthObjSource string
Entry channel that served this request: `web` or `yggdrasil`.
const ( HealthObjSourceWeb HealthObjSource = "web" HealthObjSourceYggdrasil HealthObjSource = "yggdrasil" )
func (HealthObjSource) AllValues ¶
func (HealthObjSource) AllValues() []HealthObjSource
AllValues returns all HealthObjSource values.
func (*HealthObjSource) Decode ¶
func (s *HealthObjSource) Decode(d *jx.Decoder) error
Decode decodes HealthObjSource from json.
func (HealthObjSource) Encode ¶
func (s HealthObjSource) Encode(e *jx.Encoder)
Encode encodes HealthObjSource as json.
func (HealthObjSource) MarshalJSON ¶
func (s HealthObjSource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HealthObjSource) MarshalText ¶
func (s HealthObjSource) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HealthObjSource) UnmarshalJSON ¶
func (s *HealthObjSource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HealthObjSource) UnmarshalText ¶
func (s *HealthObjSource) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HealthObjSource) Validate ¶
func (s HealthObjSource) Validate() error
type HealthObjStatus ¶
type HealthObjStatus string
Current node health after runtime self-checks and recent diagnostics.
const ( HealthObjStatusOk HealthObjStatus = "ok" HealthObjStatusDegraded HealthObjStatus = "degraded" HealthObjStatusError HealthObjStatus = "error" )
func (HealthObjStatus) AllValues ¶
func (HealthObjStatus) AllValues() []HealthObjStatus
AllValues returns all HealthObjStatus values.
func (*HealthObjStatus) Decode ¶
func (s *HealthObjStatus) Decode(d *jx.Decoder) error
Decode decodes HealthObjStatus from json.
func (HealthObjStatus) Encode ¶
func (s HealthObjStatus) Encode(e *jx.Encoder)
Encode encodes HealthObjStatus as json.
func (HealthObjStatus) MarshalJSON ¶
func (s HealthObjStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (HealthObjStatus) MarshalText ¶
func (s HealthObjStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*HealthObjStatus) UnmarshalJSON ¶
func (s *HealthObjStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*HealthObjStatus) UnmarshalText ¶
func (s *HealthObjStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (HealthObjStatus) Validate ¶
func (s HealthObjStatus) Validate() error
type InfoObj ¶
type InfoObj struct {
// Public contact map from `info.contacts`, grouped by contact type; omitted when unset.
Contacts OptInfoObjContacts `json:"contacts"`
// Free-form public node description or peering policy from `info.description`; omitted when unset.
Description OptString `json:"description"`
// Configured clearnet domain from `web.server.domain`; empty when the web entry is disabled.
Domain string `json:"domain"`
// Optional physical or administrative location from `info.location`; omitted when unset.
Location OptString `json:"location"`
// Public node name from `info.name`; when empty, the server derives it from the configured domain or
// Yggdrasil host.
Name string `json:"name"`
// URL segment the package API is mounted under when the node runs embedded behind a custom static
// frontend (nested mode); empty when the API is served at the root. For example `pkg` means routes
// live under `/pkg/...`. Absent on nodes that predate this field.
RoutePrefix OptString `json:"route_prefix"`
// Build version of the running node from compiled build metadata.
Version OptString `json:"version"`
// Public Yggdrasil identity host (`<hex>.pk.ygg`); empty when the Yggdrasil entry is disabled.
YggHost string `json:"ygg_host"`
}
Ref: #/components/schemas/InfoObj
func (*InfoObj) GetContacts ¶
func (s *InfoObj) GetContacts() OptInfoObjContacts
GetContacts returns the value of Contacts.
func (*InfoObj) GetDescription ¶
GetDescription returns the value of Description.
func (*InfoObj) GetLocation ¶
GetLocation returns the value of Location.
func (*InfoObj) GetRoutePrefix ¶
GetRoutePrefix returns the value of RoutePrefix.
func (*InfoObj) GetVersion ¶
GetVersion returns the value of Version.
func (*InfoObj) GetYggHost ¶
GetYggHost returns the value of YggHost.
func (*InfoObj) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*InfoObj) SetContacts ¶
func (s *InfoObj) SetContacts(val OptInfoObjContacts)
SetContacts sets the value of Contacts.
func (*InfoObj) SetDescription ¶
SetDescription sets the value of Description.
func (*InfoObj) SetLocation ¶
SetLocation sets the value of Location.
func (*InfoObj) SetRoutePrefix ¶
SetRoutePrefix sets the value of RoutePrefix.
func (*InfoObj) SetVersion ¶
SetVersion sets the value of Version.
func (*InfoObj) SetYggHost ¶
SetYggHost sets the value of YggHost.
func (*InfoObj) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type InfoObjContacts ¶
Public contact map from `info.contacts`, grouped by contact type; omitted when unset.
func (*InfoObjContacts) Decode ¶
func (s *InfoObjContacts) Decode(d *jx.Decoder) error
Decode decodes InfoObjContacts from json.
func (InfoObjContacts) Encode ¶
func (s InfoObjContacts) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (InfoObjContacts) MarshalJSON ¶
func (s InfoObjContacts) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InfoObjContacts) UnmarshalJSON ¶
func (s *InfoObjContacts) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (InfoObjContacts) Validate ¶
func (s InfoObjContacts) Validate() error
type InfoObjHeaders ¶
InfoObjHeaders wraps InfoObj with response headers.
func (*InfoObjHeaders) GetCacheControl ¶
func (s *InfoObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*InfoObjHeaders) GetResponse ¶
func (s *InfoObjHeaders) GetResponse() InfoObj
GetResponse returns the value of Response.
func (*InfoObjHeaders) SetCacheControl ¶
func (s *InfoObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*InfoObjHeaders) SetResponse ¶
func (s *InfoObjHeaders) SetResponse(val InfoObj)
SetResponse sets the value of Response.
func (*InfoObjHeaders) Validate ¶
func (s *InfoObjHeaders) Validate() error
type Invoker ¶
type Invoker interface {
// GetCatalog invokes getCatalog operation.
//
// Lightweight cross-key snapshot containing each key, latest version, operational status, source
// classification, and source availability. Release notes and artifact lists are omitted. The body is
// served from the metadata cache and does not perform a live storage scan. Query parameters are
// rejected.
//
// GET /catalog.json
GetCatalog(ctx context.Context, params GetCatalogParams) (GetCatalogRes, error)
// GetComposerP2Package invokes getComposerP2Package operation.
//
// Returns Composer v2 p2 metadata for one package name. `packageFile` contains the package segment
// with `.json` for stable metadata or `~dev.json` for the dev variant, for example `monolog.json` or
// `monolog~dev.json`. Unknown package names, dev-only misses, and invalid filenames return 404. Query
// parameters are rejected.
//
// GET /p2/{vendor}/{packageFile}
GetComposerP2Package(ctx context.Context, params GetComposerP2PackageParams) (GetComposerP2PackageRes, error)
// GetComposerPackageList invokes getComposerPackageList operation.
//
// Returns available Composer package names after package-name collision resolution. The optional
// `filter` supports Composer-style `*` wildcards and is validated before matching so oversized or
// malformed filters return 400.
//
// GET /packages/list.json
GetComposerPackageList(ctx context.Context, params GetComposerPackageListParams) (GetComposerPackageListRes, error)
// GetComposerPackages invokes getComposerPackages operation.
//
// Returns the Composer repository `packages.json` document. yggvault uses the Composer v2 lazy
// metadata flow: the root document advertises the p2 `metadata-url`, the complete prebuilt
// package-name list, and the package list endpoint. Query parameters are rejected.
//
// GET /packages.json
GetComposerPackages(ctx context.Context, params GetComposerPackagesParams) (GetComposerPackagesRes, error)
// GetFavicon invokes getFavicon operation.
//
// Multi-resolution favicon (16/32/48) generated from the node logo. Pre-rendered at startup and served
// with a strong content ETag. Query parameters are rejected.
//
// GET /favicon.ico
GetFavicon(ctx context.Context, params GetFaviconParams) (GetFaviconRes, error)
// GetFeed invokes getFeed operation.
//
// Atom 1.0 feed built from the cross-key release history. New events come first. The feed includes
// publish events and archive mutation events; a mutation is a separate entry with an ID that includes
// the content hash. The number of entries is capped by `web.pages.feed_size`. Query parameters are
// rejected.
//
// GET /feed.xml
GetFeed(ctx context.Context, params GetFeedParams) (GetFeedRes, error)
// GetGoLatest invokes getGoLatest operation.
//
// Returns the Go proxy `@latest` JSON document for the newest active canonical version in the
// requested major line. Major-version paths such as `/{key}/v2/@latest` are accepted and mapped to the
// same operation. The route is available only when content detection has published a Go overlay for
// the key and major path.
//
// GET /{key}/@latest
GetGoLatest(ctx context.Context, params GetGoLatestParams) (GetGoLatestRes, error)
// GetGoVersionList invokes getGoVersionList operation.
//
// Returns the Go proxy `@v/list` body: one canonical version per line, newest first. Major-version
// paths such as `/{key}/v2/@v/list` are accepted and mapped to the same operation. The route is
// available only for keys and major lines where content detection has published a Go overlay. Query
// parameters are rejected.
//
// GET /{key}/@v/list
GetGoVersionList(ctx context.Context, params GetGoVersionListParams) (GetGoVersionListRes, error)
// GetHealth invokes getHealth operation.
//
// Returns the live node health snapshot for the listener that handled the request. The response is not
// cached and includes the entry source (`web` or `yggdrasil`), current runtime status, recent
// diagnostic count, and the last completed rescan timestamp when available.
//
// GET /health
GetHealth(ctx context.Context) (GetHealthRes, error)
// GetInfo invokes getInfo operation.
//
// Public node identity shared by all routes: name, optional description, optional location, public
// contacts, clearnet domain, and Yggdrasil host. The same identity data is also published through mesh
// `info`/`inet` signals. Empty `domain` or `ygg_host` means the matching entry is disabled.
//
// GET /info
GetInfo(ctx context.Context) (GetInfoRes, error)
// GetKeyFeed invokes getKeyFeed operation.
//
// Atom 1.0 feed for release history events of one key. New events come first. The feed includes
// publish events and archive mutation events; a mutation is a separate entry with an ID that includes
// the content hash. The number of entries is capped by `web.pages.feed_size`. Query parameters are
// rejected.
//
// GET /{key}/releases.xml
GetKeyFeed(ctx context.Context, params GetKeyFeedParams) (GetKeyFeedRes, error)
// GetKeyReleases invokes getKeyReleases operation.
//
// Lightweight release snapshot for one key. Each item contains version, time, size, and a link to the
// detail document; release notes and artifact lists are intentionally omitted. Pagination uses keyset
// cursors: `?after=<next-from-previous-response>`. The `next` field is omitted on the last page.
//
// GET /{key}/releases.json
GetKeyReleases(ctx context.Context, params GetKeyReleasesParams) (GetKeyReleasesRes, error)
// GetLogo invokes getLogo operation.
//
// Square transparent PNG of the node logo at a whitelisted edge size (16, 32, 48, 180, 192, 512).
// Pre-rendered at startup; other sizes return 404. Query parameters are rejected.
//
// GET /logo/{size}
GetLogo(ctx context.Context, params GetLogoParams) (GetLogoRes, error)
// GetMetricsCache invokes getMetricsCache operation.
//
// JSON snapshot of the metadata/hot-file RAM cache and the storage engine (Pebble gauges, event
// counters, hot-cache enforcement). Served only when public metrics are enabled for the current entry
// (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
//
// GET /metrics/cache
GetMetricsCache(ctx context.Context) (GetMetricsCacheRes, error)
// GetMetricsCore invokes getMetricsCore operation.
//
// JSON snapshot of core HTTP request signals aggregated across operations: request and error totals
// and request-duration sum/count. Served only when public metrics are enabled for the current entry
// (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
//
// GET /metrics/core
GetMetricsCore(ctx context.Context) (GetMetricsCoreRes, error)
// GetMetricsErrors invokes getMetricsErrors operation.
//
// JSON view of the Error Registry: active and dropped diagnostic counts plus the bounded newest-first
// recent buffer for real-time triage. Served only when public metrics are enabled for the current
// entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
//
// GET /metrics/errors
GetMetricsErrors(ctx context.Context) (GetMetricsErrorsRes, error)
// GetMetricsIndex invokes getMetricsIndex operation.
//
// Returns a small HTML page linking the enabled metric groups for the current entry. If both public
// and internal metric groups are disabled on that entry, the route is not advertised and returns 404.
//
// GET /metrics
GetMetricsIndex(ctx context.Context) (GetMetricsIndexRes, error)
// GetMetricsInternal invokes getMetricsInternal operation.
//
// Complete Prometheus-compatible text exposition (version 0.0.4) covering every metric group: core,
// cache, rescan, errors, Yggdrasil, and internal runtime signals. Built for scrapers such as
// VictoriaMetrics and Prometheus. Served only when internal metrics are enabled for the current entry
// (`metrics.web.internal` or `metrics.ygg.internal`); otherwise the endpoint returns 404.
//
// GET /metrics/internal
GetMetricsInternal(ctx context.Context) (GetMetricsInternalRes, error)
// GetMetricsRescan invokes getMetricsRescan operation.
//
// JSON snapshot of the rescan integrator: cycle, publish, and unavailability totals, mean cycle
// duration, and the last completed rescan timestamp. Served only when public metrics are enabled for
// the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns
// 404.
//
// GET /metrics/rescan
GetMetricsRescan(ctx context.Context) (GetMetricsRescanRes, error)
// GetMetricsYgg invokes getMetricsYgg operation.
//
// JSON snapshot of the embedded Yggdrasil node: peer totals, traffic and latency aggregates, and
// isolation notifications, read from the prebuilt telemetry snapshot. Served only when public metrics
// are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`) and the Yggdrasil
// node is running (`ygg.pem_key` is set); otherwise the endpoint returns 404. The per-peer list is
// included only when internal metrics are also enabled for the entry: it exposes direct topology, so
// the public response stays aggregate-only.
//
// GET /metrics/ygg
GetMetricsYgg(ctx context.Context) (GetMetricsYggRes, error)
// GetMirrorLatest invokes getMirrorLatest operation.
//
// Returns the latest indexed version for a mirrored key as a newline-terminated plain-text body.
// Unknown keys or keys without indexed versions return 404.
//
// GET /{key}/latest
GetMirrorLatest(ctx context.Context, params GetMirrorLatestParams) (GetMirrorLatestRes, error)
// GetMirrorList invokes getMirrorList operation.
//
// Returns all indexed versions for a mirrored key as a newest-first plain-text list with one version
// per line. Unknown keys or keys without indexed versions return 404.
//
// GET /{key}/list
GetMirrorList(ctx context.Context, params GetMirrorListParams) (GetMirrorListRes, error)
// GetMirrorListFull invokes getMirrorListFull operation.
//
// Returns all indexed versions for a mirrored key as a newest-first JSON array body. The current
// handler serves this JSON body as `text/plain`; clients should parse the body content instead of
// relying on an `application/json` media type.
//
// GET /{key}/list/full
GetMirrorListFull(ctx context.Context, params GetMirrorListFullParams) (GetMirrorListFullRes, error)
// GetOgKey invokes getOgKey operation.
//
// Open Graph banner for one mirror key: key name, latest version, version count, and last publish
// date. Unknown or empty keys return 404. Generated on demand and cached. Query parameters are
// rejected.
//
// GET /og/{key}
GetOgKey(ctx context.Context, params GetOgKeyParams) (GetOgKeyRes, error)
// GetOgNode invokes getOgNode operation.
//
// Open Graph banner for the whole node (catalog page): mirror-key and version counts, plus the last
// publish date. Generated on demand and cached. Query parameters are rejected.
//
// GET /og.png
GetOgNode(ctx context.Context, params GetOgNodeParams) (GetOgNodeRes, error)
// GetOgVersion invokes getOgVersion operation.
//
// Open Graph banner for one version: version string, mirror key, source size, and detected overlays.
// Unknown key/version pairs return 404. Generated on demand and cached. Query parameters are rejected.
//
// GET /og/{key}/{version}
GetOgVersion(ctx context.Context, params GetOgVersionParams) (GetOgVersionRes, error)
// GetSitemap invokes getSitemap operation.
//
// Sitemap of crawlable HTML pages for the current entry: catalog, mirror-key pages, version pages with
// path-safe version labels, and the metrics index when public metrics are enabled. Absolute URLs use
// the entry scheme, host, and nested prefix; the URL count is capped by `web.pages.sitemap_size`.
// Query parameters are rejected.
//
// GET /sitemap.xml
GetSitemap(ctx context.Context, params GetSitemapParams) (GetSitemapRes, error)
// GetVersionArtifact invokes getVersionArtifact operation.
//
// Go module proxy endpoint. The file extension selects the body: `.info` returns the Go proxy info
// JSON, `.mod` returns the raw or rewritten `go.mod`, and `.zip` streams the Go module zip from the
// hot cache. Versions are unescaped before lookup. Major-version paths such as
// `/{key}/v2/@v/v2.1.0.zip` are accepted and mapped to the same operation. The route is available only
// when content detection has published a Go overlay. If import rewriting is required but
// `overlay.go.rewrite_enabled` is false, the Go artifact is not published. Composer dist and universal
// `.tar.gz` archives are served from `/<key>/<version>.{zip,tar.gz}` instead. If the version exists
// but its zip has not been materialized yet, the `.zip` request returns 503; retry after a short
// delay.
//
// GET /{key}/@v/{versionFile}
GetVersionArtifact(ctx context.Context, params GetVersionArtifactParams) (GetVersionArtifactRes, error)
// GetVersionFile invokes getVersionFile operation.
//
// Dispatches by file extension. `.json` returns the release detail document, `.zip` returns a
// deterministic zip artifact, and `.tar.gz` returns a deterministic tar.gz artifact. Archive artifacts
// are always the raw uploaded source tree (top-dir `<key>-<version>/`) and are host-independent;
// Go-module import-path rewriting is exposed only on the go-proxy `@v/<version>.zip` endpoint. A bare
// `<version>` without an extension renders the browser HTML version page. If the version exists but
// its archive has not been materialized yet, the archive request returns 503; retry after a short
// delay. Query parameters are rejected.
//
// GET /{key}/{versionFile}
GetVersionFile(ctx context.Context, params GetVersionFileParams) (GetVersionFileRes, error)
}
Invoker invokes operations described by OpenAPI v3 specification.
type Labeler ¶
type Labeler struct {
// contains filtered or unexported fields
}
Labeler is used to allow adding custom attributes to the server request metrics.
func LabelerFromContext ¶
LabelerFromContext retrieves the Labeler from the provided context, if present.
If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.
func (*Labeler) AttributeSet ¶
AttributeSet returns the attributes added to the Labeler as an attribute.Set.
type MetricsCacheObj ¶
type MetricsCacheObj struct {
// In-memory metadata and hot-artifact cache counters.
Cache MetricsCacheObjCache `json:"cache"`
// Pebble engine gauges, event counters, and hot-cache enforcement counters.
Storage MetricsCacheObjStorage `json:"storage"`
}
RAM metadata cache, hot-artifact cache, and storage-engine serving metrics. Ref: #/components/schemas/MetricsCacheObj
func (*MetricsCacheObj) Decode ¶
func (s *MetricsCacheObj) Decode(d *jx.Decoder) error
Decode decodes MetricsCacheObj from json.
func (*MetricsCacheObj) Encode ¶
func (s *MetricsCacheObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MetricsCacheObj) GetCache ¶
func (s *MetricsCacheObj) GetCache() MetricsCacheObjCache
GetCache returns the value of Cache.
func (*MetricsCacheObj) GetStorage ¶
func (s *MetricsCacheObj) GetStorage() MetricsCacheObjStorage
GetStorage returns the value of Storage.
func (*MetricsCacheObj) MarshalJSON ¶
func (s *MetricsCacheObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MetricsCacheObj) SetCache ¶
func (s *MetricsCacheObj) SetCache(val MetricsCacheObjCache)
SetCache sets the value of Cache.
func (*MetricsCacheObj) SetStorage ¶
func (s *MetricsCacheObj) SetStorage(val MetricsCacheObjStorage)
SetStorage sets the value of Storage.
func (*MetricsCacheObj) UnmarshalJSON ¶
func (s *MetricsCacheObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MetricsCacheObjCache ¶
type MetricsCacheObjCache struct {
Bytes int64 `json:"bytes"`
Entries int64 `json:"entries"`
Evictions int64 `json:"evictions"`
Hits int64 `json:"hits"`
Materializations int64 `json:"materializations"`
MaterializationsAborted int64 `json:"materializations_aborted"`
Misses int64 `json:"misses"`
}
In-memory metadata and hot-artifact cache counters.
func (*MetricsCacheObjCache) Decode ¶
func (s *MetricsCacheObjCache) Decode(d *jx.Decoder) error
Decode decodes MetricsCacheObjCache from json.
func (*MetricsCacheObjCache) Encode ¶
func (s *MetricsCacheObjCache) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MetricsCacheObjCache) GetBytes ¶
func (s *MetricsCacheObjCache) GetBytes() int64
GetBytes returns the value of Bytes.
func (*MetricsCacheObjCache) GetEntries ¶
func (s *MetricsCacheObjCache) GetEntries() int64
GetEntries returns the value of Entries.
func (*MetricsCacheObjCache) GetEvictions ¶
func (s *MetricsCacheObjCache) GetEvictions() int64
GetEvictions returns the value of Evictions.
func (*MetricsCacheObjCache) GetHits ¶
func (s *MetricsCacheObjCache) GetHits() int64
GetHits returns the value of Hits.
func (*MetricsCacheObjCache) GetMaterializations ¶
func (s *MetricsCacheObjCache) GetMaterializations() int64
GetMaterializations returns the value of Materializations.
func (*MetricsCacheObjCache) GetMaterializationsAborted ¶
func (s *MetricsCacheObjCache) GetMaterializationsAborted() int64
GetMaterializationsAborted returns the value of MaterializationsAborted.
func (*MetricsCacheObjCache) GetMisses ¶
func (s *MetricsCacheObjCache) GetMisses() int64
GetMisses returns the value of Misses.
func (*MetricsCacheObjCache) GetSingleflightShared ¶
func (s *MetricsCacheObjCache) GetSingleflightShared() int64
GetSingleflightShared returns the value of SingleflightShared.
func (*MetricsCacheObjCache) MarshalJSON ¶
func (s *MetricsCacheObjCache) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MetricsCacheObjCache) SetBytes ¶
func (s *MetricsCacheObjCache) SetBytes(val int64)
SetBytes sets the value of Bytes.
func (*MetricsCacheObjCache) SetEntries ¶
func (s *MetricsCacheObjCache) SetEntries(val int64)
SetEntries sets the value of Entries.
func (*MetricsCacheObjCache) SetEvictions ¶
func (s *MetricsCacheObjCache) SetEvictions(val int64)
SetEvictions sets the value of Evictions.
func (*MetricsCacheObjCache) SetHits ¶
func (s *MetricsCacheObjCache) SetHits(val int64)
SetHits sets the value of Hits.
func (*MetricsCacheObjCache) SetMaterializations ¶
func (s *MetricsCacheObjCache) SetMaterializations(val int64)
SetMaterializations sets the value of Materializations.
func (*MetricsCacheObjCache) SetMaterializationsAborted ¶
func (s *MetricsCacheObjCache) SetMaterializationsAborted(val int64)
SetMaterializationsAborted sets the value of MaterializationsAborted.
func (*MetricsCacheObjCache) SetMisses ¶
func (s *MetricsCacheObjCache) SetMisses(val int64)
SetMisses sets the value of Misses.
func (*MetricsCacheObjCache) SetSingleflightShared ¶
func (s *MetricsCacheObjCache) SetSingleflightShared(val int64)
SetSingleflightShared sets the value of SingleflightShared.
func (*MetricsCacheObjCache) UnmarshalJSON ¶
func (s *MetricsCacheObjCache) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MetricsCacheObjHeaders ¶
type MetricsCacheObjHeaders struct {
CacheControl OptString
Response MetricsCacheObj
}
MetricsCacheObjHeaders wraps MetricsCacheObj with response headers.
func (*MetricsCacheObjHeaders) GetCacheControl ¶
func (s *MetricsCacheObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*MetricsCacheObjHeaders) GetResponse ¶
func (s *MetricsCacheObjHeaders) GetResponse() MetricsCacheObj
GetResponse returns the value of Response.
func (*MetricsCacheObjHeaders) SetCacheControl ¶
func (s *MetricsCacheObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*MetricsCacheObjHeaders) SetResponse ¶
func (s *MetricsCacheObjHeaders) SetResponse(val MetricsCacheObj)
SetResponse sets the value of Response.
type MetricsCacheObjStorage ¶
type MetricsCacheObjStorage struct {
BackgroundErrors int64 `json:"background_errors"`
BlockCacheHits int64 `json:"block_cache_hits"`
BlockCacheMisses int64 `json:"block_cache_misses"`
CompactionDebtBytes int64 `json:"compaction_debt_bytes"`
CompactionDurationNanos int64 `json:"compaction_duration_nanos"`
CompactionInprogressBytes int64 `json:"compaction_inprogress_bytes"`
Compactions int64 `json:"compactions"`
DataCorruptions int64 `json:"data_corruptions"`
DiskSlow int64 `json:"disk_slow"`
FlushDurationNanos int64 `json:"flush_duration_nanos"`
Flushes int64 `json:"flushes"`
HotEnforceWalkDurationNanos int64 `json:"hot_enforce_walk_duration_nanos"`
HotEnforceWalks int64 `json:"hot_enforce_walks"`
LiveBytes int64 `json:"live_bytes"`
MemtableBytes int64 `json:"memtable_bytes"`
ObsoleteBytes int64 `json:"obsolete_bytes"`
PossibleAPIMisuse int64 `json:"possible_api_misuse"`
WalBytes int64 `json:"wal_bytes"`
WriteStalls int64 `json:"write_stalls"`
ZombieBytes int64 `json:"zombie_bytes"`
}
Pebble engine gauges, event counters, and hot-cache enforcement counters.
func (*MetricsCacheObjStorage) Decode ¶
func (s *MetricsCacheObjStorage) Decode(d *jx.Decoder) error
Decode decodes MetricsCacheObjStorage from json.
func (*MetricsCacheObjStorage) Encode ¶
func (s *MetricsCacheObjStorage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MetricsCacheObjStorage) GetBackgroundErrors ¶
func (s *MetricsCacheObjStorage) GetBackgroundErrors() int64
GetBackgroundErrors returns the value of BackgroundErrors.
func (*MetricsCacheObjStorage) GetBlockCacheHits ¶
func (s *MetricsCacheObjStorage) GetBlockCacheHits() int64
GetBlockCacheHits returns the value of BlockCacheHits.
func (*MetricsCacheObjStorage) GetBlockCacheMisses ¶
func (s *MetricsCacheObjStorage) GetBlockCacheMisses() int64
GetBlockCacheMisses returns the value of BlockCacheMisses.
func (*MetricsCacheObjStorage) GetCompactionDebtBytes ¶
func (s *MetricsCacheObjStorage) GetCompactionDebtBytes() int64
GetCompactionDebtBytes returns the value of CompactionDebtBytes.
func (*MetricsCacheObjStorage) GetCompactionDurationNanos ¶
func (s *MetricsCacheObjStorage) GetCompactionDurationNanos() int64
GetCompactionDurationNanos returns the value of CompactionDurationNanos.
func (*MetricsCacheObjStorage) GetCompactionInprogressBytes ¶
func (s *MetricsCacheObjStorage) GetCompactionInprogressBytes() int64
GetCompactionInprogressBytes returns the value of CompactionInprogressBytes.
func (*MetricsCacheObjStorage) GetCompactions ¶
func (s *MetricsCacheObjStorage) GetCompactions() int64
GetCompactions returns the value of Compactions.
func (*MetricsCacheObjStorage) GetDataCorruptions ¶
func (s *MetricsCacheObjStorage) GetDataCorruptions() int64
GetDataCorruptions returns the value of DataCorruptions.
func (*MetricsCacheObjStorage) GetDiskSlow ¶
func (s *MetricsCacheObjStorage) GetDiskSlow() int64
GetDiskSlow returns the value of DiskSlow.
func (*MetricsCacheObjStorage) GetFlushDurationNanos ¶
func (s *MetricsCacheObjStorage) GetFlushDurationNanos() int64
GetFlushDurationNanos returns the value of FlushDurationNanos.
func (*MetricsCacheObjStorage) GetFlushes ¶
func (s *MetricsCacheObjStorage) GetFlushes() int64
GetFlushes returns the value of Flushes.
func (*MetricsCacheObjStorage) GetHotEnforceWalkDurationNanos ¶
func (s *MetricsCacheObjStorage) GetHotEnforceWalkDurationNanos() int64
GetHotEnforceWalkDurationNanos returns the value of HotEnforceWalkDurationNanos.
func (*MetricsCacheObjStorage) GetHotEnforceWalks ¶
func (s *MetricsCacheObjStorage) GetHotEnforceWalks() int64
GetHotEnforceWalks returns the value of HotEnforceWalks.
func (*MetricsCacheObjStorage) GetLiveBytes ¶
func (s *MetricsCacheObjStorage) GetLiveBytes() int64
GetLiveBytes returns the value of LiveBytes.
func (*MetricsCacheObjStorage) GetMemtableBytes ¶
func (s *MetricsCacheObjStorage) GetMemtableBytes() int64
GetMemtableBytes returns the value of MemtableBytes.
func (*MetricsCacheObjStorage) GetObsoleteBytes ¶
func (s *MetricsCacheObjStorage) GetObsoleteBytes() int64
GetObsoleteBytes returns the value of ObsoleteBytes.
func (*MetricsCacheObjStorage) GetPossibleAPIMisuse ¶
func (s *MetricsCacheObjStorage) GetPossibleAPIMisuse() int64
GetPossibleAPIMisuse returns the value of PossibleAPIMisuse.
func (*MetricsCacheObjStorage) GetWalBytes ¶
func (s *MetricsCacheObjStorage) GetWalBytes() int64
GetWalBytes returns the value of WalBytes.
func (*MetricsCacheObjStorage) GetWriteStalls ¶
func (s *MetricsCacheObjStorage) GetWriteStalls() int64
GetWriteStalls returns the value of WriteStalls.
func (*MetricsCacheObjStorage) GetZombieBytes ¶
func (s *MetricsCacheObjStorage) GetZombieBytes() int64
GetZombieBytes returns the value of ZombieBytes.
func (*MetricsCacheObjStorage) MarshalJSON ¶
func (s *MetricsCacheObjStorage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MetricsCacheObjStorage) SetBackgroundErrors ¶
func (s *MetricsCacheObjStorage) SetBackgroundErrors(val int64)
SetBackgroundErrors sets the value of BackgroundErrors.
func (*MetricsCacheObjStorage) SetBlockCacheHits ¶
func (s *MetricsCacheObjStorage) SetBlockCacheHits(val int64)
SetBlockCacheHits sets the value of BlockCacheHits.
func (*MetricsCacheObjStorage) SetBlockCacheMisses ¶
func (s *MetricsCacheObjStorage) SetBlockCacheMisses(val int64)
SetBlockCacheMisses sets the value of BlockCacheMisses.
func (*MetricsCacheObjStorage) SetCompactionDebtBytes ¶
func (s *MetricsCacheObjStorage) SetCompactionDebtBytes(val int64)
SetCompactionDebtBytes sets the value of CompactionDebtBytes.
func (*MetricsCacheObjStorage) SetCompactionDurationNanos ¶
func (s *MetricsCacheObjStorage) SetCompactionDurationNanos(val int64)
SetCompactionDurationNanos sets the value of CompactionDurationNanos.
func (*MetricsCacheObjStorage) SetCompactionInprogressBytes ¶
func (s *MetricsCacheObjStorage) SetCompactionInprogressBytes(val int64)
SetCompactionInprogressBytes sets the value of CompactionInprogressBytes.
func (*MetricsCacheObjStorage) SetCompactions ¶
func (s *MetricsCacheObjStorage) SetCompactions(val int64)
SetCompactions sets the value of Compactions.
func (*MetricsCacheObjStorage) SetDataCorruptions ¶
func (s *MetricsCacheObjStorage) SetDataCorruptions(val int64)
SetDataCorruptions sets the value of DataCorruptions.
func (*MetricsCacheObjStorage) SetDiskSlow ¶
func (s *MetricsCacheObjStorage) SetDiskSlow(val int64)
SetDiskSlow sets the value of DiskSlow.
func (*MetricsCacheObjStorage) SetFlushDurationNanos ¶
func (s *MetricsCacheObjStorage) SetFlushDurationNanos(val int64)
SetFlushDurationNanos sets the value of FlushDurationNanos.
func (*MetricsCacheObjStorage) SetFlushes ¶
func (s *MetricsCacheObjStorage) SetFlushes(val int64)
SetFlushes sets the value of Flushes.
func (*MetricsCacheObjStorage) SetHotEnforceWalkDurationNanos ¶
func (s *MetricsCacheObjStorage) SetHotEnforceWalkDurationNanos(val int64)
SetHotEnforceWalkDurationNanos sets the value of HotEnforceWalkDurationNanos.
func (*MetricsCacheObjStorage) SetHotEnforceWalks ¶
func (s *MetricsCacheObjStorage) SetHotEnforceWalks(val int64)
SetHotEnforceWalks sets the value of HotEnforceWalks.
func (*MetricsCacheObjStorage) SetLiveBytes ¶
func (s *MetricsCacheObjStorage) SetLiveBytes(val int64)
SetLiveBytes sets the value of LiveBytes.
func (*MetricsCacheObjStorage) SetMemtableBytes ¶
func (s *MetricsCacheObjStorage) SetMemtableBytes(val int64)
SetMemtableBytes sets the value of MemtableBytes.
func (*MetricsCacheObjStorage) SetObsoleteBytes ¶
func (s *MetricsCacheObjStorage) SetObsoleteBytes(val int64)
SetObsoleteBytes sets the value of ObsoleteBytes.
func (*MetricsCacheObjStorage) SetPossibleAPIMisuse ¶
func (s *MetricsCacheObjStorage) SetPossibleAPIMisuse(val int64)
SetPossibleAPIMisuse sets the value of PossibleAPIMisuse.
func (*MetricsCacheObjStorage) SetWalBytes ¶
func (s *MetricsCacheObjStorage) SetWalBytes(val int64)
SetWalBytes sets the value of WalBytes.
func (*MetricsCacheObjStorage) SetWriteStalls ¶
func (s *MetricsCacheObjStorage) SetWriteStalls(val int64)
SetWriteStalls sets the value of WriteStalls.
func (*MetricsCacheObjStorage) SetZombieBytes ¶
func (s *MetricsCacheObjStorage) SetZombieBytes(val int64)
SetZombieBytes sets the value of ZombieBytes.
func (*MetricsCacheObjStorage) UnmarshalJSON ¶
func (s *MetricsCacheObjStorage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MetricsCoreObj ¶
type MetricsCoreObj struct {
// Total requests that produced an error response.
ErrorsTotal int64 `json:"errors_total"`
// Number of observed request durations.
RequestDurationSecondsCount int64 `json:"request_duration_seconds_count"`
// Sum of request durations in seconds across all requests.
RequestDurationSecondsSum float64 `json:"request_duration_seconds_sum"`
// Total handled requests since process start.
RequestsTotal int64 `json:"requests_total"`
}
Core HTTP request metrics aggregated across all operations. Ref: #/components/schemas/MetricsCoreObj
func (*MetricsCoreObj) Decode ¶
func (s *MetricsCoreObj) Decode(d *jx.Decoder) error
Decode decodes MetricsCoreObj from json.
func (*MetricsCoreObj) Encode ¶
func (s *MetricsCoreObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MetricsCoreObj) GetErrorsTotal ¶
func (s *MetricsCoreObj) GetErrorsTotal() int64
GetErrorsTotal returns the value of ErrorsTotal.
func (*MetricsCoreObj) GetRequestDurationSecondsCount ¶
func (s *MetricsCoreObj) GetRequestDurationSecondsCount() int64
GetRequestDurationSecondsCount returns the value of RequestDurationSecondsCount.
func (*MetricsCoreObj) GetRequestDurationSecondsSum ¶
func (s *MetricsCoreObj) GetRequestDurationSecondsSum() float64
GetRequestDurationSecondsSum returns the value of RequestDurationSecondsSum.
func (*MetricsCoreObj) GetRequestsTotal ¶
func (s *MetricsCoreObj) GetRequestsTotal() int64
GetRequestsTotal returns the value of RequestsTotal.
func (*MetricsCoreObj) MarshalJSON ¶
func (s *MetricsCoreObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MetricsCoreObj) SetErrorsTotal ¶
func (s *MetricsCoreObj) SetErrorsTotal(val int64)
SetErrorsTotal sets the value of ErrorsTotal.
func (*MetricsCoreObj) SetRequestDurationSecondsCount ¶
func (s *MetricsCoreObj) SetRequestDurationSecondsCount(val int64)
SetRequestDurationSecondsCount sets the value of RequestDurationSecondsCount.
func (*MetricsCoreObj) SetRequestDurationSecondsSum ¶
func (s *MetricsCoreObj) SetRequestDurationSecondsSum(val float64)
SetRequestDurationSecondsSum sets the value of RequestDurationSecondsSum.
func (*MetricsCoreObj) SetRequestsTotal ¶
func (s *MetricsCoreObj) SetRequestsTotal(val int64)
SetRequestsTotal sets the value of RequestsTotal.
func (*MetricsCoreObj) UnmarshalJSON ¶
func (s *MetricsCoreObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MetricsCoreObj) Validate ¶
func (s *MetricsCoreObj) Validate() error
type MetricsCoreObjHeaders ¶
type MetricsCoreObjHeaders struct {
CacheControl OptString
Response MetricsCoreObj
}
MetricsCoreObjHeaders wraps MetricsCoreObj with response headers.
func (*MetricsCoreObjHeaders) GetCacheControl ¶
func (s *MetricsCoreObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*MetricsCoreObjHeaders) GetResponse ¶
func (s *MetricsCoreObjHeaders) GetResponse() MetricsCoreObj
GetResponse returns the value of Response.
func (*MetricsCoreObjHeaders) SetCacheControl ¶
func (s *MetricsCoreObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*MetricsCoreObjHeaders) SetResponse ¶
func (s *MetricsCoreObjHeaders) SetResponse(val MetricsCoreObj)
SetResponse sets the value of Response.
func (*MetricsCoreObjHeaders) Validate ¶
func (s *MetricsCoreObjHeaders) Validate() error
type MetricsDiagnosticObj ¶
type MetricsDiagnosticObj struct {
// Stable diagnostic code from the Error Registry.
Code string `json:"code"`
// Number of times this diagnostic was observed since first seen.
Count int64 `json:"count"`
// Timestamp the diagnostic was first observed; omitted when unset.
FirstSeen OptDateTime `json:"first_seen"`
// Operational impact this diagnostic contributes to node health.
Impact MetricsDiagnosticObjImpact `json:"impact"`
// Affected mirror key; omitted for global diagnostics.
Key OptString `json:"key"`
// Timestamp the diagnostic was last observed.
LastSeen time.Time `json:"last_seen"`
// Human-readable diagnostic message; omitted when unset.
Message OptString `json:"message"`
// Stable reason string classifying the diagnostic.
Reason string `json:"reason"`
// Diagnostic scope such as `global` or a per-key scope.
Scope string `json:"scope"`
// Affected version; omitted when the diagnostic is not version-scoped.
Version OptString `json:"version"`
}
Ref: #/components/schemas/MetricsDiagnosticObj
func (*MetricsDiagnosticObj) Decode ¶
func (s *MetricsDiagnosticObj) Decode(d *jx.Decoder) error
Decode decodes MetricsDiagnosticObj from json.
func (*MetricsDiagnosticObj) Encode ¶
func (s *MetricsDiagnosticObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MetricsDiagnosticObj) GetCode ¶
func (s *MetricsDiagnosticObj) GetCode() string
GetCode returns the value of Code.
func (*MetricsDiagnosticObj) GetCount ¶
func (s *MetricsDiagnosticObj) GetCount() int64
GetCount returns the value of Count.
func (*MetricsDiagnosticObj) GetFirstSeen ¶
func (s *MetricsDiagnosticObj) GetFirstSeen() OptDateTime
GetFirstSeen returns the value of FirstSeen.
func (*MetricsDiagnosticObj) GetImpact ¶
func (s *MetricsDiagnosticObj) GetImpact() MetricsDiagnosticObjImpact
GetImpact returns the value of Impact.
func (*MetricsDiagnosticObj) GetKey ¶
func (s *MetricsDiagnosticObj) GetKey() OptString
GetKey returns the value of Key.
func (*MetricsDiagnosticObj) GetLastSeen ¶
func (s *MetricsDiagnosticObj) GetLastSeen() time.Time
GetLastSeen returns the value of LastSeen.
func (*MetricsDiagnosticObj) GetMessage ¶
func (s *MetricsDiagnosticObj) GetMessage() OptString
GetMessage returns the value of Message.
func (*MetricsDiagnosticObj) GetReason ¶
func (s *MetricsDiagnosticObj) GetReason() string
GetReason returns the value of Reason.
func (*MetricsDiagnosticObj) GetScope ¶
func (s *MetricsDiagnosticObj) GetScope() string
GetScope returns the value of Scope.
func (*MetricsDiagnosticObj) GetVersion ¶
func (s *MetricsDiagnosticObj) GetVersion() OptString
GetVersion returns the value of Version.
func (*MetricsDiagnosticObj) MarshalJSON ¶
func (s *MetricsDiagnosticObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MetricsDiagnosticObj) SetCode ¶
func (s *MetricsDiagnosticObj) SetCode(val string)
SetCode sets the value of Code.
func (*MetricsDiagnosticObj) SetCount ¶
func (s *MetricsDiagnosticObj) SetCount(val int64)
SetCount sets the value of Count.
func (*MetricsDiagnosticObj) SetFirstSeen ¶
func (s *MetricsDiagnosticObj) SetFirstSeen(val OptDateTime)
SetFirstSeen sets the value of FirstSeen.
func (*MetricsDiagnosticObj) SetImpact ¶
func (s *MetricsDiagnosticObj) SetImpact(val MetricsDiagnosticObjImpact)
SetImpact sets the value of Impact.
func (*MetricsDiagnosticObj) SetKey ¶
func (s *MetricsDiagnosticObj) SetKey(val OptString)
SetKey sets the value of Key.
func (*MetricsDiagnosticObj) SetLastSeen ¶
func (s *MetricsDiagnosticObj) SetLastSeen(val time.Time)
SetLastSeen sets the value of LastSeen.
func (*MetricsDiagnosticObj) SetMessage ¶
func (s *MetricsDiagnosticObj) SetMessage(val OptString)
SetMessage sets the value of Message.
func (*MetricsDiagnosticObj) SetReason ¶
func (s *MetricsDiagnosticObj) SetReason(val string)
SetReason sets the value of Reason.
func (*MetricsDiagnosticObj) SetScope ¶
func (s *MetricsDiagnosticObj) SetScope(val string)
SetScope sets the value of Scope.
func (*MetricsDiagnosticObj) SetVersion ¶
func (s *MetricsDiagnosticObj) SetVersion(val OptString)
SetVersion sets the value of Version.
func (*MetricsDiagnosticObj) UnmarshalJSON ¶
func (s *MetricsDiagnosticObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MetricsDiagnosticObj) Validate ¶
func (s *MetricsDiagnosticObj) Validate() error
type MetricsDiagnosticObjImpact ¶
type MetricsDiagnosticObjImpact string
Operational impact this diagnostic contributes to node health.
const ( MetricsDiagnosticObjImpactOk MetricsDiagnosticObjImpact = "ok" MetricsDiagnosticObjImpactDegraded MetricsDiagnosticObjImpact = "degraded" MetricsDiagnosticObjImpactError MetricsDiagnosticObjImpact = "error" )
func (MetricsDiagnosticObjImpact) AllValues ¶
func (MetricsDiagnosticObjImpact) AllValues() []MetricsDiagnosticObjImpact
AllValues returns all MetricsDiagnosticObjImpact values.
func (*MetricsDiagnosticObjImpact) Decode ¶
func (s *MetricsDiagnosticObjImpact) Decode(d *jx.Decoder) error
Decode decodes MetricsDiagnosticObjImpact from json.
func (MetricsDiagnosticObjImpact) Encode ¶
func (s MetricsDiagnosticObjImpact) Encode(e *jx.Encoder)
Encode encodes MetricsDiagnosticObjImpact as json.
func (MetricsDiagnosticObjImpact) MarshalJSON ¶
func (s MetricsDiagnosticObjImpact) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (MetricsDiagnosticObjImpact) MarshalText ¶
func (s MetricsDiagnosticObjImpact) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*MetricsDiagnosticObjImpact) UnmarshalJSON ¶
func (s *MetricsDiagnosticObjImpact) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MetricsDiagnosticObjImpact) UnmarshalText ¶
func (s *MetricsDiagnosticObjImpact) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (MetricsDiagnosticObjImpact) Validate ¶
func (s MetricsDiagnosticObjImpact) Validate() error
type MetricsErrorsObj ¶
type MetricsErrorsObj struct {
// Number of recent diagnostics currently tracked.
Active int64 `json:"active"`
// Diagnostics dropped after the registry reached capacity.
Dropped int64 `json:"dropped"`
// Newest diagnostics first, capped by `metrics.errors.recent_buffer`.
Recent []MetricsDiagnosticObj `json:"recent"`
}
Live Error Registry view. Ref: #/components/schemas/MetricsErrorsObj
func (*MetricsErrorsObj) Decode ¶
func (s *MetricsErrorsObj) Decode(d *jx.Decoder) error
Decode decodes MetricsErrorsObj from json.
func (*MetricsErrorsObj) Encode ¶
func (s *MetricsErrorsObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MetricsErrorsObj) GetActive ¶
func (s *MetricsErrorsObj) GetActive() int64
GetActive returns the value of Active.
func (*MetricsErrorsObj) GetDropped ¶
func (s *MetricsErrorsObj) GetDropped() int64
GetDropped returns the value of Dropped.
func (*MetricsErrorsObj) GetRecent ¶
func (s *MetricsErrorsObj) GetRecent() []MetricsDiagnosticObj
GetRecent returns the value of Recent.
func (*MetricsErrorsObj) MarshalJSON ¶
func (s *MetricsErrorsObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MetricsErrorsObj) SetActive ¶
func (s *MetricsErrorsObj) SetActive(val int64)
SetActive sets the value of Active.
func (*MetricsErrorsObj) SetDropped ¶
func (s *MetricsErrorsObj) SetDropped(val int64)
SetDropped sets the value of Dropped.
func (*MetricsErrorsObj) SetRecent ¶
func (s *MetricsErrorsObj) SetRecent(val []MetricsDiagnosticObj)
SetRecent sets the value of Recent.
func (*MetricsErrorsObj) UnmarshalJSON ¶
func (s *MetricsErrorsObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MetricsErrorsObj) Validate ¶
func (s *MetricsErrorsObj) Validate() error
type MetricsErrorsObjHeaders ¶
type MetricsErrorsObjHeaders struct {
CacheControl OptString
Response MetricsErrorsObj
}
MetricsErrorsObjHeaders wraps MetricsErrorsObj with response headers.
func (*MetricsErrorsObjHeaders) GetCacheControl ¶
func (s *MetricsErrorsObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*MetricsErrorsObjHeaders) GetResponse ¶
func (s *MetricsErrorsObjHeaders) GetResponse() MetricsErrorsObj
GetResponse returns the value of Response.
func (*MetricsErrorsObjHeaders) SetCacheControl ¶
func (s *MetricsErrorsObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*MetricsErrorsObjHeaders) SetResponse ¶
func (s *MetricsErrorsObjHeaders) SetResponse(val MetricsErrorsObj)
SetResponse sets the value of Response.
func (*MetricsErrorsObjHeaders) Validate ¶
func (s *MetricsErrorsObjHeaders) Validate() error
type MetricsRescanObj ¶
type MetricsRescanObj struct {
// Mean rescan cycle wall-clock duration in seconds; 0 before the first cycle.
CycleDurationSecondsAvg float64 `json:"cycle_duration_seconds_avg"`
// Completed rescan cycles since process start.
CyclesTotal int64 `json:"cycles_total"`
KeysUnavailableTotal int64 `json:"keys_unavailable_total"`
// Timestamp of the last completed rescan cycle; omitted before the first completed cycle.
LastRescan OptDateTime `json:"last_rescan"`
// Versions published or changed across all rescan cycles.
VersionsPublishedTotal int64 `json:"versions_published_total"`
}
Rescan-cycle and upstream-ingest metrics. Ref: #/components/schemas/MetricsRescanObj
func (*MetricsRescanObj) Decode ¶
func (s *MetricsRescanObj) Decode(d *jx.Decoder) error
Decode decodes MetricsRescanObj from json.
func (*MetricsRescanObj) Encode ¶
func (s *MetricsRescanObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MetricsRescanObj) GetCycleDurationSecondsAvg ¶
func (s *MetricsRescanObj) GetCycleDurationSecondsAvg() float64
GetCycleDurationSecondsAvg returns the value of CycleDurationSecondsAvg.
func (*MetricsRescanObj) GetCyclesTotal ¶
func (s *MetricsRescanObj) GetCyclesTotal() int64
GetCyclesTotal returns the value of CyclesTotal.
func (*MetricsRescanObj) GetKeysUnavailableTotal ¶
func (s *MetricsRescanObj) GetKeysUnavailableTotal() int64
GetKeysUnavailableTotal returns the value of KeysUnavailableTotal.
func (*MetricsRescanObj) GetLastRescan ¶
func (s *MetricsRescanObj) GetLastRescan() OptDateTime
GetLastRescan returns the value of LastRescan.
func (*MetricsRescanObj) GetVersionsPublishedTotal ¶
func (s *MetricsRescanObj) GetVersionsPublishedTotal() int64
GetVersionsPublishedTotal returns the value of VersionsPublishedTotal.
func (*MetricsRescanObj) MarshalJSON ¶
func (s *MetricsRescanObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MetricsRescanObj) SetCycleDurationSecondsAvg ¶
func (s *MetricsRescanObj) SetCycleDurationSecondsAvg(val float64)
SetCycleDurationSecondsAvg sets the value of CycleDurationSecondsAvg.
func (*MetricsRescanObj) SetCyclesTotal ¶
func (s *MetricsRescanObj) SetCyclesTotal(val int64)
SetCyclesTotal sets the value of CyclesTotal.
func (*MetricsRescanObj) SetKeysUnavailableTotal ¶
func (s *MetricsRescanObj) SetKeysUnavailableTotal(val int64)
SetKeysUnavailableTotal sets the value of KeysUnavailableTotal.
func (*MetricsRescanObj) SetLastRescan ¶
func (s *MetricsRescanObj) SetLastRescan(val OptDateTime)
SetLastRescan sets the value of LastRescan.
func (*MetricsRescanObj) SetVersionsPublishedTotal ¶
func (s *MetricsRescanObj) SetVersionsPublishedTotal(val int64)
SetVersionsPublishedTotal sets the value of VersionsPublishedTotal.
func (*MetricsRescanObj) UnmarshalJSON ¶
func (s *MetricsRescanObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MetricsRescanObj) Validate ¶
func (s *MetricsRescanObj) Validate() error
type MetricsRescanObjHeaders ¶
type MetricsRescanObjHeaders struct {
CacheControl OptString
Response MetricsRescanObj
}
MetricsRescanObjHeaders wraps MetricsRescanObj with response headers.
func (*MetricsRescanObjHeaders) GetCacheControl ¶
func (s *MetricsRescanObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*MetricsRescanObjHeaders) GetResponse ¶
func (s *MetricsRescanObjHeaders) GetResponse() MetricsRescanObj
GetResponse returns the value of Response.
func (*MetricsRescanObjHeaders) SetCacheControl ¶
func (s *MetricsRescanObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*MetricsRescanObjHeaders) SetResponse ¶
func (s *MetricsRescanObjHeaders) SetResponse(val MetricsRescanObj)
SetResponse sets the value of Response.
func (*MetricsRescanObjHeaders) Validate ¶
func (s *MetricsRescanObjHeaders) Validate() error
type MetricsYggObj ¶ added in v0.4.0
type MetricsYggObj struct {
// Peers currently selected by the peer manager; 0 without a manager. Updates once per probe cycle, so
// it can lag the connected state by up to ygg.peers.probe_timeout.
ActiveSelected int64 `json:"active_selected"`
// Lowest measured latency among connected peers in nanoseconds; omitted when unknown.
BestLatencyNanos OptInt64 `json:"best_latency_nanos"`
// Peer-manager isolation notifications observed since process start. Delivery is best-effort and rapid
// bursts coalesce, so this is a lower bound on isolation episodes.
NoReachableNotificationsTotal int64 `json:"no_reachable_notifications_total"`
// Point-in-time peer list. Present only when internal metrics are enabled for the current entry
// (`metrics.web.internal` or `metrics.ygg.internal`); the public response carries aggregates only,
// because per-peer data exposes direct topology. Capped at 256 entries and refreshed at most once per
// metrics.snapshot_interval; exact totals live in the aggregate counters. Per-peer data is also
// intentionally absent from the Prometheus exposition.
Peers []MetricsYggPeerObj `json:"peers"`
// Peers that initiated their connection to this node.
PeersInbound int64 `json:"peers_inbound"`
// Peers known to the node, configured and inbound.
PeersKnown int64 `json:"peers_known"`
// Peers with a currently connected link.
PeersUp int64 `json:"peers_up"`
// Bytes received across current peer connections.
RxBytes int64 `json:"rx_bytes"`
// Bytes transmitted across current peer connections.
TxBytes int64 `json:"tx_bytes"`
}
Yggdrasil mesh peer metrics snapshot. Aggregates come from the prebuilt telemetry snapshot. Ref: #/components/schemas/MetricsYggObj
func (*MetricsYggObj) Decode ¶ added in v0.4.0
func (s *MetricsYggObj) Decode(d *jx.Decoder) error
Decode decodes MetricsYggObj from json.
func (*MetricsYggObj) Encode ¶ added in v0.4.0
func (s *MetricsYggObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MetricsYggObj) GetActiveSelected ¶ added in v0.4.0
func (s *MetricsYggObj) GetActiveSelected() int64
GetActiveSelected returns the value of ActiveSelected.
func (*MetricsYggObj) GetBestLatencyNanos ¶ added in v0.4.0
func (s *MetricsYggObj) GetBestLatencyNanos() OptInt64
GetBestLatencyNanos returns the value of BestLatencyNanos.
func (*MetricsYggObj) GetNoReachableNotificationsTotal ¶ added in v0.4.0
func (s *MetricsYggObj) GetNoReachableNotificationsTotal() int64
GetNoReachableNotificationsTotal returns the value of NoReachableNotificationsTotal.
func (*MetricsYggObj) GetPeers ¶ added in v0.4.0
func (s *MetricsYggObj) GetPeers() []MetricsYggPeerObj
GetPeers returns the value of Peers.
func (*MetricsYggObj) GetPeersInbound ¶ added in v0.4.0
func (s *MetricsYggObj) GetPeersInbound() int64
GetPeersInbound returns the value of PeersInbound.
func (*MetricsYggObj) GetPeersKnown ¶ added in v0.4.0
func (s *MetricsYggObj) GetPeersKnown() int64
GetPeersKnown returns the value of PeersKnown.
func (*MetricsYggObj) GetPeersUp ¶ added in v0.4.0
func (s *MetricsYggObj) GetPeersUp() int64
GetPeersUp returns the value of PeersUp.
func (*MetricsYggObj) GetRxBytes ¶ added in v0.4.0
func (s *MetricsYggObj) GetRxBytes() int64
GetRxBytes returns the value of RxBytes.
func (*MetricsYggObj) GetTxBytes ¶ added in v0.4.0
func (s *MetricsYggObj) GetTxBytes() int64
GetTxBytes returns the value of TxBytes.
func (*MetricsYggObj) MarshalJSON ¶ added in v0.4.0
func (s *MetricsYggObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MetricsYggObj) SetActiveSelected ¶ added in v0.4.0
func (s *MetricsYggObj) SetActiveSelected(val int64)
SetActiveSelected sets the value of ActiveSelected.
func (*MetricsYggObj) SetBestLatencyNanos ¶ added in v0.4.0
func (s *MetricsYggObj) SetBestLatencyNanos(val OptInt64)
SetBestLatencyNanos sets the value of BestLatencyNanos.
func (*MetricsYggObj) SetNoReachableNotificationsTotal ¶ added in v0.4.0
func (s *MetricsYggObj) SetNoReachableNotificationsTotal(val int64)
SetNoReachableNotificationsTotal sets the value of NoReachableNotificationsTotal.
func (*MetricsYggObj) SetPeers ¶ added in v0.4.0
func (s *MetricsYggObj) SetPeers(val []MetricsYggPeerObj)
SetPeers sets the value of Peers.
func (*MetricsYggObj) SetPeersInbound ¶ added in v0.4.0
func (s *MetricsYggObj) SetPeersInbound(val int64)
SetPeersInbound sets the value of PeersInbound.
func (*MetricsYggObj) SetPeersKnown ¶ added in v0.4.0
func (s *MetricsYggObj) SetPeersKnown(val int64)
SetPeersKnown sets the value of PeersKnown.
func (*MetricsYggObj) SetPeersUp ¶ added in v0.4.0
func (s *MetricsYggObj) SetPeersUp(val int64)
SetPeersUp sets the value of PeersUp.
func (*MetricsYggObj) SetRxBytes ¶ added in v0.4.0
func (s *MetricsYggObj) SetRxBytes(val int64)
SetRxBytes sets the value of RxBytes.
func (*MetricsYggObj) SetTxBytes ¶ added in v0.4.0
func (s *MetricsYggObj) SetTxBytes(val int64)
SetTxBytes sets the value of TxBytes.
func (*MetricsYggObj) UnmarshalJSON ¶ added in v0.4.0
func (s *MetricsYggObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MetricsYggObj) Validate ¶ added in v0.4.0
func (s *MetricsYggObj) Validate() error
type MetricsYggObjHeaders ¶ added in v0.4.0
type MetricsYggObjHeaders struct {
CacheControl OptString
Response MetricsYggObj
}
MetricsYggObjHeaders wraps MetricsYggObj with response headers.
func (*MetricsYggObjHeaders) GetCacheControl ¶ added in v0.4.0
func (s *MetricsYggObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*MetricsYggObjHeaders) GetResponse ¶ added in v0.4.0
func (s *MetricsYggObjHeaders) GetResponse() MetricsYggObj
GetResponse returns the value of Response.
func (*MetricsYggObjHeaders) SetCacheControl ¶ added in v0.4.0
func (s *MetricsYggObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*MetricsYggObjHeaders) SetResponse ¶ added in v0.4.0
func (s *MetricsYggObjHeaders) SetResponse(val MetricsYggObj)
SetResponse sets the value of Response.
func (*MetricsYggObjHeaders) Validate ¶ added in v0.4.0
func (s *MetricsYggObjHeaders) Validate() error
type MetricsYggPeerObj ¶ added in v0.4.0
type MetricsYggPeerObj struct {
// Routing cost through the peer.
Cost int64 `json:"cost"`
// Whether the peer initiated the connection.
Inbound bool `json:"inbound"`
// Latest error observed on the peer link; omitted when none.
LastError OptString `json:"last_error"`
// When the latest peer error occurred; omitted when none.
LastErrorTime OptDateTime `json:"last_error_time"`
// Measured peer latency in nanoseconds; 0 when unknown.
LatencyNanos int64 `json:"latency_nanos"`
// Hexadecimal peer public key; omitted while the peer has never completed a handshake.
PublicKey OptString `json:"public_key"`
// Bytes received over the current connection.
RxBytes int64 `json:"rx_bytes"`
// Bytes transmitted over the current connection.
TxBytes int64 `json:"tx_bytes"`
// Whether the peer link is currently connected.
Up bool `json:"up"`
// Connection age in seconds as reported by the node.
UptimeSeconds float64 `json:"uptime_seconds"`
// Configured or inbound peer URI with userinfo credentials stripped; omitted when unknown or
// unparsable.
URI OptString `json:"uri"`
}
One Yggdrasil peer connection at snapshot time. Ref: #/components/schemas/MetricsYggPeerObj
func (*MetricsYggPeerObj) Decode ¶ added in v0.4.0
func (s *MetricsYggPeerObj) Decode(d *jx.Decoder) error
Decode decodes MetricsYggPeerObj from json.
func (*MetricsYggPeerObj) Encode ¶ added in v0.4.0
func (s *MetricsYggPeerObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MetricsYggPeerObj) GetCost ¶ added in v0.4.0
func (s *MetricsYggPeerObj) GetCost() int64
GetCost returns the value of Cost.
func (*MetricsYggPeerObj) GetInbound ¶ added in v0.4.0
func (s *MetricsYggPeerObj) GetInbound() bool
GetInbound returns the value of Inbound.
func (*MetricsYggPeerObj) GetLastError ¶ added in v0.4.0
func (s *MetricsYggPeerObj) GetLastError() OptString
GetLastError returns the value of LastError.
func (*MetricsYggPeerObj) GetLastErrorTime ¶ added in v0.4.0
func (s *MetricsYggPeerObj) GetLastErrorTime() OptDateTime
GetLastErrorTime returns the value of LastErrorTime.
func (*MetricsYggPeerObj) GetLatencyNanos ¶ added in v0.4.0
func (s *MetricsYggPeerObj) GetLatencyNanos() int64
GetLatencyNanos returns the value of LatencyNanos.
func (*MetricsYggPeerObj) GetPublicKey ¶ added in v0.4.0
func (s *MetricsYggPeerObj) GetPublicKey() OptString
GetPublicKey returns the value of PublicKey.
func (*MetricsYggPeerObj) GetRxBytes ¶ added in v0.4.0
func (s *MetricsYggPeerObj) GetRxBytes() int64
GetRxBytes returns the value of RxBytes.
func (*MetricsYggPeerObj) GetTxBytes ¶ added in v0.4.0
func (s *MetricsYggPeerObj) GetTxBytes() int64
GetTxBytes returns the value of TxBytes.
func (*MetricsYggPeerObj) GetURI ¶ added in v0.4.0
func (s *MetricsYggPeerObj) GetURI() OptString
GetURI returns the value of URI.
func (*MetricsYggPeerObj) GetUp ¶ added in v0.4.0
func (s *MetricsYggPeerObj) GetUp() bool
GetUp returns the value of Up.
func (*MetricsYggPeerObj) GetUptimeSeconds ¶ added in v0.4.0
func (s *MetricsYggPeerObj) GetUptimeSeconds() float64
GetUptimeSeconds returns the value of UptimeSeconds.
func (*MetricsYggPeerObj) MarshalJSON ¶ added in v0.4.0
func (s *MetricsYggPeerObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MetricsYggPeerObj) SetCost ¶ added in v0.4.0
func (s *MetricsYggPeerObj) SetCost(val int64)
SetCost sets the value of Cost.
func (*MetricsYggPeerObj) SetInbound ¶ added in v0.4.0
func (s *MetricsYggPeerObj) SetInbound(val bool)
SetInbound sets the value of Inbound.
func (*MetricsYggPeerObj) SetLastError ¶ added in v0.4.0
func (s *MetricsYggPeerObj) SetLastError(val OptString)
SetLastError sets the value of LastError.
func (*MetricsYggPeerObj) SetLastErrorTime ¶ added in v0.4.0
func (s *MetricsYggPeerObj) SetLastErrorTime(val OptDateTime)
SetLastErrorTime sets the value of LastErrorTime.
func (*MetricsYggPeerObj) SetLatencyNanos ¶ added in v0.4.0
func (s *MetricsYggPeerObj) SetLatencyNanos(val int64)
SetLatencyNanos sets the value of LatencyNanos.
func (*MetricsYggPeerObj) SetPublicKey ¶ added in v0.4.0
func (s *MetricsYggPeerObj) SetPublicKey(val OptString)
SetPublicKey sets the value of PublicKey.
func (*MetricsYggPeerObj) SetRxBytes ¶ added in v0.4.0
func (s *MetricsYggPeerObj) SetRxBytes(val int64)
SetRxBytes sets the value of RxBytes.
func (*MetricsYggPeerObj) SetTxBytes ¶ added in v0.4.0
func (s *MetricsYggPeerObj) SetTxBytes(val int64)
SetTxBytes sets the value of TxBytes.
func (*MetricsYggPeerObj) SetURI ¶ added in v0.4.0
func (s *MetricsYggPeerObj) SetURI(val OptString)
SetURI sets the value of URI.
func (*MetricsYggPeerObj) SetUp ¶ added in v0.4.0
func (s *MetricsYggPeerObj) SetUp(val bool)
SetUp sets the value of Up.
func (*MetricsYggPeerObj) SetUptimeSeconds ¶ added in v0.4.0
func (s *MetricsYggPeerObj) SetUptimeSeconds(val float64)
SetUptimeSeconds sets the value of UptimeSeconds.
func (*MetricsYggPeerObj) UnmarshalJSON ¶ added in v0.4.0
func (s *MetricsYggPeerObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MetricsYggPeerObj) Validate ¶ added in v0.4.0
func (s *MetricsYggPeerObj) Validate() error
type NotModifiedRespObj ¶
type NotModifiedRespObj struct{}
Ref: #/components/responses/NotModifiedRespObj
type OperationName ¶
type OperationName = string
OperationName is the ogen operation name
const ( GetCatalogOperation OperationName = "GetCatalog" GetComposerP2PackageOperation OperationName = "GetComposerP2Package" GetComposerPackageListOperation OperationName = "GetComposerPackageList" GetComposerPackagesOperation OperationName = "GetComposerPackages" GetFaviconOperation OperationName = "GetFavicon" GetFeedOperation OperationName = "GetFeed" GetGoLatestOperation OperationName = "GetGoLatest" GetGoVersionListOperation OperationName = "GetGoVersionList" GetHealthOperation OperationName = "GetHealth" GetInfoOperation OperationName = "GetInfo" GetKeyFeedOperation OperationName = "GetKeyFeed" GetKeyReleasesOperation OperationName = "GetKeyReleases" GetLogoOperation OperationName = "GetLogo" GetMetricsCacheOperation OperationName = "GetMetricsCache" GetMetricsCoreOperation OperationName = "GetMetricsCore" GetMetricsErrorsOperation OperationName = "GetMetricsErrors" GetMetricsIndexOperation OperationName = "GetMetricsIndex" GetMetricsInternalOperation OperationName = "GetMetricsInternal" GetMetricsRescanOperation OperationName = "GetMetricsRescan" GetMetricsYggOperation OperationName = "GetMetricsYgg" GetMirrorLatestOperation OperationName = "GetMirrorLatest" GetMirrorListOperation OperationName = "GetMirrorList" GetMirrorListFullOperation OperationName = "GetMirrorListFull" GetOgKeyOperation OperationName = "GetOgKey" GetOgNodeOperation OperationName = "GetOgNode" GetOgVersionOperation OperationName = "GetOgVersion" GetSitemapOperation OperationName = "GetSitemap" GetVersionArtifactOperation OperationName = "GetVersionArtifact" GetVersionFileOperation OperationName = "GetVersionFile" )
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCatalogObjKeysItemClassification ¶
type OptCatalogObjKeysItemClassification struct {
Value CatalogObjKeysItemClassification
Set bool
}
OptCatalogObjKeysItemClassification is optional CatalogObjKeysItemClassification.
func NewOptCatalogObjKeysItemClassification ¶
func NewOptCatalogObjKeysItemClassification(v CatalogObjKeysItemClassification) OptCatalogObjKeysItemClassification
NewOptCatalogObjKeysItemClassification returns new OptCatalogObjKeysItemClassification with value set to v.
func (*OptCatalogObjKeysItemClassification) Decode ¶
func (o *OptCatalogObjKeysItemClassification) Decode(d *jx.Decoder) error
Decode decodes CatalogObjKeysItemClassification from json.
func (OptCatalogObjKeysItemClassification) Encode ¶
func (o OptCatalogObjKeysItemClassification) Encode(e *jx.Encoder)
Encode encodes CatalogObjKeysItemClassification as json.
func (OptCatalogObjKeysItemClassification) Get ¶
func (o OptCatalogObjKeysItemClassification) Get() (v CatalogObjKeysItemClassification, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCatalogObjKeysItemClassification) IsSet ¶
func (o OptCatalogObjKeysItemClassification) IsSet() bool
IsSet returns true if OptCatalogObjKeysItemClassification was set.
func (OptCatalogObjKeysItemClassification) MarshalJSON ¶
func (s OptCatalogObjKeysItemClassification) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCatalogObjKeysItemClassification) Or ¶
func (o OptCatalogObjKeysItemClassification) Or(d CatalogObjKeysItemClassification) CatalogObjKeysItemClassification
Or returns value if set, or given parameter if does not.
func (*OptCatalogObjKeysItemClassification) Reset ¶
func (o *OptCatalogObjKeysItemClassification) Reset()
Reset unsets value.
func (*OptCatalogObjKeysItemClassification) SetTo ¶
func (o *OptCatalogObjKeysItemClassification) SetTo(v CatalogObjKeysItemClassification)
SetTo sets value to v.
func (*OptCatalogObjKeysItemClassification) UnmarshalJSON ¶
func (s *OptCatalogObjKeysItemClassification) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptComposerPackageVersionObjAutoload ¶
type OptComposerPackageVersionObjAutoload struct {
Value ComposerPackageVersionObjAutoload
Set bool
}
OptComposerPackageVersionObjAutoload is optional ComposerPackageVersionObjAutoload.
func NewOptComposerPackageVersionObjAutoload ¶
func NewOptComposerPackageVersionObjAutoload(v ComposerPackageVersionObjAutoload) OptComposerPackageVersionObjAutoload
NewOptComposerPackageVersionObjAutoload returns new OptComposerPackageVersionObjAutoload with value set to v.
func (*OptComposerPackageVersionObjAutoload) Decode ¶
func (o *OptComposerPackageVersionObjAutoload) Decode(d *jx.Decoder) error
Decode decodes ComposerPackageVersionObjAutoload from json.
func (OptComposerPackageVersionObjAutoload) Encode ¶
func (o OptComposerPackageVersionObjAutoload) Encode(e *jx.Encoder)
Encode encodes ComposerPackageVersionObjAutoload as json.
func (OptComposerPackageVersionObjAutoload) Get ¶
func (o OptComposerPackageVersionObjAutoload) Get() (v ComposerPackageVersionObjAutoload, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptComposerPackageVersionObjAutoload) IsSet ¶
func (o OptComposerPackageVersionObjAutoload) IsSet() bool
IsSet returns true if OptComposerPackageVersionObjAutoload was set.
func (OptComposerPackageVersionObjAutoload) MarshalJSON ¶
func (s OptComposerPackageVersionObjAutoload) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptComposerPackageVersionObjAutoload) Or ¶
func (o OptComposerPackageVersionObjAutoload) Or(d ComposerPackageVersionObjAutoload) ComposerPackageVersionObjAutoload
Or returns value if set, or given parameter if does not.
func (*OptComposerPackageVersionObjAutoload) Reset ¶
func (o *OptComposerPackageVersionObjAutoload) Reset()
Reset unsets value.
func (*OptComposerPackageVersionObjAutoload) SetTo ¶
func (o *OptComposerPackageVersionObjAutoload) SetTo(v ComposerPackageVersionObjAutoload)
SetTo sets value to v.
func (*OptComposerPackageVersionObjAutoload) UnmarshalJSON ¶
func (s *OptComposerPackageVersionObjAutoload) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptComposerPackageVersionObjRequire ¶
type OptComposerPackageVersionObjRequire struct {
Value ComposerPackageVersionObjRequire
Set bool
}
OptComposerPackageVersionObjRequire is optional ComposerPackageVersionObjRequire.
func NewOptComposerPackageVersionObjRequire ¶
func NewOptComposerPackageVersionObjRequire(v ComposerPackageVersionObjRequire) OptComposerPackageVersionObjRequire
NewOptComposerPackageVersionObjRequire returns new OptComposerPackageVersionObjRequire with value set to v.
func (*OptComposerPackageVersionObjRequire) Decode ¶
func (o *OptComposerPackageVersionObjRequire) Decode(d *jx.Decoder) error
Decode decodes ComposerPackageVersionObjRequire from json.
func (OptComposerPackageVersionObjRequire) Encode ¶
func (o OptComposerPackageVersionObjRequire) Encode(e *jx.Encoder)
Encode encodes ComposerPackageVersionObjRequire as json.
func (OptComposerPackageVersionObjRequire) Get ¶
func (o OptComposerPackageVersionObjRequire) Get() (v ComposerPackageVersionObjRequire, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptComposerPackageVersionObjRequire) IsSet ¶
func (o OptComposerPackageVersionObjRequire) IsSet() bool
IsSet returns true if OptComposerPackageVersionObjRequire was set.
func (OptComposerPackageVersionObjRequire) MarshalJSON ¶
func (s OptComposerPackageVersionObjRequire) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptComposerPackageVersionObjRequire) Or ¶
func (o OptComposerPackageVersionObjRequire) Or(d ComposerPackageVersionObjRequire) ComposerPackageVersionObjRequire
Or returns value if set, or given parameter if does not.
func (*OptComposerPackageVersionObjRequire) Reset ¶
func (o *OptComposerPackageVersionObjRequire) Reset()
Reset unsets value.
func (*OptComposerPackageVersionObjRequire) SetTo ¶
func (o *OptComposerPackageVersionObjRequire) SetTo(v ComposerPackageVersionObjRequire)
SetTo sets value to v.
func (*OptComposerPackageVersionObjRequire) UnmarshalJSON ¶
func (s *OptComposerPackageVersionObjRequire) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptComposerPackageVersionObjRequireMinusDev ¶
type OptComposerPackageVersionObjRequireMinusDev struct {
Value ComposerPackageVersionObjRequireMinusDev
Set bool
}
OptComposerPackageVersionObjRequireMinusDev is optional ComposerPackageVersionObjRequireMinusDev.
func NewOptComposerPackageVersionObjRequireMinusDev ¶
func NewOptComposerPackageVersionObjRequireMinusDev(v ComposerPackageVersionObjRequireMinusDev) OptComposerPackageVersionObjRequireMinusDev
NewOptComposerPackageVersionObjRequireMinusDev returns new OptComposerPackageVersionObjRequireMinusDev with value set to v.
func (*OptComposerPackageVersionObjRequireMinusDev) Decode ¶
func (o *OptComposerPackageVersionObjRequireMinusDev) Decode(d *jx.Decoder) error
Decode decodes ComposerPackageVersionObjRequireMinusDev from json.
func (OptComposerPackageVersionObjRequireMinusDev) Encode ¶
func (o OptComposerPackageVersionObjRequireMinusDev) Encode(e *jx.Encoder)
Encode encodes ComposerPackageVersionObjRequireMinusDev as json.
func (OptComposerPackageVersionObjRequireMinusDev) Get ¶
func (o OptComposerPackageVersionObjRequireMinusDev) Get() (v ComposerPackageVersionObjRequireMinusDev, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptComposerPackageVersionObjRequireMinusDev) IsSet ¶
func (o OptComposerPackageVersionObjRequireMinusDev) IsSet() bool
IsSet returns true if OptComposerPackageVersionObjRequireMinusDev was set.
func (OptComposerPackageVersionObjRequireMinusDev) MarshalJSON ¶
func (s OptComposerPackageVersionObjRequireMinusDev) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptComposerPackageVersionObjRequireMinusDev) Or ¶
func (o OptComposerPackageVersionObjRequireMinusDev) Or(d ComposerPackageVersionObjRequireMinusDev) ComposerPackageVersionObjRequireMinusDev
Or returns value if set, or given parameter if does not.
func (*OptComposerPackageVersionObjRequireMinusDev) Reset ¶
func (o *OptComposerPackageVersionObjRequireMinusDev) Reset()
Reset unsets value.
func (*OptComposerPackageVersionObjRequireMinusDev) SetTo ¶
func (o *OptComposerPackageVersionObjRequireMinusDev) SetTo(v ComposerPackageVersionObjRequireMinusDev)
SetTo sets value to v.
func (*OptComposerPackageVersionObjRequireMinusDev) UnmarshalJSON ¶
func (s *OptComposerPackageVersionObjRequireMinusDev) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptComposerPackageVersionObjSource ¶
type OptComposerPackageVersionObjSource struct {
Value ComposerPackageVersionObjSource
Set bool
}
OptComposerPackageVersionObjSource is optional ComposerPackageVersionObjSource.
func NewOptComposerPackageVersionObjSource ¶
func NewOptComposerPackageVersionObjSource(v ComposerPackageVersionObjSource) OptComposerPackageVersionObjSource
NewOptComposerPackageVersionObjSource returns new OptComposerPackageVersionObjSource with value set to v.
func (*OptComposerPackageVersionObjSource) Decode ¶
func (o *OptComposerPackageVersionObjSource) Decode(d *jx.Decoder) error
Decode decodes ComposerPackageVersionObjSource from json.
func (OptComposerPackageVersionObjSource) Encode ¶
func (o OptComposerPackageVersionObjSource) Encode(e *jx.Encoder)
Encode encodes ComposerPackageVersionObjSource as json.
func (OptComposerPackageVersionObjSource) Get ¶
func (o OptComposerPackageVersionObjSource) Get() (v ComposerPackageVersionObjSource, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptComposerPackageVersionObjSource) IsSet ¶
func (o OptComposerPackageVersionObjSource) IsSet() bool
IsSet returns true if OptComposerPackageVersionObjSource was set.
func (OptComposerPackageVersionObjSource) MarshalJSON ¶
func (s OptComposerPackageVersionObjSource) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptComposerPackageVersionObjSource) Or ¶
func (o OptComposerPackageVersionObjSource) Or(d ComposerPackageVersionObjSource) ComposerPackageVersionObjSource
Or returns value if set, or given parameter if does not.
func (*OptComposerPackageVersionObjSource) Reset ¶
func (o *OptComposerPackageVersionObjSource) Reset()
Reset unsets value.
func (*OptComposerPackageVersionObjSource) SetTo ¶
func (o *OptComposerPackageVersionObjSource) SetTo(v ComposerPackageVersionObjSource)
SetTo sets value to v.
func (*OptComposerPackageVersionObjSource) UnmarshalJSON ¶
func (s *OptComposerPackageVersionObjSource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptComposerPackagesObjPackages ¶
type OptComposerPackagesObjPackages struct {
Value ComposerPackagesObjPackages
Set bool
}
OptComposerPackagesObjPackages is optional ComposerPackagesObjPackages.
func NewOptComposerPackagesObjPackages ¶
func NewOptComposerPackagesObjPackages(v ComposerPackagesObjPackages) OptComposerPackagesObjPackages
NewOptComposerPackagesObjPackages returns new OptComposerPackagesObjPackages with value set to v.
func (*OptComposerPackagesObjPackages) Decode ¶
func (o *OptComposerPackagesObjPackages) Decode(d *jx.Decoder) error
Decode decodes ComposerPackagesObjPackages from json.
func (OptComposerPackagesObjPackages) Encode ¶
func (o OptComposerPackagesObjPackages) Encode(e *jx.Encoder)
Encode encodes ComposerPackagesObjPackages as json.
func (OptComposerPackagesObjPackages) Get ¶
func (o OptComposerPackagesObjPackages) Get() (v ComposerPackagesObjPackages, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptComposerPackagesObjPackages) IsSet ¶
func (o OptComposerPackagesObjPackages) IsSet() bool
IsSet returns true if OptComposerPackagesObjPackages was set.
func (OptComposerPackagesObjPackages) MarshalJSON ¶
func (s OptComposerPackagesObjPackages) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptComposerPackagesObjPackages) Or ¶
func (o OptComposerPackagesObjPackages) Or(d ComposerPackagesObjPackages) ComposerPackagesObjPackages
Or returns value if set, or given parameter if does not.
func (*OptComposerPackagesObjPackages) Reset ¶
func (o *OptComposerPackagesObjPackages) Reset()
Reset unsets value.
func (*OptComposerPackagesObjPackages) SetTo ¶
func (o *OptComposerPackagesObjPackages) SetTo(v ComposerPackagesObjPackages)
SetTo sets value to v.
func (*OptComposerPackagesObjPackages) UnmarshalJSON ¶
func (s *OptComposerPackagesObjPackages) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDateTime ¶
OptDateTime is optional time.Time.
func NewOptDateTime ¶
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
func (OptDateTime) Get ¶
func (o OptDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDateTime) IsSet ¶
func (o OptDateTime) IsSet() bool
IsSet returns true if OptDateTime was set.
func (OptDateTime) MarshalJSON ¶
func (s OptDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDateTime) Or ¶
func (o OptDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptDateTime) UnmarshalJSON ¶
func (s *OptDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInfoObjContacts ¶
type OptInfoObjContacts struct {
Value InfoObjContacts
Set bool
}
OptInfoObjContacts is optional InfoObjContacts.
func NewOptInfoObjContacts ¶
func NewOptInfoObjContacts(v InfoObjContacts) OptInfoObjContacts
NewOptInfoObjContacts returns new OptInfoObjContacts with value set to v.
func (*OptInfoObjContacts) Decode ¶
func (o *OptInfoObjContacts) Decode(d *jx.Decoder) error
Decode decodes InfoObjContacts from json.
func (OptInfoObjContacts) Encode ¶
func (o OptInfoObjContacts) Encode(e *jx.Encoder)
Encode encodes InfoObjContacts as json.
func (OptInfoObjContacts) Get ¶
func (o OptInfoObjContacts) Get() (v InfoObjContacts, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptInfoObjContacts) IsSet ¶
func (o OptInfoObjContacts) IsSet() bool
IsSet returns true if OptInfoObjContacts was set.
func (OptInfoObjContacts) MarshalJSON ¶
func (s OptInfoObjContacts) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptInfoObjContacts) Or ¶
func (o OptInfoObjContacts) Or(d InfoObjContacts) InfoObjContacts
Or returns value if set, or given parameter if does not.
func (*OptInfoObjContacts) SetTo ¶
func (o *OptInfoObjContacts) SetTo(v InfoObjContacts)
SetTo sets value to v.
func (*OptInfoObjContacts) UnmarshalJSON ¶
func (s *OptInfoObjContacts) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt32 ¶
OptInt32 is optional int32.
func NewOptInt32 ¶
NewOptInt32 returns new OptInt32 with value set to v.
func (OptInt32) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt32) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt64 ¶
OptInt64 is optional int64.
func NewOptInt64 ¶
NewOptInt64 returns new OptInt64 with value set to v.
func (OptInt64) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt64) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface {
ServerOption
ClientOption
}
Option is config option.
func WithAttributes ¶
WithAttributes specifies default otel attributes.
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the otel.GetMeterProvider() is used.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type PartialContentRespObj ¶
type PartialContentRespObjHeaders ¶
type PartialContentRespObjHeaders struct {
AcceptRanges OptString
CacheControl OptString
ContentDisposition OptString
ContentLength OptInt64
ContentRange OptString
ETag OptString
LastModified OptString
Response PartialContentRespObj
}
PartialContentRespObjHeaders wraps PartialContentRespObj with response headers.
func (*PartialContentRespObjHeaders) GetAcceptRanges ¶
func (s *PartialContentRespObjHeaders) GetAcceptRanges() OptString
GetAcceptRanges returns the value of AcceptRanges.
func (*PartialContentRespObjHeaders) GetCacheControl ¶
func (s *PartialContentRespObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*PartialContentRespObjHeaders) GetContentDisposition ¶ added in v0.3.0
func (s *PartialContentRespObjHeaders) GetContentDisposition() OptString
GetContentDisposition returns the value of ContentDisposition.
func (*PartialContentRespObjHeaders) GetContentLength ¶
func (s *PartialContentRespObjHeaders) GetContentLength() OptInt64
GetContentLength returns the value of ContentLength.
func (*PartialContentRespObjHeaders) GetContentRange ¶
func (s *PartialContentRespObjHeaders) GetContentRange() OptString
GetContentRange returns the value of ContentRange.
func (*PartialContentRespObjHeaders) GetETag ¶
func (s *PartialContentRespObjHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*PartialContentRespObjHeaders) GetLastModified ¶
func (s *PartialContentRespObjHeaders) GetLastModified() OptString
GetLastModified returns the value of LastModified.
func (*PartialContentRespObjHeaders) GetResponse ¶
func (s *PartialContentRespObjHeaders) GetResponse() PartialContentRespObj
GetResponse returns the value of Response.
func (*PartialContentRespObjHeaders) SetAcceptRanges ¶
func (s *PartialContentRespObjHeaders) SetAcceptRanges(val OptString)
SetAcceptRanges sets the value of AcceptRanges.
func (*PartialContentRespObjHeaders) SetCacheControl ¶
func (s *PartialContentRespObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*PartialContentRespObjHeaders) SetContentDisposition ¶ added in v0.3.0
func (s *PartialContentRespObjHeaders) SetContentDisposition(val OptString)
SetContentDisposition sets the value of ContentDisposition.
func (*PartialContentRespObjHeaders) SetContentLength ¶
func (s *PartialContentRespObjHeaders) SetContentLength(val OptInt64)
SetContentLength sets the value of ContentLength.
func (*PartialContentRespObjHeaders) SetContentRange ¶
func (s *PartialContentRespObjHeaders) SetContentRange(val OptString)
SetContentRange sets the value of ContentRange.
func (*PartialContentRespObjHeaders) SetETag ¶
func (s *PartialContentRespObjHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*PartialContentRespObjHeaders) SetLastModified ¶
func (s *PartialContentRespObjHeaders) SetLastModified(val OptString)
SetLastModified sets the value of LastModified.
func (*PartialContentRespObjHeaders) SetResponse ¶
func (s *PartialContentRespObjHeaders) SetResponse(val PartialContentRespObj)
SetResponse sets the value of Response.
type ReleaseDetailObj ¶
type ReleaseDetailObj struct {
// Downloadable artifacts published for this version.
Artifacts []ArtifactEntryObj `json:"artifacts"`
// Per-version degraded reasons, when some overlay or artifact could not be published.
Degraded []string `json:"degraded"`
// BLAKE3-24 XOF digest of the canonical version tree, encoded as 48 lowercase hex characters.
Hash OptString `json:"hash"`
// Registry key that owns this version.
Key string `json:"key"`
// Raw upstream release notes in Markdown. Sanitized HTML is rendered only for browser pages.
NotesMarkdown OptString `json:"notes_markdown"`
// Overlay families detected and published for this version, such as Go or Composer.
Overlays []string `json:"overlays"`
// Total source content size in bytes.
Size OptInt64 `json:"size"`
Source SourceStatusObj `json:"source"`
// Release timestamp used for feeds, lists, and package-manager metadata.
Time time.Time `json:"time"`
// Whether this version was still present at the upstream during the last scan. `false` means the
// mirror kept an upstream-deleted version.
UpstreamPresent OptBool `json:"upstream_present"`
// Version label as exposed by the mirror.
Version string `json:"version"`
}
Ref: #/components/schemas/ReleaseDetailObj
func (*ReleaseDetailObj) Decode ¶
func (s *ReleaseDetailObj) Decode(d *jx.Decoder) error
Decode decodes ReleaseDetailObj from json.
func (*ReleaseDetailObj) Encode ¶
func (s *ReleaseDetailObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ReleaseDetailObj) GetArtifacts ¶
func (s *ReleaseDetailObj) GetArtifacts() []ArtifactEntryObj
GetArtifacts returns the value of Artifacts.
func (*ReleaseDetailObj) GetDegraded ¶
func (s *ReleaseDetailObj) GetDegraded() []string
GetDegraded returns the value of Degraded.
func (*ReleaseDetailObj) GetHash ¶
func (s *ReleaseDetailObj) GetHash() OptString
GetHash returns the value of Hash.
func (*ReleaseDetailObj) GetKey ¶
func (s *ReleaseDetailObj) GetKey() string
GetKey returns the value of Key.
func (*ReleaseDetailObj) GetNotesMarkdown ¶
func (s *ReleaseDetailObj) GetNotesMarkdown() OptString
GetNotesMarkdown returns the value of NotesMarkdown.
func (*ReleaseDetailObj) GetOverlays ¶
func (s *ReleaseDetailObj) GetOverlays() []string
GetOverlays returns the value of Overlays.
func (*ReleaseDetailObj) GetSize ¶
func (s *ReleaseDetailObj) GetSize() OptInt64
GetSize returns the value of Size.
func (*ReleaseDetailObj) GetSource ¶
func (s *ReleaseDetailObj) GetSource() SourceStatusObj
GetSource returns the value of Source.
func (*ReleaseDetailObj) GetTime ¶
func (s *ReleaseDetailObj) GetTime() time.Time
GetTime returns the value of Time.
func (*ReleaseDetailObj) GetUpstreamPresent ¶
func (s *ReleaseDetailObj) GetUpstreamPresent() OptBool
GetUpstreamPresent returns the value of UpstreamPresent.
func (*ReleaseDetailObj) GetVersion ¶
func (s *ReleaseDetailObj) GetVersion() string
GetVersion returns the value of Version.
func (*ReleaseDetailObj) MarshalJSON ¶
func (s *ReleaseDetailObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ReleaseDetailObj) SetArtifacts ¶
func (s *ReleaseDetailObj) SetArtifacts(val []ArtifactEntryObj)
SetArtifacts sets the value of Artifacts.
func (*ReleaseDetailObj) SetDegraded ¶
func (s *ReleaseDetailObj) SetDegraded(val []string)
SetDegraded sets the value of Degraded.
func (*ReleaseDetailObj) SetHash ¶
func (s *ReleaseDetailObj) SetHash(val OptString)
SetHash sets the value of Hash.
func (*ReleaseDetailObj) SetKey ¶
func (s *ReleaseDetailObj) SetKey(val string)
SetKey sets the value of Key.
func (*ReleaseDetailObj) SetNotesMarkdown ¶
func (s *ReleaseDetailObj) SetNotesMarkdown(val OptString)
SetNotesMarkdown sets the value of NotesMarkdown.
func (*ReleaseDetailObj) SetOverlays ¶
func (s *ReleaseDetailObj) SetOverlays(val []string)
SetOverlays sets the value of Overlays.
func (*ReleaseDetailObj) SetSize ¶
func (s *ReleaseDetailObj) SetSize(val OptInt64)
SetSize sets the value of Size.
func (*ReleaseDetailObj) SetSource ¶
func (s *ReleaseDetailObj) SetSource(val SourceStatusObj)
SetSource sets the value of Source.
func (*ReleaseDetailObj) SetTime ¶
func (s *ReleaseDetailObj) SetTime(val time.Time)
SetTime sets the value of Time.
func (*ReleaseDetailObj) SetUpstreamPresent ¶
func (s *ReleaseDetailObj) SetUpstreamPresent(val OptBool)
SetUpstreamPresent sets the value of UpstreamPresent.
func (*ReleaseDetailObj) SetVersion ¶
func (s *ReleaseDetailObj) SetVersion(val string)
SetVersion sets the value of Version.
func (*ReleaseDetailObj) UnmarshalJSON ¶
func (s *ReleaseDetailObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReleaseDetailObj) Validate ¶
func (s *ReleaseDetailObj) Validate() error
type ReleaseDetailObjHeaders ¶
type ReleaseDetailObjHeaders struct {
AcceptRanges OptString
CacheControl OptString
ContentDisposition OptString
ContentLength OptInt64
ETag OptString
LastModified OptString
Response ReleaseDetailObj
}
ReleaseDetailObjHeaders wraps ReleaseDetailObj with response headers.
func (*ReleaseDetailObjHeaders) GetAcceptRanges ¶
func (s *ReleaseDetailObjHeaders) GetAcceptRanges() OptString
GetAcceptRanges returns the value of AcceptRanges.
func (*ReleaseDetailObjHeaders) GetCacheControl ¶
func (s *ReleaseDetailObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*ReleaseDetailObjHeaders) GetContentDisposition ¶ added in v0.3.0
func (s *ReleaseDetailObjHeaders) GetContentDisposition() OptString
GetContentDisposition returns the value of ContentDisposition.
func (*ReleaseDetailObjHeaders) GetContentLength ¶
func (s *ReleaseDetailObjHeaders) GetContentLength() OptInt64
GetContentLength returns the value of ContentLength.
func (*ReleaseDetailObjHeaders) GetETag ¶
func (s *ReleaseDetailObjHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*ReleaseDetailObjHeaders) GetLastModified ¶
func (s *ReleaseDetailObjHeaders) GetLastModified() OptString
GetLastModified returns the value of LastModified.
func (*ReleaseDetailObjHeaders) GetResponse ¶
func (s *ReleaseDetailObjHeaders) GetResponse() ReleaseDetailObj
GetResponse returns the value of Response.
func (*ReleaseDetailObjHeaders) SetAcceptRanges ¶
func (s *ReleaseDetailObjHeaders) SetAcceptRanges(val OptString)
SetAcceptRanges sets the value of AcceptRanges.
func (*ReleaseDetailObjHeaders) SetCacheControl ¶
func (s *ReleaseDetailObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*ReleaseDetailObjHeaders) SetContentDisposition ¶ added in v0.3.0
func (s *ReleaseDetailObjHeaders) SetContentDisposition(val OptString)
SetContentDisposition sets the value of ContentDisposition.
func (*ReleaseDetailObjHeaders) SetContentLength ¶
func (s *ReleaseDetailObjHeaders) SetContentLength(val OptInt64)
SetContentLength sets the value of ContentLength.
func (*ReleaseDetailObjHeaders) SetETag ¶
func (s *ReleaseDetailObjHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*ReleaseDetailObjHeaders) SetLastModified ¶
func (s *ReleaseDetailObjHeaders) SetLastModified(val OptString)
SetLastModified sets the value of LastModified.
func (*ReleaseDetailObjHeaders) SetResponse ¶
func (s *ReleaseDetailObjHeaders) SetResponse(val ReleaseDetailObj)
SetResponse sets the value of Response.
func (*ReleaseDetailObjHeaders) Validate ¶
func (s *ReleaseDetailObjHeaders) Validate() error
type ReleaseListObj ¶
type ReleaseListObj struct {
// Registry key for this page.
Key string `json:"key"`
// Opaque keyset cursor for the next page. Omitted on the last page.
Next OptString `json:"next"`
// Page of release summaries ordered newest first.
Releases []ReleaseSummaryObj `json:"releases"`
Source SourceStatusObj `json:"source"`
}
Ref: #/components/schemas/ReleaseListObj
func (*ReleaseListObj) Decode ¶
func (s *ReleaseListObj) Decode(d *jx.Decoder) error
Decode decodes ReleaseListObj from json.
func (*ReleaseListObj) Encode ¶
func (s *ReleaseListObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ReleaseListObj) GetKey ¶
func (s *ReleaseListObj) GetKey() string
GetKey returns the value of Key.
func (*ReleaseListObj) GetNext ¶
func (s *ReleaseListObj) GetNext() OptString
GetNext returns the value of Next.
func (*ReleaseListObj) GetReleases ¶
func (s *ReleaseListObj) GetReleases() []ReleaseSummaryObj
GetReleases returns the value of Releases.
func (*ReleaseListObj) GetSource ¶
func (s *ReleaseListObj) GetSource() SourceStatusObj
GetSource returns the value of Source.
func (*ReleaseListObj) MarshalJSON ¶
func (s *ReleaseListObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ReleaseListObj) SetKey ¶
func (s *ReleaseListObj) SetKey(val string)
SetKey sets the value of Key.
func (*ReleaseListObj) SetNext ¶
func (s *ReleaseListObj) SetNext(val OptString)
SetNext sets the value of Next.
func (*ReleaseListObj) SetReleases ¶
func (s *ReleaseListObj) SetReleases(val []ReleaseSummaryObj)
SetReleases sets the value of Releases.
func (*ReleaseListObj) SetSource ¶
func (s *ReleaseListObj) SetSource(val SourceStatusObj)
SetSource sets the value of Source.
func (*ReleaseListObj) UnmarshalJSON ¶
func (s *ReleaseListObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ReleaseListObj) Validate ¶
func (s *ReleaseListObj) Validate() error
type ReleaseListObjHeaders ¶
type ReleaseListObjHeaders struct {
CacheControl OptString
ETag OptString
Response ReleaseListObj
}
ReleaseListObjHeaders wraps ReleaseListObj with response headers.
func (*ReleaseListObjHeaders) GetCacheControl ¶
func (s *ReleaseListObjHeaders) GetCacheControl() OptString
GetCacheControl returns the value of CacheControl.
func (*ReleaseListObjHeaders) GetETag ¶
func (s *ReleaseListObjHeaders) GetETag() OptString
GetETag returns the value of ETag.
func (*ReleaseListObjHeaders) GetResponse ¶
func (s *ReleaseListObjHeaders) GetResponse() ReleaseListObj
GetResponse returns the value of Response.
func (*ReleaseListObjHeaders) SetCacheControl ¶
func (s *ReleaseListObjHeaders) SetCacheControl(val OptString)
SetCacheControl sets the value of CacheControl.
func (*ReleaseListObjHeaders) SetETag ¶
func (s *ReleaseListObjHeaders) SetETag(val OptString)
SetETag sets the value of ETag.
func (*ReleaseListObjHeaders) SetResponse ¶
func (s *ReleaseListObjHeaders) SetResponse(val ReleaseListObj)
SetResponse sets the value of Response.
func (*ReleaseListObjHeaders) Validate ¶
func (s *ReleaseListObjHeaders) Validate() error
type ReleaseSummaryObj ¶
type ReleaseSummaryObj struct {
// Total source content size in bytes.
Size int64 `json:"size"`
// Release timestamp from upstream metadata.
Time time.Time `json:"time"`
// Path to the version detail document, normally `<version>.json`.
URL OptString `json:"url"`
// Version label.
Version string `json:"version"`
}
Ref: #/components/schemas/ReleaseSummaryObj
func (*ReleaseSummaryObj) Decode ¶
func (s *ReleaseSummaryObj) Decode(d *jx.Decoder) error
Decode decodes ReleaseSummaryObj from json.
func (*ReleaseSummaryObj) Encode ¶
func (s *ReleaseSummaryObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ReleaseSummaryObj) GetSize ¶
func (s *ReleaseSummaryObj) GetSize() int64
GetSize returns the value of Size.
func (*ReleaseSummaryObj) GetTime ¶
func (s *ReleaseSummaryObj) GetTime() time.Time
GetTime returns the value of Time.
func (*ReleaseSummaryObj) GetURL ¶
func (s *ReleaseSummaryObj) GetURL() OptString
GetURL returns the value of URL.
func (*ReleaseSummaryObj) GetVersion ¶
func (s *ReleaseSummaryObj) GetVersion() string
GetVersion returns the value of Version.
func (*ReleaseSummaryObj) MarshalJSON ¶
func (s *ReleaseSummaryObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ReleaseSummaryObj) SetSize ¶
func (s *ReleaseSummaryObj) SetSize(val int64)
SetSize sets the value of Size.
func (*ReleaseSummaryObj) SetTime ¶
func (s *ReleaseSummaryObj) SetTime(val time.Time)
SetTime sets the value of Time.
func (*ReleaseSummaryObj) SetURL ¶
func (s *ReleaseSummaryObj) SetURL(val OptString)
SetURL sets the value of URL.
func (*ReleaseSummaryObj) SetVersion ¶
func (s *ReleaseSummaryObj) SetVersion(val string)
SetVersion sets the value of Version.
func (*ReleaseSummaryObj) UnmarshalJSON ¶
func (s *ReleaseSummaryObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) OperationGroup ¶
OperationGroup returns the x-ogen-operation-group value.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
func NewServer ¶
func NewServer(h Handler, opts ...ServerOption) (*Server, error)
NewServer creates new Server.
type ServerOption ¶
type ServerOption interface {
// contains filtered or unexported methods
}
ServerOption is server config option.
func WithErrorHandler ¶
func WithErrorHandler(h ErrorHandler) ServerOption
WithErrorHandler specifies error handler to use.
func WithMaxMultipartMemory ¶
func WithMaxMultipartMemory(max int64) ServerOption
WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.
func WithMethodNotAllowed ¶
func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
WithMethodNotAllowed specifies Method Not Allowed handler to use.
func WithMiddleware ¶
func WithMiddleware(m ...Middleware) ServerOption
WithMiddleware specifies middlewares to use.
func WithNotFound ¶
func WithNotFound(notFound http.HandlerFunc) ServerOption
WithNotFound specifies Not Found handler to use.
func WithPathPrefix ¶
func WithPathPrefix(prefix string) ServerOption
WithPathPrefix specifies server path prefix.
type SourceStatusObj ¶
type SourceStatusObj struct {
// Scan timestamp that produced this source status.
LastScan time.Time `json:"last_scan"`
// Upstream availability as observed by this node during the last scan.
Status SourceStatusObjStatus `json:"status"`
// Original upstream URL from `release_mirrors`. It is still reported when the last sync used a brother
// node.
URL string `json:"url"`
}
Ref: #/components/schemas/SourceStatusObj
func (*SourceStatusObj) Decode ¶
func (s *SourceStatusObj) Decode(d *jx.Decoder) error
Decode decodes SourceStatusObj from json.
func (*SourceStatusObj) Encode ¶
func (s *SourceStatusObj) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SourceStatusObj) GetLastScan ¶
func (s *SourceStatusObj) GetLastScan() time.Time
GetLastScan returns the value of LastScan.
func (*SourceStatusObj) GetStatus ¶
func (s *SourceStatusObj) GetStatus() SourceStatusObjStatus
GetStatus returns the value of Status.
func (*SourceStatusObj) GetURL ¶
func (s *SourceStatusObj) GetURL() string
GetURL returns the value of URL.
func (*SourceStatusObj) MarshalJSON ¶
func (s *SourceStatusObj) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SourceStatusObj) SetLastScan ¶
func (s *SourceStatusObj) SetLastScan(val time.Time)
SetLastScan sets the value of LastScan.
func (*SourceStatusObj) SetStatus ¶
func (s *SourceStatusObj) SetStatus(val SourceStatusObjStatus)
SetStatus sets the value of Status.
func (*SourceStatusObj) SetURL ¶
func (s *SourceStatusObj) SetURL(val string)
SetURL sets the value of URL.
func (*SourceStatusObj) UnmarshalJSON ¶
func (s *SourceStatusObj) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SourceStatusObj) Validate ¶
func (s *SourceStatusObj) Validate() error
type SourceStatusObjStatus ¶
type SourceStatusObjStatus string
Upstream availability as observed by this node during the last scan.
const ( SourceStatusObjStatusAvailable SourceStatusObjStatus = "available" SourceStatusObjStatusTemporaryDown SourceStatusObjStatus = "temporary_down" SourceStatusObjStatusPermanentDown SourceStatusObjStatus = "permanent_down" SourceStatusObjStatusUnknown SourceStatusObjStatus = "unknown" )
func (SourceStatusObjStatus) AllValues ¶
func (SourceStatusObjStatus) AllValues() []SourceStatusObjStatus
AllValues returns all SourceStatusObjStatus values.
func (*SourceStatusObjStatus) Decode ¶
func (s *SourceStatusObjStatus) Decode(d *jx.Decoder) error
Decode decodes SourceStatusObjStatus from json.
func (SourceStatusObjStatus) Encode ¶
func (s SourceStatusObjStatus) Encode(e *jx.Encoder)
Encode encodes SourceStatusObjStatus as json.
func (SourceStatusObjStatus) MarshalJSON ¶
func (s SourceStatusObjStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (SourceStatusObjStatus) MarshalText ¶
func (s SourceStatusObjStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*SourceStatusObjStatus) UnmarshalJSON ¶
func (s *SourceStatusObjStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SourceStatusObjStatus) UnmarshalText ¶
func (s *SourceStatusObjStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (SourceStatusObjStatus) Validate ¶
func (s SourceStatusObjStatus) Validate() error
type UnimplementedHandler ¶
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) GetCatalog ¶
func (UnimplementedHandler) GetCatalog(ctx context.Context, params GetCatalogParams) (r GetCatalogRes, _ error)
GetCatalog implements getCatalog operation.
Lightweight cross-key snapshot containing each key, latest version, operational status, source classification, and source availability. Release notes and artifact lists are omitted. The body is served from the metadata cache and does not perform a live storage scan. Query parameters are rejected.
GET /catalog.json
func (UnimplementedHandler) GetComposerP2Package ¶
func (UnimplementedHandler) GetComposerP2Package(ctx context.Context, params GetComposerP2PackageParams) (r GetComposerP2PackageRes, _ error)
GetComposerP2Package implements getComposerP2Package operation.
Returns Composer v2 p2 metadata for one package name. `packageFile` contains the package segment with `.json` for stable metadata or `~dev.json` for the dev variant, for example `monolog.json` or `monolog~dev.json`. Unknown package names, dev-only misses, and invalid filenames return 404. Query parameters are rejected.
GET /p2/{vendor}/{packageFile}
func (UnimplementedHandler) GetComposerPackageList ¶
func (UnimplementedHandler) GetComposerPackageList(ctx context.Context, params GetComposerPackageListParams) (r GetComposerPackageListRes, _ error)
GetComposerPackageList implements getComposerPackageList operation.
Returns available Composer package names after package-name collision resolution. The optional `filter` supports Composer-style `*` wildcards and is validated before matching so oversized or malformed filters return 400.
GET /packages/list.json
func (UnimplementedHandler) GetComposerPackages ¶
func (UnimplementedHandler) GetComposerPackages(ctx context.Context, params GetComposerPackagesParams) (r GetComposerPackagesRes, _ error)
GetComposerPackages implements getComposerPackages operation.
Returns the Composer repository `packages.json` document. yggvault uses the Composer v2 lazy metadata flow: the root document advertises the p2 `metadata-url`, the complete prebuilt package-name list, and the package list endpoint. Query parameters are rejected.
GET /packages.json
func (UnimplementedHandler) GetFavicon ¶
func (UnimplementedHandler) GetFavicon(ctx context.Context, params GetFaviconParams) (r GetFaviconRes, _ error)
GetFavicon implements getFavicon operation.
Multi-resolution favicon (16/32/48) generated from the node logo. Pre-rendered at startup and served with a strong content ETag. Query parameters are rejected.
GET /favicon.ico
func (UnimplementedHandler) GetFeed ¶
func (UnimplementedHandler) GetFeed(ctx context.Context, params GetFeedParams) (r GetFeedRes, _ error)
GetFeed implements getFeed operation.
Atom 1.0 feed built from the cross-key release history. New events come first. The feed includes publish events and archive mutation events; a mutation is a separate entry with an ID that includes the content hash. The number of entries is capped by `web.pages.feed_size`. Query parameters are rejected.
GET /feed.xml
func (UnimplementedHandler) GetGoLatest ¶
func (UnimplementedHandler) GetGoLatest(ctx context.Context, params GetGoLatestParams) (r GetGoLatestRes, _ error)
GetGoLatest implements getGoLatest operation.
Returns the Go proxy `@latest` JSON document for the newest active canonical version in the requested major line. Major-version paths such as `/{key}/v2/@latest` are accepted and mapped to the same operation. The route is available only when content detection has published a Go overlay for the key and major path.
GET /{key}/@latest
func (UnimplementedHandler) GetGoVersionList ¶
func (UnimplementedHandler) GetGoVersionList(ctx context.Context, params GetGoVersionListParams) (r GetGoVersionListRes, _ error)
GetGoVersionList implements getGoVersionList operation.
Returns the Go proxy `@v/list` body: one canonical version per line, newest first. Major-version paths such as `/{key}/v2/@v/list` are accepted and mapped to the same operation. The route is available only for keys and major lines where content detection has published a Go overlay. Query parameters are rejected.
GET /{key}/@v/list
func (UnimplementedHandler) GetHealth ¶
func (UnimplementedHandler) GetHealth(ctx context.Context) (r GetHealthRes, _ error)
GetHealth implements getHealth operation.
Returns the live node health snapshot for the listener that handled the request. The response is not cached and includes the entry source (`web` or `yggdrasil`), current runtime status, recent diagnostic count, and the last completed rescan timestamp when available.
GET /health
func (UnimplementedHandler) GetInfo ¶
func (UnimplementedHandler) GetInfo(ctx context.Context) (r GetInfoRes, _ error)
GetInfo implements getInfo operation.
Public node identity shared by all routes: name, optional description, optional location, public contacts, clearnet domain, and Yggdrasil host. The same identity data is also published through mesh `info`/`inet` signals. Empty `domain` or `ygg_host` means the matching entry is disabled.
GET /info
func (UnimplementedHandler) GetKeyFeed ¶
func (UnimplementedHandler) GetKeyFeed(ctx context.Context, params GetKeyFeedParams) (r GetKeyFeedRes, _ error)
GetKeyFeed implements getKeyFeed operation.
Atom 1.0 feed for release history events of one key. New events come first. The feed includes publish events and archive mutation events; a mutation is a separate entry with an ID that includes the content hash. The number of entries is capped by `web.pages.feed_size`. Query parameters are rejected.
GET /{key}/releases.xml
func (UnimplementedHandler) GetKeyReleases ¶
func (UnimplementedHandler) GetKeyReleases(ctx context.Context, params GetKeyReleasesParams) (r GetKeyReleasesRes, _ error)
GetKeyReleases implements getKeyReleases operation.
Lightweight release snapshot for one key. Each item contains version, time, size, and a link to the detail document; release notes and artifact lists are intentionally omitted. Pagination uses keyset cursors: `?after=<next-from-previous-response>`. The `next` field is omitted on the last page.
GET /{key}/releases.json
func (UnimplementedHandler) GetLogo ¶
func (UnimplementedHandler) GetLogo(ctx context.Context, params GetLogoParams) (r GetLogoRes, _ error)
GetLogo implements getLogo operation.
Square transparent PNG of the node logo at a whitelisted edge size (16, 32, 48, 180, 192, 512). Pre-rendered at startup; other sizes return 404. Query parameters are rejected.
GET /logo/{size}
func (UnimplementedHandler) GetMetricsCache ¶
func (UnimplementedHandler) GetMetricsCache(ctx context.Context) (r GetMetricsCacheRes, _ error)
GetMetricsCache implements getMetricsCache operation.
JSON snapshot of the metadata/hot-file RAM cache and the storage engine (Pebble gauges, event counters, hot-cache enforcement). Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GET /metrics/cache
func (UnimplementedHandler) GetMetricsCore ¶
func (UnimplementedHandler) GetMetricsCore(ctx context.Context) (r GetMetricsCoreRes, _ error)
GetMetricsCore implements getMetricsCore operation.
JSON snapshot of core HTTP request signals aggregated across operations: request and error totals and request-duration sum/count. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GET /metrics/core
func (UnimplementedHandler) GetMetricsErrors ¶
func (UnimplementedHandler) GetMetricsErrors(ctx context.Context) (r GetMetricsErrorsRes, _ error)
GetMetricsErrors implements getMetricsErrors operation.
JSON view of the Error Registry: active and dropped diagnostic counts plus the bounded newest-first recent buffer for real-time triage. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GET /metrics/errors
func (UnimplementedHandler) GetMetricsIndex ¶
func (UnimplementedHandler) GetMetricsIndex(ctx context.Context) (r GetMetricsIndexRes, _ error)
GetMetricsIndex implements getMetricsIndex operation.
Returns a small HTML page linking the enabled metric groups for the current entry. If both public and internal metric groups are disabled on that entry, the route is not advertised and returns 404.
GET /metrics
func (UnimplementedHandler) GetMetricsInternal ¶
func (UnimplementedHandler) GetMetricsInternal(ctx context.Context) (r GetMetricsInternalRes, _ error)
GetMetricsInternal implements getMetricsInternal operation.
Complete Prometheus-compatible text exposition (version 0.0.4) covering every metric group: core, cache, rescan, errors, Yggdrasil, and internal runtime signals. Built for scrapers such as VictoriaMetrics and Prometheus. Served only when internal metrics are enabled for the current entry (`metrics.web.internal` or `metrics.ygg.internal`); otherwise the endpoint returns 404.
GET /metrics/internal
func (UnimplementedHandler) GetMetricsRescan ¶
func (UnimplementedHandler) GetMetricsRescan(ctx context.Context) (r GetMetricsRescanRes, _ error)
GetMetricsRescan implements getMetricsRescan operation.
JSON snapshot of the rescan integrator: cycle, publish, and unavailability totals, mean cycle duration, and the last completed rescan timestamp. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`); otherwise the endpoint returns 404.
GET /metrics/rescan
func (UnimplementedHandler) GetMetricsYgg ¶ added in v0.4.0
func (UnimplementedHandler) GetMetricsYgg(ctx context.Context) (r GetMetricsYggRes, _ error)
GetMetricsYgg implements getMetricsYgg operation.
JSON snapshot of the embedded Yggdrasil node: peer totals, traffic and latency aggregates, and isolation notifications, read from the prebuilt telemetry snapshot. Served only when public metrics are enabled for the current entry (`metrics.web.public` or `metrics.ygg.public`) and the Yggdrasil node is running (`ygg.pem_key` is set); otherwise the endpoint returns 404. The per-peer list is included only when internal metrics are also enabled for the entry: it exposes direct topology, so the public response stays aggregate-only.
GET /metrics/ygg
func (UnimplementedHandler) GetMirrorLatest ¶
func (UnimplementedHandler) GetMirrorLatest(ctx context.Context, params GetMirrorLatestParams) (r GetMirrorLatestRes, _ error)
GetMirrorLatest implements getMirrorLatest operation.
Returns the latest indexed version for a mirrored key as a newline-terminated plain-text body. Unknown keys or keys without indexed versions return 404.
GET /{key}/latest
func (UnimplementedHandler) GetMirrorList ¶
func (UnimplementedHandler) GetMirrorList(ctx context.Context, params GetMirrorListParams) (r GetMirrorListRes, _ error)
GetMirrorList implements getMirrorList operation.
Returns all indexed versions for a mirrored key as a newest-first plain-text list with one version per line. Unknown keys or keys without indexed versions return 404.
GET /{key}/list
func (UnimplementedHandler) GetMirrorListFull ¶
func (UnimplementedHandler) GetMirrorListFull(ctx context.Context, params GetMirrorListFullParams) (r GetMirrorListFullRes, _ error)
GetMirrorListFull implements getMirrorListFull operation.
Returns all indexed versions for a mirrored key as a newest-first JSON array body. The current handler serves this JSON body as `text/plain`; clients should parse the body content instead of relying on an `application/json` media type.
GET /{key}/list/full
func (UnimplementedHandler) GetOgKey ¶
func (UnimplementedHandler) GetOgKey(ctx context.Context, params GetOgKeyParams) (r GetOgKeyRes, _ error)
GetOgKey implements getOgKey operation.
Open Graph banner for one mirror key: key name, latest version, version count, and last publish date. Unknown or empty keys return 404. Generated on demand and cached. Query parameters are rejected.
GET /og/{key}
func (UnimplementedHandler) GetOgNode ¶
func (UnimplementedHandler) GetOgNode(ctx context.Context, params GetOgNodeParams) (r GetOgNodeRes, _ error)
GetOgNode implements getOgNode operation.
Open Graph banner for the whole node (catalog page): mirror-key and version counts, plus the last publish date. Generated on demand and cached. Query parameters are rejected.
GET /og.png
func (UnimplementedHandler) GetOgVersion ¶
func (UnimplementedHandler) GetOgVersion(ctx context.Context, params GetOgVersionParams) (r GetOgVersionRes, _ error)
GetOgVersion implements getOgVersion operation.
Open Graph banner for one version: version string, mirror key, source size, and detected overlays. Unknown key/version pairs return 404. Generated on demand and cached. Query parameters are rejected.
GET /og/{key}/{version}
func (UnimplementedHandler) GetSitemap ¶
func (UnimplementedHandler) GetSitemap(ctx context.Context, params GetSitemapParams) (r GetSitemapRes, _ error)
GetSitemap implements getSitemap operation.
Sitemap of crawlable HTML pages for the current entry: catalog, mirror-key pages, version pages with path-safe version labels, and the metrics index when public metrics are enabled. Absolute URLs use the entry scheme, host, and nested prefix; the URL count is capped by `web.pages.sitemap_size`. Query parameters are rejected.
GET /sitemap.xml
func (UnimplementedHandler) GetVersionArtifact ¶
func (UnimplementedHandler) GetVersionArtifact(ctx context.Context, params GetVersionArtifactParams) (r GetVersionArtifactRes, _ error)
GetVersionArtifact implements getVersionArtifact operation.
Go module proxy endpoint. The file extension selects the body: `.info` returns the Go proxy info JSON, `.mod` returns the raw or rewritten `go.mod`, and `.zip` streams the Go module zip from the hot cache. Versions are unescaped before lookup. Major-version paths such as `/{key}/v2/@v/v2.1.0.zip` are accepted and mapped to the same operation. The route is available only when content detection has published a Go overlay. If import rewriting is required but `overlay.go.rewrite_enabled` is false, the Go artifact is not published. Composer dist and universal `.tar.gz` archives are served from `/<key>/<version>.{zip,tar.gz}` instead. If the version exists but its zip has not been materialized yet, the `.zip` request returns 503; retry after a short delay.
GET /{key}/@v/{versionFile}
func (UnimplementedHandler) GetVersionFile ¶
func (UnimplementedHandler) GetVersionFile(ctx context.Context, params GetVersionFileParams) (r GetVersionFileRes, _ error)
GetVersionFile implements getVersionFile operation.
Dispatches by file extension. `.json` returns the release detail document, `.zip` returns a deterministic zip artifact, and `.tar.gz` returns a deterministic tar.gz artifact. Archive artifacts are always the raw uploaded source tree (top-dir `<key>-<version>/`) and are host-independent; Go-module import-path rewriting is exposed only on the go-proxy `@v/<version>.zip` endpoint. A bare `<version>` without an extension renders the browser HTML version page. If the version exists but its archive has not been materialized yet, the archive request returns 503; retry after a short delay. Query parameters are rejected.
GET /{key}/{versionFile}
Source Files
¶
- http_defaults_gen.go
- oas_cfg_gen.go
- oas_client_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_labeler_gen.go
- oas_middleware_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go
- openapi_json_gen.go
- openapi_meta_gen.go
- router_gen.go