Documentation ¶
Index ¶
- Constants
- func ListAssets(tenantID, zone, app string, ...) (*araali_api_service.ListAssetsResponse, int, int, error)
- func ListInsights(tenantID, zone string) (*araali_api_service.ListInsightsResponse, error)
- func ListLinks(tenantID, zone, app, service string, startTime, endTime time.Time) (*araali_api_service.ListLinksResponse, error)
- func SetBackend(b string)
- func SetToken(t string)
- func TenantCreate(name, adminName, adminEmail string, freemium bool) (*araali_api_service.CreateTenantResponse, error)
- func TenantDelete(tenantID string) (*araali_api_service.AraaliAPIResponse, error)
- func UserAdd(tenantID, userName, userEmail, role string) (*araali_api_service.AraaliAPIResponse, error)
- func UserDelete(tenantID, userEmail string) (*araali_api_service.AraaliAPIResponse, error)
- type AlertPage
- type FortifyAraaliHelmValues
- type FortifyHelmValues
Constants ¶
View Source
const ApiDialTimeout = 30
Variables ¶
This section is empty.
Functions ¶
func ListAssets ¶
func ListAssets(tenantID, zone, app string, activeVm, inactiveVm, activeContainer, inactiveContainer bool, startTime, endTime time.Time) ( *araali_api_service.ListAssetsResponse, int, int, error)
ListAssets
func ListInsights ¶
func ListInsights(tenantID, zone string) ( *araali_api_service.ListInsightsResponse, error)
ListInsights
func ListLinks ¶
func ListLinks(tenantID, zone, app, service string, startTime, endTime time.Time) ( *araali_api_service.ListLinksResponse, error)
ListLinks
func SetBackend ¶
func SetBackend(b string)
func TenantCreate ¶
func TenantCreate(name, adminName, adminEmail string, freemium bool) (*araali_api_service.CreateTenantResponse, error)
TenantCreate - returns tenant-id
func TenantDelete ¶
func TenantDelete(tenantID string) (*araali_api_service.AraaliAPIResponse, error)
TenantDelete
func UserAdd ¶
func UserAdd(tenantID, userName, userEmail, role string) (*araali_api_service.AraaliAPIResponse, error)
UserAdd
func UserDelete ¶
func UserDelete(tenantID, userEmail string) (*araali_api_service.AraaliAPIResponse, error)
UserDelete
Types ¶
type AlertPage ¶
type AlertPage struct { PagingToken []byte Alerts []*araali_api_service.Link // contains filtered or unexported fields }
func ListAlerts ¶
func ListAlerts(tenantID string, filter *araali_api_service.AlertFilter, count int32, pagingToken string) (AlertPage, error)
type FortifyAraaliHelmValues ¶
type FortifyAraaliHelmValues struct { WorkloadId string `yaml:"workload_id" json:"workload_id"` Fog string `yaml:"fog" json:"fog"` Zone string `yaml:"zone" json:"zone"` App string `yaml:"app" json:"app"` AutoK8SImage string `yaml:"autok8s_image" json:"autok8s_image"` FwImage string `yaml:"fw_image" json:"fw_image"` FwInitImage string `yaml:"fw_init_image" json:"fw_init_image"` Enforce bool `yaml:"enforce" json:"enforce"` Upgrade bool `yaml:"upgrade" json:"upgrade"` }
FortifyHelmValues
type FortifyHelmValues ¶
type FortifyHelmValues struct {
AHV FortifyAraaliHelmValues `yaml:"araali" json:"araali"`
}
func FortifyK8SCreateHelm ¶
func FortifyK8SCreateHelm(tenantID, clusterName string) (*FortifyHelmValues, error)
FortifyK8SCreateHelm - Generates values.yaml for araali fortification helm chart
Click to show internal directories.
Click to hide internal directories.