cmd

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 102 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagService  = "service"
	FlagProvider = "provider"
	FlagDSeq     = "dseq"
	FlagGSeq     = "gseq"
	FlagOSeq     = "oseq"
)
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"
	FlagCertIssuerDNSProviders           = "cert-issuer-dns-providers"
	FlagCertIssuerDNSResolvers           = "cert-issuer-dns-resolvers"
	FlagCertIssuerEmail                  = "cert-issuer-email"
)
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 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 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 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

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