contexts

package
v1.88.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 26 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) DoPreActuationTransformFor

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