Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the validation v1alpha1 API group +kubebuilder:object:generate=true +groupName=validation.spectrocloud.labs
Index ¶
- Variables
- type ComputeResourceRule
- type EntityPrivilegeValidationRule
- type GenericRolePrivilegeValidationRule
- type NTPValidationRule
- type NodepoolResourceRequirement
- type TagValidationRule
- type VsphereAuth
- type VsphereValidator
- type VsphereValidatorList
- type VsphereValidatorSpec
- type VsphereValidatorStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "validation.spectrocloud.labs", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ComputeResourceRule ¶
type ComputeResourceRule struct { Name string `json:"name" yaml:"name"` // ClusterName is required when the vCenter Entity resides beneath a Cluster in the vCenter object hierarchy ClusterName string `json:"clusterName,omitempty" yaml:"clusterName"` Scope string `json:"scope" yaml:"scope"` EntityName string `json:"entityName" yaml:"entityName"` NodepoolResourceRequirements []NodepoolResourceRequirement `json:"nodepoolResourceRequirements" yaml:"nodepoolResourceRequirements"` }
func (*ComputeResourceRule) DeepCopy ¶
func (in *ComputeResourceRule) DeepCopy() *ComputeResourceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeResourceRule.
func (*ComputeResourceRule) DeepCopyInto ¶
func (in *ComputeResourceRule) DeepCopyInto(out *ComputeResourceRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EntityPrivilegeValidationRule ¶
type EntityPrivilegeValidationRule struct { Name string `json:"name" yaml:"name"` Username string `json:"username" yaml:"username"` // ClusterName is required when the vCenter Entity resides beneath a Cluster in the vCenter object hierarchy ClusterName string `json:"clusterName,omitempty" yaml:"clusterName"` EntityType string `json:"entityType" yaml:"entityType"` EntityName string `json:"entityName" yaml:"entityName"` Privileges []string `json:"privileges" yaml:"privileges"` }
func (*EntityPrivilegeValidationRule) DeepCopy ¶
func (in *EntityPrivilegeValidationRule) DeepCopy() *EntityPrivilegeValidationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EntityPrivilegeValidationRule.
func (*EntityPrivilegeValidationRule) DeepCopyInto ¶
func (in *EntityPrivilegeValidationRule) DeepCopyInto(out *EntityPrivilegeValidationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericRolePrivilegeValidationRule ¶
type GenericRolePrivilegeValidationRule struct { Username string `json:"username" yaml:"username"` Privileges []string `json:"privileges" yaml:"privileges"` }
func (*GenericRolePrivilegeValidationRule) DeepCopy ¶
func (in *GenericRolePrivilegeValidationRule) DeepCopy() *GenericRolePrivilegeValidationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericRolePrivilegeValidationRule.
func (*GenericRolePrivilegeValidationRule) DeepCopyInto ¶
func (in *GenericRolePrivilegeValidationRule) DeepCopyInto(out *GenericRolePrivilegeValidationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NTPValidationRule ¶
type NTPValidationRule struct { Name string `json:"name" yaml:"name"` // ClusterName is required when the vCenter Host(s) reside beneath a Cluster in the vCenter object hierarchy ClusterName string `json:"clusterName,omitempty" yaml:"clusterName,omitempty"` Hosts []string `json:"hosts" yaml:"hosts"` }
func (*NTPValidationRule) DeepCopy ¶
func (in *NTPValidationRule) DeepCopy() *NTPValidationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NTPValidationRule.
func (*NTPValidationRule) DeepCopyInto ¶
func (in *NTPValidationRule) DeepCopyInto(out *NTPValidationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodepoolResourceRequirement ¶
type NodepoolResourceRequirement struct { Name string `json:"name" yaml:"name"` NumberOfNodes int `json:"numberOfNodes" yaml:"numberOfNodes"` CPU string `json:"cpu" yaml:"cpu"` Memory string `json:"memory" yaml:"memory"` DiskSpace string `json:"diskSpace" yaml:"diskSpace"` }
func (*NodepoolResourceRequirement) DeepCopy ¶
func (in *NodepoolResourceRequirement) DeepCopy() *NodepoolResourceRequirement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodepoolResourceRequirement.
func (*NodepoolResourceRequirement) DeepCopyInto ¶
func (in *NodepoolResourceRequirement) DeepCopyInto(out *NodepoolResourceRequirement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TagValidationRule ¶
type TagValidationRule struct { Name string `json:"name" yaml:"name"` // ClusterName is required when the vCenter Entity resides beneath a Cluster in the vCenter object hierarchy ClusterName string `json:"clusterName,omitempty" yaml:"clusterName"` EntityType string `json:"entityType" yaml:"entityType"` EntityName string `json:"entityName" yaml:"entityName"` Tag string `json:"tag" yaml:"tag"` }
func (*TagValidationRule) DeepCopy ¶
func (in *TagValidationRule) DeepCopy() *TagValidationRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TagValidationRule.
func (*TagValidationRule) DeepCopyInto ¶
func (in *TagValidationRule) DeepCopyInto(out *TagValidationRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VsphereAuth ¶
type VsphereAuth struct {
SecretName string `json:"secretName" yaml:"secretName"`
}
func (*VsphereAuth) DeepCopy ¶
func (in *VsphereAuth) DeepCopy() *VsphereAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereAuth.
func (*VsphereAuth) DeepCopyInto ¶
func (in *VsphereAuth) DeepCopyInto(out *VsphereAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VsphereValidator ¶
type VsphereValidator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VsphereValidatorSpec `json:"spec,omitempty"` Status VsphereValidatorStatus `json:"status,omitempty"` }
VsphereValidator is the Schema for the vspherevalidators API
func (*VsphereValidator) DeepCopy ¶
func (in *VsphereValidator) DeepCopy() *VsphereValidator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereValidator.
func (*VsphereValidator) DeepCopyInto ¶
func (in *VsphereValidator) DeepCopyInto(out *VsphereValidator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VsphereValidator) DeepCopyObject ¶
func (in *VsphereValidator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VsphereValidatorList ¶
type VsphereValidatorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []VsphereValidator `json:"items"` }
VsphereValidatorList contains a list of VsphereValidator
func (*VsphereValidatorList) DeepCopy ¶
func (in *VsphereValidatorList) DeepCopy() *VsphereValidatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereValidatorList.
func (*VsphereValidatorList) DeepCopyInto ¶
func (in *VsphereValidatorList) DeepCopyInto(out *VsphereValidatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VsphereValidatorList) DeepCopyObject ¶
func (in *VsphereValidatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VsphereValidatorSpec ¶
type VsphereValidatorSpec struct { Auth VsphereAuth `json:"auth" yaml:"auth"` Datacenter string `json:"datacenter" yaml:"datacenter"` EntityPrivilegeValidationRules []EntityPrivilegeValidationRule `json:"entityPrivilegeValidationRules,omitempty" yaml:"entityPrivilegeValidationRules,omitempty"` RolePrivilegeValidationRules []GenericRolePrivilegeValidationRule `json:"rolePrivilegeValidationRules,omitempty" yaml:"rolePrivilegeValidationRules,omitempty"` TagValidationRules []TagValidationRule `json:"tagValidationRules,omitempty" yaml:"tagValidationRules,omitempty"` ComputeResourceRules []ComputeResourceRule `json:"computeResourceRules,omitempty" yaml:"computeResourceRules,omitempty"` NTPValidationRules []NTPValidationRule `json:"ntpValidationRules,omitempty" yaml:"ntpValidationRules,omitempty"` }
VsphereValidatorSpec defines the desired state of VsphereValidator
func (*VsphereValidatorSpec) DeepCopy ¶
func (in *VsphereValidatorSpec) DeepCopy() *VsphereValidatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereValidatorSpec.
func (*VsphereValidatorSpec) DeepCopyInto ¶
func (in *VsphereValidatorSpec) DeepCopyInto(out *VsphereValidatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (VsphereValidatorSpec) ResultCount ¶ added in v0.0.15
func (s VsphereValidatorSpec) ResultCount() int
type VsphereValidatorStatus ¶
type VsphereValidatorStatus struct { }
VsphereValidatorStatus defines the observed state of VsphereValidator
func (*VsphereValidatorStatus) DeepCopy ¶
func (in *VsphereValidatorStatus) DeepCopy() *VsphereValidatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VsphereValidatorStatus.
func (*VsphereValidatorStatus) DeepCopyInto ¶
func (in *VsphereValidatorStatus) DeepCopyInto(out *VsphereValidatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.