common

package
v0.5.8 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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. limitations under the License.

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. limitations under the License.

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. limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataPropertyDockerconfigJSON

func DataPropertyDockerconfigJSON(f *framework.Framework) (string, func(*framework.TestCase))

This case creates a secret with a Docker json configuration value. The values from the nested data are extracted using gjson. Need to have a key holding dockerconfig to be supported by vault.

func DecodingPolicySync added in v0.5.8

func DecodingPolicySync(f *framework.Framework) (string, func(*framework.TestCase))

func DeletionPolicyDelete

func DeletionPolicyDelete(f *framework.Framework) (string, func(*framework.TestCase))

func DockerJSONConfig

func DockerJSONConfig(f *framework.Framework) (string, func(*framework.TestCase))

This case creates a secret with a Docker json configuration value. The values from the nested data are extracted using gjson. not supported by: vault.

func FindByName

func FindByName(f *framework.Framework) (string, func(*framework.TestCase))

This case creates multiple secrets with simple key/value pairs and syncs them using multiple .Spec.Data blocks.

func FindByNameWithPath

func FindByNameWithPath(f *framework.Framework) (string, func(*framework.TestCase))

func FindByTag

func FindByTag(f *framework.Framework) (string, func(*framework.TestCase))

This case creates multiple secrets with simple key/value pairs and syncs them using multiple .Spec.Data blocks.

func FindByTagWithPath

func FindByTagWithPath(f *framework.Framework) (string, func(*framework.TestCase))

This case creates multiple secrets with simple key/value pairs this is special because parameter store requires a leading "/" in the name.

func JSONDataFromSync

func JSONDataFromSync(f *framework.Framework) (string, func(*framework.TestCase))

This case creates one secret with json values and syncs them using a single .Spec.DataFrom block.

func JSONDataWithProperty

func JSONDataWithProperty(f *framework.Framework) (string, func(*framework.TestCase))

This case creates multiple secrets with json values and syncs them using multiple .Spec.Data blocks. The data is extracted from the JSON key using ref.Property.

func JSONDataWithTemplate

func JSONDataWithTemplate(f *framework.Framework) (string, func(*framework.TestCase))

This case creates multiple secrets with json values and renders a template. The data is extracted from the JSON key using ref.Property.

func JSONDataWithoutTargetName

func JSONDataWithoutTargetName(f *framework.Framework) (string, func(*framework.TestCase))

This case creates a secret with empty target name to test if it defaults to external secret name. The data is extracted from the JSON key using ref.Property.

func NestedJSONWithGJSON

func NestedJSONWithGJSON(f *framework.Framework) (string, func(*framework.TestCase))

This case creates a secret with a nested json value. It is synced into two secrets. The values from the nested data are extracted using gjson. not supported by: vault.

func SSHKeySync

func SSHKeySync(f *framework.Framework) (string, func(*framework.TestCase))

This case adds an ssh private key secret and synchronizes it. Not supported by: vault. Json parsing error.

func SSHKeySyncDataProperty

func SSHKeySyncDataProperty(f *framework.Framework) (string, func(*framework.TestCase))

This case adds an ssh private key secret and syncs it.

func SimpleDataSync

func SimpleDataSync(f *framework.Framework) (string, func(*framework.TestCase))

This case creates multiple secrets with simple key/value pairs and syncs them using multiple .Spec.Data blocks. Not supported by: vault.

func SyncV1Alpha1

func SyncV1Alpha1(f *framework.Framework) (string, func(*framework.TestCase))

This case creates one secret with json values and syncs them using a single .Spec.DataFrom block.

func SyncWithoutTargetName

func SyncWithoutTargetName(f *framework.Framework) (string, func(*framework.TestCase))

This case creates a secret with empty target name to test if it defaults to external secret name. Not supported by: vault.

Types

This section is empty.

Jump to

Keyboard shortcuts

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