Documentation
¶
Index ¶
Constants ¶
View Source
const ( SpecOnly = CommitType("SpecOnly") SpecAndStatus = CommitType("SpecAndStatus") )
Variables ¶
This section is empty.
Functions ¶
func IgnoreNotFound ¶
func IsNotFoundOrConflict ¶
func NewAndIndexer ¶
func NewAndIndexer(indexers ...client.FieldIndexer) client.FieldIndexer
Types ¶
type Client ¶
type Client interface {
client.Client
GetObject(ctx context.Context, namespacedName types.NamespacedName, gvk schema.GroupVersionKind) (client.Object, error)
GetObjectOrDefault(ctx context.Context, namespacedName types.NamespacedName, gvk schema.GroupVersionKind) (client.Object, error)
CommitObject(ctx context.Context, obj client.Object, commitType CommitType) error
}
type CommitType ¶ added in v2.6.0
type CommitType string
Click to show internal directories.
Click to hide internal directories.