@@ -17,14 +17,6 @@ const (
1717 keysHeader = "KEYS"
1818)
1919
20- // SignedTagInfo represents all formatted information needed to describe a signed tag:
21- // Name: name of the signed tag
22- // Digest: hex encoded digest of the contents
23- // Signers: list of entities who signed the tag
24- //
25- // Deprecated: this type was only used internally and will be removed in the next release.
26- type SignedTagInfo = signedTagInfo
27-
2820// signedTagInfo represents all formatted information needed to describe a signed tag:
2921// Name: name of the signed tag
3022// Digest: hex encoded digest of the contents
@@ -35,13 +27,6 @@ type signedTagInfo struct {
3527 Signers []string
3628}
3729
38- // SignerInfo represents all formatted information needed to describe a signer:
39- // Name: name of the signer role
40- // Keys: the keys associated with the signer
41- //
42- // Deprecated: this type was only used internally and will be removed in the next release.
43- type SignerInfo = signerInfo
44-
4530// signerInfo represents all formatted information needed to describe a signer:
4631// Name: name of the signer role
4732// Keys: the keys associated with the signer
@@ -50,27 +35,6 @@ type signerInfo struct {
5035 Keys []string
5136}
5237
53- // NewTrustTagFormat returns a Format for rendering using a trusted tag Context
54- //
55- // Deprecated: this function was only used internally and will be removed in the next release.
56- func NewTrustTagFormat () formatter.Format {
57- return defaultTrustTagTableFormat
58- }
59-
60- // NewSignerInfoFormat returns a Format for rendering a signer role info Context
61- //
62- // Deprecated: this function was only used internally and will be removed in the next release.
63- func NewSignerInfoFormat () formatter.Format {
64- return defaultSignerInfoTableFormat
65- }
66-
67- // TagWrite writes the context
68- //
69- // Deprecated: this function was only used internally and will be removed in the next release.
70- func TagWrite (fmtCtx formatter.Context , signedTagInfoList []signedTagInfo ) error {
71- return tagWrite (fmtCtx , signedTagInfoList )
72- }
73-
7438// tagWrite writes the context
7539func tagWrite (fmtCtx formatter.Context , signedTagInfoList []signedTagInfo ) error {
7640 render := func (format func (subContext formatter.SubContext ) error ) error {
@@ -111,13 +75,6 @@ func (c *trustTagContext) Signers() string {
11175 return strings .Join (c .s .Signers , ", " )
11276}
11377
114- // SignerInfoWrite writes the context
115- //
116- // Deprecated: this function was only used internally and will be removed in the next release.
117- func SignerInfoWrite (fmtCtx formatter.Context , signerInfoList []signerInfo ) error {
118- return signerInfoWrite (fmtCtx , signerInfoList )
119- }
120-
12178// signerInfoWrite writes the context.
12279func signerInfoWrite (fmtCtx formatter.Context , signerInfoList []signerInfo ) error {
12380 render := func (format func (subContext formatter.SubContext ) error ) error {
0 commit comments