clientconfig

package
v1.116.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyAndModifyForKind

func CopyAndModifyForKind(dclConfig *dcl.Config, kind string) *dcl.Config

func New

func New(ctx context.Context, opt Options) (*dcl.Config, error)

func NewForIntegrationTest

func NewForIntegrationTest() *dcl.Config

NewForIntegrationTest creates a dcl.Config for use in integration tests. Deprecated: Prefer using a harness.

func SetUserAgentWithBlueprintAttribution

func SetUserAgentWithBlueprintAttribution(dclConfig *dcl.Config, resource metav1.Object) *dcl.Config

SetUserAgentWithBlueprintAttribution returns a new DCL Config with the user agent containing the blueprint attribution if the resource has the blueprint attribution annotation. Otherwise, the existing DCL Config is unmodified and returned.

Types

type Options added in v1.99.0

type Options struct {
	controller.Config
}

Jump to

Keyboard shortcuts

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