Documentation ¶
Index ¶
- func GetResourceConfig(sm *v1alpha1.ServiceMapping, u *unstructured.Unstructured) (*v1alpha1.ResourceConfig, error)
- func GetResourceConfigsForKind(sm *v1alpha1.ServiceMapping, kind string) []*v1alpha1.ResourceConfig
- func GetResourceConfigsForTFType(sm *v1alpha1.ServiceMapping, tfType string) (*v1alpha1.ResourceConfig, error)
- func GetServiceMappings() ([]v1alpha1.ServiceMapping, error)
- type ServiceMappingLoader
- func (s *ServiceMappingLoader) GetAutoGenOnlyGroups() map[string]bool
- func (s *ServiceMappingLoader) GetResourceConfig(u *unstructured.Unstructured) (*v1alpha1.ResourceConfig, error)
- func (s *ServiceMappingLoader) GetResourceConfigs(gvk schema.GroupVersionKind) ([]*v1alpha1.ResourceConfig, error)
- func (s *ServiceMappingLoader) GetServiceMapping(name string) (*v1alpha1.ServiceMapping, error)
- func (s *ServiceMappingLoader) GetServiceMappingForServiceHostName(hostName string) (*v1alpha1.ServiceMapping, error)
- func (s *ServiceMappingLoader) GetServiceMappings() []v1alpha1.ServiceMapping
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResourceConfig ¶
func GetResourceConfig(sm *v1alpha1.ServiceMapping, u *unstructured.Unstructured) (*v1alpha1.ResourceConfig, error)
func GetResourceConfigsForKind ¶
func GetResourceConfigsForKind(sm *v1alpha1.ServiceMapping, kind string) []*v1alpha1.ResourceConfig
func GetResourceConfigsForTFType ¶ added in v1.101.0
func GetResourceConfigsForTFType(sm *v1alpha1.ServiceMapping, tfType string) (*v1alpha1.ResourceConfig, error)
func GetServiceMappings ¶
func GetServiceMappings() ([]v1alpha1.ServiceMapping, error)
Types ¶
type ServiceMappingLoader ¶
type ServiceMappingLoader struct {
// contains filtered or unexported fields
}
func New ¶
func New() (*ServiceMappingLoader, error)
func NewFromServiceMappings ¶
func NewFromServiceMappings(serviceMappings []v1alpha1.ServiceMapping) *ServiceMappingLoader
func (*ServiceMappingLoader) GetAutoGenOnlyGroups ¶ added in v1.98.0
func (s *ServiceMappingLoader) GetAutoGenOnlyGroups() map[string]bool
func (*ServiceMappingLoader) GetResourceConfig ¶
func (s *ServiceMappingLoader) GetResourceConfig(u *unstructured.Unstructured) (*v1alpha1.ResourceConfig, error)
func (*ServiceMappingLoader) GetResourceConfigs ¶
func (s *ServiceMappingLoader) GetResourceConfigs(gvk schema.GroupVersionKind) ([]*v1alpha1.ResourceConfig, error)
a single GVK can be associated with multiple ResourceConfigs because some resources have both Global and Regional ResourceConfigs
func (*ServiceMappingLoader) GetServiceMapping ¶
func (s *ServiceMappingLoader) GetServiceMapping(name string) (*v1alpha1.ServiceMapping, error)
func (*ServiceMappingLoader) GetServiceMappingForServiceHostName ¶
func (s *ServiceMappingLoader) GetServiceMappingForServiceHostName(hostName string) (*v1alpha1.ServiceMapping, error)
func (*ServiceMappingLoader) GetServiceMappings ¶
func (s *ServiceMappingLoader) GetServiceMappings() []v1alpha1.ServiceMapping
Click to show internal directories.
Click to hide internal directories.