Fix release testdata update script (#7953) #24620
Annotations
10 errors and 10 warnings
lint:
pkg/templater/yaml.go#L12
exported: exported function AppendYamlResources should have comment or be unexported (revive)
|
lint:
pkg/templater/yaml.go#L29
exported: exported function ObjectsToYaml should have comment or be unexported (revive)
|
lint:
pkg/templater/partialyaml.go#L10
exported: exported type PartialYaml should have comment or be unexported (revive)
|
lint:
pkg/templater/partialyaml.go#L12
exported: exported method PartialYaml.AddIfNotZero should have comment or be unexported (revive)
|
lint:
pkg/templater/partialyaml.go#L22
exported: exported method PartialYaml.ToYaml should have comment or be unexported (revive)
|
lint:
pkg/templater/templater.go#L15
exported: exported type Templater should have comment or be unexported (revive)
|
lint:
pkg/templater/templater.go#L19
exported: exported function New should have comment or be unexported (revive)
|
lint:
pkg/templater/templater.go#L25
exported: exported method Templater.WriteToFile should have comment or be unexported (revive)
|
lint:
pkg/templater/templater.go#L38
exported: exported method Templater.WriteBytesToFile should have comment or be unexported (revive)
|
lint:
pkg/templater/templater.go#L47
exported: exported function Execute should have comment or be unexported (revive)
|
lint:
pkg/clients/kubernetes/kubeconfig.go#L14
exported: exported function NewKubeconfigClient should have comment or be unexported (revive)
|
lint:
pkg/git/providers/github/github.go#L52
unexported-return: exported func New returns unexported type *github.githubProvider, which can be annoying to use (revive)
|
lint:
pkg/git/providers/github/github.go#L22
var-naming: const githubUrlTemplate should be githubURLTemplate (revive)
|
lint:
pkg/git/providers/github/github.go#L165
var-naming: func RepoUrl should be RepoURL (revive)
|
lint:
pkg/git/providers/github/github.go#L19
exported: exported const GitProviderName should have comment (or a comment on this block) or be unexported (revive)
|
lint:
pkg/git/providers/github/github.go#L33
exported: exported type Options should have comment or be unexported (revive)
|
lint:
pkg/git/providers/github/github.go#L40
exported: type name will be used as github.GithubClient by other packages, and that stutters; consider calling this Client (revive)
|
lint:
pkg/git/providers/github/github.go#L133
exported: exported function GetGithubAccessTokenFromEnv should have comment or be unexported (revive)
|
lint:
pkg/git/providers/github/github.go#L157
exported: exported type GitProviderNotFoundError should have comment or be unexported (revive)
|
lint:
pkg/providers/tinkerbell/hardware/catalogue_hardware.go#L30
exported: exported method ErrDiskNotFound.Is should have comment or be unexported (revive)
|