contexts

package
v1.110.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFoundError

func IsNotFoundError(err error) bool

Types

type ResourceContext

type ResourceContext struct {
	ResourceGVK        schema.GroupVersionKind
	ResourceKind       string
	SkipNoChange       bool
	SkipUpdate         bool
	SkipDriftDetection bool
	SkipDelete         bool

	// fields related to DCL-based resources
	DCLSchema *openapi.Schema
	DCLBased  bool
}

func GetResourceContext

func GetResourceContext(fixture resourcefixture.ResourceFixture, serviceMetadataLoader dclmetadata.ServiceMetadataLoader, dclSchemaLoader dclschemaloader.DCLSchemaLoader) ResourceContext

func (ResourceContext) Delete

func (ResourceContext) IsAutoGenerated added in v1.98.0

func (rc ResourceContext) IsAutoGenerated(smLoader *servicemappingloader.ServiceMappingLoader) bool

func (ResourceContext) SupportsLabels

func (rc ResourceContext) SupportsLabels(smLoader *servicemappingloader.ServiceMappingLoader) bool

Jump to

Keyboard shortcuts

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