Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Getter ¶
type Getter interface {
GetByNamespacedName(context.Context, types.NamespacedName) (*autoscalingv1.VerticalPodAutoscaler, error)
}
Getter get VerticalPodAutoscaler from different parameters
type Setter ¶
type Setter interface { Create(context.Context, *autoscalingv1.VerticalPodAutoscaler) error Update(context.Context, *autoscalingv1.VerticalPodAutoscaler) error }
Setter get VerticalPodAutoscaler from different parameters
type VerticalPodAutoscaler ¶
VerticalPodAutoscaler interface contains setter and getter
func NewVerticalPodAutoscalerClient ¶
func NewVerticalPodAutoscalerClient(c client.Client) VerticalPodAutoscaler
NewVerticalPodAutoscalerClient creates a new VerticalPodAutoscaler
type VerticalPodAutoscalerBuilder ¶
type VerticalPodAutoscalerBuilder interface { metadata.MetadataBuilder SetTargetRef(ref v1.CrossVersionObjectReference) VerticalPodAutoscalerBuilder SetUpdatePolicy(pu *autoscalingv1.PodUpdatePolicy) VerticalPodAutoscalerBuilder SetResourcePolicy(pr *autoscalingv1.PodResourcePolicy) VerticalPodAutoscalerBuilder SetRecommenders(rs []*autoscalingv1.VerticalPodAutoscalerRecommenderSelector) VerticalPodAutoscalerBuilder BuildVPA() *autoscalingv1.VerticalPodAutoscaler }
VerticalPodAutoscalerBuilder is a builder for VPA
func NewVerticalPodAutoscalerBuilder ¶
func NewVerticalPodAutoscalerBuilder() VerticalPodAutoscalerBuilder
NewVerticalPodAutoscalerBuilder returns a VerticalPodAutoscalerBuilder for VPA
Click to show internal directories.
Click to hide internal directories.