cockpit

package
v2.39.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MPL-2.0 Imports: 18 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{}) (*cockpit.API, error)

NewAPI returns a new cockpit API.

func NewAPIGrafanaUserID

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

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

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 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