Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorHandler ¶
type ErrorHandler struct {
// contains filtered or unexported fields
}
ErrorHandler handles errors
func (ErrorHandler) HandleError ¶
func (eh ErrorHandler) HandleError(step string, err error)
HandleError handles the given error
func (ErrorHandler) HandleErrorWithOutput ¶ added in v0.1.9
func (eh ErrorHandler) HandleErrorWithOutput(step string, err error, output string)
HandleErrorWithOutput handles the given error and prints output
func (ErrorHandler) PrintError ¶ added in v0.1.7
func (eh ErrorHandler) PrintError(step string, err error)
PrintError prints the error, no exit
func (ErrorHandler) PrintErrorWithOutput ¶ added in v0.1.9
func (eh ErrorHandler) PrintErrorWithOutput(step string, err error, output string)
PrintErrorWithOutput prints the given error and output
type SemanticVersion ¶ added in v0.1.7
SemanticVersion is a struct for semantic version
func NewSemanticVersion ¶ added in v0.1.7
func NewSemanticVersion(version string) (SemanticVersion, error)
NewSemanticVersion creates a new instance of semantic version
func (SemanticVersion) String ¶ added in v0.1.7
func (sv SemanticVersion) String() string
Source Files
¶
- add.go
- add_user.go
- after.go
- after_docker_build.go
- before.go
- before_docker_build.go
- completion.go
- create.go
- create_schema.go
- delete.go
- delete_gitea_user.go
- delete_images.go
- delete_stack.go
- describe.go
- describe_user.go
- drop.go
- drop_schema.go
- list.go
- list_repos.go
- list_user.go
- next.go
- next_tag.go
- remove.go
- remove_user.go
- root.go
- update.go
- update_codeserver.go
- version.go
Click to show internal directories.
Click to hide internal directories.