github.com/kotalco/kotal@v0.3.0/clients/ipfs/types.go (about) 1 package ipfs 2 3 const ( 4 // EnvIPFSPath is the environment variable used for kubo path 5 EnvIPFSPath = "IPFS_PATH" 6 // EnvIPFSLogging is the environment variable used for logging verbosity level 7 EnvIPFSLogging = "IPFS_LOGGING" 8 // EnvSecretsPath is the environment variable used for secrets path 9 EnvSecretsPath = "SECRETS_PATH" 10 // EnvIPFSAPIPort is the environment variable used for api port 11 EnvIPFSAPIPort = "IPFS_API_PORT" 12 // EnvIPFSAPIHost is the environment variable used for api host 13 EnvIPFSAPIHost = "IPFS_API_HOST" 14 // EnvIPFSGatewayPort is the environment variable used for local gateway port 15 EnvIPFSGatewayPort = "IPFS_GATEWAY_PORT" 16 // EnvIPFSGatewayHost is the environment variable used for local gateway host 17 EnvIPFSGatewayHost = "IPFS_GATEWAY_HOST" 18 // EnvIPFSInitProfiles is the environment variables used for initial profiles 19 EnvIPFSInitProfiles = "IPFS_INIT_PROFILES" 20 // EnvIPFSProfiles is the environment variables used for configuration profiles after peer intialization 21 EnvIPFSProfiles = "IPFS_PROFILES" 22 23 // EnvIPFSClusterPath is the environment variables used for ipfs-cluster-service path 24 EnvIPFSClusterPath = "IPFS_CLUSTER_PATH" 25 // EnvIPFSClusterConsensus is the environment variables used for ipfs cluster consnsus 26 EnvIPFSClusterConsensus = "IPFS_CLUSTER_CONSENSUS" 27 // EnvIPFSClusterPeerEndpoint is the environment variables used for ipfs cluster peer API endpoint 28 EnvIPFSClusterPeerEndpoint = "CLUSTER_IPFSHTTP_NODEMULTIADDRESS" 29 // EnvIPFSClusterPeerName is the environment variables used for ipfs cluster peer name 30 EnvIPFSClusterPeerName = "CLUSTER_PEERNAME" 31 // EnvIPFSClusterSecret is the environment variables used for ipfs cluster secret 32 EnvIPFSClusterSecret = "CLUSTER_SECRET" 33 // EnvIPFSClusterTrustedPeers is the environment variables used for ipfs cluster trusted peers 34 EnvIPFSClusterTrustedPeers = "CLUSTER_CRDT_TRUSTEDPEERS" 35 // EnvIPFSClusterId is the environment variables used for ipfs cluster id 36 EnvIPFSClusterId = "CLUSTER_ID" 37 // EnvIPFSClusterPrivateKey is the environment variables used for ipfs cluster private key 38 EnvIPFSClusterPrivateKey = "CLUSTER_PRIVATEKEY" 39 ) 40 41 const ( 42 // GoIPFSDaemonArg is the argument used to run go ipfs daemon 43 GoIPFSDaemonArg = "daemon" 44 // GoIPFSRoutingArg is the argument used to set content routing mechanism 45 GoIPFSRoutingArg = "--routing" 46 47 // GoIPFSClusterDaemonArg is the argument used to run go ipfs cluster daemon 48 GoIPFSClusterDaemonArg = "daemon" 49 // GoIPFSClusterBootstrapArg is the argument used for go ipfs cluster bootstrap peers 50 GoIPFSClusterBootstrapArg = "--bootstrap" 51 )