cmd

package
v0.6.3-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 89 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagJwtAuthListenAddress = "jwt-auth-listen-address"
	FlagJwtExpiresAfter      = "jwt-expires-after"
)
View Source
const (
	FlagService  = "service"
	FlagProvider = "provider"
	FlagDSeq     = "dseq"
	FlagGSeq     = "gseq"
	FlagOSeq     = "oseq"
)
View Source
const (
	// FlagClusterK8s informs the provider to scan and utilize localized kubernetes client configuration
	FlagClusterK8s = "cluster-k8s"

	// FlagGatewayListenAddress determines listening address for Manifests
	FlagGatewayListenAddress             = "gateway-listen-address"
	FlagGatewayGRPCListenAddress         = "gateway-grpc-listen-address"
	FlagBidPricingStrategy               = "bid-price-strategy"
	FlagBidPriceCPUScale                 = "bid-price-cpu-scale"
	FlagBidPriceMemoryScale              = "bid-price-memory-scale"
	FlagBidPriceStorageScale             = "bid-price-storage-scale"
	FlagBidPriceEndpointScale            = "bid-price-endpoint-scale"
	FlagBidPriceScriptPath               = "bid-price-script-path"
	FlagBidPriceScriptProcessLimit       = "bid-price-script-process-limit"
	FlagBidPriceScriptTimeout            = "bid-price-script-process-timeout"
	FlagBidDeposit                       = "bid-deposit"
	FlagClusterPublicHostname            = "cluster-public-hostname"
	FlagClusterNodePortQuantity          = "cluster-node-port-quantity"
	FlagClusterWaitReadyDuration         = "cluster-wait-ready-duration"
	FlagInventoryResourcePollPeriod      = "inventory-resource-poll-period"
	FlagInventoryResourceDebugFrequency  = "inventory-resource-debug-frequency"
	FlagDeploymentIngressStaticHosts     = "deployment-ingress-static-hosts"
	FlagDeploymentIngressDomain          = "deployment-ingress-domain"
	FlagDeploymentIngressExposeLBHosts   = "deployment-ingress-expose-lb-hosts"
	FlagDeploymentNetworkPoliciesEnabled = "deployment-network-policies-enabled"
	FlagDockerImagePullSecretsName       = "docker-image-pull-secrets-name" // nolint: gosec
	FlagOvercommitPercentMemory          = "overcommit-pct-mem"
	FlagOvercommitPercentCPU             = "overcommit-pct-cpu"
	FlagOvercommitPercentStorage         = "overcommit-pct-storage"
	FlagDeploymentBlockedHostnames       = "deployment-blocked-hostnames"
	FlagAuthPem                          = "auth-pem"
	FlagDeploymentRuntimeClass           = "deployment-runtime-class"
	FlagBidTimeout                       = "bid-timeout"
	FlagManifestTimeout                  = "manifest-timeout"
	FlagMetricsListener                  = "metrics-listener"
	FlagWithdrawalPeriod                 = "withdrawal-period"
	FlagLeaseFundsMonitorInterval        = "lease-funds-monitor-interval"
	FlagMinimumBalance                   = "minimum-balance"
	FlagProviderConfig                   = "provider-config"
	FlagCachedResultMaxAge               = "cached-result-max-age"
	FlagRPCQueryTimeout                  = "rpc-query-timeout"
	FlagBidPriceIPScale                  = "bid-price-ip-scale"
	FlagEnableIPOperator                 = "ip-operator"
	FlagTxBroadcastTimeout               = "tx-broadcast-timeout"
)
View Source
const (
	FlagResourceServerListenAddress = "resource-server-listen-address"
	FlagLokiGatewayListenAddress    = "loki-gateway-listen-address"
)
View Source
const (
	FlagStdin        = "stdin"
	FlagTty          = "tty"
	FlagReplicaIndex = "replica-index"
)

Variables

View Source
var (
	ErrEcdsaPubkeyExpected = errors.New("expected a ecdsa public key")
)

Functions

func AuthServerCmd

func AuthServerCmd() *cobra.Command

func LeaseShellCmd

func LeaseShellCmd() *cobra.Command

func MigrateEndpointsCmd

func MigrateEndpointsCmd() *cobra.Command

func MigrateHostnamesCmd

func MigrateHostnamesCmd() *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

func ProviderLeaseStatusExec

func ProviderLeaseStatusExec(clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)

func ProviderServiceLogs

func ProviderServiceLogs(clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)

func ProviderServiceStatusExec

func ProviderServiceStatusExec(clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)

func ProviderStatusExec

func ProviderStatusExec(clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)

func RunCmd

func RunCmd() *cobra.Command

RunCmd launches the Akash Provider service

func RunResourceServerCmd

func RunResourceServerCmd() *cobra.Command

func SDL2ManifestCmd

func SDL2ManifestCmd() *cobra.Command

SDL2ManifestCmd dump manifest into stdout

func SendManifestCmd

func SendManifestCmd() *cobra.Command

SendManifestCmd looks up the Providers blockchain information, and POSTs the SDL file to the Gateway address.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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