Documentation ¶
Index ¶
- Variables
- type PipelineStorage
- type REST
- type StatusREST
- func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)
- 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) NamespaceScoped() bool
- func (r *StatusREST) New() runtime.Object
- func (r *StatusREST) Update(ctx context.Context, name string, objInfo apirest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Strategy = pipelineStrategy{_const.Scheme, apinames.SimpleNameGenerator}
Strategy is the default logic that applies when creating and updating Pod objects via the REST API.
Functions ¶
This section is empty.
Types ¶
type PipelineStorage ¶
type PipelineStorage struct { Pipeline *REST PipelineStatus *StatusREST }
func NewStorage ¶
func NewStorage(optsGetter apigeneric.RESTOptionsGetter) (PipelineStorage, error)
type REST ¶
type REST struct {
*apiregistry.Store
}
type StatusREST ¶
type StatusREST struct {
// contains filtered or unexported fields
}
func (*StatusREST) ConvertToTable ¶
func (*StatusREST) Destroy ¶
func (r *StatusREST) Destroy()
Destroy cleans up resources on shutdown.
func (*StatusREST) Get ¶
func (r *StatusREST) 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 (*StatusREST) GetResetFields ¶
func (r *StatusREST) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set
GetResetFields implements rest.ResetFieldsStrategy
func (*StatusREST) NamespaceScoped ¶
func (r *StatusREST) NamespaceScoped() bool
func (*StatusREST) Update ¶
func (r *StatusREST) Update(ctx context.Context, name string, objInfo apirest.UpdatedObjectInfo, createValidation apirest.ValidateObjectFunc, updateValidation apirest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)
Update alters the status subset of an object.
Click to show internal directories.
Click to hide internal directories.