Documentation
¶
Index ¶
- Constants
- func CheckThrottling(httpResp *http.Response, err error) *retry.RetryError
- func FiltersTimesToStringSlice(filterValues []string, filterName string) ([]string, error)
- func GetEnvVariableValue(envVariables []string) string
- func GetErrorResponse(err error) error
- func GetErrorResponseToString(err error) string
- func GetHttpErrorResponse(httpBody io.ReadCloser, err error) error
- func GetRegion() string
- func I32toa(i int32) string
- func InterfaceSliceToStringList(slice []interface{}) *[]string
- func InterfaceSliceToStringSlice(slice []interface{}) []string
- func InterfaceSliceToStringSlicePtr(slice []interface{}) *[]string
- func IsEnvVariableSet(envVariables []string) bool
- func IsResponseEmpty(len int, name, id string) bool
- func LogManuallyDeleted(name, id string)
- func ParseStringToInt32(str string) int32
- func ParsingfilterToDateFormat(filterName, value string) (time.Time, error)
- func PrintToJSON(v interface{}, msg string)
- func RandIntRange(min, max int) int
- func SetToStringSlice(set *schema.Set) []string
- func SetToStringSlicePtr(set *schema.Set) *[]string
- func SliceToTftypesValueSlice(src []string) (basetypes.SetValue, diag.Diagnostics)
- func StringSlicePtrToInterfaceSlice(list *[]string) []interface{}
- func StringSliceToFloat32Slice(src []string) (res []float32)
- func StringSliceToInt32Slice(src []string) (res []int32)
- func StringSliceToInt64Slice(src []string) (res []int64)
- func StringSliceToPtrInt64Slice(src []*string) []*int64
- func StringSliceToTimeSlice(filterValues []string, filterName string) ([]time.Time, error)
- func ToJSONString(v interface{}) string
- func UnknownDataSourceFilterError(ctx context.Context, filterName string) error
Constants ¶
View Source
const (
SuffixConfigFilePath string = "/.osc/config.json"
)
Variables ¶
This section is empty.
Functions ¶
func CheckThrottling ¶
func CheckThrottling(httpResp *http.Response, err error) *retry.RetryError
func GetEnvVariableValue ¶
func GetErrorResponse ¶
func GetHttpErrorResponse ¶ added in v1.4.0
func GetHttpErrorResponse(httpBody io.ReadCloser, err error) error
func InterfaceSliceToStringList ¶
func InterfaceSliceToStringList(slice []interface{}) *[]string
func InterfaceSliceToStringSlice ¶
func InterfaceSliceToStringSlice(slice []interface{}) []string
func InterfaceSliceToStringSlicePtr ¶
func InterfaceSliceToStringSlicePtr(slice []interface{}) *[]string
func IsEnvVariableSet ¶
func IsResponseEmpty ¶
func LogManuallyDeleted ¶
func LogManuallyDeleted(name, id string)
func ParseStringToInt32 ¶
func PrintToJSON ¶
func PrintToJSON(v interface{}, msg string)
func RandIntRange ¶
func SetToStringSlice ¶
func SetToStringSlicePtr ¶
func SliceToTftypesValueSlice ¶
func SliceToTftypesValueSlice(src []string) (basetypes.SetValue, diag.Diagnostics)
func StringSlicePtrToInterfaceSlice ¶
func StringSlicePtrToInterfaceSlice(list *[]string) []interface{}
func StringSliceToFloat32Slice ¶
StringSliceToFloat32Slice converts []string to []float32 ...
func StringSliceToInt32Slice ¶
StringSliceToInt32Slice converts []string to []int32 ...
func StringSliceToInt64Slice ¶
StringSliceToInt64Slice converts []string to []int64 ...
func StringSliceToPtrInt64Slice ¶
StringSliceToPtrInt64Slice ...
func StringSliceToTimeSlice ¶
func ToJSONString ¶
func ToJSONString(v interface{}) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.