polaris

package
v0.0.0-...-96b04c8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCLusterGrade

func GetCLusterGrade(data validator.AuditData) *dto.ClusterGrade

func NewPolarisConfig

func NewPolarisConfig() conf.Configuration

func NewResourceProvider

func NewResourceProvider(c *Config) (*kube.ResourceProvider, error)

func RunGrade

func RunGrade(c *Config) (*dto.ClusterGrade, error)

Types

type Config

type Config struct {
	Host  string
	Token string
	Port  int

	AuthenticationMode string
	CertDataStr        string
	KeyDataStr         string
	ConfigContent      string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL