Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewREST ¶ added in v1.1.2
func NewREST(optsGetter restoptions.Getter) (*REST, *DetailsREST, error)
NewREST returns a RESTStorage object that will work against Build objects.
Types ¶
type DetailsREST ¶ added in v1.1.1
type DetailsREST struct {
// contains filtered or unexported fields
}
func (*DetailsREST) New ¶ added in v1.1.1
func (r *DetailsREST) New() runtime.Object
New returns an empty object that can be used with Update after request data has been put into it.
func (*DetailsREST) Update ¶ added in v1.1.1
func (r *DetailsREST) Update(ctx apirequest.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)
Update finds a resource in the storage and updates it.
type LegacyREST ¶
type LegacyREST struct {
*REST
}
LegacyREST allows us to wrap and alter some behavior
func (*LegacyREST) Categories ¶
func (r *LegacyREST) Categories() []string
Click to show internal directories.
Click to hide internal directories.