Documentation ¶
Index ¶
- func NewIngressGatewayResourceManager(client client.Client, serviceMeshClient services.ServiceMeshClient, ...) manager.CustomResourceHandler
- func NewIngressGatewayValidator(resolver references.Resolver, log loggerutil.OSOKLogger) manager.CustomResourceValidator
- type IngressGatewayValidator
- func (v *IngressGatewayValidator) GetEntityType() client.Object
- func (v *IngressGatewayValidator) GetStatus(object client.Object) (*servicemeshapi.ServiceMeshStatus, error)
- func (v *IngressGatewayValidator) ResolveRef(object client.Object) (bool, string)
- func (v *IngressGatewayValidator) ValidateObject(object client.Object) error
- func (v *IngressGatewayValidator) ValidateOnCreate(context context.Context, object client.Object) (bool, string)
- func (v *IngressGatewayValidator) ValidateOnUpdate(context context.Context, object client.Object, oldObject client.Object) (bool, string)
- type ResourceManager
- func (m *ResourceManager) BuildSdk(object client.Object, details *manager.ResourceDetails) error
- func (m *ResourceManager) ChangeCompartment(ctx context.Context, object client.Object, details *manager.ResourceDetails) error
- func (m *ResourceManager) CreateResource(ctx context.Context, object client.Object, details *manager.ResourceDetails) (bool, error)
- func (m *ResourceManager) DeleteResource(ctx context.Context, object client.Object) error
- func (m *ResourceManager) Finalize(ctx context.Context, object client.Object) error
- func (m *ResourceManager) GetConditionStatus(details *manager.ResourceDetails) metav1.ConditionStatus
- func (m *ResourceManager) GetFinalizer() string
- func (m *ResourceManager) GetLifecycleState(details *manager.ResourceDetails) string
- func (m *ResourceManager) GetMessage(details *manager.ResourceDetails) string
- func (m *ResourceManager) GetResource(ctx context.Context, object client.Object, details *manager.ResourceDetails) error
- func (m *ResourceManager) GetServiceMeshStatus(object client.Object) (*servicemeshapi.ServiceMeshStatus, error)
- func (m *ResourceManager) GetTimeUpdated(details *manager.ResourceDetails) *common.SDKTime
- func (m *ResourceManager) HasCompartmentIdChanged(object client.Object, details *manager.ResourceDetails) (bool, error)
- func (m *ResourceManager) ResolveDependencies(ctx context.Context, object client.Object, details *manager.ResourceDetails) error
- func (m *ResourceManager) UpdateResource(ctx context.Context, object client.Object, details *manager.ResourceDetails) error
- func (m *ResourceManager) UpdateStatus(object client.Object, details *manager.ResourceDetails) (bool, error)
- func (m *ResourceManager) VerifyEntityType(object runtime.Object) (client.Object, error)
- func (m *ResourceManager) VerifyResourceStatus(details *manager.ResourceDetails) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIngressGatewayResourceManager ¶
func NewIngressGatewayResourceManager(client client.Client, serviceMeshClient services.ServiceMeshClient, log loggerutil.OSOKLogger, referenceResolver references.Resolver) manager.CustomResourceHandler
func NewIngressGatewayValidator ¶
func NewIngressGatewayValidator(resolver references.Resolver, log loggerutil.OSOKLogger) manager.CustomResourceValidator
Types ¶
type IngressGatewayValidator ¶
type IngressGatewayValidator struct {
// contains filtered or unexported fields
}
func (*IngressGatewayValidator) GetEntityType ¶
func (v *IngressGatewayValidator) GetEntityType() client.Object
func (*IngressGatewayValidator) GetStatus ¶
func (v *IngressGatewayValidator) GetStatus(object client.Object) (*servicemeshapi.ServiceMeshStatus, error)
func (*IngressGatewayValidator) ResolveRef ¶
func (v *IngressGatewayValidator) ResolveRef(object client.Object) (bool, string)
func (*IngressGatewayValidator) ValidateObject ¶
func (v *IngressGatewayValidator) ValidateObject(object client.Object) error
func (*IngressGatewayValidator) ValidateOnCreate ¶
type ResourceManager ¶
type ResourceManager struct {
// contains filtered or unexported fields
}
func (*ResourceManager) BuildSdk ¶
func (m *ResourceManager) BuildSdk(object client.Object, details *manager.ResourceDetails) error
func (*ResourceManager) ChangeCompartment ¶
func (m *ResourceManager) ChangeCompartment(ctx context.Context, object client.Object, details *manager.ResourceDetails) error
func (*ResourceManager) CreateResource ¶
func (m *ResourceManager) CreateResource(ctx context.Context, object client.Object, details *manager.ResourceDetails) (bool, error)
func (*ResourceManager) DeleteResource ¶
func (*ResourceManager) GetConditionStatus ¶
func (m *ResourceManager) GetConditionStatus(details *manager.ResourceDetails) metav1.ConditionStatus
func (*ResourceManager) GetFinalizer ¶
func (m *ResourceManager) GetFinalizer() string
func (*ResourceManager) GetLifecycleState ¶
func (m *ResourceManager) GetLifecycleState(details *manager.ResourceDetails) string
func (*ResourceManager) GetMessage ¶
func (m *ResourceManager) GetMessage(details *manager.ResourceDetails) string
func (*ResourceManager) GetResource ¶
func (m *ResourceManager) GetResource(ctx context.Context, object client.Object, details *manager.ResourceDetails) error
func (*ResourceManager) GetServiceMeshStatus ¶
func (m *ResourceManager) GetServiceMeshStatus(object client.Object) (*servicemeshapi.ServiceMeshStatus, error)
func (*ResourceManager) GetTimeUpdated ¶
func (m *ResourceManager) GetTimeUpdated(details *manager.ResourceDetails) *common.SDKTime
func (*ResourceManager) HasCompartmentIdChanged ¶
func (m *ResourceManager) HasCompartmentIdChanged(object client.Object, details *manager.ResourceDetails) (bool, error)
func (*ResourceManager) ResolveDependencies ¶
func (m *ResourceManager) ResolveDependencies(ctx context.Context, object client.Object, details *manager.ResourceDetails) error
func (*ResourceManager) UpdateResource ¶
func (m *ResourceManager) UpdateResource(ctx context.Context, object client.Object, details *manager.ResourceDetails) error
func (*ResourceManager) UpdateStatus ¶
func (m *ResourceManager) UpdateStatus(object client.Object, details *manager.ResourceDetails) (bool, error)
func (*ResourceManager) VerifyEntityType ¶
func (*ResourceManager) VerifyResourceStatus ¶
func (m *ResourceManager) VerifyResourceStatus(details *manager.ResourceDetails) (bool, error)
Click to show internal directories.
Click to hide internal directories.