utilities

package
v0.0.0-...-60e2333 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BSerivceReadStatus

BServiceReadStatus loads BService resource by its id, gets it current status. Performs restore and enable if needed for Deleted status. In case of failure returns errors.

func BServiceDataSourceCheckPresence

func BServiceDataSourceCheckPresence(ctx context.Context, serviceId uint64, c *client.Client) (*bservice.RecordBasicService, error)

func BServiceGroupDataSourceCheckPresence

func BServiceGroupDataSourceCheckPresence(ctx context.Context, state models.RecordGroupModel, c *client.Client) (*bservice.RecordGroup, error)

func BServiceGroupParents

func BServiceGroupParents(ctx context.Context, newParents basetypes.ListValue, oldParents basetypes.ListValue, plan *models.ResourceRecordGroupModel, c *client.Client) diag.Diagnostics

func BServiceGroupResourceCheckPresence

func BServiceGroupResourceCheckPresence(ctx context.Context, serviceID uint64, compGroupID uint64, c *client.Client) (*bservice.RecordGroup, error)

func BServiceResourceCheckPresence

func BServiceResourceCheckPresence(ctx context.Context, serviceID uint64, c *client.Client) (*bservice.RecordBasicService, error)

BServiceResourceCheckPresence checks if BService with serviceID exists

func BServiceSnapshotListDataSourceCheckPresence

func BServiceSnapshotListDataSourceCheckPresence(ctx context.Context, serviceID uint64, c *client.Client) (*bservice.ListInfoSnapshots, error)

func EnableDisableBService

func EnableDisableBService(ctx context.Context, plan *models.RecordBasicServiceResourceModel, c *client.Client) diag.Diagnostics

EnableDisableBService performs BService Enable/Disable request. Returns error in case of failures.

func SnapshotsBService

func SnapshotsBService(ctx context.Context, oldSnapshots basetypes.ListValue, newSnapshots basetypes.ListValue, serviceID uint64, c *client.Client) diag.Diagnostics

func StartStopBService

StartStopBService performs BService Start/Stop request. Returns error in case of failures.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL