Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewServiceDataSource() datasource.DataSource
- type KnativeProvider
- func (p *KnativeProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *KnativeProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *KnativeProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *KnativeProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *KnativeProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type KnativeProviderModel
- type ServiceDataSource
- func (d *ServiceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ServiceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ServiceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ServiceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ServiceDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceDataSource ¶
func NewServiceDataSource() datasource.DataSource
Types ¶
type KnativeProvider ¶
type KnativeProvider struct {
// contains filtered or unexported fields
}
KnativeProvider defines the provider implementation.
func (*KnativeProvider) Configure ¶
func (p *KnativeProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*KnativeProvider) DataSources ¶
func (p *KnativeProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*KnativeProvider) Metadata ¶
func (p *KnativeProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*KnativeProvider) Resources ¶
func (p *KnativeProvider) Resources(ctx context.Context) []func() resource.Resource
func (*KnativeProvider) Schema ¶
func (p *KnativeProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type KnativeProviderModel ¶
type KnativeProviderModel struct { }
KnativeProviderModel describes the provider data model.
type ServiceDataSource ¶
type ServiceDataSource struct {
// contains filtered or unexported fields
}
ServiceDataSource defines the data source implementation.
func (*ServiceDataSource) Configure ¶
func (d *ServiceDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ServiceDataSource) Metadata ¶
func (d *ServiceDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ServiceDataSource) Read ¶
func (d *ServiceDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ServiceDataSource) Schema ¶
func (d *ServiceDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.