validation

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateBranchName

func ValidateBranchName(name string) error

ValidateBranchName validates git branch name format

func ValidateEnvironmentID

func ValidateEnvironmentID(id string) error

TODO: validate UUID format using "github.com/google/uuid" package validateEnvironmentID validates that an environment ID has the expected format

func ValidateLogTail

func ValidateLogTail(tail int) error

ValidateLogTail validates tail parameter for logs

func ValidatePagination

func ValidatePagination(page, pageSize int) error

ValidatePagination validates pagination parameters

func ValidateRepoName

func ValidateRepoName(name string) error

ValidateRepoName validates repository name format

func ValidateServiceName

func ValidateServiceName(name string) error

ValidateServiceName validates service name format

Types

This section is empty.

Jump to

Keyboard shortcuts

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