github.com/giantswarm/apiextensions/v2@v2.6.2/pkg/apis/infrastructure/v1alpha2/aws_machine_deployment_funcs.go (about)

     1  package v1alpha2
     2  
     3  import (
     4  	v1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
     5  	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
     6  
     7  	"github.com/giantswarm/apiextensions/v2/pkg/crd"
     8  )
     9  
    10  const (
    11  	kindAWSMachineDeployment = "AWSMachineDeployment"
    12  )
    13  
    14  func NewAWSMachineDeploymentCRD() *v1.CustomResourceDefinition {
    15  	return crd.LoadV1(group, kindAWSMachineDeployment)
    16  }
    17  
    18  func NewAWSMachineDeploymentTypeMeta() metav1.TypeMeta {
    19  	return metav1.TypeMeta{
    20  		APIVersion: SchemeGroupVersion.String(),
    21  		Kind:       kindAWSMachineDeployment,
    22  	}
    23  }