contexts

package
v1.118.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 28 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) Get

func (ResourceContext) IsAutoGenerated added in v1.98.0

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

func (ResourceContext) IsDirectResource added in v1.118.0

func (rc ResourceContext) IsDirectResource() 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