Documentation ¶
Index ¶
- Constants
- func New() func() provider.Provider
- type SynologyProvider
- func (p *SynologyProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *SynologyProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *SynologyProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *SynologyProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *SynologyProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Constants ¶
View Source
const ( SYNOLOGY_HOST_ENV_VAR = "SYNOLOGY_HOST" SYNOLOGY_USER_ENV_VAR = "SYNOLOGY_USER" SYNOLOGY_PASSWORD_ENV_VAR = "SYNOLOGY_PASSWORD" SYNOLOGY_SKIP_CERT_CHECK_ENV_VAR = "SYNOLOGY_SKIP_CERT_CHECK" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SynologyProvider ¶
type SynologyProvider struct{}
SynologyProvider defines the provider implementation.
func (*SynologyProvider) Configure ¶
func (p *SynologyProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*SynologyProvider) DataSources ¶
func (p *SynologyProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*SynologyProvider) Metadata ¶
func (p *SynologyProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*SynologyProvider) Resources ¶
func (p *SynologyProvider) Resources(ctx context.Context) []func() resource.Resource
func (*SynologyProvider) Schema ¶
func (p *SynologyProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.