Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewCredentialDataSource() datasource.DataSource
- func NewCredentialResource() resource.Resource
- func NewFolderDataSource() datasource.DataSource
- func NewFolderResource() resource.Resource
- func NewFolderRootDataSource() datasource.DataSource
- func NewSearchDataSource() datasource.DataSource
- type CredentialDataSource
- func (d *CredentialDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d CredentialDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *CredentialDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CredentialDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type CredentialDataSourceModel
- type CredentialResource
- func (r *CredentialResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CredentialResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CredentialResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CredentialResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *CredentialResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *CredentialResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CredentialResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CredentialResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CredentialResourceModel
- type FolderDataSource
- func (d *FolderDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d FolderDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *FolderDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *FolderDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type FolderDataSourceModel
- type FolderResource
- func (r *FolderResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *FolderResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *FolderResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *FolderResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *FolderResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *FolderResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *FolderResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *FolderResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type FolderResourceModel
- type FolderRootDataSource
- func (d *FolderRootDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d FolderRootDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *FolderRootDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *FolderRootDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type FolderRootDataSourceModel
- type PleasantpasswordProvider
- func (p *PleasantpasswordProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *PleasantpasswordProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *PleasantpasswordProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *PleasantpasswordProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *PleasantpasswordProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type PleasantpasswordProviderModel
- type ProviderClient
- type SearchDataSource
- func (d *SearchDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d SearchDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *SearchDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *SearchDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type SearchDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCredentialDataSource ¶
func NewCredentialDataSource() datasource.DataSource
func NewCredentialResource ¶
func NewFolderDataSource ¶
func NewFolderDataSource() datasource.DataSource
func NewFolderResource ¶
func NewFolderRootDataSource ¶
func NewFolderRootDataSource() datasource.DataSource
func NewSearchDataSource ¶
func NewSearchDataSource() datasource.DataSource
Types ¶
type CredentialDataSource ¶
type CredentialDataSource struct {
// contains filtered or unexported fields
}
func (*CredentialDataSource) Configure ¶
func (d *CredentialDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (CredentialDataSource) Metadata ¶
func (d CredentialDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*CredentialDataSource) Read ¶
func (d *CredentialDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*CredentialDataSource) Schema ¶
func (d *CredentialDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type CredentialDataSourceModel ¶
type CredentialDataSourceModel struct { Id types.String `tfsdk:"id"` CredentialID types.String `tfsdk:"credential_id"` Tags []models.Tag `tfsdk:"tags"` Name types.String `tfsdk:"name"` Username types.String `tfsdk:"username"` Password types.String `tfsdk:"password"` Url types.String `tfsdk:"url"` Notes types.String `tfsdk:"notes"` FolderId types.String `tfsdk:"folder_id"` Created types.String `tfsdk:"created"` Modified types.String `tfsdk:"modified"` Expires types.String `tfsdk:"expires"` }
type CredentialResource ¶
type CredentialResource struct {
// contains filtered or unexported fields
}
func (*CredentialResource) Configure ¶
func (r *CredentialResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CredentialResource) Create ¶
func (r *CredentialResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CredentialResource) Delete ¶
func (r *CredentialResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CredentialResource) ImportState ¶
func (r *CredentialResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*CredentialResource) Metadata ¶
func (r *CredentialResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CredentialResource) Read ¶
func (r *CredentialResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CredentialResource) Schema ¶
func (r *CredentialResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CredentialResource) Update ¶
func (r *CredentialResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CredentialResourceModel ¶
type CredentialResourceModel struct { Id types.String `tfsdk:"id"` //Tags []Tag `tfsdk:"tags"` Name types.String `tfsdk:"name"` Username types.String `tfsdk:"username"` Password types.String `tfsdk:"password"` Url types.String `tfsdk:"url"` Notes types.String `tfsdk:"notes"` FolderId types.String `tfsdk:"folder_id"` Created types.String `tfsdk:"created"` Modified types.String `tfsdk:"modified"` Expires types.String `tfsdk:"expires"` }
type FolderDataSource ¶
type FolderDataSource struct {
// contains filtered or unexported fields
}
func (*FolderDataSource) Configure ¶
func (d *FolderDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (FolderDataSource) Metadata ¶
func (d FolderDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*FolderDataSource) Read ¶
func (d *FolderDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*FolderDataSource) Schema ¶
func (d *FolderDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type FolderDataSourceModel ¶
type FolderDataSourceModel struct { Id types.String `tfsdk:"id"` FolderID types.String `tfsdk:"folder_id"` Name types.String `tfsdk:"name"` ParentID types.String `tfsdk:"parent_id"` Credentials []models.Credential `tfsdk:"credentials"` Children []models.CredentialGroup `tfsdk:"children"` Tags []models.Tag `tfsdk:"tags"` Notes types.String `tfsdk:"notes"` Created types.String `tfsdk:"created"` Modified types.String `tfsdk:"modified"` Expires types.String `tfsdk:"expires"` }
type FolderResource ¶
type FolderResource struct {
// contains filtered or unexported fields
}
ExampleResource defines the resource implementation.
func (*FolderResource) Configure ¶
func (r *FolderResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*FolderResource) Create ¶
func (r *FolderResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*FolderResource) Delete ¶
func (r *FolderResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*FolderResource) ImportState ¶
func (r *FolderResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*FolderResource) Metadata ¶
func (r *FolderResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*FolderResource) Read ¶
func (r *FolderResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*FolderResource) Schema ¶
func (r *FolderResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*FolderResource) Update ¶
func (r *FolderResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type FolderResourceModel ¶
type FolderResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ParentID types.String `tfsdk:"parent_id"` Notes types.String `tfsdk:"notes"` }
ExampleResourceModel describes the resource data model.
type FolderRootDataSource ¶
type FolderRootDataSource struct {
// contains filtered or unexported fields
}
func (*FolderRootDataSource) Configure ¶
func (d *FolderRootDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (FolderRootDataSource) Metadata ¶
func (d FolderRootDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*FolderRootDataSource) Read ¶
func (d *FolderRootDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*FolderRootDataSource) Schema ¶
func (d *FolderRootDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type PleasantpasswordProvider ¶
type PleasantpasswordProvider struct {
// contains filtered or unexported fields
}
func (*PleasantpasswordProvider) Configure ¶
func (p *PleasantpasswordProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*PleasantpasswordProvider) DataSources ¶
func (p *PleasantpasswordProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*PleasantpasswordProvider) Metadata ¶
func (p *PleasantpasswordProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*PleasantpasswordProvider) Resources ¶
func (p *PleasantpasswordProvider) Resources(ctx context.Context) []func() resource.Resource
func (*PleasantpasswordProvider) Schema ¶
func (p *PleasantpasswordProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type SearchDataSource ¶
type SearchDataSource struct {
// contains filtered or unexported fields
}
func (*SearchDataSource) Configure ¶
func (d *SearchDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (SearchDataSource) Metadata ¶
func (d SearchDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*SearchDataSource) Read ¶
func (d *SearchDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*SearchDataSource) Schema ¶
func (d *SearchDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type SearchDataSourceModel ¶
type SearchDataSourceModel struct { Search types.String `tfsdk:"search"` Credentials []models.V6CredentialSearchResult `tfsdk:"credentials"` Folders []models.V6CredentialGroupSearchResult `tfsdk:"folders"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.