Documentation ¶
Index ¶
- Constants
- func DataSourceCockpit() *schema.Resource
- func DataSourceCockpitPlanRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func DataSourcePlan() *schema.Resource
- func NewAPI(m interface{}) (*cockpit.API, error)
- func NewAPIGrafanaUserID(m interface{}, id string) (*cockpit.API, string, uint32, error)
- func ResourceCockpit() *schema.Resource
- func ResourceCockpitCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceCockpitDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceCockpitGrafanaUser() *schema.Resource
- func ResourceCockpitGrafanaUserCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceCockpitGrafanaUserDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceCockpitGrafanaUserRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceCockpitRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceCockpitTokenCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceCockpitTokenDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceCockpitTokenRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceCockpitUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
- func ResourceToken() *schema.Resource
Constants ¶
View Source
const (
DefaultCockpitTimeout = 5 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
func DataSourceCockpit ¶
func DataSourceCockpitPlanRead ¶
func DataSourceCockpitPlanRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics
func DataSourcePlan ¶
func NewAPIGrafanaUserID ¶
NewAPIGrafanaUserID returns a new cockpit API with the Grafana user ID and the project ID.
func ResourceCockpit ¶
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 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 ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.