Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FinalizeREST ¶
FinalizeREST implements the REST endpoint for finalizing a policy.
func (*FinalizeREST) New ¶
func (r *FinalizeREST) New() runtime.Object
New returns an empty object that can be used with Create and Update after request data has been put into it.
type REST ¶
REST implements a RESTStorage for configmap against etcd.
func (*REST) Delete ¶
func (r *REST) Delete(ctx context.Context, name string, deleteValidation rest.ValidateObjectFunc, options *metav1.DeleteOptions) (runtime.Object, bool, error)
Delete enforces life-cycle rules for policy termination
func (*REST) List ¶
func (r *REST) List(ctx context.Context, options *metainternal.ListOptions) (runtime.Object, error)
List selects resources in the storage which match to the selector. 'options' can be nil.
func (*REST) ShortNames ¶
ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.
type Storage ¶
type Storage struct { Role *REST Finalize *FinalizeREST }
Storage includes storage for configmap and all sub resources.
func NewStorage ¶
func NewStorage(optsGetter genericregistry.RESTOptionsGetter, policyGetter rest.Getter, platformClient platformversionedclient.PlatformV1Interface) *Storage
NewStorage returns a Storage object that will work against configmap.
Click to show internal directories.
Click to hide internal directories.