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 HandlerExpansion ¶
type HandlerExpansion interface{}
type HandlerInterface ¶
type HandlerInterface interface { Create(*v1alpha2.Handler) (*v1alpha2.Handler, error) Update(*v1alpha2.Handler) (*v1alpha2.Handler, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha2.Handler, error) List(opts v1.ListOptions) (*v1alpha2.HandlerList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Handler, err error) HandlerExpansion }
HandlerInterface has methods to work with Handler resources.
type HandlersGetter ¶
type HandlersGetter interface {
Handlers(namespace string) HandlerInterface
}
HandlersGetter has a method to return a HandlerInterface. A group's client should implement this interface.
type InstanceExpansion ¶
type InstanceExpansion interface{}
type InstanceInterface ¶
type InstanceInterface interface { Create(*v1alpha2.Instance) (*v1alpha2.Instance, error) Update(*v1alpha2.Instance) (*v1alpha2.Instance, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha2.Instance, error) List(opts v1.ListOptions) (*v1alpha2.InstanceList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Instance, err error) InstanceExpansion }
InstanceInterface has methods to work with Instance resources.
type InstancesGetter ¶
type InstancesGetter interface {
Instances(namespace string) InstanceInterface
}
InstancesGetter has a method to return a InstanceInterface. A group's client should implement this interface.
type IstioV1alpha2Client ¶
type IstioV1alpha2Client struct {
// contains filtered or unexported fields
}
IstioV1alpha2Client is used to interact with features provided by the istio group.
func New ¶
func New(c rest.Interface) *IstioV1alpha2Client
New creates a new IstioV1alpha2Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*IstioV1alpha2Client, error)
NewForConfig creates a new IstioV1alpha2Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *IstioV1alpha2Client
NewForConfigOrDie creates a new IstioV1alpha2Client for the given config and panics if there is an error in the config.
func (*IstioV1alpha2Client) Handlers ¶
func (c *IstioV1alpha2Client) Handlers(namespace string) HandlerInterface
func (*IstioV1alpha2Client) Instances ¶
func (c *IstioV1alpha2Client) Instances(namespace string) InstanceInterface
func (*IstioV1alpha2Client) RESTClient ¶
func (c *IstioV1alpha2Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*IstioV1alpha2Client) Rules ¶
func (c *IstioV1alpha2Client) Rules(namespace string) RuleInterface
type IstioV1alpha2Interface ¶
type IstioV1alpha2Interface interface { RESTClient() rest.Interface HandlersGetter InstancesGetter RulesGetter }
type RuleExpansion ¶
type RuleExpansion interface{}
type RuleInterface ¶
type RuleInterface interface { Create(*v1alpha2.Rule) (*v1alpha2.Rule, error) Update(*v1alpha2.Rule) (*v1alpha2.Rule, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha2.Rule, error) List(opts v1.ListOptions) (*v1alpha2.RuleList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Rule, err error) RuleExpansion }
RuleInterface has methods to work with Rule resources.
type RulesGetter ¶
type RulesGetter interface {
Rules(namespace string) RuleInterface
}
RulesGetter has a method to return a RuleInterface. A group's client should implement this interface.