cmd

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: Apache-2.0 Imports: 100 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagClusterK8s informs the provider to scan and use 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"
	FlagMonitorMaxRetries                = "monitor-max-retries"
	FlagMonitorRetryPeriod               = "monitor-retry-period"
	FlagMonitorRetryPeriodJitter         = "monitor-retry-period-jitter"
	FlagMonitorHealthcheckPeriod         = "monitor-healthcheck-period"
	FlagMonitorHealthcheckPeriodJitter   = "monitor-healthcheck-period-jitter"
	FlagPersistentConfigBackend          = "persistent-config-backend"
	FlagPersistentConfigPath             = "persistent-config-path"
	FlagGatewayTLSCert                   = "gateway-tls-cert"
	FlagGatewayTLSKey                    = "gateway-tls-key"
	FlagCertIssuerEnabled                = "cert-issuer-enabled"
	FlagCertIssuerKID                    = "cert-issuer-kid"
	FlagCertIssuerHMAC                   = "cert-issuer-hmac"
	FlagCertIssuerStorageDir             = "cert-issuer-storage-dir"
	FlagCertIssuerCADirURL               = "cert-issuer-ca-dir-url"
	FlagCertIssuerHTTPChallengePort      = "cert-issuer-http-challenge-port"
	FlagCertIssuerTLSChallengePort       = "cert-issuer-tls-challenge-port"
	FlagCertIssuerDNSProviders           = "cert-issuer-dns-providers"
	FlagCertIssuerDNSResolvers           = "cert-issuer-dns-resolvers"
	FlagCertIssuerEmail                  = "cert-issuer-email"
	FlagMigrationsEnabled                = "migrations-enabled"
	FlagMigrationsStatePath              = "migrations-state-path"
)
View Source
const (
	FlagResourceServerListenAddress = "resource-server-listen-address"
	FlagLokiGatewayListenAddress    = "loki-gateway-listen-address"
)
View Source
const (
	FlagStdin        = "stdin"
	FlagTty          = "tty"
	FlagReplicaIndex = "replica-index"
)
View Source
const (
	FlagService = "service"
)

Variables

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

Functions

func AddProviderOperationFlagsToCmd added in v0.10.0

func AddProviderOperationFlagsToCmd(cmd *cobra.Command)

func ExecProviderLeaseStatus added in v0.10.0

func ExecProviderLeaseStatus(ctx context.Context, clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)

func ExecProviderService added in v0.10.0

func ExecProviderService(ctx context.Context, clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)

func ExecProviderServiceStatus added in v0.10.0

func ExecProviderServiceStatus(ctx context.Context, clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)

func ExecProviderStatus added in v0.10.0

func ExecProviderStatus(ctx context.Context, clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)

func GetManifestCmd added in v0.6.5

func GetManifestCmd() *cobra.Command

GetManifestCmd reads the current manifest from the provider

func LeaseShellCmd

func LeaseShellCmd() *cobra.Command

func ManifestCmds added in v0.6.5

func ManifestCmds() []*cobra.Command

func MigrateEndpointsCmd

func MigrateEndpointsCmd() *cobra.Command

func MigrateHostnamesCmd

func MigrateHostnamesCmd() *cobra.Command

func MigrateRunCmd added in v0.10.6

func MigrateRunCmd() *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

func ProviderPersistentPreRunE added in v0.10.0

func ProviderPersistentPreRunE(cmd *cobra.Command, _ []string) error

func RunCmd

func RunCmd() *cobra.Command

RunCmd launches the Akash Provider service

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.

func TxPersistentPreRunE added in v0.10.4

func TxPersistentPreRunE(cmd *cobra.Command, _ []string) error

Types

type AccountQuerierOption added in v0.7.0

type AccountQuerierOption func(*accountQuerierOptions) error

func WithMTLSPem added in v0.7.0

func WithMTLSPem(val string) AccountQuerierOption

func WithTLSCert added in v0.7.0

func WithTLSCert(cert, key string) AccountQuerierOption

func WithTLSDomainWatch added in v0.7.0

func WithTLSDomainWatch(domain string) AccountQuerierOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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