methods

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

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