Documentation ¶
Index ¶
Constants ¶
View Source
const ( PythonTestNetwork = "Test" RemoteNetwork = "Remote" DreamlandNetwork = "Dreamland" )
TODO: Add dreamland connection TODO: Move to specs
View Source
const ( FunctionTypeHttp = "http" FunctionTypeHttps = "https" FunctionTypeP2P = "p2p" FunctionTypePubSub = "pubsub" DefaultGeneratedDomainName = "generated" DefaultNewProjectBranch = "main" SourceLibraryPrefix = "library" ConfigRepoPrefix = "tb_%s" CodeRepoPrefix = "tb_code_%s" WebsiteRepoPrefix = "tb_website_%s" LibraryRepoPrefix = "tb_library_%s" ConfigRepoDir = "config" CodeRepoDir = "code" WebsiteRepoDir = "websites" LibraryRepoDir = "libraries" SelectionInline = Source("inline") SelectionDot = Source(".") // 0755 owner can read/write/execute, group/others can read/execute. DefaultDirPermission = 0755 // 0644 owner can read/write, group/others can read only DefaultFilePermission = 0644 )
View Source
const Version = "Taubyte CLI version 0.1"
TODO Grab git release version
Variables ¶
View Source
var ( DefaultAuthUrl = "https://auth.tau.sandbox.taubyte.com" DefaultPatrickUrl = "https://patrick.tau.sandbox.taubyte.com" DefaultSeerUrl = "https://seer.tau.sandbox.taubyte.com" )
View Source
var ( FunctionTypes = []string{FunctionTypeHttp, FunctionTypeHttps, FunctionTypeP2P, FunctionTypePubSub} HTTPMethodTypes = []string{"GET", "POST", "PUT", "DELETE", "CONNECT", "HEAD", "OPTIONS", "TRACE", "PATH"} SizeUnitTypes = []string{"KB", "MB", "GB", "TB", "PB"} BucketTypes = []string{"Object", "Streaming"} )
Functions ¶
func GetLanguages ¶
func GetLanguages() (languages []string)
Types ¶
Click to show internal directories.
Click to hide internal directories.