Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AttributeExpansion
- type AttributeInterface
- type AttributesGetter
- type GlooV1Client
- func (c *GlooV1Client) Attributes(namespace string) AttributeInterface
- func (c *GlooV1Client) RESTClient() rest.Interface
- func (c *GlooV1Client) Roles(namespace string) RoleInterface
- func (c *GlooV1Client) Upstreams(namespace string) UpstreamInterface
- func (c *GlooV1Client) VirtualServices(namespace string) VirtualServiceInterface
- type GlooV1Interface
- type RoleExpansion
- type RoleInterface
- type RolesGetter
- type UpstreamExpansion
- type UpstreamInterface
- type UpstreamsGetter
- type VirtualServiceExpansion
- type VirtualServiceInterface
- type VirtualServicesGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeExpansion ¶
type AttributeExpansion interface{}
type AttributeInterface ¶
type AttributeInterface interface { Create(*v1.Attribute) (*v1.Attribute, error) Update(*v1.Attribute) (*v1.Attribute, 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.Attribute, error) List(opts meta_v1.ListOptions) (*v1.AttributeList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Attribute, err error) AttributeExpansion }
AttributeInterface has methods to work with Attribute resources.
type AttributesGetter ¶
type AttributesGetter interface {
Attributes(namespace string) AttributeInterface
}
AttributesGetter has a method to return a AttributeInterface. A group's client should implement this interface.
type GlooV1Client ¶
type GlooV1Client struct {
// contains filtered or unexported fields
}
GlooV1Client is used to interact with features provided by the gloo.solo.io group.
func New ¶
func New(c rest.Interface) *GlooV1Client
New creates a new GlooV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*GlooV1Client, error)
NewForConfig creates a new GlooV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *GlooV1Client
NewForConfigOrDie creates a new GlooV1Client for the given config and panics if there is an error in the config.
func (*GlooV1Client) Attributes ¶
func (c *GlooV1Client) Attributes(namespace string) AttributeInterface
func (*GlooV1Client) RESTClient ¶
func (c *GlooV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*GlooV1Client) Roles ¶
func (c *GlooV1Client) Roles(namespace string) RoleInterface
func (*GlooV1Client) Upstreams ¶
func (c *GlooV1Client) Upstreams(namespace string) UpstreamInterface
func (*GlooV1Client) VirtualServices ¶
func (c *GlooV1Client) VirtualServices(namespace string) VirtualServiceInterface
type GlooV1Interface ¶
type GlooV1Interface interface { RESTClient() rest.Interface AttributesGetter RolesGetter UpstreamsGetter VirtualServicesGetter }
type RoleExpansion ¶
type RoleExpansion interface{}
type RoleInterface ¶
type RoleInterface interface { Create(*v1.Role) (*v1.Role, error) Update(*v1.Role) (*v1.Role, 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.Role, error) List(opts meta_v1.ListOptions) (*v1.RoleList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Role, err error) RoleExpansion }
RoleInterface has methods to work with Role resources.
type RolesGetter ¶
type RolesGetter interface {
Roles(namespace string) RoleInterface
}
RolesGetter has a method to return a RoleInterface. A group's client should implement this interface.
type UpstreamExpansion ¶
type UpstreamExpansion interface{}
type UpstreamInterface ¶
type UpstreamInterface interface { Create(*v1.Upstream) (*v1.Upstream, error) Update(*v1.Upstream) (*v1.Upstream, 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.Upstream, error) List(opts meta_v1.ListOptions) (*v1.UpstreamList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Upstream, err error) UpstreamExpansion }
UpstreamInterface has methods to work with Upstream resources.
type UpstreamsGetter ¶
type UpstreamsGetter interface {
Upstreams(namespace string) UpstreamInterface
}
UpstreamsGetter has a method to return a UpstreamInterface. A group's client should implement this interface.
type VirtualServiceExpansion ¶
type VirtualServiceExpansion interface{}
type VirtualServiceInterface ¶
type VirtualServiceInterface interface { Create(*v1.VirtualService) (*v1.VirtualService, error) Update(*v1.VirtualService) (*v1.VirtualService, 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.VirtualService, error) List(opts meta_v1.ListOptions) (*v1.VirtualServiceList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.VirtualService, err error) VirtualServiceExpansion }
VirtualServiceInterface has methods to work with VirtualService resources.
type VirtualServicesGetter ¶
type VirtualServicesGetter interface {
VirtualServices(namespace string) VirtualServiceInterface
}
VirtualServicesGetter has a method to return a VirtualServiceInterface. A group's client should implement this interface.