Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type EgressExpansion
- type EgressInterface
- type EgressesGetter
- type IngressBackendExpansion
- type IngressBackendInterface
- type IngressBackendsGetter
- type PolicyV1alpha1Client
- func (c *PolicyV1alpha1Client) Egresses(namespace string) EgressInterface
- func (c *PolicyV1alpha1Client) IngressBackends(namespace string) IngressBackendInterface
- func (c *PolicyV1alpha1Client) RESTClient() rest.Interface
- func (c *PolicyV1alpha1Client) Retries(namespace string) RetryInterface
- func (c *PolicyV1alpha1Client) Telemetries(namespace string) TelemetryInterface
- func (c *PolicyV1alpha1Client) UpstreamTrafficSettings(namespace string) UpstreamTrafficSettingInterface
- type PolicyV1alpha1Interface
- type RetriesGetter
- type RetryExpansion
- type RetryInterface
- type TelemetriesGetter
- type TelemetryExpansion
- type TelemetryInterface
- type UpstreamTrafficSettingExpansion
- type UpstreamTrafficSettingInterface
- type UpstreamTrafficSettingsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EgressExpansion ¶
type EgressExpansion interface{}
type EgressInterface ¶
type EgressInterface interface { Create(ctx context.Context, egress *v1alpha1.Egress, opts v1.CreateOptions) (*v1alpha1.Egress, error) Update(ctx context.Context, egress *v1alpha1.Egress, opts v1.UpdateOptions) (*v1alpha1.Egress, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Egress, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.EgressList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Egress, err error) EgressExpansion }
EgressInterface has methods to work with Egress resources.
type EgressesGetter ¶
type EgressesGetter interface {
Egresses(namespace string) EgressInterface
}
EgressesGetter has a method to return a EgressInterface. A group's client should implement this interface.
type IngressBackendExpansion ¶
type IngressBackendExpansion interface{}
type IngressBackendInterface ¶
type IngressBackendInterface interface { Create(ctx context.Context, ingressBackend *v1alpha1.IngressBackend, opts v1.CreateOptions) (*v1alpha1.IngressBackend, error) Update(ctx context.Context, ingressBackend *v1alpha1.IngressBackend, opts v1.UpdateOptions) (*v1alpha1.IngressBackend, error) UpdateStatus(ctx context.Context, ingressBackend *v1alpha1.IngressBackend, opts v1.UpdateOptions) (*v1alpha1.IngressBackend, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.IngressBackend, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.IngressBackendList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IngressBackend, err error) IngressBackendExpansion }
IngressBackendInterface has methods to work with IngressBackend resources.
type IngressBackendsGetter ¶
type IngressBackendsGetter interface {
IngressBackends(namespace string) IngressBackendInterface
}
IngressBackendsGetter has a method to return a IngressBackendInterface. A group's client should implement this interface.
type PolicyV1alpha1Client ¶
type PolicyV1alpha1Client struct {
// contains filtered or unexported fields
}
PolicyV1alpha1Client is used to interact with features provided by the policy.openservicemesh.io group.
func New ¶
func New(c rest.Interface) *PolicyV1alpha1Client
New creates a new PolicyV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*PolicyV1alpha1Client, error)
NewForConfig creates a new PolicyV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new PolicyV1alpha1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *PolicyV1alpha1Client
NewForConfigOrDie creates a new PolicyV1alpha1Client for the given config and panics if there is an error in the config.
func (*PolicyV1alpha1Client) Egresses ¶
func (c *PolicyV1alpha1Client) Egresses(namespace string) EgressInterface
func (*PolicyV1alpha1Client) IngressBackends ¶
func (c *PolicyV1alpha1Client) IngressBackends(namespace string) IngressBackendInterface
func (*PolicyV1alpha1Client) RESTClient ¶
func (c *PolicyV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*PolicyV1alpha1Client) Retries ¶
func (c *PolicyV1alpha1Client) Retries(namespace string) RetryInterface
func (*PolicyV1alpha1Client) Telemetries ¶
func (c *PolicyV1alpha1Client) Telemetries(namespace string) TelemetryInterface
func (*PolicyV1alpha1Client) UpstreamTrafficSettings ¶
func (c *PolicyV1alpha1Client) UpstreamTrafficSettings(namespace string) UpstreamTrafficSettingInterface
type PolicyV1alpha1Interface ¶
type PolicyV1alpha1Interface interface { RESTClient() rest.Interface EgressesGetter IngressBackendsGetter RetriesGetter TelemetriesGetter UpstreamTrafficSettingsGetter }
type RetriesGetter ¶
type RetriesGetter interface {
Retries(namespace string) RetryInterface
}
RetriesGetter has a method to return a RetryInterface. A group's client should implement this interface.
type RetryExpansion ¶
type RetryExpansion interface{}
type RetryInterface ¶
type RetryInterface interface { Create(ctx context.Context, retry *v1alpha1.Retry, opts v1.CreateOptions) (*v1alpha1.Retry, error) Update(ctx context.Context, retry *v1alpha1.Retry, opts v1.UpdateOptions) (*v1alpha1.Retry, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Retry, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.RetryList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Retry, err error) RetryExpansion }
RetryInterface has methods to work with Retry resources.
type TelemetriesGetter ¶
type TelemetriesGetter interface {
Telemetries(namespace string) TelemetryInterface
}
TelemetriesGetter has a method to return a TelemetryInterface. A group's client should implement this interface.
type TelemetryExpansion ¶
type TelemetryExpansion interface{}
type TelemetryInterface ¶
type TelemetryInterface interface { Create(ctx context.Context, telemetry *v1alpha1.Telemetry, opts v1.CreateOptions) (*v1alpha1.Telemetry, error) Update(ctx context.Context, telemetry *v1alpha1.Telemetry, opts v1.UpdateOptions) (*v1alpha1.Telemetry, error) UpdateStatus(ctx context.Context, telemetry *v1alpha1.Telemetry, opts v1.UpdateOptions) (*v1alpha1.Telemetry, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Telemetry, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TelemetryList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Telemetry, err error) TelemetryExpansion }
TelemetryInterface has methods to work with Telemetry resources.
type UpstreamTrafficSettingExpansion ¶
type UpstreamTrafficSettingExpansion interface{}
type UpstreamTrafficSettingInterface ¶
type UpstreamTrafficSettingInterface interface { Create(ctx context.Context, upstreamTrafficSetting *v1alpha1.UpstreamTrafficSetting, opts v1.CreateOptions) (*v1alpha1.UpstreamTrafficSetting, error) Update(ctx context.Context, upstreamTrafficSetting *v1alpha1.UpstreamTrafficSetting, opts v1.UpdateOptions) (*v1alpha1.UpstreamTrafficSetting, error) UpdateStatus(ctx context.Context, upstreamTrafficSetting *v1alpha1.UpstreamTrafficSetting, opts v1.UpdateOptions) (*v1alpha1.UpstreamTrafficSetting, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.UpstreamTrafficSetting, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.UpstreamTrafficSettingList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.UpstreamTrafficSetting, err error) UpstreamTrafficSettingExpansion }
UpstreamTrafficSettingInterface has methods to work with UpstreamTrafficSetting resources.
type UpstreamTrafficSettingsGetter ¶
type UpstreamTrafficSettingsGetter interface {
UpstreamTrafficSettings(namespace string) UpstreamTrafficSettingInterface
}
UpstreamTrafficSettingsGetter has a method to return a UpstreamTrafficSettingInterface. A group's client should implement this interface.