Documentation ¶
Index ¶
- Constants
- func GetIngressGatewayDeploymentOwnerWatch(srcType client.Object) servicemeshoci.CustomWatch
- func NewEnqueueRequestsForConfigmapEvents(k8sClient client.Client, log logr.Logger, namespace string) *enqueueRequestsForConfigmapEvents
- func NewIngressGatewayDeploymentValidator(resolver references.Resolver, log loggerutil.OSOKLogger) manager.CustomResourceValidator
- type IngressGatewayDeploymentServiceManager
- func (h *IngressGatewayDeploymentServiceManager) CreateOrUpdate(ctx context.Context, obj runtime.Object, req ctrl.Request) (servicemanager.OSOKResponse, error)
- func (h *IngressGatewayDeploymentServiceManager) Delete(ctx context.Context, obj runtime.Object) (bool, error)
- func (h *IngressGatewayDeploymentServiceManager) GetCrdStatus(obj runtime.Object) (*api.OSOKStatus, error)
- func (h *IngressGatewayDeploymentServiceManager) UpdateServiceMeshActiveStatus(ctx context.Context, igd *servicemeshapi.IngressGatewayDeployment, err error)
- func (h *IngressGatewayDeploymentServiceManager) UpdateServiceMeshCondition(ctx context.Context, igd *servicemeshapi.IngressGatewayDeployment, ...) error
- func (h *IngressGatewayDeploymentServiceManager) UpdateServiceMeshDependenciesActiveStatus(ctx context.Context, igd *servicemeshapi.IngressGatewayDeployment, err error)
- type IngressGatewayDeploymentValidator
- func (v *IngressGatewayDeploymentValidator) GetEntityType() client.Object
- func (v *IngressGatewayDeploymentValidator) GetStatus(object client.Object) (*servicemeshapi.ServiceMeshStatus, error)
- func (v *IngressGatewayDeploymentValidator) ResolveRef(object client.Object) (bool, string)
- func (v *IngressGatewayDeploymentValidator) ValidateObject(object client.Object) error
- func (v *IngressGatewayDeploymentValidator) ValidateOnCreate(context context.Context, object client.Object) (bool, string)
- func (v *IngressGatewayDeploymentValidator) ValidateOnUpdate(context context.Context, object client.Object, oldObject client.Object) (bool, string)
Constants ¶
View Source
const IngressGatewaySecretsMountPath = "/etc/oci/secrets" // #nosec G101
Variables ¶
This section is empty.
Functions ¶
func NewIngressGatewayDeploymentValidator ¶
func NewIngressGatewayDeploymentValidator(resolver references.Resolver, log loggerutil.OSOKLogger) manager.CustomResourceValidator
Types ¶
type IngressGatewayDeploymentServiceManager ¶
type IngressGatewayDeploymentServiceManager struct { Caches customCache.CacheMapClient // contains filtered or unexported fields }
func NewIngressGatewayDeploymentServiceManager ¶
func NewIngressGatewayDeploymentServiceManager(client client.Client, log loggerutil.OSOKLogger, clientSet kubernetes.Interface, referenceResolver references.Resolver, caches customCache.CacheMapClient, namespace string) *IngressGatewayDeploymentServiceManager
func (*IngressGatewayDeploymentServiceManager) CreateOrUpdate ¶
func (h *IngressGatewayDeploymentServiceManager) CreateOrUpdate(ctx context.Context, obj runtime.Object, req ctrl.Request) (servicemanager.OSOKResponse, error)
func (*IngressGatewayDeploymentServiceManager) GetCrdStatus ¶
func (h *IngressGatewayDeploymentServiceManager) GetCrdStatus(obj runtime.Object) (*api.OSOKStatus, error)
func (*IngressGatewayDeploymentServiceManager) UpdateServiceMeshActiveStatus ¶
func (h *IngressGatewayDeploymentServiceManager) UpdateServiceMeshActiveStatus(ctx context.Context, igd *servicemeshapi.IngressGatewayDeployment, err error)
func (*IngressGatewayDeploymentServiceManager) UpdateServiceMeshCondition ¶
func (h *IngressGatewayDeploymentServiceManager) UpdateServiceMeshCondition(ctx context.Context, igd *servicemeshapi.IngressGatewayDeployment, status metav1.ConditionStatus, reason string, message string, meshConditionType servicemeshapi.ServiceMeshConditionType) error
UpdateServiceMeshCondition updates the status of the resource Called when there is an error from CP Additionally, also called when the state is not Active We haven't fully synced the spec, hence using the existing generation from the status for generation field
func (*IngressGatewayDeploymentServiceManager) UpdateServiceMeshDependenciesActiveStatus ¶
func (h *IngressGatewayDeploymentServiceManager) UpdateServiceMeshDependenciesActiveStatus(ctx context.Context, igd *servicemeshapi.IngressGatewayDeployment, err error)
type IngressGatewayDeploymentValidator ¶
type IngressGatewayDeploymentValidator struct {
// contains filtered or unexported fields
}
func (*IngressGatewayDeploymentValidator) GetEntityType ¶
func (v *IngressGatewayDeploymentValidator) GetEntityType() client.Object
func (*IngressGatewayDeploymentValidator) GetStatus ¶
func (v *IngressGatewayDeploymentValidator) GetStatus(object client.Object) (*servicemeshapi.ServiceMeshStatus, error)
func (*IngressGatewayDeploymentValidator) ResolveRef ¶
func (v *IngressGatewayDeploymentValidator) ResolveRef(object client.Object) (bool, string)
func (*IngressGatewayDeploymentValidator) ValidateObject ¶
func (v *IngressGatewayDeploymentValidator) ValidateObject(object client.Object) error
func (*IngressGatewayDeploymentValidator) ValidateOnCreate ¶
Click to show internal directories.
Click to hide internal directories.