- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for cloudConfig (0.26 sec)
-
pkg/kubeapiserver/admission/initializer_test.go
type WantsCloudConfigAdmissionPlugin struct { doNothingAdmission cloudConfig []byte } func (p *WantsCloudConfigAdmissionPlugin) SetCloudConfig(cloudConfig []byte) { p.cloudConfig = cloudConfig } func TestCloudConfigAdmissionPlugin(t *testing.T) { cloudConfig := []byte("cloud-configuration") initializer := NewPluginInitializer(cloudConfig) wantsCloudConfigAdmission := &WantsCloudConfigAdmissionPlugin{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/kubeapiserver/admission/initializer.go
func NewPluginInitializer(cloudConfig []byte) *PluginInitializer { return &PluginInitializer{ cloudConfig: cloudConfig, } } // Initialize checks the initialization interfaces implemented by each plugin // and provide the appropriate initialization data func (i *PluginInitializer) Initialize(plugin admission.Interface) { if wants, ok := plugin.(WantsCloudConfig); ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/kubeapiserver/admission/config.go
func (c *Config) New() ([]admission.PluginInitializer, error) { var cloudConfig []byte if c.CloudConfigFile != "" { var err error cloudConfig, err = os.ReadFile(c.CloudConfigFile) if err != nil { klog.Fatalf("Error reading from cloud configuration file %s: %#v", c.CloudConfigFile, err) } } return []admission.PluginInitializer{NewPluginInitializer(cloudConfig)}, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 1.2K bytes - Viewed (0) -
hack/ginkgo-e2e.sh
GINKGO_FORCE_NEWLINES=${GINKGO_FORCE_NEWLINES:-$( if [ "${CI:-false}" = "true" ]; then echo "y"; else echo "n"; fi )} # set to 'y' to print a newline after each S or o character CLOUD_CONFIG=${CLOUD_CONFIG:-""} # If 'y', Ginkgo's reporter will not use escape sequence to color output. # # Since Kubernetes 1.25, the default is to use colors only when connected to
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 13:25:50 UTC 2024 - 8.6K bytes - Viewed (0) -
hack/local-up-cluster.sh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 25 02:33:52 UTC 2024 - 53.3K bytes - Viewed (0)