Documentation ¶
Index ¶
- type DataSource
- type Repo
- type Resource
- type ResourceOrData
- type Service
- func (s *Service) CalculateDataSourceTotals() Totals
- func (s *Service) CalculateResourceTotals() Totals
- func (s *Service) CalculateTotals() Totals
- func (s *Service) CountResourcesDataSources() int
- func (s *Service) FilterResourcesDatas(f func(rds ResourceOrData) bool) []ResourceOrData
- func (s *Service) FilterResourcesDatasInterfaced(f func(rds interface{}) bool) []ResourceOrData
- func (s *Service) GetResourceOrDataFor(file fs.DirEntry, content string) ResourceOrData
- func (s *Service) ScanDataSources() error
- func (s *Service) ScanResources() error
- type Totals
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSource ¶
type DataSource struct {
ResourceOrData
}
func (DataSource) GetTotal ¶
func (ds DataSource) GetTotal() Totals
type Repo ¶
type Repo struct { Path string Git *git.Repository }
func (Repo) CheckoutTag ¶
func (Repo) GetVersions ¶
type Resource ¶
type Resource struct { ResourceOrData SharedCreateUpdate bool }
type ResourceOrData ¶
type ResourceOrData struct { Name string Service *Service GoPath string GoFileName string TestPaths []string IsTyped bool IsGenerated bool SdkAzureSdkGo bool SdkKermit bool SdkPandora bool SdkGiovanni bool UsesBuiltInParse bool }
todo this is a TERRIBLE name, figure something better out.
func (ResourceOrData) GetTotal ¶
func (rds ResourceOrData) GetTotal() Totals
type Service ¶
type Service struct { Name string Path string // should this just be a *Repo? Resources []Resource DataSources []DataSource }
func (*Service) CalculateDataSourceTotals ¶
func (*Service) CalculateResourceTotals ¶
func (*Service) CalculateTotals ¶
func (*Service) CountResourcesDataSources ¶
func (*Service) FilterResourcesDatas ¶
func (s *Service) FilterResourcesDatas(f func(rds ResourceOrData) bool) []ResourceOrData
func (*Service) FilterResourcesDatasInterfaced ¶
func (s *Service) FilterResourcesDatasInterfaced(f func(rds interface{}) bool) []ResourceOrData
func (*Service) GetResourceOrDataFor ¶
func (s *Service) GetResourceOrDataFor(file fs.DirEntry, content string) ResourceOrData
func (*Service) ScanDataSources ¶
func (*Service) ScanResources ¶
type Totals ¶
type Version ¶
func (*Version) CalculateDataSourceTotals ¶
func (*Version) CalculateResourceTotals ¶
func (*Version) CalculateTotals ¶
func (*Version) ScanServices ¶
Click to show internal directories.
Click to hide internal directories.