Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AnalysisV1alpha1Client
- func (c *AnalysisV1alpha1Client) Analytics(namespace string) AnalyticsInterface
- func (c *AnalysisV1alpha1Client) ConfigSets(namespace string) ConfigSetInterface
- func (c *AnalysisV1alpha1Client) RESTClient() rest.Interface
- func (c *AnalysisV1alpha1Client) RecommendationRules() RecommendationRuleInterface
- func (c *AnalysisV1alpha1Client) Recommendations(namespace string) RecommendationInterface
- type AnalysisV1alpha1Interface
- type AnalyticsExpansion
- type AnalyticsGetter
- type AnalyticsInterface
- type ConfigSetExpansion
- type ConfigSetInterface
- type ConfigSetsGetter
- type RecommendationExpansion
- type RecommendationInterface
- type RecommendationRuleExpansion
- type RecommendationRuleInterface
- type RecommendationRulesGetter
- type RecommendationsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalysisV1alpha1Client ¶
type AnalysisV1alpha1Client struct {
// contains filtered or unexported fields
}
AnalysisV1alpha1Client is used to interact with features provided by the analysis.crane.io group.
func New ¶
func New(c rest.Interface) *AnalysisV1alpha1Client
New creates a new AnalysisV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AnalysisV1alpha1Client, error)
NewForConfig creates a new AnalysisV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AnalysisV1alpha1Client
NewForConfigOrDie creates a new AnalysisV1alpha1Client for the given config and panics if there is an error in the config.
func (*AnalysisV1alpha1Client) Analytics ¶
func (c *AnalysisV1alpha1Client) Analytics(namespace string) AnalyticsInterface
func (*AnalysisV1alpha1Client) ConfigSets ¶
func (c *AnalysisV1alpha1Client) ConfigSets(namespace string) ConfigSetInterface
func (*AnalysisV1alpha1Client) RESTClient ¶
func (c *AnalysisV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*AnalysisV1alpha1Client) RecommendationRules ¶
func (c *AnalysisV1alpha1Client) RecommendationRules() RecommendationRuleInterface
func (*AnalysisV1alpha1Client) Recommendations ¶
func (c *AnalysisV1alpha1Client) Recommendations(namespace string) RecommendationInterface
type AnalysisV1alpha1Interface ¶
type AnalysisV1alpha1Interface interface { RESTClient() rest.Interface AnalyticsGetter ConfigSetsGetter RecommendationsGetter RecommendationRulesGetter }
type AnalyticsExpansion ¶
type AnalyticsExpansion interface{}
type AnalyticsGetter ¶
type AnalyticsGetter interface {
Analytics(namespace string) AnalyticsInterface
}
AnalyticsGetter has a method to return a AnalyticsInterface. A group's client should implement this interface.
type AnalyticsInterface ¶
type AnalyticsInterface interface { Create(ctx context.Context, analytics *v1alpha1.Analytics, opts v1.CreateOptions) (*v1alpha1.Analytics, error) Update(ctx context.Context, analytics *v1alpha1.Analytics, opts v1.UpdateOptions) (*v1alpha1.Analytics, error) UpdateStatus(ctx context.Context, analytics *v1alpha1.Analytics, opts v1.UpdateOptions) (*v1alpha1.Analytics, 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.Analytics, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AnalyticsList, 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.Analytics, err error) AnalyticsExpansion }
AnalyticsInterface has methods to work with Analytics resources.
type ConfigSetExpansion ¶
type ConfigSetExpansion interface{}
type ConfigSetInterface ¶
type ConfigSetInterface interface { Create(ctx context.Context, configSet *v1alpha1.ConfigSet, opts v1.CreateOptions) (*v1alpha1.ConfigSet, error) Update(ctx context.Context, configSet *v1alpha1.ConfigSet, opts v1.UpdateOptions) (*v1alpha1.ConfigSet, 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.ConfigSet, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ConfigSetList, 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.ConfigSet, err error) ConfigSetExpansion }
ConfigSetInterface has methods to work with ConfigSet resources.
type ConfigSetsGetter ¶
type ConfigSetsGetter interface {
ConfigSets(namespace string) ConfigSetInterface
}
ConfigSetsGetter has a method to return a ConfigSetInterface. A group's client should implement this interface.
type RecommendationExpansion ¶
type RecommendationExpansion interface{}
type RecommendationInterface ¶
type RecommendationInterface interface { Create(ctx context.Context, recommendation *v1alpha1.Recommendation, opts v1.CreateOptions) (*v1alpha1.Recommendation, error) Update(ctx context.Context, recommendation *v1alpha1.Recommendation, opts v1.UpdateOptions) (*v1alpha1.Recommendation, error) UpdateStatus(ctx context.Context, recommendation *v1alpha1.Recommendation, opts v1.UpdateOptions) (*v1alpha1.Recommendation, 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.Recommendation, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.RecommendationList, 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.Recommendation, err error) RecommendationExpansion }
RecommendationInterface has methods to work with Recommendation resources.
type RecommendationRuleExpansion ¶
type RecommendationRuleExpansion interface{}
type RecommendationRuleInterface ¶
type RecommendationRuleInterface interface { Create(ctx context.Context, recommendationRule *v1alpha1.RecommendationRule, opts v1.CreateOptions) (*v1alpha1.RecommendationRule, error) Update(ctx context.Context, recommendationRule *v1alpha1.RecommendationRule, opts v1.UpdateOptions) (*v1alpha1.RecommendationRule, error) UpdateStatus(ctx context.Context, recommendationRule *v1alpha1.RecommendationRule, opts v1.UpdateOptions) (*v1alpha1.RecommendationRule, 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.RecommendationRule, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.RecommendationRuleList, 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.RecommendationRule, err error) RecommendationRuleExpansion }
RecommendationRuleInterface has methods to work with RecommendationRule resources.
type RecommendationRulesGetter ¶
type RecommendationRulesGetter interface {
RecommendationRules() RecommendationRuleInterface
}
RecommendationRulesGetter has a method to return a RecommendationRuleInterface. A group's client should implement this interface.
type RecommendationsGetter ¶
type RecommendationsGetter interface {
Recommendations(namespace string) RecommendationInterface
}
RecommendationsGetter has a method to return a RecommendationInterface. A group's client should implement this interface.