Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultLocalStore = ".kubescape"
Variables ¶
This section is empty.
Functions ¶
func JSONDecoder ¶
JSONDecoder returns JSON decoder for given string
Types ¶
type ArmoAPI ¶
type ArmoAPI struct {
// contains filtered or unexported fields
}
Armo API for downloading policies
func NewArmoAPI ¶
func NewArmoAPI() *ArmoAPI
type DownloadReleasedPolicy ¶
type DownloadReleasedPolicy struct {
// contains filtered or unexported fields
}
Download released version
func NewDownloadReleasedPolicy ¶
func NewDownloadReleasedPolicy() *DownloadReleasedPolicy
func (*DownloadReleasedPolicy) GetFramework ¶
func (drp *DownloadReleasedPolicy) GetFramework(name string) (*opapolicy.Framework, error)
type IPolicyGetter ¶
type LoadPolicy ¶
type LoadPolicy struct {
// contains filtered or unexported fields
}
Load policies from a local repository
func NewLoadPolicy ¶
func NewLoadPolicy(filePath string) *LoadPolicy
func (*LoadPolicy) GetFramework ¶
func (lp *LoadPolicy) GetFramework(filename string) (*opapolicy.Framework, error)
Click to show internal directories.
Click to hide internal directories.