methods

package
v1.2.0-pre Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: BSD-3-Clause Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ResourcePathVariable   common.PathVariable = "resources"
	TypePathVariable       common.PathVariable = "type"
	RepositoryPathVariable common.PathVariable = "repositories"
)

Variables

This section is empty.

Functions

func GetBasicTNSKey

func GetBasicTNSKey(branch, commit, projectId, appId, resourceId string, resourceType common.PathVariable) (*common.TnsPath, error)

func GetEmptyTNSKey

func GetEmptyTNSKey(branch, commit, projectId, appId string, resourceType common.PathVariable) (*common.TnsPath, error)

func GetTNSAssetPath

func GetTNSAssetPath(projectId, resourceId, branch string) (*common.TnsPath, error)

func HttpPath

func HttpPath(fqdn string, resourceType common.PathVariable) (*common.TnsPath, error)

func IndexValue

func IndexValue(branch, projectId, appId, resourceId string, resourceType common.PathVariable) (*common.TnsPath, error)

func ProjectPrefix

func ProjectPrefix(projectId, branch, commit string) *common.TnsPath

func ServicePath

func ServicePath(projectId, appId, serviceId, command string) (*common.TnsPath, error)

func WasmModulePath

func WasmModulePath(projectId, appId, name string, resourceType common.PathVariable) (*common.TnsPath, error)

func WasmModulePathFromModule

func WasmModulePathFromModule(projectId, appId, moduleType string, name string) (*common.TnsPath, error)

Types

type RepositoryPath

type RepositoryPath struct {
	// contains filtered or unexported fields
}

func GetRepositoryPath

func GetRepositoryPath(gitProvider, repoId, projectId string) (*RepositoryPath, error)

func (*RepositoryPath) AllResources

func (r *RepositoryPath) AllResources() *common.TnsPath

func (*RepositoryPath) Resource

func (r *RepositoryPath) Resource(resourceId string) *common.TnsPath

func (*RepositoryPath) Type

func (r *RepositoryPath) Type() *common.TnsPath

Jump to

Keyboard shortcuts

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