Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MidonetV1Client ¶
type MidonetV1Client struct {
// contains filtered or unexported fields
}
MidonetV1Client is used to interact with features provided by the midonet.org group.
func New ¶
func New(c rest.Interface) *MidonetV1Client
New creates a new MidonetV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MidonetV1Client, error)
NewForConfig creates a new MidonetV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *MidonetV1Client
NewForConfigOrDie creates a new MidonetV1Client for the given config and panics if there is an error in the config.
func (*MidonetV1Client) RESTClient ¶
func (c *MidonetV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*MidonetV1Client) Translations ¶
func (c *MidonetV1Client) Translations(namespace string) TranslationInterface
type MidonetV1Interface ¶
type MidonetV1Interface interface { RESTClient() rest.Interface TranslationsGetter }
type TranslationExpansion ¶
type TranslationExpansion interface{}
type TranslationInterface ¶
type TranslationInterface interface { Create(*v1.Translation) (*v1.Translation, error) Update(*v1.Translation) (*v1.Translation, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Translation, error) List(opts meta_v1.ListOptions) (*v1.TranslationList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Translation, err error) TranslationExpansion }
TranslationInterface has methods to work with Translation resources.
type TranslationsGetter ¶
type TranslationsGetter interface {
Translations(namespace string) TranslationInterface
}
TranslationsGetter has a method to return a TranslationInterface. A group's client should implement this interface.