Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewDojoGroupMemberResource() resource.Resource
- func NewDojoGroupResource() resource.Resource
- func NewEngagementResource() resource.Resource
- func NewProductResource() resource.Resource
- func NewProductTypeResource() resource.Resource
- func NewProductTypesDataSource() datasource.DataSource
- func NewUserResource() resource.Resource
- type DefectdojoProvider
- func (p *DefectdojoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *DefectdojoProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *DefectdojoProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *DefectdojoProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *DefectdojoProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type DefectdojoProviderModel
- type ProductTypesDataSource
- func (d *ProductTypesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ProductTypesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ProductTypesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ProductTypesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ProductTypesDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDojoGroupMemberResource ¶
NewDojoGroupMemberResource is a helper function to simplify the provider implementation.
func NewDojoGroupResource ¶
NewdojoGroupResource is a helper function to simplify the provider implementation.
func NewEngagementResource ¶
NewEngagementResource is a helper function to simplify the provider implementation.
func NewProductResource ¶
NewProductResource is a helper function to simplify the provider implementation.
func NewProductTypeResource ¶
NewProductTypeResource is a helper function to simplify the provider implementation.
func NewProductTypesDataSource ¶
func NewProductTypesDataSource() datasource.DataSource
func NewUserResource ¶
NewUserResource is a helper function to simplify the provider implementation.
Types ¶
type DefectdojoProvider ¶
type DefectdojoProvider struct {
// contains filtered or unexported fields
}
DefectdojoProvider defines the provider implementation.
func (*DefectdojoProvider) Configure ¶
func (p *DefectdojoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*DefectdojoProvider) DataSources ¶
func (p *DefectdojoProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*DefectdojoProvider) Metadata ¶
func (p *DefectdojoProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*DefectdojoProvider) Resources ¶
func (p *DefectdojoProvider) Resources(ctx context.Context) []func() resource.Resource
func (*DefectdojoProvider) Schema ¶
func (p *DefectdojoProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type DefectdojoProviderModel ¶
type DefectdojoProviderModel struct { Host types.String `tfsdk:"host"` Username types.String `tfsdk:"username"` Password types.String `tfsdk:"password"` Token types.String `tfsdk:"token"` }
DefectdojoProviderModel describes the provider data model.
type ProductTypesDataSource ¶
type ProductTypesDataSource struct {
// contains filtered or unexported fields
}
ProductTypesDataSource defines the data source implementation.
func (*ProductTypesDataSource) Configure ¶
func (d *ProductTypesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ProductTypesDataSource) Metadata ¶
func (d *ProductTypesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ProductTypesDataSource) Read ¶
func (d *ProductTypesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ProductTypesDataSource) Schema ¶
func (d *ProductTypesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ProductTypesDataSourceModel ¶
type ProductTypesDataSourceModel struct {
ProductTypes []productTypeModel `tfsdk:"product_types"`
}
ProductTypesDataSourceModel describes the data source data model.