package
0.0.0-20240523012138-b9cffea42484
Repository: https://github.com/api7/cloud-cli.git
Documentation: pkg.go.dev
# Structs
Cluster is the specification of cluster.
ClusterStartupConfigResponsePayload contains APISIX startup config.
ClusterSummary is cluster with region and org summary.
GetOrganizationClusterResponsePayload contains list clusters request.
Organization is the specification of organization.
ResponseWrapper wraps the response with its original payload, and sets the Status field to codes.OK if everything is OK, but when the response is invalid, ErrorReason could be filled to show the error details and in such a case, Status is not codes.OK but a specific error code to show the kind.
Status represents an error type, it contains the error code and its description.
TLSBundle contains a pair of certificate, private key, and the issuing certificate.
TypeMeta contains some common and basic items, like id, name.
# Type aliases
K8sResourceKind is the resource kind of kubernetes.