common

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 5 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataPropertyDockerconfigJSON added in v0.3.3

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 DockerJSONConfig added in v0.3.3

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 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 added in v0.3.6

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 added in v0.3.3

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 added in v0.3.3

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 SyncWithoutTargetName added in v0.3.6

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