Documentation ¶
Index ¶
- func NewStatusPoller(f util.Factory) (*polling.StatusPoller, error)
- type ConfigConnectorStatusReader
- func (c *ConfigConnectorStatusReader) ReadStatus(ctx context.Context, reader engine.ClusterReader, id object.ObjMetadata) *event.ResourceStatus
- func (c *ConfigConnectorStatusReader) ReadStatusForObject(_ context.Context, _ engine.ClusterReader, u *unstructured.Unstructured) *event.ResourceStatus
- func (c *ConfigConnectorStatusReader) Supports(gk schema.GroupKind) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStatusPoller ¶
func NewStatusPoller(f util.Factory) (*polling.StatusPoller, error)
Types ¶
type ConfigConnectorStatusReader ¶
type ConfigConnectorStatusReader struct {
Mapper meta.RESTMapper
}
ConfigConnectorStatusReader can compute reconcile status for Config Connector resources. It leverages information in the `Reason` field of the `Ready` condition. TODO(mortent): Make more of the convencience functions and types from cli-utils exported so we can simplify this.
func (*ConfigConnectorStatusReader) ReadStatus ¶
func (c *ConfigConnectorStatusReader) ReadStatus(ctx context.Context, reader engine.ClusterReader, id object.ObjMetadata) *event.ResourceStatus
func (*ConfigConnectorStatusReader) ReadStatusForObject ¶
func (c *ConfigConnectorStatusReader) ReadStatusForObject(_ context.Context, _ engine.ClusterReader, u *unstructured.Unstructured) *event.ResourceStatus
Click to show internal directories.
Click to hide internal directories.