subscriptions

package
v1.72.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	TokenSubscriptions TokenSubscriptions `json:"tokenSubscriptions,omitempty"` // Subscriptions
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

type TokenSubscription

type TokenSubscription struct {
	Description *string `json:"description,omitempty"`
	Enabled     bool    `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`)
	Name        string  `json:"name"`    // Name of subscription
	Token       string  `json:"token"`   // Subscription token
}

func (*TokenSubscription) MarshalHCL

func (me *TokenSubscription) MarshalHCL(properties hcl.Properties) error

func (*TokenSubscription) Schema

func (me *TokenSubscription) Schema() map[string]*schema.Schema

func (*TokenSubscription) UnmarshalHCL

func (me *TokenSubscription) UnmarshalHCL(decoder hcl.Decoder) error

type TokenSubscriptions

type TokenSubscriptions []*TokenSubscription

func (TokenSubscriptions) MarshalHCL

func (me TokenSubscriptions) MarshalHCL(properties hcl.Properties) error

func (*TokenSubscriptions) Schema

func (me *TokenSubscriptions) Schema() map[string]*schema.Schema

func (*TokenSubscriptions) UnmarshalHCL

func (me *TokenSubscriptions) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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