config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

MIT License Copyright (c) Microsoft Corporation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedConfig

type CompletedConfig struct {
	// contains filtered or unexported fields
}

CompletedConfig same as Config, just to swap private object.

type Config

type Config struct {
	// the k8s cluster client
	ClusterClient          clientset.Interface
	ClusterInformerFactory informers.SharedInformerFactory

	// the rest config for the k8s cluster
	Kubeconfig *restclient.Config

	// the event sink
	Recorder    record.EventRecorder
	Broadcaster record.EventBroadcaster

	// server config.
	Address  string
	Port     string
	CertFile string
	KeyFile  string
}

func (*Config) Complete

func (c *Config) Complete() *CompletedConfig

Jump to

Keyboard shortcuts

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