Documentation
¶
Index ¶
- Constants
- Variables
- func AddProviderOperationFlagsToCmd(cmd *cobra.Command)
- func ExecProviderLeaseStatus(ctx context.Context, clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func ExecProviderService(ctx context.Context, clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func ExecProviderServiceStatus(ctx context.Context, clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func ExecProviderStatus(ctx context.Context, clientCtx client.Context, extraArgs ...string) (sdktest.BufferWriter, error)
- func GetManifestCmd() *cobra.Command
- func LeaseShellCmd() *cobra.Command
- func ManifestCmds() []*cobra.Command
- func MigrateEndpointsCmd() *cobra.Command
- func MigrateHostnamesCmd() *cobra.Command
- func MigrateRunCmd() *cobra.Command
- func NewRootCmd() *cobra.Command
- func ProviderPersistentPreRunE(cmd *cobra.Command, _ []string) error
- func RunCmd() *cobra.Command
- func SDL2ManifestCmd() *cobra.Command
- func SendManifestCmd() *cobra.Command
- func TxPersistentPreRunE(cmd *cobra.Command, _ []string) error
- type AccountQuerierOption
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 ExecProviderLeaseStatus ¶ added in v0.10.0
func ExecProviderService ¶ added in v0.10.0
func ExecProviderServiceStatus ¶ added in v0.10.0
func ExecProviderStatus ¶ added in v0.10.0
func GetManifestCmd ¶ added in v0.6.5
GetManifestCmd reads the current manifest from the provider
func LeaseShellCmd ¶
func ManifestCmds ¶ added in v0.6.5
func MigrateEndpointsCmd ¶
func MigrateHostnamesCmd ¶
func MigrateRunCmd ¶ added in v0.10.6
func NewRootCmd ¶
func ProviderPersistentPreRunE ¶ added in v0.10.0
func SDL2ManifestCmd ¶
SDL2ManifestCmd dump manifest into stdout
func SendManifestCmd ¶
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.