Documentation
¶
Index ¶
- func New(opts ...Option) subprovider.SubProvider
- type Option
- type SubProvider
- func (s SubProvider) Configure(_ context.Context, f func(any)) (any, error)
- func (SubProvider) GetDataSources(_ context.Context) []func() datasource.DataSource
- func (SubProvider) GetName(_ context.Context) string
- func (s SubProvider) GetResources(_ context.Context) []func() resource.Resource
- func (SubProvider) GetSchema(_ context.Context) map[string]schema.Attribute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...Option) subprovider.SubProvider
Types ¶
type Option ¶
type Option func(*SubProvider)
func WithClientFactory ¶
func WithClientFactory(f func(model.SubModel) *clientfactory.ClientFactory) Option
Option to override newClientFactory
type SubProvider ¶
type SubProvider struct {
// contains filtered or unexported fields
}
func (SubProvider) GetDataSources ¶
func (SubProvider) GetDataSources( _ context.Context, ) []func() datasource.DataSource
func (SubProvider) GetResources ¶
func (s SubProvider) GetResources( _ context.Context, ) []func() resource.Resource
Directories
¶
| Path | Synopsis |
|---|---|
|
framework
|
|
|
resources/user
(C) Copyright 2025 Hewlett Packard Enterprise Development LP
|
(C) Copyright 2025 Hewlett Packard Enterprise Development LP |
|
datasources/job
Package job provides a Morpheus job data source for Terraform.
|
Package job provides a Morpheus job data source for Terraform. |
|
utils
|
|
|
auth
(C) Copyright 2025 Hewlett Packard Enterprise Development LP
|
(C) Copyright 2025 Hewlett Packard Enterprise Development LP |
Click to show internal directories.
Click to hide internal directories.