Documentation ¶
Index ¶
- Constants
- func GetBasicTNSKey(branch, commit, projectId, appId, resourceId string, ...) (*common.TnsPath, error)
- func GetEmptyTNSKey(branch, commit, projectId, appId string, resourceType common.PathVariable) (*common.TnsPath, error)
- func GetTNSAssetPath(projectId, resourceId, branch string) (*common.TnsPath, error)
- func HttpPath(fqdn string, resourceType common.PathVariable) (*common.TnsPath, error)
- func IndexValue(branch, projectId, appId, resourceId string, resourceType common.PathVariable) (*common.TnsPath, error)
- func ProjectPrefix(projectId, branch, commit string) *common.TnsPath
- func ServicePath(projectId, appId, serviceId, command string) (*common.TnsPath, error)
- func WasmModulePath(projectId, appId, name string, resourceType common.PathVariable) (*common.TnsPath, error)
- func WasmModulePathFromModule(projectId, appId, moduleType string, name string) (*common.TnsPath, error)
- type RepositoryPath
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 GetEmptyTNSKey ¶
func GetTNSAssetPath ¶
func IndexValue ¶
func ProjectPrefix ¶
func ServicePath ¶
func WasmModulePath ¶
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
Click to show internal directories.
Click to hide internal directories.