v1alpha1

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 3

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 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

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 added in v0.3.0

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 added in v0.7.0

func (c *AnalysisV1alpha1Client) RecommendationRules() RecommendationRuleInterface

func (*AnalysisV1alpha1Client) Recommendations

func (c *AnalysisV1alpha1Client) Recommendations(namespace string) RecommendationInterface

type AnalyticsExpansion

type AnalyticsExpansion interface{}

type AnalyticsGetter added in v0.3.0

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 added in v0.7.0

type RecommendationRuleExpansion interface{}

type RecommendationRuleInterface added in v0.7.0

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 added in v0.7.0

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.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL