Documentation ¶
Index ¶
- Constants
- func AddScheme(scheme *runtime.Scheme)
- func GetControllerClient() (c client.Client, err error)
- func NewTestRecommendationScaleFactorClient(objs autoscalev1alpha1.RecommendationScaleFactorList) *kubefake.Clientset
- func QuantityMultiplicative(value apiresource.Quantity, multiplier float64) (result apiresource.Quantity, err error)
- type FakeClient
- func (fc *FakeClient) AddReactorGetRecommendationScaleFactor(obj runtime.Object)
- func (fc *FakeClient) AddReactorListRecommendationScaleFactor(obj runtime.Object)
- func (fc *FakeClient) AddReactorUpdateRecommendationScaleFactor()
- func (fc *FakeClient) Create(ctx context.Context, obj runtimeclient.Object, ...) error
Constants ¶
View Source
const (
RESYNC_TIME = 6 * time.Hour
)
Variables ¶
This section is empty.
Functions ¶
func GetControllerClient ¶
func NewTestRecommendationScaleFactorClient ¶
func NewTestRecommendationScaleFactorClient(objs autoscalev1alpha1.RecommendationScaleFactorList) *kubefake.Clientset
func QuantityMultiplicative ¶
func QuantityMultiplicative(value apiresource.Quantity, multiplier float64) (result apiresource.Quantity, err error)
Quantity Multiplication
Types ¶
type FakeClient ¶
func (*FakeClient) AddReactorGetRecommendationScaleFactor ¶
func (fc *FakeClient) AddReactorGetRecommendationScaleFactor(obj runtime.Object)
fake get
func (*FakeClient) AddReactorListRecommendationScaleFactor ¶
func (fc *FakeClient) AddReactorListRecommendationScaleFactor(obj runtime.Object)
fake list
func (*FakeClient) AddReactorUpdateRecommendationScaleFactor ¶
func (fc *FakeClient) AddReactorUpdateRecommendationScaleFactor()
fake update
func (*FakeClient) Create ¶
func (fc *FakeClient) Create(ctx context.Context, obj runtimeclient.Object, opts ...runtimeclient.CreateOption) error
client.Client interface
Click to show internal directories.
Click to hide internal directories.