Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewApplicationDataSource() datasource.DataSource
- func NewApplicationResource() resource.Resource
- type ApplicationDataSource
- func (d *ApplicationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ApplicationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ApplicationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ApplicationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ApplicationDataSourceModel
- type ApplicationResource
- func (r *ApplicationResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ApplicationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ApplicationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ApplicationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ApplicationResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ApplicationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ApplicationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ApplicationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ApplicationResourceModel
- type GotifyProvider
- func (p *GotifyProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *GotifyProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *GotifyProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *GotifyProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *GotifyProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type GotifyProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplicationDataSource ¶
func NewApplicationDataSource() datasource.DataSource
func NewApplicationResource ¶
Types ¶
type ApplicationDataSource ¶
type ApplicationDataSource struct {
// contains filtered or unexported fields
}
ApplicationDataSource defines the data source implementation.
func (*ApplicationDataSource) Configure ¶
func (d *ApplicationDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ApplicationDataSource) Metadata ¶
func (d *ApplicationDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ApplicationDataSource) Read ¶
func (d *ApplicationDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ApplicationDataSource) Schema ¶
func (d *ApplicationDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ApplicationDataSourceModel ¶
type ApplicationDataSourceModel struct { Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Priority types.String `tfsdk:"priority"` Id types.String `tfsdk:"id"` Token types.String `tfsdk:"token"` }
ApplicationDataSourceModel describes the data source data model.
type ApplicationResource ¶
type ApplicationResource struct {
// contains filtered or unexported fields
}
ApplicationResource defines the resource implementation.
func (*ApplicationResource) Configure ¶
func (r *ApplicationResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ApplicationResource) Create ¶
func (r *ApplicationResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ApplicationResource) Delete ¶
func (r *ApplicationResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ApplicationResource) ImportState ¶
func (r *ApplicationResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ApplicationResource) Metadata ¶
func (r *ApplicationResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ApplicationResource) Read ¶
func (r *ApplicationResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ApplicationResource) Schema ¶
func (r *ApplicationResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ApplicationResource) Update ¶
func (r *ApplicationResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ApplicationResourceModel ¶
type ApplicationResourceModel struct { Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Priority types.String `tfsdk:"priority"` Id types.String `tfsdk:"id"` Token types.String `tfsdk:"token"` }
ApplicationResourceModel describes the resource data model.
type GotifyProvider ¶
type GotifyProvider struct {
// contains filtered or unexported fields
}
GotifyProvider defines the provider implementation.
func (*GotifyProvider) Configure ¶
func (p *GotifyProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*GotifyProvider) DataSources ¶
func (p *GotifyProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*GotifyProvider) Metadata ¶
func (p *GotifyProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*GotifyProvider) Resources ¶
func (p *GotifyProvider) Resources(ctx context.Context) []func() resource.Resource
func (*GotifyProvider) Schema ¶
func (p *GotifyProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type GotifyProviderModel ¶
type GotifyProviderModel struct { Token types.String `tfsdk:"token"` Url types.String `tfsdk:"url"` }
GotifyProviderModel describes the provider data model.
var Config GotifyProviderModel
variable contains provider configuration
Click to show internal directories.
Click to hide internal directories.