Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegoMetadata ¶
type RegoMetadata struct { ID string `json:"id"` AVDID string `json:"avd_id"` Title string `json:"title"` ShortCode string `json:"short_code"` Version string `json:"version"` Type string `json:"type"` Description string `json:"description"` Url string `json:"url"` Severity string `json:"severity"` RecommendedActions string `json:"recommended_actions"` Links []string `json:"-"` Name string `json:"-"` FileName string `json:"-"` }
func GetAllNonTestRegoFiles ¶
func GetAllNonTestRegoFiles() ([]*RegoMetadata, error)
func NewRegoMetadata ¶
func NewRegoMetadata(filename string) (*RegoMetadata, error)
func (*RegoMetadata) DocsFilePath ¶
func (m *RegoMetadata) DocsFilePath() string
func (*RegoMetadata) DocsFolder ¶
func (m *RegoMetadata) DocsFolder() string
func (*RegoMetadata) HasDocsMarkdown ¶
func (m *RegoMetadata) HasDocsMarkdown() bool
func (*RegoMetadata) Validate ¶
func (m *RegoMetadata) Validate() (bool, []string)
Click to show internal directories.
Click to hide internal directories.