cockpit

package
v2.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 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 NewAPI

func NewAPI(m interface{}) (*cockpitv1beta1.API, error)

NewAPI returns a new cockpit API.

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 ResourceCockpitCreate

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

func ResourceCockpitDelete

func ResourceCockpitDelete(ctx context.Context, d *schema.ResourceData, m 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