Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Scheme defines methods for serializing and deserializing API objects. Scheme = runtime.NewScheme() // Codecs provides methods for retrieving codecs and serializers for specific // versions and content types. Codecs = serializer.NewCodecFactory(Scheme) )
Functions ¶
This section is empty.
Types ¶
type CompletedConfig ¶
type CompletedConfig struct {
// contains filtered or unexported fields
}
CompletedConfig embeds a private pointer that cannot be instantiated outside of this package.
type Config ¶
type Config struct { GenericConfig *genericapiserver.RecommendedConfig ExtraConfig ExtraConfig }
Config defines the config for the apiserver
func (*Config) Complete ¶
func (cfg *Config) Complete() CompletedConfig
Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.
type ExtraConfig ¶
type ExtraConfig struct { ClientConfig *restclient.Config KubeClient kubernetes.Interface KubeInformerFactory informers.SharedInformerFactory ResyncPeriod time.Duration LicenseFile string License v1alpha1.License CacheDir string NATSAddr string NATSCredFile string FileServerPathPrefix string FileServerFilesDir string ScannerImage string TrivyImage string TrivyDBCacherImage string FileServerAddr string ScanRequestTTLPeriod time.Duration ScanReportTTLPeriod time.Duration Workspace string }
ExtraConfig holds custom apiserver config
func (ExtraConfig) LicenseProvided ¶ added in v0.0.3
func (c ExtraConfig) LicenseProvided() bool
type ScannerServer ¶ added in v0.0.2
type ScannerServer struct { GenericAPIServer *genericapiserver.GenericAPIServer Manager manager.Manager NatsClient *nats.Conn }
ScannerServer contains state for a Kubernetes cluster master/api server.
Click to show internal directories.
Click to hide internal directories.