Documentation ¶
Index ¶
- Constants
- func GenerateAutoscaling(in *v1alpha1.NodePoolAutoscaling, pool *container.NodePool)
- func GenerateConfig(in *v1alpha1.NodeConfig, pool *container.NodePool)
- func GenerateManagement(in *v1alpha1.NodeManagementSpec, pool *container.NodePool)
- func GenerateMaxPodsConstraint(in *v1beta1.MaxPodsConstraint, pool *container.NodePool)
- func GenerateNodePool(name string, in v1alpha1.NodePoolParameters, pool *container.NodePool)
- func GenerateNodePoolUpdate(in *v1alpha1.NodePoolParameters) *container.UpdateNodePoolRequest
- func GenerateObservation(in container.NodePool) v1alpha1.NodePoolObservation
- func GetFullyQualifiedName(p v1alpha1.NodePoolParameters, name string) string
- func LateInitializeSpec(spec *v1alpha1.NodePoolParameters, in container.NodePool)
- type UpdateFn
Constants ¶
const (
// NodePoolNameFormat is the format for the fully qualified name of a node pool.
NodePoolNameFormat = "%s/nodePools/%s"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateAutoscaling ¶
func GenerateAutoscaling(in *v1alpha1.NodePoolAutoscaling, pool *container.NodePool)
GenerateAutoscaling generates *container.Autoscaling from *Autoscaling.
func GenerateConfig ¶
func GenerateConfig(in *v1alpha1.NodeConfig, pool *container.NodePool)
GenerateConfig generates *container.Config from *NodeConfig.
func GenerateManagement ¶
func GenerateManagement(in *v1alpha1.NodeManagementSpec, pool *container.NodePool)
GenerateManagement generates *container.NodeManagement from *NodeManagementSpec.
func GenerateMaxPodsConstraint ¶
func GenerateMaxPodsConstraint(in *v1beta1.MaxPodsConstraint, pool *container.NodePool)
GenerateMaxPodsConstraint generates *container.MaxPodsConstraint from *MaxPodsConstraint.
func GenerateNodePool ¶
func GenerateNodePool(name string, in v1alpha1.NodePoolParameters, pool *container.NodePool)
GenerateNodePool generates *container.NodePool instance from NodePoolParameters.
func GenerateNodePoolUpdate ¶
func GenerateNodePoolUpdate(in *v1alpha1.NodePoolParameters) *container.UpdateNodePoolRequest
GenerateNodePoolUpdate produces NodePoolObservation object from *container.NodePool object.
func GenerateObservation ¶
func GenerateObservation(in container.NodePool) v1alpha1.NodePoolObservation
GenerateObservation produces NodePoolObservation object from *container.NodePool object.
func GetFullyQualifiedName ¶
func GetFullyQualifiedName(p v1alpha1.NodePoolParameters, name string) string
GetFullyQualifiedName builds the fully qualified name of the cluster.
func LateInitializeSpec ¶
func LateInitializeSpec(spec *v1alpha1.NodePoolParameters, in container.NodePool)
LateInitializeSpec fills unassigned fields with the values in container.NodePool object.