Documentation
¶
Index ¶
- func AppendNameValueStringPair(stringPairs *[]citrixorchestration.NameValueStringPairModel, name string, ...)
- func Contains[T comparable](s []T, e T) bool
- func ConvertBaseStringArrayToPrimitiveStringArray(v []types.String) []string
- func ConvertPrimitiveStringArrayToBaseStringArray(v []string) []types.String
- func ConvertToString(model any) (string, error)
- func GetAllResourcePathList(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, ...) []string
- func GetFilteredResourcePathList(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, ...) ([]string, error)
- func GetSingleResourcePath(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, ...) (string, error)
- func GetSingleResourcePathFromHypervisor(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, ...) (string, error)
- func GetValidatorFromEnum[V ~string, T []V](enum T) validator.String
- func IsValidUUID(u string) bool
- func IsValidUUIDorNull(u basetypes.StringValue) bool
- func ParseNameValueStringPairToClientModel(stringPairs []NameValueStringPairModel) *[]citrixorchestration.NameValueStringPairModel
- func ParseNameValueStringPairToPluginModel(stringPairs []citrixorchestration.NameValueStringPairModel) *[]NameValueStringPairModel
- func ReadClientError(err error) string
- func ReadResource[ResponseType any](request any, ctx context.Context, client *citrixdaasclient.CitrixDaasClient, ...) (ResponseType, *http.Response, error)
- func StringToTypeBool(from string) types.Bool
- func TypeBoolToString(from types.Bool) string
- type NameValueStringPairModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendNameValueStringPair ¶
func AppendNameValueStringPair(stringPairs *[]citrixorchestration.NameValueStringPairModel, name string, appendValue string)
func Contains ¶
func Contains[T comparable](s []T, e T) bool
func ConvertToString ¶ added in v0.3.4
func GetAllResourcePathList ¶
func GetAllResourcePathList(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, hypervisorId, folderPath, resourceType string) []string
func GetFilteredResourcePathList ¶
func GetFilteredResourcePathList(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, hypervisorId, folderPath, resourceType string, filter []string, connectionType citrixorchestration.HypervisorConnectionType) ([]string, error)
func GetSingleResourcePath ¶
func GetSingleResourcePath(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, hypervisorId, folderPath, resourceName, resourceType, resourceGroupName string) (string, error)
func GetSingleResourcePathFromHypervisor ¶
func GetSingleResourcePathFromHypervisor(ctx context.Context, client *citrixdaasclient.CitrixDaasClient, hypervisorName, hypervisorPoolName, folderPath, resourceName, resourceType, resourceGroupName string) (string, error)
func GetValidatorFromEnum ¶
func IsValidUUID ¶
func IsValidUUIDorNull ¶
func IsValidUUIDorNull(u basetypes.StringValue) bool
func ParseNameValueStringPairToClientModel ¶
func ParseNameValueStringPairToClientModel(stringPairs []NameValueStringPairModel) *[]citrixorchestration.NameValueStringPairModel
func ParseNameValueStringPairToPluginModel ¶
func ParseNameValueStringPairToPluginModel(stringPairs []citrixorchestration.NameValueStringPairModel) *[]NameValueStringPairModel
func ReadClientError ¶
func ReadResource ¶ added in v0.3.3
func ReadResource[ResponseType any](request any, ctx context.Context, client *citrixdaasclient.CitrixDaasClient, resp *resource.ReadResponse, resourceType, resourceIdOrName string) (ResponseType, *http.Response, error)
func StringToTypeBool ¶
func TypeBoolToString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.