Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type EntitiesGetter
- type EntityExpansion
- type EntityInterface
- type KindExpansion
- type KindInterface
- type KindsGetter
- type RelationExpansion
- type RelationInterface
- type RelationsGetter
- type ServiceExpansion
- type ServiceInterface
- type ServicesGetter
- type TopoV1beta1Client
- func (c *TopoV1beta1Client) Entities(namespace string) EntityInterface
- func (c *TopoV1beta1Client) Kinds(namespace string) KindInterface
- func (c *TopoV1beta1Client) RESTClient() rest.Interface
- func (c *TopoV1beta1Client) Relations(namespace string) RelationInterface
- func (c *TopoV1beta1Client) Services(namespace string) ServiceInterface
- type TopoV1beta1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntitiesGetter ¶
type EntitiesGetter interface {
Entities(namespace string) EntityInterface
}
EntitiesGetter has a method to return a EntityInterface. A group's client should implement this interface.
type EntityExpansion ¶
type EntityExpansion interface{}
type EntityInterface ¶
type EntityInterface interface { Create(*v1beta1.Entity) (*v1beta1.Entity, error) Update(*v1beta1.Entity) (*v1beta1.Entity, error) UpdateStatus(*v1beta1.Entity) (*v1beta1.Entity, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1beta1.Entity, error) List(opts v1.ListOptions) (*v1beta1.EntityList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Entity, err error) EntityExpansion }
EntityInterface has methods to work with Entity resources.
type KindExpansion ¶
type KindExpansion interface{}
type KindInterface ¶
type KindInterface interface { Create(*v1beta1.Kind) (*v1beta1.Kind, error) Update(*v1beta1.Kind) (*v1beta1.Kind, error) UpdateStatus(*v1beta1.Kind) (*v1beta1.Kind, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1beta1.Kind, error) List(opts v1.ListOptions) (*v1beta1.KindList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Kind, err error) KindExpansion }
KindInterface has methods to work with Kind resources.
type KindsGetter ¶
type KindsGetter interface {
Kinds(namespace string) KindInterface
}
KindsGetter has a method to return a KindInterface. A group's client should implement this interface.
type RelationExpansion ¶
type RelationExpansion interface{}
type RelationInterface ¶
type RelationInterface interface { Create(*v1beta1.Relation) (*v1beta1.Relation, error) Update(*v1beta1.Relation) (*v1beta1.Relation, error) UpdateStatus(*v1beta1.Relation) (*v1beta1.Relation, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1beta1.Relation, error) List(opts v1.ListOptions) (*v1beta1.RelationList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Relation, err error) RelationExpansion }
RelationInterface has methods to work with Relation resources.
type RelationsGetter ¶
type RelationsGetter interface {
Relations(namespace string) RelationInterface
}
RelationsGetter has a method to return a RelationInterface. A group's client should implement this interface.
type ServiceExpansion ¶
type ServiceExpansion interface{}
type ServiceInterface ¶
type ServiceInterface interface { Create(*v1beta1.Service) (*v1beta1.Service, error) Update(*v1beta1.Service) (*v1beta1.Service, error) UpdateStatus(*v1beta1.Service) (*v1beta1.Service, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1beta1.Service, error) List(opts v1.ListOptions) (*v1beta1.ServiceList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Service, err error) ServiceExpansion }
ServiceInterface has methods to work with Service resources.
type ServicesGetter ¶
type ServicesGetter interface {
Services(namespace string) ServiceInterface
}
ServicesGetter has a method to return a ServiceInterface. A group's client should implement this interface.
type TopoV1beta1Client ¶
type TopoV1beta1Client struct {
// contains filtered or unexported fields
}
TopoV1beta1Client is used to interact with features provided by the topo.onosproject.org group.
func New ¶
func New(c rest.Interface) *TopoV1beta1Client
New creates a new TopoV1beta1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*TopoV1beta1Client, error)
NewForConfig creates a new TopoV1beta1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *TopoV1beta1Client
NewForConfigOrDie creates a new TopoV1beta1Client for the given config and panics if there is an error in the config.
func (*TopoV1beta1Client) Entities ¶
func (c *TopoV1beta1Client) Entities(namespace string) EntityInterface
func (*TopoV1beta1Client) Kinds ¶
func (c *TopoV1beta1Client) Kinds(namespace string) KindInterface
func (*TopoV1beta1Client) RESTClient ¶
func (c *TopoV1beta1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*TopoV1beta1Client) Relations ¶
func (c *TopoV1beta1Client) Relations(namespace string) RelationInterface
func (*TopoV1beta1Client) Services ¶
func (c *TopoV1beta1Client) Services(namespace string) ServiceInterface
type TopoV1beta1Interface ¶
type TopoV1beta1Interface interface { RESTClient() rest.Interface EntitiesGetter KindsGetter RelationsGetter ServicesGetter }