Documentation
¶
Overview ¶
Copyright (c) 2019-2021 Red Hat, Inc. 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 (c) 2019-2021 Red Hat, Inc. 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 (c) 2019-2021 Red Hat, Inc. 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 (c) 2019-2021 Red Hat, Inc. 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 (c) 2019-2021 Red Hat, Inc. 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 CheckAutoMountVolumesForCollision(base, automount []v1alpha1.PodAdditions) error
- func GetAutoMountConfigMapVolumeMount(mountPath, name string) corev1.VolumeMount
- func GetAutoMountResources(client k8sclient.Client, namespace string) ([]v1alpha1.PodAdditions, []corev1.EnvFromSource, error)
- func GetAutoMountSecretVolumeMount(mountPath, name string) v1.VolumeMount
- func GetAutoMountVolumeWithConfigMap(name string) corev1.Volume
- func GetAutoMountVolumeWithSecret(name string) v1.Volume
- type FatalError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAutoMountVolumesForCollision ¶
func CheckAutoMountVolumesForCollision(base, automount []v1alpha1.PodAdditions) error
func GetAutoMountConfigMapVolumeMount ¶ added in v0.10.0
func GetAutoMountConfigMapVolumeMount(mountPath, name string) corev1.VolumeMount
func GetAutoMountResources ¶
func GetAutoMountResources(client k8sclient.Client, namespace string) ([]v1alpha1.PodAdditions, []corev1.EnvFromSource, error)
func GetAutoMountSecretVolumeMount ¶ added in v0.10.0
func GetAutoMountSecretVolumeMount(mountPath, name string) v1.VolumeMount
func GetAutoMountVolumeWithConfigMap ¶ added in v0.10.0
func GetAutoMountVolumeWithSecret ¶ added in v0.10.0
Types ¶
type FatalError ¶ added in v0.10.0
type FatalError struct {
Err error
}
func (*FatalError) Error ¶ added in v0.10.0
func (e *FatalError) Error() string
func (*FatalError) Unwrap ¶ added in v0.10.0
func (e *FatalError) Unwrap() error