cockpit

package
v2.48.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultCockpitTimeout = 5 * time.Minute
)

Variables

This section is empty.

Functions

func DataSourceCockpit

func DataSourceCockpit() *schema.Resource

func DataSourceCockpitPlanRead

func DataSourceCockpitPlanRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func DataSourcePlan

func DataSourcePlan() *schema.Resource

func NewAPIGrafanaUserID

func NewAPIGrafanaUserID(m interface{}, id string) (*cockpit.GlobalAPI, string, uint32, error)

NewAPIGrafanaUserID returns a new cockpit API with the Grafana user ID and the project ID.

func NewAPIWithRegionAndID added in v2.40.0

func NewAPIWithRegionAndID(m interface{}, id string) (*cockpit.RegionalAPI, scw.Region, string, error)

func NewGlobalAPI added in v2.40.0

func NewGlobalAPI(m interface{}) (*cockpit.GlobalAPI, error)

NewGlobalAPI returns a new global cockpit API.

func ResourceCockpit

func ResourceCockpit() *schema.Resource

func ResourceCockpitAlertManager added in v2.41.0

func ResourceCockpitAlertManager() *schema.Resource

func ResourceCockpitAlertManagerCreate added in v2.41.0

func ResourceCockpitAlertManagerCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceCockpitAlertManagerDelete added in v2.41.0

func ResourceCockpitAlertManagerDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceCockpitAlertManagerID added in v2.41.0

func ResourceCockpitAlertManagerID(region scw.Region, projectID string) (resourceID string)

func ResourceCockpitAlertManagerRead added in v2.41.0

func ResourceCockpitAlertManagerRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceCockpitAlertManagerUpdate added in v2.41.0

func ResourceCockpitAlertManagerUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceCockpitCreate

func ResourceCockpitCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceCockpitDelete

func ResourceCockpitDelete(_ context.Context, _ *schema.ResourceData, _ interface{}) diag.Diagnostics

func ResourceCockpitGrafanaUser

func ResourceCockpitGrafanaUser() *schema.Resource

func ResourceCockpitGrafanaUserCreate

func ResourceCockpitGrafanaUserCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceCockpitGrafanaUserDelete

func ResourceCockpitGrafanaUserDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceCockpitGrafanaUserRead

func ResourceCockpitGrafanaUserRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceCockpitRead

func ResourceCockpitRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceCockpitSource added in v2.40.0

func ResourceCockpitSource() *schema.Resource

func ResourceCockpitSourceCreate added in v2.40.0

func ResourceCockpitSourceCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceCockpitSourceDelete added in v2.40.0

func ResourceCockpitSourceDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceCockpitSourceRead added in v2.40.0

func ResourceCockpitSourceRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics

func ResourceCockpitTokenCreate

func ResourceCockpitTokenCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceCockpitTokenDelete

func ResourceCockpitTokenDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceCockpitTokenRead

func ResourceCockpitTokenRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceCockpitUpdate

func ResourceCockpitUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceToken

func ResourceToken() *schema.Resource

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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