license

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateExistingSourceHeader

func UpdateExistingSourceHeader(source string) error

UpdateExistingSourceHeader rewrites the licensing header for all pre-existing source code files. It uses a local file or HTTP URL as the source for the header content.

func UpdateProjectLicense

func UpdateProjectLicense(source string) error

UpdateProjectLicense writes a new project license file using a local file or HTTP URL as the source for license content.

func UpdateSourceHeader

func UpdateSourceHeader(source string) error

UpdateSourceHeader writes the license boilerplate used by Kubebuilder for the licensing header in source code files. It uses a local file or HTTP URL as the source for the header content.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL