status

package
v0.0.0-...-3a859c3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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