@@ -38,7 +38,7 @@ func GetSupportBundleFromURI(bundleURI string) (*troubleshootv1beta2.SupportBund
38
38
}
39
39
40
40
// ParseSupportBundle parses a support bundle from a byte array into a SupportBundle object
41
- // Deprecated: use loader.LoadSpecs instead
41
+ // We will deprecate this in favour of use loader.LoadSpecs once the new API is stable
42
42
func ParseSupportBundle (doc []byte , followURI bool ) (* troubleshootv1beta2.SupportBundle , error ) {
43
43
doc , err := docrewrite .ConvertToV1Beta2 (doc )
44
44
if err != nil {
@@ -102,13 +102,13 @@ func ParseSupportBundle(doc []byte, followURI bool) (*troubleshootv1beta2.Suppor
102
102
}
103
103
104
104
// ParseSupportBundle parses a support bundle from a byte array into a SupportBundle object
105
- // Deprecated: use loader.LoadSpecs instead
105
+ // We will deprecate this in favour of use loader.LoadSpecs once the new API is stable
106
106
func ParseSupportBundleFromDoc (doc []byte ) (* troubleshootv1beta2.SupportBundle , error ) {
107
107
return ParseSupportBundle (doc , true )
108
108
}
109
109
110
110
// GetRedactorFromURI parses a redactor from a URI into a Redactor object
111
- // Deprecated: use loader.LoadSpecs instead
111
+ // We will deprecate this in favour of use loader.LoadSpecs once the new API is stable
112
112
func GetRedactorFromURI (redactorURI string ) (* troubleshootv1beta2.Redactor , error ) {
113
113
redactorContent , err := LoadRedactorSpec (redactorURI )
114
114
if err != nil {
@@ -127,7 +127,7 @@ func GetRedactorFromURI(redactorURI string) (*troubleshootv1beta2.Redactor, erro
127
127
}
128
128
129
129
// GetRedactorsFromURIs parses redactors from a URIs Redactor objects
130
- // Deprecated: use loader.LoadSpecs instead
130
+ // We will deprecate this in favour of use loader.LoadSpecs once the new API is stable
131
131
func GetRedactorsFromURIs (redactorURIs []string ) ([]* troubleshootv1beta2.Redact , error ) {
132
132
redactors := []* troubleshootv1beta2.Redact {}
133
133
for _ , redactor := range redactorURIs {
@@ -263,7 +263,7 @@ func loadSpecFromURL(arg string) ([]byte, error) {
263
263
}
264
264
265
265
// ParseRedactorsFromDocs parses a slice of YAML docs and returns a slice of Redactors
266
- // Deprecated: use loader.LoadSpecs instead
266
+ // We will deprecate this in favour of use loader.LoadSpecs once the new API is stable
267
267
func ParseRedactorsFromDocs (docs []string ) ([]* troubleshootv1beta2.Redact , error ) {
268
268
var redactors []* troubleshootv1beta2.Redact
269
269
0 commit comments