Documentation ¶
Index ¶
- func CopyAndModifyForKind(dclConfig *dcl.Config, kind string) *dcl.Config
- func New(ctx context.Context, opt Options) (*dcl.Config, error)
- func NewConfigAndClientForIntegrationTest() (*dcl.Config, *http.Client)
- func NewForIntegrationTest() *dcl.Config
- func SetUserAgentWithBlueprintAttribution(dclConfig *dcl.Config, resource metav1.Object) *dcl.Config
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyAndModifyForKind ¶
func NewConfigAndClientForIntegrationTest ¶ added in v1.118.0
func NewForIntegrationTest ¶
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 {
config.ControllerConfig
}
Click to show internal directories.
Click to hide internal directories.