Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type EnrollmentStatusExpansion
- type EnrollmentStatusInterface
- type EnrollmentStatusesGetter
- type OptimizerV1alpha1Client
- func (c *OptimizerV1alpha1Client) EnrollmentStatuses(namespace string) EnrollmentStatusInterface
- func (c *OptimizerV1alpha1Client) Profiles(namespace string) ProfileInterface
- func (c *OptimizerV1alpha1Client) RESTClient() rest.Interface
- func (c *OptimizerV1alpha1Client) Recommendations(namespace string) RecommendationInterface
- func (c *OptimizerV1alpha1Client) ResourceActions(namespace string) ResourceActionInterface
- type OptimizerV1alpha1Interface
- type ProfileExpansion
- type ProfileInterface
- type ProfilesGetter
- type RecommendationExpansion
- type RecommendationInterface
- type RecommendationsGetter
- type ResourceActionExpansion
- type ResourceActionInterface
- type ResourceActionsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnrollmentStatusExpansion ¶
type EnrollmentStatusExpansion interface{}
type EnrollmentStatusInterface ¶
type EnrollmentStatusInterface interface { Create(ctx context.Context, enrollmentStatus *v1alpha1.EnrollmentStatus, opts v1.CreateOptions) (*v1alpha1.EnrollmentStatus, error) Update(ctx context.Context, enrollmentStatus *v1alpha1.EnrollmentStatus, opts v1.UpdateOptions) (*v1alpha1.EnrollmentStatus, error) UpdateStatus(ctx context.Context, enrollmentStatus *v1alpha1.EnrollmentStatus, opts v1.UpdateOptions) (*v1alpha1.EnrollmentStatus, 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.EnrollmentStatus, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.EnrollmentStatusList, 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.EnrollmentStatus, err error) EnrollmentStatusExpansion }
EnrollmentStatusInterface has methods to work with EnrollmentStatus resources.
type EnrollmentStatusesGetter ¶
type EnrollmentStatusesGetter interface {
EnrollmentStatuses(namespace string) EnrollmentStatusInterface
}
EnrollmentStatusesGetter has a method to return a EnrollmentStatusInterface. A group's client should implement this interface.
type OptimizerV1alpha1Client ¶
type OptimizerV1alpha1Client struct {
// contains filtered or unexported fields
}
OptimizerV1alpha1Client is used to interact with features provided by the optimizer.oci.kubeform.com group.
func New ¶
func New(c rest.Interface) *OptimizerV1alpha1Client
New creates a new OptimizerV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*OptimizerV1alpha1Client, error)
NewForConfig creates a new OptimizerV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *OptimizerV1alpha1Client
NewForConfigOrDie creates a new OptimizerV1alpha1Client for the given config and panics if there is an error in the config.
func (*OptimizerV1alpha1Client) EnrollmentStatuses ¶
func (c *OptimizerV1alpha1Client) EnrollmentStatuses(namespace string) EnrollmentStatusInterface
func (*OptimizerV1alpha1Client) Profiles ¶
func (c *OptimizerV1alpha1Client) Profiles(namespace string) ProfileInterface
func (*OptimizerV1alpha1Client) RESTClient ¶
func (c *OptimizerV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*OptimizerV1alpha1Client) Recommendations ¶
func (c *OptimizerV1alpha1Client) Recommendations(namespace string) RecommendationInterface
func (*OptimizerV1alpha1Client) ResourceActions ¶
func (c *OptimizerV1alpha1Client) ResourceActions(namespace string) ResourceActionInterface
type OptimizerV1alpha1Interface ¶
type OptimizerV1alpha1Interface interface { RESTClient() rest.Interface EnrollmentStatusesGetter ProfilesGetter RecommendationsGetter ResourceActionsGetter }
type ProfileExpansion ¶
type ProfileExpansion interface{}
type ProfileInterface ¶
type ProfileInterface interface { Create(ctx context.Context, profile *v1alpha1.Profile, opts v1.CreateOptions) (*v1alpha1.Profile, error) Update(ctx context.Context, profile *v1alpha1.Profile, opts v1.UpdateOptions) (*v1alpha1.Profile, error) UpdateStatus(ctx context.Context, profile *v1alpha1.Profile, opts v1.UpdateOptions) (*v1alpha1.Profile, 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.Profile, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ProfileList, 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.Profile, err error) ProfileExpansion }
ProfileInterface has methods to work with Profile resources.
type ProfilesGetter ¶
type ProfilesGetter interface {
Profiles(namespace string) ProfileInterface
}
ProfilesGetter has a method to return a ProfileInterface. 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 RecommendationsGetter ¶
type RecommendationsGetter interface {
Recommendations(namespace string) RecommendationInterface
}
RecommendationsGetter has a method to return a RecommendationInterface. A group's client should implement this interface.
type ResourceActionExpansion ¶
type ResourceActionExpansion interface{}
type ResourceActionInterface ¶
type ResourceActionInterface interface { Create(ctx context.Context, resourceAction *v1alpha1.ResourceAction, opts v1.CreateOptions) (*v1alpha1.ResourceAction, error) Update(ctx context.Context, resourceAction *v1alpha1.ResourceAction, opts v1.UpdateOptions) (*v1alpha1.ResourceAction, error) UpdateStatus(ctx context.Context, resourceAction *v1alpha1.ResourceAction, opts v1.UpdateOptions) (*v1alpha1.ResourceAction, 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.ResourceAction, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ResourceActionList, 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.ResourceAction, err error) ResourceActionExpansion }
ResourceActionInterface has methods to work with ResourceAction resources.
type ResourceActionsGetter ¶
type ResourceActionsGetter interface {
ResourceActions(namespace string) ResourceActionInterface
}
ResourceActionsGetter has a method to return a ResourceActionInterface. A group's client should implement this interface.