resource

package
v0.0.0-...-c54dba7 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeAgentSync v1alpha1.ConditionType = "AgentSynced"

	ReasonAgentSyncSuccess v1alpha1.ConditionReason = "Success"
	ReasonAgentSyncError   v1alpha1.ConditionReason = "Error"
)

Condition constants.

Variables

This section is empty.

Functions

func AgentSyncError

func AgentSyncError(err error) v1alpha1.Condition

AgentSyncError returns a condition indicating that Agent encountered an error while syncing the resource.

func AgentSyncSuccess

func AgentSyncSuccess() v1alpha1.Condition

AgentSyncSuccess returns a condition indicating that Agent successfully synced with the remote cluster.

func NewNameFilter

func NewNameFilter(list []types.NamespacedName) predicate.Funcs

NewNameFilter returns a new *NameFilter that uses the given list.

func NewXRDWithClaim

func NewXRDWithClaim() predicate.Funcs

NewXRDWithClaim returns a new XRDWithClaim object.

func SanitizedDeepCopyObject

func SanitizedDeepCopyObject(in runtime.Object) resource.Object

SanitizedDeepCopyObject removes the metadata that can be specific to a cluster. For example, owner references are references to resources in that cluster and would be meaningless in another one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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