Documentation ¶
Index ¶
- func MustNewClientWithKeyAuth(ctx context.Context, cfg ...clients.KeyFlowConfig) *services.Services
- func MustNewClientWithTokenAuth(ctx context.Context, cfg ...clients.TokenFlowConfig) *services.Services
- func NewClientWithKeyAuth(ctx context.Context, cfg ...clients.KeyFlowConfig) (*services.Services, error)
- func NewClientWithTokenAuth(ctx context.Context, cfg ...clients.TokenFlowConfig) (*services.Services, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustNewClientWithKeyAuth ¶ added in v1.19.0
MustNewClientWithKeyAuth panics if client initialization failed
func MustNewClientWithTokenAuth ¶ added in v1.19.0
func MustNewClientWithTokenAuth(ctx context.Context, cfg ...clients.TokenFlowConfig) *services.Services
MustNewClientWithTokenAuth panics if client initialization failed
func NewClientWithKeyAuth ¶ added in v1.19.0
func NewClientWithKeyAuth(ctx context.Context, cfg ...clients.KeyFlowConfig) (*services.Services, error)
NewClientWithKeyAuth creates a new client that authenticates itself with STACKIT APIs using a service account key and a private RSA key this is the recommended way of authenticating to STACKIT API
func NewClientWithTokenAuth ¶ added in v1.19.0
func NewClientWithTokenAuth(ctx context.Context, cfg ...clients.TokenFlowConfig) (*services.Services, error)
NewClientWithTokenAuth creates a new client that authenticates itself with STACKIT APIs using a service account token important: this approach is less secure, as the token has a long lifespan
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
examples
|
|
internal
|
|
pkg
|
|
contracts
client file in package common holds the client interface and service struct used by each service that the client is connecting with services using the Service struct are located under pkg/api
|
client file in package common holds the client interface and service struct used by each service that the client is connecting with services using the Service struct are located under pkg/api |
services/argus/v1.0
Package argus provides primitives to interact with the openapi HTTP API.
|
Package argus provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/acl
Package acl provides primitives to interact with the openapi HTTP API.
|
Package acl provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/alert-config
Package alertconfig provides primitives to interact with the openapi HTTP API.
|
Package alertconfig provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/alert-groups
Package alertgroups provides primitives to interact with the openapi HTTP API.
|
Package alertgroups provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/alert-records
Package alertrecords provides primitives to interact with the openapi HTTP API.
|
Package alertrecords provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/alert-rules
Package alertrules provides primitives to interact with the openapi HTTP API.
|
Package alertrules provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/backup
Package backup provides primitives to interact with the openapi HTTP API.
|
Package backup provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/cert-check
Package certcheck provides primitives to interact with the openapi HTTP API.
|
Package certcheck provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/grafana-configs
Package grafanaconfigs provides primitives to interact with the openapi HTTP API.
|
Package grafanaconfigs provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/http-check
Package httpcheck provides primitives to interact with the openapi HTTP API.
|
Package httpcheck provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/instances
Package instances provides primitives to interact with the openapi HTTP API.
|
Package instances provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/logs
Package logs provides primitives to interact with the openapi HTTP API.
|
Package logs provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/metrics-storage-retention
Package metricsstorageretention provides primitives to interact with the openapi HTTP API.
|
Package metricsstorageretention provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/network-check
Package networkcheck provides primitives to interact with the openapi HTTP API.
|
Package networkcheck provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/ping-check
Package pingcheck provides primitives to interact with the openapi HTTP API.
|
Package pingcheck provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/plans
Package plans provides primitives to interact with the openapi HTTP API.
|
Package plans provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/scrape-config
Package scrapeconfig provides primitives to interact with the openapi HTTP API.
|
Package scrapeconfig provides primitives to interact with the openapi HTTP API. |
services/argus/v1.0/traces
Package traces provides primitives to interact with the openapi HTTP API.
|
Package traces provides primitives to interact with the openapi HTTP API. |
services/costs/v1.0
Package costs provides primitives to interact with the openapi HTTP API.
|
Package costs provides primitives to interact with the openapi HTTP API. |
services/costs/v2.0
Package costs provides primitives to interact with the openapi HTTP API.
|
Package costs provides primitives to interact with the openapi HTTP API. |
services/data-services/v1.0
Package dataservices provides primitives to interact with the openapi HTTP API.
|
Package dataservices provides primitives to interact with the openapi HTTP API. |
services/data-services/v1.0/credentials
Package credentials provides primitives to interact with the openapi HTTP API.
|
Package credentials provides primitives to interact with the openapi HTTP API. |
services/data-services/v1.0/instances
Package instances provides primitives to interact with the openapi HTTP API.
|
Package instances provides primitives to interact with the openapi HTTP API. |
services/data-services/v1.0/offerings
Package offerings provides primitives to interact with the openapi HTTP API.
|
Package offerings provides primitives to interact with the openapi HTTP API. |
services/kubernetes/v1.0
Package kubernetes provides primitives to interact with the openapi HTTP API.
|
Package kubernetes provides primitives to interact with the openapi HTTP API. |
services/kubernetes/v1.0/cluster
Package cluster provides primitives to interact with the openapi HTTP API.
|
Package cluster provides primitives to interact with the openapi HTTP API. |
services/kubernetes/v1.0/credentials
Package credentials provides primitives to interact with the openapi HTTP API.
|
Package credentials provides primitives to interact with the openapi HTTP API. |
services/kubernetes/v1.0/operation
Package operation provides primitives to interact with the openapi HTTP API.
|
Package operation provides primitives to interact with the openapi HTTP API. |
services/kubernetes/v1.0/project
Package project provides primitives to interact with the openapi HTTP API.
|
Package project provides primitives to interact with the openapi HTTP API. |
services/kubernetes/v1.0/provider-options
Package provideroptions provides primitives to interact with the openapi HTTP API.
|
Package provideroptions provides primitives to interact with the openapi HTTP API. |
services/membership/v2.0
Package membership provides primitives to interact with the openapi HTTP API.
|
Package membership provides primitives to interact with the openapi HTTP API. |
services/mongodb-flex/v1.0
Package mongodbflex provides primitives to interact with the openapi HTTP API.
|
Package mongodbflex provides primitives to interact with the openapi HTTP API. |
services/mongodb-flex/v1.0/backup
Package backup provides primitives to interact with the openapi HTTP API.
|
Package backup provides primitives to interact with the openapi HTTP API. |
services/mongodb-flex/v1.0/flavors
Package flavors provides primitives to interact with the openapi HTTP API.
|
Package flavors provides primitives to interact with the openapi HTTP API. |
services/mongodb-flex/v1.0/instance
Package instance provides primitives to interact with the openapi HTTP API.
|
Package instance provides primitives to interact with the openapi HTTP API. |
services/mongodb-flex/v1.0/user
Package user provides primitives to interact with the openapi HTTP API.
|
Package user provides primitives to interact with the openapi HTTP API. |
services/mongodb-flex/v1.0/versions
Package versions provides primitives to interact with the openapi HTTP API.
|
Package versions provides primitives to interact with the openapi HTTP API. |
services/object-storage/v1.0.1
Package objectstorage provides primitives to interact with the openapi HTTP API.
|
Package objectstorage provides primitives to interact with the openapi HTTP API. |
services/object-storage/v1.0.1/access-key
Package accesskey provides primitives to interact with the openapi HTTP API.
|
Package accesskey provides primitives to interact with the openapi HTTP API. |
services/object-storage/v1.0.1/bucket
Package bucket provides primitives to interact with the openapi HTTP API.
|
Package bucket provides primitives to interact with the openapi HTTP API. |
services/object-storage/v1.0.1/credentials-group
Package credentialsgroup provides primitives to interact with the openapi HTTP API.
|
Package credentialsgroup provides primitives to interact with the openapi HTTP API. |
services/object-storage/v1.0.1/project
Package project provides primitives to interact with the openapi HTTP API.
|
Package project provides primitives to interact with the openapi HTTP API. |
services/postgres-flex/v1.0
Package postgresflex provides primitives to interact with the openapi HTTP API.
|
Package postgresflex provides primitives to interact with the openapi HTTP API. |
services/postgres-flex/v1.0/backups
Package backups provides primitives to interact with the openapi HTTP API.
|
Package backups provides primitives to interact with the openapi HTTP API. |
services/postgres-flex/v1.0/flavors
Package flavors provides primitives to interact with the openapi HTTP API.
|
Package flavors provides primitives to interact with the openapi HTTP API. |
services/postgres-flex/v1.0/instance
Package instance provides primitives to interact with the openapi HTTP API.
|
Package instance provides primitives to interact with the openapi HTTP API. |
services/postgres-flex/v1.0/storage
Package storage provides primitives to interact with the openapi HTTP API.
|
Package storage provides primitives to interact with the openapi HTTP API. |
services/postgres-flex/v1.0/users
Package users provides primitives to interact with the openapi HTTP API.
|
Package users provides primitives to interact with the openapi HTTP API. |
services/postgres-flex/v1.0/versions
Package versions provides primitives to interact with the openapi HTTP API.
|
Package versions provides primitives to interact with the openapi HTTP API. |
services/resource-management/v2.0
Package resourcemanagement provides primitives to interact with the openapi HTTP API.
|
Package resourcemanagement provides primitives to interact with the openapi HTTP API. |
services/service-accounts/v2.0
Package serviceaccounts provides primitives to interact with the openapi HTTP API.
|
Package serviceaccounts provides primitives to interact with the openapi HTTP API. |
Click to show internal directories.
Click to hide internal directories.