Documentation
¶
Index ¶
- Constants
- func ConstructResourceId(clusterID string, resourceName string) string
- func DeconstructResourceId(resourceID string) (string, string, error)
- func GetTimestamp(timestamp *timestamppb.Timestamp) string
- func IsStatusWithCode(err error, code codes.Code) bool
- func Min(a, b int) int
- func RetryConflictingOperation(ctx context.Context, sdk *ycsdk.SDK, ...) (*sdkoperation.Operation, error)
Constants ¶
View Source
const DefaultPageSize = 1000
View Source
const DefaultTimeout = 1 * time.Minute
Variables ¶
This section is empty.
Functions ¶
func ConstructResourceId ¶ added in v0.108.0
func DeconstructResourceId ¶ added in v0.108.0
func GetTimestamp ¶
func GetTimestamp(timestamp *timestamppb.Timestamp) string
func IsStatusWithCode ¶ added in v0.108.0
isStatusWithCode checks if any nested error matches provided code
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.