Documentation ¶
Index ¶
- func CheckObject(obj runtime.Object) error
- func EmptyObject() runtime.Object
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewList() runtime.Object
- func NewScopeStrategy() rest.NamespaceScopedStrategy
- func NewSingular(ns, name string) runtime.Object
- func NewStorage(opts server.Options) (clusterServiceBrokers, clusterServiceBrokerStatus rest.Storage)
- type StatusREST
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckObject ¶
CheckObject returns a non-nil error if obj is not a broker object
func NewScopeStrategy ¶
func NewScopeStrategy() rest.NamespaceScopedStrategy
NewScopeStrategy returns a new NamespaceScopedStrategy for brokers
func NewSingular ¶
NewSingular returns a new shell of a service broker, according to the given namespace and name
Types ¶
type StatusREST ¶
type StatusREST struct {
// contains filtered or unexported fields
}
StatusREST defines the REST operations for the status subresource via implementation of various rest interfaces. It supports the http verbs GET, PATCH, and PUT.
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 and to implement the rest.Getter interface.
func (*StatusREST) New ¶
func (r *StatusREST) New() runtime.Object
New returns a new ClusterServiceBroker.
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)
Update alters the status subset of an object and implements the rest.Updater interface.
Click to show internal directories.
Click to hide internal directories.