Documentation ¶
Overview ¶
Package polaris provides primitives for working with Polaris.
Index ¶
Constants ¶
View Source
const ( // DefaultConfigYAML the default Polaris config YAML as string literal. DefaultConfigYAML = `` /* 4093-byte string literal not displayed */ )
View Source
const (
// Plugin the name of this plugin.
Plugin = "Polaris"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterInfo ¶
type Config ¶
type Config struct {
starboard.PluginConfig
}
Config defines configuration params for this plugin.
func (Config) GetImageRef ¶ added in v0.11.0
GetImageRef returns upstream Polaris container image reference.
func (Config) GetResourceRequirements ¶ added in v0.11.0
func (c Config) GetResourceRequirements() (corev1.ResourceRequirements, error)
GetResourceRequirements constructs ResourceRequirements from the Config.
type ContainerResult ¶
type PodResult ¶
type PodResult struct { Name string `json:"Name"` Results map[string]Check `json:"Results"` ContainerResults []ContainerResult `json:"ContainerResults"` }
Click to show internal directories.
Click to hide internal directories.