...

Source file src/kubevirt.io/api/pool/v1alpha1/types_swagger_generated.go

Documentation: kubevirt.io/api/pool/v1alpha1

     1  // Code generated by swagger-doc. DO NOT EDIT.
     2  
     3  package v1alpha1
     4  
     5  func (VirtualMachinePool) SwaggerDoc() map[string]string {
     6  	return map[string]string{
     7  		"": "VirtualMachinePool resource contains a VirtualMachine configuration\nthat can be used to replicate multiple VirtualMachine resources.\n\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object\n+k8s:openapi-gen=true\n+genclient",
     8  	}
     9  }
    10  
    11  func (VirtualMachineTemplateSpec) SwaggerDoc() map[string]string {
    12  	return map[string]string{
    13  		"":         "+k8s:openapi-gen=true",
    14  		"metadata": "+kubebuilder:pruning:PreserveUnknownFields\n+nullable",
    15  		"spec":     "VirtualMachineSpec contains the VirtualMachine specification.",
    16  	}
    17  }
    18  
    19  func (VirtualMachinePoolCondition) SwaggerDoc() map[string]string {
    20  	return map[string]string{
    21  		"":                   "+k8s:openapi-gen=true",
    22  		"lastProbeTime":      "+nullable",
    23  		"lastTransitionTime": "+nullable",
    24  	}
    25  }
    26  
    27  func (VirtualMachinePoolStatus) SwaggerDoc() map[string]string {
    28  	return map[string]string{
    29  		"":              "+k8s:openapi-gen=true",
    30  		"conditions":    "+listType=atomic",
    31  		"labelSelector": "Canonical form of the label selector for HPA which consumes it through the scale subresource.",
    32  	}
    33  }
    34  
    35  func (VirtualMachinePoolSpec) SwaggerDoc() map[string]string {
    36  	return map[string]string{
    37  		"":                       "+k8s:openapi-gen=true",
    38  		"replicas":               "Number of desired pods. This is a pointer to distinguish between explicit\nzero and not specified. Defaults to 1.\n+optional",
    39  		"selector":               "Label selector for pods. Existing Poolss whose pods are\nselected by this will be the ones affected by this deployment.",
    40  		"virtualMachineTemplate": "Template describes the VM that will be created.",
    41  		"paused":                 "Indicates that the pool is paused.\n+optional",
    42  	}
    43  }
    44  
    45  func (VirtualMachinePoolList) SwaggerDoc() map[string]string {
    46  	return map[string]string{
    47  		"": "VirtualMachinePoolList is a list of VirtualMachinePool resources.\n\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object\n+k8s:openapi-gen=true",
    48  	}
    49  }
    50  

View as plain text