Documentation ¶
Index ¶
Constants ¶
View Source
const ( RemoteAWSTerraform = "aws+tf" RemoteGithubTerraform = "github+tf" RemoteGoogleTerraform = "gcp+tf" RemoteAzureTerraform = "azure+tf" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetailsFetcher ¶
type Enumerator ¶
type Enumerator interface { SupportedType() resource.ResourceType Enumerate() ([]*resource.Resource, error) }
type GenericDetailsFetcher ¶
type GenericDetailsFetcher struct {
// contains filtered or unexported fields
}
func NewGenericDetailsFetcher ¶
func NewGenericDetailsFetcher(resType resource.ResourceType, provider terraform.ResourceReader, deserializer *resource.Deserializer) *GenericDetailsFetcher
func (*GenericDetailsFetcher) ReadDetails ¶
type MockEnumerator ¶
MockEnumerator is an autogenerated mock type for the Enumerator type
func NewMockEnumerator ¶
func NewMockEnumerator(t mockConstructorTestingTNewMockEnumerator) *MockEnumerator
NewMockEnumerator creates a new instance of MockEnumerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockEnumerator) Enumerate ¶
func (_m *MockEnumerator) Enumerate() ([]*resource.Resource, error)
Enumerate provides a mock function with given fields:
func (*MockEnumerator) SupportedType ¶
func (_m *MockEnumerator) SupportedType() resource.ResourceType
SupportedType provides a mock function with given fields:
type RemoteLibrary ¶
type RemoteLibrary struct {
// contains filtered or unexported fields
}
func NewRemoteLibrary ¶
func NewRemoteLibrary() *RemoteLibrary
func (*RemoteLibrary) AddDetailsFetcher ¶
func (r *RemoteLibrary) AddDetailsFetcher(ty resource.ResourceType, detailsFetcher DetailsFetcher)
func (*RemoteLibrary) AddEnumerator ¶
func (r *RemoteLibrary) AddEnumerator(enumerator Enumerator)
func (*RemoteLibrary) Enumerators ¶
func (r *RemoteLibrary) Enumerators() []Enumerator
func (*RemoteLibrary) GetDetailsFetcher ¶
func (r *RemoteLibrary) GetDetailsFetcher(ty resource.ResourceType) DetailsFetcher
type RemoteParameter ¶
type RemoteParameter string
func (RemoteParameter) GetProviderAddress ¶
func (p RemoteParameter) GetProviderAddress() *lock.ProviderAddress
Click to show internal directories.
Click to hide internal directories.