service_model

package
v0.9.18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackRefDeletionHandler

type BackRefDeletionHandler struct {
	// contains filtered or unexported fields
}

func (*BackRefDeletionHandler) BackRefIsRepeated

func (h *BackRefDeletionHandler) BackRefIsRepeated() bool

func (*BackRefDeletionHandler) GetBackRefDescriptor

func (h *BackRefDeletionHandler) GetBackRefDescriptor() resource.Descriptor

func (*BackRefDeletionHandler) GetBackRefFp

func (h *BackRefDeletionHandler) GetBackRefFp() object.FieldPath

func (*BackRefDeletionHandler) HasRepeatedItemOnPath

func (h *BackRefDeletionHandler) HasRepeatedItemOnPath() bool

func (*BackRefDeletionHandler) IsCascadeDelete

func (h *BackRefDeletionHandler) IsCascadeDelete() bool

func (*BackRefDeletionHandler) IsUnset

func (h *BackRefDeletionHandler) IsUnset() bool

type ReferenceInfo

type ReferenceInfo struct {
	// contains filtered or unexported fields
}

func (*ReferenceInfo) GetFieldPath

func (ri *ReferenceInfo) GetFieldPath() object.FieldPath

func (*ReferenceInfo) GetOnTargetDeleted

func (ri *ReferenceInfo) GetOnTargetDeleted() ann.OnReferencedObjectDeleted

func (*ReferenceInfo) GetTargetResName

func (ri *ReferenceInfo) GetTargetResName() string

func (*ReferenceInfo) HasRepeatedItemOnPath

func (ri *ReferenceInfo) HasRepeatedItemOnPath() bool

func (*ReferenceInfo) IsRepeated

func (ri *ReferenceInfo) IsRepeated() bool

type ResourceModel

type ResourceModel struct {
	// contains filtered or unexported fields
}

func (*ResourceModel) GetDescriptor

func (m *ResourceModel) GetDescriptor() resource.Descriptor

func (*ResourceModel) GetGotenSpec

func (m *ResourceModel) GetGotenSpec() *resourceann.ResourceSpec

func (*ResourceModel) GetReferenceInfos

func (m *ResourceModel) GetReferenceInfos() []ReferenceInfo

func (*ResourceModel) GetSynchronousBackRefsDeletionHandlers

func (m *ResourceModel) GetSynchronousBackRefsDeletionHandlers() []*BackRefDeletionHandler

type ServiceModel

type ServiceModel struct {
	// contains filtered or unexported fields
}

func MakeServiceModel

func MakeServiceModel(svcDescriptor client.ServiceDescriptor) *ServiceModel

func (*ServiceModel) GetResourceModels

func (m *ServiceModel) GetResourceModels() []*ResourceModel

func (*ServiceModel) GetSvcDescriptor

func (m *ServiceModel) GetSvcDescriptor() client.ServiceDescriptor

Jump to

Keyboard shortcuts

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