Documentation ¶
Index ¶
- type ReconciliationStatus
- type ReconciliationV1beta1Status
- func (s ReconciliationV1beta1Status) GenerateStatusFromFailures(failures []validation.Failure) ReconciliationStatus
- func (s ReconciliationV1beta1Status) GetStatusForErrorMap(errorMap map[ResourceSelector][]error) ReconciliationStatus
- func (s ReconciliationV1beta1Status) HasError() bool
- func (s ReconciliationV1beta1Status) UpdateStatus(status any) error
- type ReconciliationV2alpha1Status
- func (s ReconciliationV2alpha1Status) GenerateStatusFromFailures(failures []validation.Failure) ReconciliationStatus
- func (s ReconciliationV2alpha1Status) GetStatusForErrorMap(errorMap map[ResourceSelector][]error) ReconciliationStatus
- func (s ReconciliationV2alpha1Status) HasError() bool
- func (s ReconciliationV2alpha1Status) UpdateStatus(status any) error
- type ResourceSelector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReconciliationStatus ¶
type ReconciliationStatus interface { UpdateStatus(status any) error GetStatusForErrorMap(errorMap map[ResourceSelector][]error) ReconciliationStatus GenerateStatusFromFailures([]validation.Failure) ReconciliationStatus HasError() bool }
type ReconciliationV1beta1Status ¶
type ReconciliationV1beta1Status struct { ApiRuleStatus *gatewayv1beta1.APIRuleResourceStatus VirtualServiceStatus *gatewayv1beta1.APIRuleResourceStatus AccessRuleStatus *gatewayv1beta1.APIRuleResourceStatus RequestAuthenticationStatus *gatewayv1beta1.APIRuleResourceStatus AuthorizationPolicyStatus *gatewayv1beta1.APIRuleResourceStatus }
func (ReconciliationV1beta1Status) GenerateStatusFromFailures ¶
func (s ReconciliationV1beta1Status) GenerateStatusFromFailures(failures []validation.Failure) ReconciliationStatus
func (ReconciliationV1beta1Status) GetStatusForErrorMap ¶
func (s ReconciliationV1beta1Status) GetStatusForErrorMap(errorMap map[ResourceSelector][]error) ReconciliationStatus
func (ReconciliationV1beta1Status) HasError ¶
func (s ReconciliationV1beta1Status) HasError() bool
func (ReconciliationV1beta1Status) UpdateStatus ¶
func (s ReconciliationV1beta1Status) UpdateStatus(status any) error
type ReconciliationV2alpha1Status ¶
type ReconciliationV2alpha1Status struct {
ApiRuleStatus *gatewayv2alpha1.APIRuleStatus
}
func (ReconciliationV2alpha1Status) GenerateStatusFromFailures ¶
func (s ReconciliationV2alpha1Status) GenerateStatusFromFailures(failures []validation.Failure) ReconciliationStatus
func (ReconciliationV2alpha1Status) GetStatusForErrorMap ¶
func (s ReconciliationV2alpha1Status) GetStatusForErrorMap(errorMap map[ResourceSelector][]error) ReconciliationStatus
func (ReconciliationV2alpha1Status) HasError ¶
func (s ReconciliationV2alpha1Status) HasError() bool
func (ReconciliationV2alpha1Status) UpdateStatus ¶
func (s ReconciliationV2alpha1Status) UpdateStatus(status any) error
type ResourceSelector ¶
type ResourceSelector int
const ( OnApiRule ResourceSelector = iota OnVirtualService OnAccessRule OnAuthorizationPolicy OnRequestAuthentication )
func (ResourceSelector) String ¶
func (r ResourceSelector) String() string
Click to show internal directories.
Click to hide internal directories.