Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodREST ¶
PodREST implements the REST endpoint for find pods by a deployment.
func (*PodREST) Get ¶
func (r *PodREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
Get retrieves the object from the storage. It is required to support Patch.
func (*PodREST) GroupVersionKind ¶
func (r *PodREST) GroupVersionKind(containingGV schema.GroupVersion) schema.GroupVersionKind
GroupVersionKind is used to specify a particular GroupVersionKind to discovery.
type REST ¶
REST implements pkg/api/rest.StandardStorage
func (*REST) NamespaceScoped ¶
NamespaceScoped returns if the object must be in a namespace.
type ScaleREST ¶
ScaleREST implements the REST endpoint for scale the extension.
func (*ScaleREST) Get ¶
func (r *ScaleREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
Get finds a resource in the storage by name and returns it.
func (*ScaleREST) Update ¶
func (r *ScaleREST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)
Update finds a resource in the storage and updates it.
type Storage ¶
Storage includes storage for resources.
func NewStorageV1Beta1 ¶
func NewStorageV1Beta1(_ genericregistry.RESTOptionsGetter, platformClient platforminternalclient.PlatformInterface) *Storage
NewStorageV1Beta1 returns a Storage object that will work against resources.
Click to show internal directories.
Click to hide internal directories.