Documentation ¶
Overview ¶
Copyright 2021 The Fission Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2021 The Fission Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func ConfigMapEventHandlers(ctx context.Context, logger *zap.Logger, fissionClient versioned.Interface, ...) k8sCache.ResourceEventHandlerFuncs
- func SecretEventHandlers(ctx context.Context, logger *zap.Logger, fissionClient versioned.Interface, ...) k8sCache.ResourceEventHandlerFuncs
- type ConfigSecretController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigMapEventHandlers ¶ added in v1.14.1
func ConfigMapEventHandlers(ctx context.Context, logger *zap.Logger, fissionClient versioned.Interface, kubernetesClient kubernetes.Interface, types map[fv1.ExecutorType]executortype.ExecutorType) k8sCache.ResourceEventHandlerFuncs
func SecretEventHandlers ¶ added in v1.14.1
func SecretEventHandlers(ctx context.Context, logger *zap.Logger, fissionClient versioned.Interface, kubernetesClient kubernetes.Interface, types map[fv1.ExecutorType]executortype.ExecutorType) k8sCache.ResourceEventHandlerFuncs
Types ¶
type ConfigSecretController ¶
type ConfigSecretController struct {
// contains filtered or unexported fields
}
ConfigSecretController represents a controller for configmaps and secrets
func MakeConfigSecretController ¶
func MakeConfigSecretController(ctx context.Context, logger *zap.Logger, fissionClient versioned.Interface, kubernetesClient kubernetes.Interface, types map[fv1.ExecutorType]executortype.ExecutorType, configmapInformer, secretInformer map[string]cache.SharedIndexInformer) (*ConfigSecretController, error)
MakeConfigSecretController makes a controller for configmaps and secrets which changes related functions