Documentation ¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func GetNetworkInterfaceIPAllocatorAccessor(obj runtime.Object) (ipallocator.Accessor, error)
- func MatchNetworkInterface(label labels.Selector, field fields.Selector) apisrvstorage.SelectionPredicate
- func NewStatusStrategy(typer runtime.ObjectTyper) networkInterfaceStatusStrategy
- func NewStrategy(typer runtime.ObjectTyper) networkInterfaceStrategy
- func SelectableFields(networkInterface *core.NetworkInterface) fields.Set
- type NetworkInterfaceStorage
- type REST
- type StatusREST
- func (r *StatusREST) Destroy()
- func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set
- func (r *StatusREST) New() runtime.Object
- func (r *StatusREST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNetworkInterfaceIPAllocatorAccessor ¶
func GetNetworkInterfaceIPAllocatorAccessor(obj runtime.Object) (ipallocator.Accessor, error)
func MatchNetworkInterface ¶
func MatchNetworkInterface(label labels.Selector, field fields.Selector) apisrvstorage.SelectionPredicate
func NewStatusStrategy ¶
func NewStatusStrategy(typer runtime.ObjectTyper) networkInterfaceStatusStrategy
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) networkInterfaceStrategy
func SelectableFields ¶
func SelectableFields(networkInterface *core.NetworkInterface) fields.Set
Types ¶
type NetworkInterfaceStorage ¶
type NetworkInterfaceStorage struct { NetworkInterface *REST Status *StatusREST }
func NewStorage ¶
func NewStorage( scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter, allocatorByFamily map[corev1.IPFamily]ipallocator.Interface, ) (NetworkInterfaceStorage, error)
type REST ¶
type REST struct { *genericregistry.Store // contains filtered or unexported fields }
type StatusREST ¶
type StatusREST struct {
// contains filtered or unexported fields
}
func (*StatusREST) Destroy ¶
func (r *StatusREST) Destroy()
func (*StatusREST) Get ¶
func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
func (*StatusREST) GetResetFields ¶
func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set
func (*StatusREST) New ¶
func (r *StatusREST) New() runtime.Object
func (*StatusREST) Update ¶
func (r *StatusREST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)
Click to show internal directories.
Click to hide internal directories.