common

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 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 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 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 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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