Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustCreateObject ¶ added in v0.0.8
func MustCreateObject(kind schema.GroupVersionKind, oc runtime.ObjectCreater) runtime.Object
MustCreateObject returns a new Object of the supplied kind. It panics if the kind is unknown to the supplied ObjectCreator.
Types ¶
type Finalizer ¶
type Finalizer interface {
AddFinalizer(ctx context.Context, obj Object) error
RemoveFinalizer(ctx context.Context, obj Object) error
HasOtherFinalizer(ctx context.Context, obj Object) (bool, error)
AddFinalizerString(ctx context.Context, obj Object, finalizerString string) error
RemoveFinalizerString(ctx context.Context, obj Object, finalizerString string) error
}
A Finalizer manages the finalizers on the resource.
type Managed ¶
type Managed interface {
Object
}
A Managed is a Kubernetes object representing a concrete managed resource (e.g. a CloudSQL instance).
type ManagedKind ¶ added in v0.0.8
type ManagedKind schema.GroupVersionKind
A ManagedKind contains the type metadata for a kind of managed resource.
type ManagedList ¶
type ManagedList interface {
client.ObjectList
// GetItems returns the list of managed resources.
GetItems() []Managed
}
A ManagedList is a list of managed resources.
Click to show internal directories.
Click to hide internal directories.