Documentation ¶
Index ¶
- func CopyAndModifyForKind(dclConfig *dcl.Config, kind string) *dcl.Config
- func New(enableUserProjectOverride bool, billingProject string) (*dcl.Config, error)
- func NewForIntegrationTest() *dcl.Config
- func SetUserAgentWithBlueprintAttribution(dclConfig *dcl.Config, resource metav1.Object) *dcl.Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyAndModifyForKind ¶
func NewForIntegrationTest ¶
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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.