allowlist

package
v1.118.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoGenAllowlist

type AutoGenAllowlist struct {
	ServiceAndTFTypes  map[string]map[string]*AutoGenType
	ServiceAndKRMKinds map[string]map[string]*AutoGenType
	KRMKinds           map[string]*AutoGenType
}

func LoadAutoGenAllowList

func LoadAutoGenAllowList(generatedSMMap map[string]v1alpha1.ServiceMapping) (*AutoGenAllowlist, error)

func NewAutoGenAllowlist

func NewAutoGenAllowlist() *AutoGenAllowlist

func (*AutoGenAllowlist) GetKRMKind added in v1.102.0

func (l *AutoGenAllowlist) GetKRMKind(krmKind string) (*AutoGenType, bool)

func (*AutoGenAllowlist) GetTFTypeInService added in v1.102.0

func (l *AutoGenAllowlist) GetTFTypeInService(serviceNameInLC, tfType string) (*AutoGenType, bool)

func (*AutoGenAllowlist) HasKRMKindInService

func (l *AutoGenAllowlist) HasKRMKindInService(serviceNameInLC, krmKind string) bool

func (*AutoGenAllowlist) HasService

func (l *AutoGenAllowlist) HasService(serviceNameInLC string) bool

type AutoGenType

type AutoGenType struct {
	ServiceNameInLC string
	KRMKindName     string
	TFTypeName      string
	Version         string
}

Jump to

Keyboard shortcuts

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