Documentation ¶
Index ¶
- type REST
- func (r *REST) ConvertToTable(ctx context.Context, obj runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)
- func (r *REST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *REST) List(ctx context.Context, options *internalversion.ListOptions) (runtime.Object, error)
- func (r *REST) NamespaceScoped() bool
- func (r *REST) New() runtime.Object
- func (r *REST) NewList() runtime.Object
- func (r *REST) Watch(ctx context.Context, options *internalversion.ListOptions) (watch.Interface, error)
- type StatusREST
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
REST implements rest.Storage for NetworkPolicies.
func (*REST) ConvertToTable ¶
func (*REST) List ¶
func (r *REST) List(ctx context.Context, options *internalversion.ListOptions) (runtime.Object, error)
func (*REST) NamespaceScoped ¶
func (*REST) Watch ¶
func (r *REST) Watch(ctx context.Context, options *internalversion.ListOptions) (watch.Interface, error)
type StatusREST ¶
type StatusREST struct {
// contains filtered or unexported fields
}
StatusREST implements the REST endpoint for getting NetworkPolicy's status.
func NewStatusREST ¶
func NewStatusREST(collector statusCollector) *StatusREST
NewStatusREST returns a REST object that will work against API services.
func (StatusREST) Create ¶
func (s StatusREST) Create(ctx context.Context, name string, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)
func (StatusREST) New ¶
func (s StatusREST) New() runtime.Object
Click to show internal directories.
Click to hide internal directories.