Documentation
¶
Overview ¶
package delivers apicontracts for resources
Index ¶
- Variables
- type AppProjectinterface
- type Applicationinterface
- type AquaReportScanner
- type AquaReportSummary
- type Certificateinterface
- type ClusterComplianceReportinterface
- type ClusterOrderinterface
- type CommonResource
- type CommonResourceInterface
- type ConfigAuditReportinterface
- type Configurationinterface
- type CriticalityLevel
- type DaemonSetinterface
- type Deploymentinterface
- type EnvironmentType
- type ExposedSecretReportinterface
- type IngressClassinterface
- type Ingressinterface
- type KubernetesClusterinterface
- type Namespaceinterface
- type Nodeinterface
- type PersistentVolumeClaiminterface
- type Podinterface
- type PolicyReportinterface
- type Projectinterface
- type ProviderType
- type RbacAssessmentReportinterface
- type ReplicaSetinterface
- type ResourceAction
- type ResourceAppProject
- func (r *ResourceAppProject) ApplyInputFilter() error
- func (r *ResourceAppProject) Get() *ResourceAppProject
- func (r ResourceAppProject) GetAPIVersion() string
- func (r ResourceAppProject) GetKind() string
- func (r ResourceAppProject) GetMetadata() metav1.ObjectMeta
- func (r ResourceAppProject) GetName() string
- func (r *ResourceAppProject) GetRorHash() string
- func (r ResourceAppProject) GetRorMeta() ResourceRorMeta
- func (r ResourceAppProject) GetUID() string
- func (r *ResourceAppProject) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceAppProjectSpec
- type ResourceApplication
- func (r *ResourceApplication) ApplyInputFilter() error
- func (r *ResourceApplication) Get() *ResourceApplication
- func (r ResourceApplication) GetAPIVersion() string
- func (r ResourceApplication) GetKind() string
- func (r ResourceApplication) GetMetadata() metav1.ObjectMeta
- func (r ResourceApplication) GetName() string
- func (r *ResourceApplication) GetRorHash() string
- func (r ResourceApplication) GetRorMeta() ResourceRorMeta
- func (r ResourceApplication) GetUID() string
- func (r *ResourceApplication) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceApplicationSpec
- type ResourceApplicationSpecDestination
- type ResourceApplicationSpecSource
- type ResourceApplicationSpecSyncpolicy
- type ResourceApplicationSpecSyncpolicyAutomated
- type ResourceApplicationSpecSyncpolicyRetry
- type ResourceApplicationSpecSyncpolicyRetryBackoff
- type ResourceApplicationStatus
- type ResourceApplicationStatusHealth
- type ResourceApplicationStatusOperationstate
- type ResourceApplicationStatusSync
- type ResourceCertificate
- func (r *ResourceCertificate) ApplyInputFilter() error
- func (r *ResourceCertificate) Get() *ResourceCertificate
- func (r ResourceCertificate) GetAPIVersion() string
- func (r ResourceCertificate) GetKind() string
- func (r ResourceCertificate) GetMetadata() metav1.ObjectMeta
- func (r ResourceCertificate) GetName() string
- func (r *ResourceCertificate) GetRorHash() string
- func (r ResourceCertificate) GetRorMeta() ResourceRorMeta
- func (r ResourceCertificate) GetUID() string
- func (r *ResourceCertificate) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceCertificateSpec
- type ResourceCertificateSpecIssuerref
- type ResourceCertificateStatus
- type ResourceCertificateStatusCondition
- type ResourceClusterComplianceReport
- func (r *ResourceClusterComplianceReport) ApplyInputFilter() error
- func (r *ResourceClusterComplianceReport) Get() *ResourceClusterComplianceReport
- func (r ResourceClusterComplianceReport) GetAPIVersion() string
- func (r ResourceClusterComplianceReport) GetKind() string
- func (r ResourceClusterComplianceReport) GetMetadata() metav1.ObjectMeta
- func (r ResourceClusterComplianceReport) GetName() string
- func (r *ResourceClusterComplianceReport) GetRorHash() string
- func (r ResourceClusterComplianceReport) GetRorMeta() ResourceRorMeta
- func (r ResourceClusterComplianceReport) GetUID() string
- func (r *ResourceClusterComplianceReport) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceClusterOrder
- func (r *ResourceClusterOrder) ApplyInputFilter() error
- func (r *ResourceClusterOrder) Get() *ResourceClusterOrder
- func (r ResourceClusterOrder) GetAPIVersion() string
- func (r ResourceClusterOrder) GetKind() string
- func (r ResourceClusterOrder) GetMetadata() metav1.ObjectMeta
- func (r ResourceClusterOrder) GetName() string
- func (r *ResourceClusterOrder) GetRorHash() string
- func (r ResourceClusterOrder) GetRorMeta() ResourceRorMeta
- func (r ResourceClusterOrder) GetUID() string
- func (r *ResourceClusterOrder) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceClusterOrderCondition
- type ResourceClusterOrderSpec
- type ResourceClusterOrderSpecNodePool
- type ResourceClusterOrderStatus
- type ResourceConfigAuditReport
- func (r *ResourceConfigAuditReport) ApplyInputFilter() error
- func (r *ResourceConfigAuditReport) Get() *ResourceConfigAuditReport
- func (r ResourceConfigAuditReport) GetAPIVersion() string
- func (r ResourceConfigAuditReport) GetKind() string
- func (r ResourceConfigAuditReport) GetMetadata() metav1.ObjectMeta
- func (r ResourceConfigAuditReport) GetName() string
- func (r *ResourceConfigAuditReport) GetRorHash() string
- func (r ResourceConfigAuditReport) GetRorMeta() ResourceRorMeta
- func (r ResourceConfigAuditReport) GetUID() string
- func (r *ResourceConfigAuditReport) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceConfigAuditReportReport
- type ResourceConfiguration
- func (r *ResourceConfiguration) ApplyInputFilter() error
- func (r *ResourceConfiguration) Get() *ResourceConfiguration
- func (r ResourceConfiguration) GetAPIVersion() string
- func (r ResourceConfiguration) GetKind() string
- func (r ResourceConfiguration) GetMetadata() metav1.ObjectMeta
- func (r ResourceConfiguration) GetName() string
- func (r *ResourceConfiguration) GetRorHash() string
- func (r ResourceConfiguration) GetRorMeta() ResourceRorMeta
- func (r ResourceConfiguration) GetUID() string
- func (r *ResourceConfiguration) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceConfigurationSpec
- type ResourceDaemonSet
- func (r *ResourceDaemonSet) ApplyInputFilter() error
- func (r *ResourceDaemonSet) Get() *ResourceDaemonSet
- func (r ResourceDaemonSet) GetAPIVersion() string
- func (r ResourceDaemonSet) GetKind() string
- func (r ResourceDaemonSet) GetMetadata() metav1.ObjectMeta
- func (r ResourceDaemonSet) GetName() string
- func (r *ResourceDaemonSet) GetRorHash() string
- func (r ResourceDaemonSet) GetRorMeta() ResourceRorMeta
- func (r ResourceDaemonSet) GetUID() string
- func (r *ResourceDaemonSet) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceDaemonSetStatus
- type ResourceDeployment
- func (r *ResourceDeployment) ApplyInputFilter() error
- func (r *ResourceDeployment) Get() *ResourceDeployment
- func (r ResourceDeployment) GetAPIVersion() string
- func (r ResourceDeployment) GetKind() string
- func (r ResourceDeployment) GetMetadata() metav1.ObjectMeta
- func (r ResourceDeployment) GetName() string
- func (r *ResourceDeployment) GetRorHash() string
- func (r ResourceDeployment) GetRorMeta() ResourceRorMeta
- func (r ResourceDeployment) GetUID() string
- func (r *ResourceDeployment) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceDeploymentStatus
- type ResourceExposedSecretReport
- func (r *ResourceExposedSecretReport) ApplyInputFilter() error
- func (r *ResourceExposedSecretReport) Get() *ResourceExposedSecretReport
- func (r ResourceExposedSecretReport) GetAPIVersion() string
- func (r ResourceExposedSecretReport) GetKind() string
- func (r ResourceExposedSecretReport) GetMetadata() metav1.ObjectMeta
- func (r ResourceExposedSecretReport) GetName() string
- func (r *ResourceExposedSecretReport) GetRorHash() string
- func (r ResourceExposedSecretReport) GetRorMeta() ResourceRorMeta
- func (r ResourceExposedSecretReport) GetUID() string
- func (r *ResourceExposedSecretReport) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceExposedSecretReportReport
- type ResourceIngress
- func (r *ResourceIngress) ApplyInputFilter() error
- func (r *ResourceIngress) Get() *ResourceIngress
- func (r ResourceIngress) GetAPIVersion() string
- func (r ResourceIngress) GetKind() string
- func (r ResourceIngress) GetMetadata() metav1.ObjectMeta
- func (r ResourceIngress) GetName() string
- func (r *ResourceIngress) GetRorHash() string
- func (r ResourceIngress) GetRorMeta() ResourceRorMeta
- func (r ResourceIngress) GetUID() string
- func (r *ResourceIngress) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceIngressClass
- func (r *ResourceIngressClass) ApplyInputFilter() error
- func (r *ResourceIngressClass) Get() *ResourceIngressClass
- func (r ResourceIngressClass) GetAPIVersion() string
- func (r ResourceIngressClass) GetKind() string
- func (r ResourceIngressClass) GetMetadata() metav1.ObjectMeta
- func (r ResourceIngressClass) GetName() string
- func (r *ResourceIngressClass) GetRorHash() string
- func (r ResourceIngressClass) GetRorMeta() ResourceRorMeta
- func (r ResourceIngressClass) GetUID() string
- func (r *ResourceIngressClass) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceIngressClassSpec
- type ResourceIngressClassSpecParameters
- type ResourceIngressSpec
- type ResourceIngressSpecBackendResource
- type ResourceIngressSpecBackendService
- type ResourceIngressSpecBackendServicePort
- type ResourceIngressSpecRules
- type ResourceIngressSpecRulesHttp
- type ResourceIngressSpecRulesHttpPaths
- type ResourceIngressSpecRulesHttpPathsBackend
- type ResourceIngressSpecTls
- type ResourceIngressStatus
- type ResourceIngressStatusLoadBalancer
- type ResourceIngressStatusLoadBalancerIngress
- type ResourceKubernetesCluster
- func (r *ResourceKubernetesCluster) ApplyInputFilter() error
- func (r *ResourceKubernetesCluster) Get() *ResourceKubernetesCluster
- func (r ResourceKubernetesCluster) GetAPIVersion() string
- func (r ResourceKubernetesCluster) GetKind() string
- func (r ResourceKubernetesCluster) GetMetadata() metav1.ObjectMeta
- func (r ResourceKubernetesCluster) GetName() string
- func (r *ResourceKubernetesCluster) GetRorHash() string
- func (r ResourceKubernetesCluster) GetRorMeta() ResourceRorMeta
- func (r ResourceKubernetesCluster) GetUID() string
- func (r *ResourceKubernetesCluster) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceKubernetesClusterSpec
- type ResourceKubernetesClusterSpecEndpoint
- type ResourceKubernetesClusterSpecProviderSpec
- type ResourceKubernetesClusterSpecProviderSpecAzureSpec
- type ResourceKubernetesClusterSpecProviderSpecTanzuSpec
- type ResourceKubernetesClusterSpecToolingConfig
- type ResourceKubernetesClusterSpecTopology
- type ResourceKubernetesClusterSpecTopologyControlPlane
- type ResourceKubernetesClusterSpecTopologyWorkers
- type ResourceKubernetesClusterStatus
- type ResourceKubernetesClusterStatusCondition
- type ResourceNamespace
- func (r *ResourceNamespace) ApplyInputFilter() error
- func (r *ResourceNamespace) Get() *ResourceNamespace
- func (r ResourceNamespace) GetAPIVersion() string
- func (r ResourceNamespace) GetKind() string
- func (r ResourceNamespace) GetMetadata() metav1.ObjectMeta
- func (r ResourceNamespace) GetName() string
- func (r *ResourceNamespace) GetRorHash() string
- func (r ResourceNamespace) GetRorMeta() ResourceRorMeta
- func (r ResourceNamespace) GetUID() string
- func (r *ResourceNamespace) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceNode
- func (r *ResourceNode) ApplyInputFilter() error
- func (r *ResourceNode) Get() *ResourceNode
- func (r ResourceNode) GetAPIVersion() string
- func (r ResourceNode) GetKind() string
- func (r ResourceNode) GetMetadata() metav1.ObjectMeta
- func (r ResourceNode) GetName() string
- func (r *ResourceNode) GetRorHash() string
- func (r ResourceNode) GetRorMeta() ResourceRorMeta
- func (r ResourceNode) GetUID() string
- func (r *ResourceNode) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceNodeSpec
- type ResourceNodeSpecTaints
- type ResourceNodeStatus
- type ResourceNodeStatusAddresses
- type ResourceNodeStatusCapacity
- type ResourceNodeStatusConditions
- type ResourceNodeStatusNodeinfo
- type ResourcePersistentVolumeClaim
- func (r *ResourcePersistentVolumeClaim) ApplyInputFilter() error
- func (r *ResourcePersistentVolumeClaim) Get() *ResourcePersistentVolumeClaim
- func (r ResourcePersistentVolumeClaim) GetAPIVersion() string
- func (r ResourcePersistentVolumeClaim) GetKind() string
- func (r ResourcePersistentVolumeClaim) GetMetadata() metav1.ObjectMeta
- func (r ResourcePersistentVolumeClaim) GetName() string
- func (r *ResourcePersistentVolumeClaim) GetRorHash() string
- func (r ResourcePersistentVolumeClaim) GetRorMeta() ResourceRorMeta
- func (r ResourcePersistentVolumeClaim) GetUID() string
- func (r *ResourcePersistentVolumeClaim) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourcePersistentVolumeClaimSpec
- type ResourcePersistentVolumeClaimSpecResources
- type ResourcePersistentVolumeClaimStatus
- type ResourcePod
- func (r *ResourcePod) ApplyInputFilter() error
- func (r *ResourcePod) Get() *ResourcePod
- func (r ResourcePod) GetAPIVersion() string
- func (r ResourcePod) GetKind() string
- func (r ResourcePod) GetMetadata() metav1.ObjectMeta
- func (r ResourcePod) GetName() string
- func (r *ResourcePod) GetRorHash() string
- func (r ResourcePod) GetRorMeta() ResourceRorMeta
- func (r ResourcePod) GetUID() string
- func (r *ResourcePod) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourcePodSpec
- type ResourcePodSpecContainers
- type ResourcePodSpecContainersPorts
- type ResourcePodStatus
- type ResourcePolicyReport
- func (r *ResourcePolicyReport) ApplyInputFilter() error
- func (r *ResourcePolicyReport) Get() *ResourcePolicyReport
- func (r ResourcePolicyReport) GetAPIVersion() string
- func (r ResourcePolicyReport) GetKind() string
- func (r ResourcePolicyReport) GetMetadata() metav1.ObjectMeta
- func (r ResourcePolicyReport) GetName() string
- func (r *ResourcePolicyReport) GetRorHash() string
- func (r ResourcePolicyReport) GetRorMeta() ResourceRorMeta
- func (r ResourcePolicyReport) GetUID() string
- func (r *ResourcePolicyReport) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourcePolicyReportResults
- type ResourcePolicyReportResultsResources
- type ResourcePolicyReportSummary
- type ResourceProject
- func (r *ResourceProject) ApplyInputFilter() error
- func (r *ResourceProject) Get() *ResourceProject
- func (r ResourceProject) GetAPIVersion() string
- func (r ResourceProject) GetKind() string
- func (r ResourceProject) GetMetadata() metav1.ObjectMeta
- func (r ResourceProject) GetName() string
- func (r *ResourceProject) GetRorHash() string
- func (r ResourceProject) GetRorMeta() ResourceRorMeta
- func (r ResourceProject) GetUID() string
- func (r *ResourceProject) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceProjectSpec
- type ResourceProjectSpecRole
- type ResourceProviderConfigAks
- type ResourceProviderConfigTanzu
- type ResourceRbacAssessmentReport
- func (r *ResourceRbacAssessmentReport) ApplyInputFilter() error
- func (r *ResourceRbacAssessmentReport) Get() *ResourceRbacAssessmentReport
- func (r ResourceRbacAssessmentReport) GetAPIVersion() string
- func (r ResourceRbacAssessmentReport) GetKind() string
- func (r ResourceRbacAssessmentReport) GetMetadata() metav1.ObjectMeta
- func (r ResourceRbacAssessmentReport) GetName() string
- func (r *ResourceRbacAssessmentReport) GetRorHash() string
- func (r ResourceRbacAssessmentReport) GetRorMeta() ResourceRorMeta
- func (r ResourceRbacAssessmentReport) GetUID() string
- func (r *ResourceRbacAssessmentReport) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceRbacAssessmentReportReport
- type ResourceReplicaSet
- func (r *ResourceReplicaSet) ApplyInputFilter() error
- func (r *ResourceReplicaSet) Get() *ResourceReplicaSet
- func (r ResourceReplicaSet) GetAPIVersion() string
- func (r ResourceReplicaSet) GetKind() string
- func (r ResourceReplicaSet) GetMetadata() metav1.ObjectMeta
- func (r ResourceReplicaSet) GetName() string
- func (r *ResourceReplicaSet) GetRorHash() string
- func (r ResourceReplicaSet) GetRorMeta() ResourceRorMeta
- func (r ResourceReplicaSet) GetUID() string
- func (r *ResourceReplicaSet) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceReplicaSetSpec
- type ResourceReplicaSetSpecSelector
- type ResourceReplicaSetSpecSelectorMatchExpressions
- type ResourceReplicaSetStatus
- type ResourceRorMeta
- type ResourceService
- func (r *ResourceService) ApplyInputFilter() error
- func (r *ResourceService) Get() *ResourceService
- func (r ResourceService) GetAPIVersion() string
- func (r ResourceService) GetKind() string
- func (r ResourceService) GetMetadata() metav1.ObjectMeta
- func (r ResourceService) GetName() string
- func (r *ResourceService) GetRorHash() string
- func (r ResourceService) GetRorMeta() ResourceRorMeta
- func (r ResourceService) GetUID() string
- func (r *ResourceService) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceServicePorts
- type ResourceServiceSpec
- type ResourceStatefulSet
- func (r *ResourceStatefulSet) ApplyInputFilter() error
- func (r *ResourceStatefulSet) Get() *ResourceStatefulSet
- func (r ResourceStatefulSet) GetAPIVersion() string
- func (r ResourceStatefulSet) GetKind() string
- func (r ResourceStatefulSet) GetMetadata() metav1.ObjectMeta
- func (r ResourceStatefulSet) GetName() string
- func (r *ResourceStatefulSet) GetRorHash() string
- func (r ResourceStatefulSet) GetRorMeta() ResourceRorMeta
- func (r ResourceStatefulSet) GetUID() string
- func (r *ResourceStatefulSet) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceStatefulSetStatus
- type ResourceStorageClass
- func (r *ResourceStorageClass) ApplyInputFilter() error
- func (r *ResourceStorageClass) Get() *ResourceStorageClass
- func (r ResourceStorageClass) GetAPIVersion() string
- func (r ResourceStorageClass) GetKind() string
- func (r ResourceStorageClass) GetMetadata() metav1.ObjectMeta
- func (r ResourceStorageClass) GetName() string
- func (r *ResourceStorageClass) GetRorHash() string
- func (r ResourceStorageClass) GetRorMeta() ResourceRorMeta
- func (r ResourceStorageClass) GetUID() string
- func (r *ResourceStorageClass) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceTanuzKuberntesClusterSpec
- type ResourceTanuzKuberntesMetadata
- type ResourceTanuzKuberntesMetadataManagedFields
- type ResourceTanuzKuberntesMetadataOwnerReferences
- type ResourceTanzuKubernetesCluster
- func (r *ResourceTanzuKubernetesCluster) ApplyInputFilter() error
- func (r *ResourceTanzuKubernetesCluster) Get() *ResourceTanzuKubernetesCluster
- func (r ResourceTanzuKubernetesCluster) GetAPIVersion() string
- func (r ResourceTanzuKubernetesCluster) GetKind() string
- func (r ResourceTanzuKubernetesCluster) GetMetadata() metav1.ObjectMeta
- func (r ResourceTanzuKubernetesCluster) GetName() string
- func (r *ResourceTanzuKubernetesCluster) GetRorHash() string
- func (r ResourceTanzuKubernetesCluster) GetRorMeta() ResourceRorMeta
- func (r ResourceTanzuKubernetesCluster) GetUID() string
- func (r *ResourceTanzuKubernetesCluster) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceTanzuKubernetesClusterSpecDistribution
- type ResourceTanzuKubernetesClusterSpecSettings
- type ResourceTanzuKubernetesClusterSpecSettingsNetwork
- type ResourceTanzuKubernetesClusterSpecSettingsNetworkCni
- type ResourceTanzuKubernetesClusterSpecSettingsNetworkPods
- type ResourceTanzuKubernetesClusterSpecSettingsNetworkProxy
- type ResourceTanzuKubernetesClusterSpecSettingsNetworkServices
- type ResourceTanzuKubernetesClusterSpecSettingsNetworkTrust
- type ResourceTanzuKubernetesClusterSpecSettingsNetworkTrustAdditionalTrustedCA
- type ResourceTanzuKubernetesClusterSpecSettingsStorage
- type ResourceTanzuKubernetesClusterSpecTopology
- type ResourceTanzuKubernetesClusterSpecTopologyControlPlane
- type ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkr
- type ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkrReference
- type ResourceTanzuKubernetesClusterSpecTopologyNodePools
- type ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTaints
- type ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkr
- type ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkrReference
- type ResourceTanzuKubernetesClusterSpecTopologyNodePoolsVolumes
- type ResourceTanzuKubernetesClusterStatus
- type ResourceTanzuKubernetesClusterStatusAPIEndpoints
- type ResourceTanzuKubernetesClusterStatusAddons
- type ResourceTanzuKubernetesClusterStatusAddonsConditions
- type ResourceTanzuKubernetesClusterStatusConditions
- type ResourceTanzuKubernetesRelease
- func (r *ResourceTanzuKubernetesRelease) ApplyInputFilter() error
- func (r *ResourceTanzuKubernetesRelease) Get() *ResourceTanzuKubernetesRelease
- func (r ResourceTanzuKubernetesRelease) GetAPIVersion() string
- func (r ResourceTanzuKubernetesRelease) GetKind() string
- func (r ResourceTanzuKubernetesRelease) GetMetadata() metav1.ObjectMeta
- func (r ResourceTanzuKubernetesRelease) GetName() string
- func (r *ResourceTanzuKubernetesRelease) GetRorHash() string
- func (r ResourceTanzuKubernetesRelease) GetRorMeta() ResourceRorMeta
- func (r ResourceTanzuKubernetesRelease) GetUID() string
- func (r *ResourceTanzuKubernetesRelease) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceTanzuKubernetesReleaseMetadata
- type ResourceTanzuKubernetesReleaseMetadataManagedField
- type ResourceTanzuKubernetesReleaseMetadataOwnerReference
- type ResourceTanzuKubernetesReleaseSpec
- type ResourceTanzuKubernetesReleaseSpecImage
- type ResourceTanzuKubernetesReleaseSpecNodeImageRef
- type ResourceTanzuKubernetesReleaseStatus
- type ResourceTanzuKubernetesReleaseStatusCondition
- type ResourceVirtualMachineClass
- func (r *ResourceVirtualMachineClass) ApplyInputFilter() error
- func (r *ResourceVirtualMachineClass) Get() *ResourceVirtualMachineClass
- func (r ResourceVirtualMachineClass) GetAPIVersion() string
- func (r ResourceVirtualMachineClass) GetKind() string
- func (r ResourceVirtualMachineClass) GetMetadata() metav1.ObjectMeta
- func (r ResourceVirtualMachineClass) GetName() string
- func (r *ResourceVirtualMachineClass) GetRorHash() string
- func (r ResourceVirtualMachineClass) GetRorMeta() ResourceRorMeta
- func (r ResourceVirtualMachineClass) GetUID() string
- func (r *ResourceVirtualMachineClass) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceVirtualMachineClassBinding
- func (r *ResourceVirtualMachineClassBinding) ApplyInputFilter() error
- func (r *ResourceVirtualMachineClassBinding) Get() *ResourceVirtualMachineClassBinding
- func (r ResourceVirtualMachineClassBinding) GetAPIVersion() string
- func (r ResourceVirtualMachineClassBinding) GetKind() string
- func (r ResourceVirtualMachineClassBinding) GetMetadata() metav1.ObjectMeta
- func (r ResourceVirtualMachineClassBinding) GetName() string
- func (r *ResourceVirtualMachineClassBinding) GetRorHash() string
- func (r ResourceVirtualMachineClassBinding) GetRorMeta() ResourceRorMeta
- func (r ResourceVirtualMachineClassBinding) GetUID() string
- func (r *ResourceVirtualMachineClassBinding) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceVirtualMachineClassBindingClassRef
- type ResourceVirtualMachineClassBindingMetadata
- type ResourceVirtualMachineClassBindingMetadataManagedField
- type ResourceVirtualMachineClassBindingMetadataOwnerReference
- type ResourceVirtualMachineClassMetadata
- type ResourceVirtualMachineClassMetadataManagedField
- type ResourceVirtualMachineClassMetadataOwnerReference
- type ResourceVirtualMachineClassSpec
- type ResourceVirtualMachineClassSpecHardware
- type ResourceVirtualMachineClassSpecHardwareInstanceStorage
- type ResourceVulnerabilityReport
- func (r *ResourceVulnerabilityReport) ApplyInputFilter() error
- func (r *ResourceVulnerabilityReport) Get() *ResourceVulnerabilityReport
- func (r ResourceVulnerabilityReport) GetAPIVersion() string
- func (r ResourceVulnerabilityReport) GetKind() string
- func (r ResourceVulnerabilityReport) GetMetadata() metav1.ObjectMeta
- func (r ResourceVulnerabilityReport) GetName() string
- func (r *ResourceVulnerabilityReport) GetRorHash() string
- func (r ResourceVulnerabilityReport) GetRorMeta() ResourceRorMeta
- func (r ResourceVulnerabilityReport) GetUID() string
- func (r *ResourceVulnerabilityReport) SetRorMeta(rormeta ResourceRorMeta) error
- type ResourceVulnerabilityReportReport
- type ResourceVulnerabilityReportReportArtifact
- type ResourceVulnerabilityReportReportVulnerability
- type RorResourceOwnerReference
- type SensitivityLevel
- type Serviceinterface
- type StatefulSetinterface
- type StorageClassinterface
- type TanzuKubernetesClusterinterface
- type TanzuKubernetesReleaseinterface
- type VirtualMachineClassBindinginterface
- type VirtualMachineClassinterface
- type VulnerabilityReportinterface
Constants ¶
This section is empty.
Variables ¶
var ( // aclmodels.ErrInvalidScope is returned when the scope is invalid ErrInvalidScope = errors.New("invalid scope") ErrInvalidSubject = errors.New("invalid subject") )
Functions ¶
This section is empty.
Types ¶
type AppProjectinterface ¶
type AppProjectinterface interface { CommonResourceInterface Get() *ResourceAppProject }
AppProjectinterface represents the interface for resources of the type appproject
type Applicationinterface ¶
type Applicationinterface interface { CommonResourceInterface Get() *ResourceApplication }
Applicationinterface represents the interface for resources of the type application
type AquaReportScanner ¶
type AquaReportSummary ¶
type Certificateinterface ¶
type Certificateinterface interface { CommonResourceInterface Get() *ResourceCertificate }
Certificateinterface represents the interface for resources of the type certificate
type ClusterComplianceReportinterface ¶
type ClusterComplianceReportinterface interface { CommonResourceInterface Get() *ResourceClusterComplianceReport }
ClusterComplianceReportinterface represents the interface for resources of the type clustercompliancereport
type ClusterOrderinterface ¶
type ClusterOrderinterface interface { CommonResourceInterface Get() *ResourceClusterOrder }
ClusterOrderinterface represents the interface for resources of the type clusterorder
type CommonResource ¶
type CommonResource struct { metav1.TypeMeta `json:",inline"` Metadata metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` RorMeta ResourceRorMeta `json:"rormeta"` }
Commonresource defines the minimum resource definition.
type CommonResourceInterface ¶
type CommonResourceInterface interface { GetName() string GetUID() string GetKind() string GetAPIVersion() string GetMetadata() metav1.ObjectMeta GetRorMeta() ResourceRorMeta SetRorMeta(ResourceRorMeta) error GetRorHash() string ApplyInputFilter() error }
CommonResourceInterface represents the minimum interface for all resources
type ConfigAuditReportinterface ¶
type ConfigAuditReportinterface interface { CommonResourceInterface Get() *ResourceConfigAuditReport }
ConfigAuditReportinterface represents the interface for resources of the type configauditreport
type Configurationinterface ¶
type Configurationinterface interface { CommonResourceInterface Get() *ResourceConfiguration }
Configurationinterface represents the interface for resources of the type configuration
type CriticalityLevel ¶
type CriticalityLevel int
const ( CriticalityLevelUnknown CriticalityLevel = iota CriticalityLevelOpen CriticalityLevel = 1 CriticalityLevelIntern CriticalityLevel = 2 CriticalityLevelShielded CriticalityLevel = 3 CriticalityLevelHighlyShielded CriticalityLevel = 4 )
type DaemonSetinterface ¶
type DaemonSetinterface interface { CommonResourceInterface Get() *ResourceDaemonSet }
DaemonSetinterface represents the interface for resources of the type daemonset
type Deploymentinterface ¶
type Deploymentinterface interface { CommonResourceInterface Get() *ResourceDeployment }
Deploymentinterface represents the interface for resources of the type deployment
type EnvironmentType ¶
type EnvironmentType int
const ( EnvironmentUnknown EnvironmentType = iota EnvironmentDevelopment EnvironmentType = 1 EnvironmentTesting EnvironmentType = 2 EnvironmentQA EnvironmentType = 3 EnvironmentProduction EnvironmentType = 4 )
type ExposedSecretReportinterface ¶
type ExposedSecretReportinterface interface { CommonResourceInterface Get() *ResourceExposedSecretReport }
ExposedSecretReportinterface represents the interface for resources of the type exposedsecretreport
type IngressClassinterface ¶
type IngressClassinterface interface { CommonResourceInterface Get() *ResourceIngressClass }
IngressClassinterface represents the interface for resources of the type ingressclass
type Ingressinterface ¶
type Ingressinterface interface { CommonResourceInterface Get() *ResourceIngress }
Ingressinterface represents the interface for resources of the type ingress
type KubernetesClusterinterface ¶
type KubernetesClusterinterface interface { CommonResourceInterface Get() *ResourceKubernetesCluster }
KubernetesClusterinterface represents the interface for resources of the type kubernetescluster
type Namespaceinterface ¶
type Namespaceinterface interface { CommonResourceInterface Get() *ResourceNamespace }
Namespaceinterface represents the interface for resources of the type namespace
type Nodeinterface ¶
type Nodeinterface interface { CommonResourceInterface Get() *ResourceNode }
Nodeinterface represents the interface for resources of the type node
type PersistentVolumeClaiminterface ¶
type PersistentVolumeClaiminterface interface { CommonResourceInterface Get() *ResourcePersistentVolumeClaim }
PersistentVolumeClaiminterface represents the interface for resources of the type persistentvolumeclaim
type Podinterface ¶
type Podinterface interface { CommonResourceInterface Get() *ResourcePod }
Podinterface represents the interface for resources of the type pod
type PolicyReportinterface ¶
type PolicyReportinterface interface { CommonResourceInterface Get() *ResourcePolicyReport }
PolicyReportinterface represents the interface for resources of the type policyreport
type Projectinterface ¶
type Projectinterface interface { CommonResourceInterface Get() *ResourceProject }
Projectinterface represents the interface for resources of the type project
type ProviderType ¶
type ProviderType string
const ( ProviderTypeUnknown ProviderType = "" ProviderTypeTanzu ProviderType = "Tanzu" ProviderTypeAzure ProviderType = "Azure" ProviderTypeK3d ProviderType = "K3D" )
type RbacAssessmentReportinterface ¶
type RbacAssessmentReportinterface interface { CommonResourceInterface Get() *ResourceRbacAssessmentReport }
RbacAssessmentReportinterface represents the interface for resources of the type rbacassessmentreport
type ReplicaSetinterface ¶
type ReplicaSetinterface interface { CommonResourceInterface Get() *ResourceReplicaSet }
ReplicaSetinterface represents the interface for resources of the type replicaset
type ResourceAction ¶
type ResourceAction string
const ( K8sActionAdd ResourceAction = "Add" K8sActionDelete ResourceAction = "Delete" K8sActionUpdate ResourceAction = "Update" )
type ResourceAppProject ¶
type ResourceAppProject struct { CommonResource `json:",inline"` Spec ResourceAppProjectSpec `json:"spec"` }
K8s applicationProject struct used with ArgoCD
func (*ResourceAppProject) ApplyInputFilter ¶
func (r *ResourceAppProject) ApplyInputFilter() error
(r *ResourceAppProject) ApplyInputFilter Applies the input filter to the resource
func (*ResourceAppProject) Get ¶
func (r *ResourceAppProject) Get() *ResourceAppProject
(r ResourceAppProject) Get returns a pointer to the resource of type ResourceAppProject
func (ResourceAppProject) GetAPIVersion ¶
func (r ResourceAppProject) GetAPIVersion() string
(r ResourceAppProject) GetAPIVersion returns the APIVersion of the resource
func (ResourceAppProject) GetKind ¶
func (r ResourceAppProject) GetKind() string
(r ResourceAppProject) GetKind returns the kind of the resource
func (ResourceAppProject) GetMetadata ¶
func (r ResourceAppProject) GetMetadata() metav1.ObjectMeta
(r ResourceAppProject) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceAppProject) GetName ¶
func (r ResourceAppProject) GetName() string
(r ResourceAppProject) GetName returns the name of the resource
func (*ResourceAppProject) GetRorHash ¶
func (r *ResourceAppProject) GetRorHash() string
(r *ResourceAppProject) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceAppProject) GetRorMeta ¶
func (r ResourceAppProject) GetRorMeta() ResourceRorMeta
(r ResourceAppProject) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceAppProject) GetUID ¶
func (r ResourceAppProject) GetUID() string
(r ResourceAppProject) GetUID returns the UID of the resource
func (*ResourceAppProject) SetRorMeta ¶
func (r *ResourceAppProject) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceAppProject) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceAppProjectSpec ¶
type ResourceAppProjectSpec struct { Description string `json:"description"` SourceRepos []string `json:"sourceRepos"` Destinations []ResourceApplicationSpecDestination `json:"destinations"` }
type ResourceApplication ¶
type ResourceApplication struct { CommonResource `json:",inline"` Spec ResourceApplicationSpec `json:"spec"` Status ResourceApplicationStatus `json:"status"` }
K8s application struct used with ArgoCD
func (*ResourceApplication) ApplyInputFilter ¶
func (r *ResourceApplication) ApplyInputFilter() error
(r *ResourceApplication) ApplyInputFilter Applies the input filter to the resource
func (*ResourceApplication) Get ¶
func (r *ResourceApplication) Get() *ResourceApplication
(r ResourceApplication) Get returns a pointer to the resource of type ResourceApplication
func (ResourceApplication) GetAPIVersion ¶
func (r ResourceApplication) GetAPIVersion() string
(r ResourceApplication) GetAPIVersion returns the APIVersion of the resource
func (ResourceApplication) GetKind ¶
func (r ResourceApplication) GetKind() string
(r ResourceApplication) GetKind returns the kind of the resource
func (ResourceApplication) GetMetadata ¶
func (r ResourceApplication) GetMetadata() metav1.ObjectMeta
(r ResourceApplication) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceApplication) GetName ¶
func (r ResourceApplication) GetName() string
(r ResourceApplication) GetName returns the name of the resource
func (*ResourceApplication) GetRorHash ¶
func (r *ResourceApplication) GetRorHash() string
(r *ResourceApplication) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceApplication) GetRorMeta ¶
func (r ResourceApplication) GetRorMeta() ResourceRorMeta
(r ResourceApplication) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceApplication) GetUID ¶
func (r ResourceApplication) GetUID() string
(r ResourceApplication) GetUID returns the UID of the resource
func (*ResourceApplication) SetRorMeta ¶
func (r *ResourceApplication) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceApplication) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceApplicationSpec ¶
type ResourceApplicationSpec struct { Destination ResourceApplicationSpecDestination `json:"destination"` Project string `json:"project"` Source ResourceApplicationSpecSource `json:"source"` SyncPolicy ResourceApplicationSpecSyncpolicy `json:"syncPolicy"` }
type ResourceApplicationSpecSyncpolicy ¶
type ResourceApplicationSpecSyncpolicy struct { Automated *ResourceApplicationSpecSyncpolicyAutomated `json:"automated"` Retry *ResourceApplicationSpecSyncpolicyRetry `json:"retry"` SyncOptions []string `json:"syncOptions"` }
type ResourceApplicationSpecSyncpolicyRetry ¶
type ResourceApplicationSpecSyncpolicyRetry struct { Backoff *ResourceApplicationSpecSyncpolicyRetryBackoff `json:"backoff"` Limit int `json:"limit"` }
type ResourceApplicationStatus ¶
type ResourceApplicationStatus struct { SourceType string `json:"sourceType"` ReconciledAt string `json:"reconciledAt"` OperationState ResourceApplicationStatusOperationstate `json:"operationState"` Health ResourceApplicationStatusHealth `json:"health"` Sync ResourceApplicationStatusSync `json:"sync"` }
type ResourceCertificate ¶
type ResourceCertificate struct { CommonResource `json:",inline"` Spec ResourceCertificateSpec `json:"spec"` Status ResourceCertificateStatus `json:"status"` }
K8s certificate struct
func (*ResourceCertificate) ApplyInputFilter ¶
func (r *ResourceCertificate) ApplyInputFilter() error
(r *ResourceCertificate) ApplyInputFilter Applies the input filter to the resource
func (*ResourceCertificate) Get ¶
func (r *ResourceCertificate) Get() *ResourceCertificate
(r ResourceCertificate) Get returns a pointer to the resource of type ResourceCertificate
func (ResourceCertificate) GetAPIVersion ¶
func (r ResourceCertificate) GetAPIVersion() string
(r ResourceCertificate) GetAPIVersion returns the APIVersion of the resource
func (ResourceCertificate) GetKind ¶
func (r ResourceCertificate) GetKind() string
(r ResourceCertificate) GetKind returns the kind of the resource
func (ResourceCertificate) GetMetadata ¶
func (r ResourceCertificate) GetMetadata() metav1.ObjectMeta
(r ResourceCertificate) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceCertificate) GetName ¶
func (r ResourceCertificate) GetName() string
(r ResourceCertificate) GetName returns the name of the resource
func (*ResourceCertificate) GetRorHash ¶
func (r *ResourceCertificate) GetRorHash() string
(r *ResourceCertificate) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceCertificate) GetRorMeta ¶
func (r ResourceCertificate) GetRorMeta() ResourceRorMeta
(r ResourceCertificate) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceCertificate) GetUID ¶
func (r ResourceCertificate) GetUID() string
(r ResourceCertificate) GetUID returns the UID of the resource
func (*ResourceCertificate) SetRorMeta ¶
func (r *ResourceCertificate) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceCertificate) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceCertificateSpec ¶
type ResourceCertificateSpec struct { DnsNames []string `json:"dnsNames"` SecretName string `json:"secretName"` IssuerRef ResourceCertificateSpecIssuerref `json:"issuerRef"` Usages []string `json:"usages,omitempty"` }
type ResourceCertificateStatus ¶
type ResourceCertificateStatus struct { NotBefore string `json:"notBefore"` NotAfter string `json:"notAfter"` RenewalTime string `json:"renewalTime"` Conditions []ResourceCertificateStatusCondition `json:"conditions"` }
type ResourceClusterComplianceReport ¶
type ResourceClusterComplianceReport struct {
CommonResource `json:",inline"`
}
K8s namepace struct
func (*ResourceClusterComplianceReport) ApplyInputFilter ¶
func (r *ResourceClusterComplianceReport) ApplyInputFilter() error
(r *ResourceClusterComplianceReport) ApplyInputFilter Applies the input filter to the resource
func (*ResourceClusterComplianceReport) Get ¶
func (r *ResourceClusterComplianceReport) Get() *ResourceClusterComplianceReport
(r ResourceClusterComplianceReport) Get returns a pointer to the resource of type ResourceClusterComplianceReport
func (ResourceClusterComplianceReport) GetAPIVersion ¶
func (r ResourceClusterComplianceReport) GetAPIVersion() string
(r ResourceClusterComplianceReport) GetAPIVersion returns the APIVersion of the resource
func (ResourceClusterComplianceReport) GetKind ¶
func (r ResourceClusterComplianceReport) GetKind() string
(r ResourceClusterComplianceReport) GetKind returns the kind of the resource
func (ResourceClusterComplianceReport) GetMetadata ¶
func (r ResourceClusterComplianceReport) GetMetadata() metav1.ObjectMeta
(r ResourceClusterComplianceReport) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceClusterComplianceReport) GetName ¶
func (r ResourceClusterComplianceReport) GetName() string
(r ResourceClusterComplianceReport) GetName returns the name of the resource
func (*ResourceClusterComplianceReport) GetRorHash ¶
func (r *ResourceClusterComplianceReport) GetRorHash() string
(r *ResourceClusterComplianceReport) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceClusterComplianceReport) GetRorMeta ¶
func (r ResourceClusterComplianceReport) GetRorMeta() ResourceRorMeta
(r ResourceClusterComplianceReport) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceClusterComplianceReport) GetUID ¶
func (r ResourceClusterComplianceReport) GetUID() string
(r ResourceClusterComplianceReport) GetUID returns the UID of the resource
func (*ResourceClusterComplianceReport) SetRorMeta ¶
func (r *ResourceClusterComplianceReport) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceClusterComplianceReport) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceClusterOrder ¶
type ResourceClusterOrder struct { CommonResource `json:",inline"` Spec ResourceClusterOrderSpec `json:"spec"` Status ResourceClusterOrderStatus `json:"status"` }
func (*ResourceClusterOrder) ApplyInputFilter ¶
func (r *ResourceClusterOrder) ApplyInputFilter() error
(r *ResourceClusterOrder) ApplyInputFilter Applies the input filter to the resource
func (*ResourceClusterOrder) Get ¶
func (r *ResourceClusterOrder) Get() *ResourceClusterOrder
(r ResourceClusterOrder) Get returns a pointer to the resource of type ResourceClusterOrder
func (ResourceClusterOrder) GetAPIVersion ¶
func (r ResourceClusterOrder) GetAPIVersion() string
(r ResourceClusterOrder) GetAPIVersion returns the APIVersion of the resource
func (ResourceClusterOrder) GetKind ¶
func (r ResourceClusterOrder) GetKind() string
(r ResourceClusterOrder) GetKind returns the kind of the resource
func (ResourceClusterOrder) GetMetadata ¶
func (r ResourceClusterOrder) GetMetadata() metav1.ObjectMeta
(r ResourceClusterOrder) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceClusterOrder) GetName ¶
func (r ResourceClusterOrder) GetName() string
(r ResourceClusterOrder) GetName returns the name of the resource
func (*ResourceClusterOrder) GetRorHash ¶
func (r *ResourceClusterOrder) GetRorHash() string
(r *ResourceClusterOrder) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceClusterOrder) GetRorMeta ¶
func (r ResourceClusterOrder) GetRorMeta() ResourceRorMeta
(r ResourceClusterOrder) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceClusterOrder) GetUID ¶
func (r ResourceClusterOrder) GetUID() string
(r ResourceClusterOrder) GetUID returns the UID of the resource
func (*ResourceClusterOrder) SetRorMeta ¶
func (r *ResourceClusterOrder) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceClusterOrder) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceClusterOrderSpec ¶
type ResourceClusterOrderSpec struct { Provider ProviderType `json:"provider" validate:"required,min=1,ne=' '"` ClusterName string `json:"clusterName" validate:"required,min=1,ne=' '"` ProjectId string `json:"projectId" validate:"required,min=1,ne=' '"` OrderBy string `json:"orderBy" validate:"required,min=1,ne=' '"` Environment EnvironmentType `json:"environment" validate:"required,min=1,max=4"` Criticality CriticalityLevel `json:"criticality" validate:"required,min=1,max=4"` Sensitivity SensitivityLevel `json:"sensitivity" validate:"required,min=1,max=4"` HighAvailability bool `json:"highAvailability" validate:"boolean"` NodePools []ResourceClusterOrderSpecNodePool `json:"nodePools" validate:"required,min=1,dive,required"` ServiceTags map[string]string `json:"serviceTags,omitempty"` ProviderConfig map[string]interface{} `json:"providerConfig,omitempty"` OwnerGroup string `json:"ownerGroup" validate:"required,min=1,ne=' '"` }
type ResourceClusterOrderStatus ¶
type ResourceClusterOrderStatus struct { Status string `json:"status"` Phase string `json:"phase"` Conditions []ResourceKubernetesClusterStatusCondition `json:"conditions"` CreatedTime string `json:"createdTime"` UpdatedTime string `json:"updatedTime"` LastObservedTime string `json:"lastObservedTime"` }
type ResourceConfigAuditReport ¶
type ResourceConfigAuditReport struct { CommonResource `json:",inline"` Report ResourceVulnerabilityReportReport `json:"report"` }
K8s namepace struct
func (*ResourceConfigAuditReport) ApplyInputFilter ¶
func (r *ResourceConfigAuditReport) ApplyInputFilter() error
(r *ResourceConfigAuditReport) ApplyInputFilter Applies the input filter to the resource
func (*ResourceConfigAuditReport) Get ¶
func (r *ResourceConfigAuditReport) Get() *ResourceConfigAuditReport
(r ResourceConfigAuditReport) Get returns a pointer to the resource of type ResourceConfigAuditReport
func (ResourceConfigAuditReport) GetAPIVersion ¶
func (r ResourceConfigAuditReport) GetAPIVersion() string
(r ResourceConfigAuditReport) GetAPIVersion returns the APIVersion of the resource
func (ResourceConfigAuditReport) GetKind ¶
func (r ResourceConfigAuditReport) GetKind() string
(r ResourceConfigAuditReport) GetKind returns the kind of the resource
func (ResourceConfigAuditReport) GetMetadata ¶
func (r ResourceConfigAuditReport) GetMetadata() metav1.ObjectMeta
(r ResourceConfigAuditReport) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceConfigAuditReport) GetName ¶
func (r ResourceConfigAuditReport) GetName() string
(r ResourceConfigAuditReport) GetName returns the name of the resource
func (*ResourceConfigAuditReport) GetRorHash ¶
func (r *ResourceConfigAuditReport) GetRorHash() string
(r *ResourceConfigAuditReport) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceConfigAuditReport) GetRorMeta ¶
func (r ResourceConfigAuditReport) GetRorMeta() ResourceRorMeta
(r ResourceConfigAuditReport) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceConfigAuditReport) GetUID ¶
func (r ResourceConfigAuditReport) GetUID() string
(r ResourceConfigAuditReport) GetUID returns the UID of the resource
func (*ResourceConfigAuditReport) SetRorMeta ¶
func (r *ResourceConfigAuditReport) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceConfigAuditReport) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceConfigAuditReportReport ¶
type ResourceConfigAuditReportReport struct {
Summary AquaReportSummary `json:"summary"`
}
type ResourceConfiguration ¶
type ResourceConfiguration struct { CommonResource `json:",inline"` Spec ResourceConfigurationSpec `json:"spec"` }
func (*ResourceConfiguration) ApplyInputFilter ¶
func (r *ResourceConfiguration) ApplyInputFilter() error
(r *ResourceConfiguration) ApplyInputFilter Applies the input filter to the resource
func (*ResourceConfiguration) Get ¶
func (r *ResourceConfiguration) Get() *ResourceConfiguration
(r ResourceConfiguration) Get returns a pointer to the resource of type ResourceConfiguration
func (ResourceConfiguration) GetAPIVersion ¶
func (r ResourceConfiguration) GetAPIVersion() string
(r ResourceConfiguration) GetAPIVersion returns the APIVersion of the resource
func (ResourceConfiguration) GetKind ¶
func (r ResourceConfiguration) GetKind() string
(r ResourceConfiguration) GetKind returns the kind of the resource
func (ResourceConfiguration) GetMetadata ¶
func (r ResourceConfiguration) GetMetadata() metav1.ObjectMeta
(r ResourceConfiguration) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceConfiguration) GetName ¶
func (r ResourceConfiguration) GetName() string
(r ResourceConfiguration) GetName returns the name of the resource
func (*ResourceConfiguration) GetRorHash ¶
func (r *ResourceConfiguration) GetRorHash() string
(r *ResourceConfiguration) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceConfiguration) GetRorMeta ¶
func (r ResourceConfiguration) GetRorMeta() ResourceRorMeta
(r ResourceConfiguration) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceConfiguration) GetUID ¶
func (r ResourceConfiguration) GetUID() string
(r ResourceConfiguration) GetUID returns the UID of the resource
func (*ResourceConfiguration) SetRorMeta ¶
func (r *ResourceConfiguration) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceConfiguration) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceDaemonSet ¶
type ResourceDaemonSet struct { CommonResource `json:",inline"` Status ResourceDaemonSetStatus `json:"status"` }
K8s deployment struct
func (*ResourceDaemonSet) ApplyInputFilter ¶
func (r *ResourceDaemonSet) ApplyInputFilter() error
(r *ResourceDaemonSet) ApplyInputFilter Applies the input filter to the resource
func (*ResourceDaemonSet) Get ¶
func (r *ResourceDaemonSet) Get() *ResourceDaemonSet
(r ResourceDaemonSet) Get returns a pointer to the resource of type ResourceDaemonSet
func (ResourceDaemonSet) GetAPIVersion ¶
func (r ResourceDaemonSet) GetAPIVersion() string
(r ResourceDaemonSet) GetAPIVersion returns the APIVersion of the resource
func (ResourceDaemonSet) GetKind ¶
func (r ResourceDaemonSet) GetKind() string
(r ResourceDaemonSet) GetKind returns the kind of the resource
func (ResourceDaemonSet) GetMetadata ¶
func (r ResourceDaemonSet) GetMetadata() metav1.ObjectMeta
(r ResourceDaemonSet) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceDaemonSet) GetName ¶
func (r ResourceDaemonSet) GetName() string
(r ResourceDaemonSet) GetName returns the name of the resource
func (*ResourceDaemonSet) GetRorHash ¶
func (r *ResourceDaemonSet) GetRorHash() string
(r *ResourceDaemonSet) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceDaemonSet) GetRorMeta ¶
func (r ResourceDaemonSet) GetRorMeta() ResourceRorMeta
(r ResourceDaemonSet) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceDaemonSet) GetUID ¶
func (r ResourceDaemonSet) GetUID() string
(r ResourceDaemonSet) GetUID returns the UID of the resource
func (*ResourceDaemonSet) SetRorMeta ¶
func (r *ResourceDaemonSet) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceDaemonSet) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceDaemonSetStatus ¶
type ResourceDaemonSetStatus struct { NumberReady int `json:"numberReady"` NumberMisscheduled int `json:"currentReplicas"` NumberAvailable int `json:"numberAvailable"` UpdatedNumberScheduled int `json:"updatedNumberScheduled"` DesiredNumberScheduled int `json:"desiredNumberScheduled"` CurrentNumberScheduled int `json:"currentNumberScheduled"` }
type ResourceDeployment ¶
type ResourceDeployment struct { CommonResource `json:",inline"` Status ResourceDeploymentStatus `json:"status"` }
K8s deployment struct
func (*ResourceDeployment) ApplyInputFilter ¶
func (r *ResourceDeployment) ApplyInputFilter() error
(r *ResourceDeployment) ApplyInputFilter Applies the input filter to the resource
func (*ResourceDeployment) Get ¶
func (r *ResourceDeployment) Get() *ResourceDeployment
(r ResourceDeployment) Get returns a pointer to the resource of type ResourceDeployment
func (ResourceDeployment) GetAPIVersion ¶
func (r ResourceDeployment) GetAPIVersion() string
(r ResourceDeployment) GetAPIVersion returns the APIVersion of the resource
func (ResourceDeployment) GetKind ¶
func (r ResourceDeployment) GetKind() string
(r ResourceDeployment) GetKind returns the kind of the resource
func (ResourceDeployment) GetMetadata ¶
func (r ResourceDeployment) GetMetadata() metav1.ObjectMeta
(r ResourceDeployment) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceDeployment) GetName ¶
func (r ResourceDeployment) GetName() string
(r ResourceDeployment) GetName returns the name of the resource
func (*ResourceDeployment) GetRorHash ¶
func (r *ResourceDeployment) GetRorHash() string
(r *ResourceDeployment) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceDeployment) GetRorMeta ¶
func (r ResourceDeployment) GetRorMeta() ResourceRorMeta
(r ResourceDeployment) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceDeployment) GetUID ¶
func (r ResourceDeployment) GetUID() string
(r ResourceDeployment) GetUID returns the UID of the resource
func (*ResourceDeployment) SetRorMeta ¶
func (r *ResourceDeployment) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceDeployment) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceExposedSecretReport ¶
type ResourceExposedSecretReport struct { CommonResource `json:",inline"` Report ResourceVulnerabilityReportReport `json:"report"` }
K8s namepace struct
func (*ResourceExposedSecretReport) ApplyInputFilter ¶
func (r *ResourceExposedSecretReport) ApplyInputFilter() error
(r *ResourceExposedSecretReport) ApplyInputFilter Applies the input filter to the resource
func (*ResourceExposedSecretReport) Get ¶
func (r *ResourceExposedSecretReport) Get() *ResourceExposedSecretReport
(r ResourceExposedSecretReport) Get returns a pointer to the resource of type ResourceExposedSecretReport
func (ResourceExposedSecretReport) GetAPIVersion ¶
func (r ResourceExposedSecretReport) GetAPIVersion() string
(r ResourceExposedSecretReport) GetAPIVersion returns the APIVersion of the resource
func (ResourceExposedSecretReport) GetKind ¶
func (r ResourceExposedSecretReport) GetKind() string
(r ResourceExposedSecretReport) GetKind returns the kind of the resource
func (ResourceExposedSecretReport) GetMetadata ¶
func (r ResourceExposedSecretReport) GetMetadata() metav1.ObjectMeta
(r ResourceExposedSecretReport) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceExposedSecretReport) GetName ¶
func (r ResourceExposedSecretReport) GetName() string
(r ResourceExposedSecretReport) GetName returns the name of the resource
func (*ResourceExposedSecretReport) GetRorHash ¶
func (r *ResourceExposedSecretReport) GetRorHash() string
(r *ResourceExposedSecretReport) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceExposedSecretReport) GetRorMeta ¶
func (r ResourceExposedSecretReport) GetRorMeta() ResourceRorMeta
(r ResourceExposedSecretReport) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceExposedSecretReport) GetUID ¶
func (r ResourceExposedSecretReport) GetUID() string
(r ResourceExposedSecretReport) GetUID returns the UID of the resource
func (*ResourceExposedSecretReport) SetRorMeta ¶
func (r *ResourceExposedSecretReport) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceExposedSecretReport) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceExposedSecretReportReport ¶
type ResourceExposedSecretReportReport struct {
Summary AquaReportSummary `json:"summary"`
}
type ResourceIngress ¶
type ResourceIngress struct { CommonResource `json:",inline"` Spec ResourceIngressSpec `json:"spec"` Status ResourceIngressStatus `json:"status"` }
K8s namepace struct
func (*ResourceIngress) ApplyInputFilter ¶
func (r *ResourceIngress) ApplyInputFilter() error
(r *ResourceIngress) ApplyInputFilter Applies the input filter to the resource
func (*ResourceIngress) Get ¶
func (r *ResourceIngress) Get() *ResourceIngress
(r ResourceIngress) Get returns a pointer to the resource of type ResourceIngress
func (ResourceIngress) GetAPIVersion ¶
func (r ResourceIngress) GetAPIVersion() string
(r ResourceIngress) GetAPIVersion returns the APIVersion of the resource
func (ResourceIngress) GetKind ¶
func (r ResourceIngress) GetKind() string
(r ResourceIngress) GetKind returns the kind of the resource
func (ResourceIngress) GetMetadata ¶
func (r ResourceIngress) GetMetadata() metav1.ObjectMeta
(r ResourceIngress) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceIngress) GetName ¶
func (r ResourceIngress) GetName() string
(r ResourceIngress) GetName returns the name of the resource
func (*ResourceIngress) GetRorHash ¶
func (r *ResourceIngress) GetRorHash() string
(r *ResourceIngress) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceIngress) GetRorMeta ¶
func (r ResourceIngress) GetRorMeta() ResourceRorMeta
(r ResourceIngress) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceIngress) GetUID ¶
func (r ResourceIngress) GetUID() string
(r ResourceIngress) GetUID returns the UID of the resource
func (*ResourceIngress) SetRorMeta ¶
func (r *ResourceIngress) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceIngress) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceIngressClass ¶
type ResourceIngressClass struct { CommonResource `json:",inline"` Spec ResourceIngressClassSpec `json:"spec"` }
K8s namepace struct
func (*ResourceIngressClass) ApplyInputFilter ¶
func (r *ResourceIngressClass) ApplyInputFilter() error
(r *ResourceIngressClass) ApplyInputFilter Applies the input filter to the resource
func (*ResourceIngressClass) Get ¶
func (r *ResourceIngressClass) Get() *ResourceIngressClass
(r ResourceIngressClass) Get returns a pointer to the resource of type ResourceIngressClass
func (ResourceIngressClass) GetAPIVersion ¶
func (r ResourceIngressClass) GetAPIVersion() string
(r ResourceIngressClass) GetAPIVersion returns the APIVersion of the resource
func (ResourceIngressClass) GetKind ¶
func (r ResourceIngressClass) GetKind() string
(r ResourceIngressClass) GetKind returns the kind of the resource
func (ResourceIngressClass) GetMetadata ¶
func (r ResourceIngressClass) GetMetadata() metav1.ObjectMeta
(r ResourceIngressClass) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceIngressClass) GetName ¶
func (r ResourceIngressClass) GetName() string
(r ResourceIngressClass) GetName returns the name of the resource
func (*ResourceIngressClass) GetRorHash ¶
func (r *ResourceIngressClass) GetRorHash() string
(r *ResourceIngressClass) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceIngressClass) GetRorMeta ¶
func (r ResourceIngressClass) GetRorMeta() ResourceRorMeta
(r ResourceIngressClass) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceIngressClass) GetUID ¶
func (r ResourceIngressClass) GetUID() string
(r ResourceIngressClass) GetUID returns the UID of the resource
func (*ResourceIngressClass) SetRorMeta ¶
func (r *ResourceIngressClass) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceIngressClass) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceIngressClassSpec ¶
type ResourceIngressClassSpec struct { Controller string `json:"controller"` Parameters ResourceIngressClassSpecParameters `json:"parameters"` }
type ResourceIngressSpec ¶
type ResourceIngressSpec struct { DefaultBackend ResourceIngressSpecRulesHttpPathsBackend `json:"defaultBackend,omitempty"` IngressClassName string `json:"ingressClassName"` Rules []ResourceIngressSpecRules `json:"rules"` Tls []ResourceIngressSpecTls `json:"tls"` }
type ResourceIngressSpecBackendService ¶
type ResourceIngressSpecBackendService struct { Name string `json:"name,omitempty"` Port ResourceIngressSpecBackendServicePort `json:"port,omitempty"` }
type ResourceIngressSpecRules ¶
type ResourceIngressSpecRules struct { Host string `json:"apiGroup"` Http ResourceIngressSpecRulesHttp `json:"http"` }
type ResourceIngressSpecRulesHttp ¶
type ResourceIngressSpecRulesHttp struct {
Paths []ResourceIngressSpecRulesHttpPaths `json:"paths"`
}
type ResourceIngressSpecRulesHttpPaths ¶
type ResourceIngressSpecRulesHttpPaths struct { Backend ResourceIngressSpecRulesHttpPathsBackend `json:"backend"` Path string `json:"path"` PathType string `json:"pathType"` }
type ResourceIngressSpecRulesHttpPathsBackend ¶
type ResourceIngressSpecRulesHttpPathsBackend struct { Resource ResourceIngressSpecBackendResource `json:"resource,omitempty"` Service ResourceIngressSpecBackendService `json:"service,omitempty"` }
type ResourceIngressSpecTls ¶
type ResourceIngressStatus ¶
type ResourceIngressStatus struct {
LoadBalancer ResourceIngressStatusLoadBalancer `json:"loadBalancer"`
}
type ResourceIngressStatusLoadBalancer ¶
type ResourceIngressStatusLoadBalancer struct {
Ingress []ResourceIngressStatusLoadBalancerIngress `json:"ingress"`
}
type ResourceKubernetesCluster ¶
type ResourceKubernetesCluster struct { CommonResource `json:",inline"` Spec ResourceKubernetesClusterSpec `json:"spec"` Status ResourceKubernetesClusterStatus `json:"status"` }
func (*ResourceKubernetesCluster) ApplyInputFilter ¶
func (r *ResourceKubernetesCluster) ApplyInputFilter() error
(r *ResourceKubernetesCluster) ApplyInputFilter Applies the input filter to the resource
func (*ResourceKubernetesCluster) Get ¶
func (r *ResourceKubernetesCluster) Get() *ResourceKubernetesCluster
(r ResourceKubernetesCluster) Get returns a pointer to the resource of type ResourceKubernetesCluster
func (ResourceKubernetesCluster) GetAPIVersion ¶
func (r ResourceKubernetesCluster) GetAPIVersion() string
(r ResourceKubernetesCluster) GetAPIVersion returns the APIVersion of the resource
func (ResourceKubernetesCluster) GetKind ¶
func (r ResourceKubernetesCluster) GetKind() string
(r ResourceKubernetesCluster) GetKind returns the kind of the resource
func (ResourceKubernetesCluster) GetMetadata ¶
func (r ResourceKubernetesCluster) GetMetadata() metav1.ObjectMeta
(r ResourceKubernetesCluster) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceKubernetesCluster) GetName ¶
func (r ResourceKubernetesCluster) GetName() string
(r ResourceKubernetesCluster) GetName returns the name of the resource
func (*ResourceKubernetesCluster) GetRorHash ¶
func (r *ResourceKubernetesCluster) GetRorHash() string
(r *ResourceKubernetesCluster) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceKubernetesCluster) GetRorMeta ¶
func (r ResourceKubernetesCluster) GetRorMeta() ResourceRorMeta
(r ResourceKubernetesCluster) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceKubernetesCluster) GetUID ¶
func (r ResourceKubernetesCluster) GetUID() string
(r ResourceKubernetesCluster) GetUID returns the UID of the resource
func (*ResourceKubernetesCluster) SetRorMeta ¶
func (r *ResourceKubernetesCluster) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceKubernetesCluster) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceKubernetesClusterSpec ¶
type ResourceKubernetesClusterSpec struct { ClusterId string `json:"clusterId"` ClusterName string `json:"clusterName"` Description string `json:"description"` Project string `json:"project"` Provider string `json:"provider"` CreatedBy string `json:"createdBy"` ToolingConfig ResourceKubernetesClusterSpecToolingConfig `json:"toolingConfig"` Environment string `json:"environment"` ProviderSpec ResourceKubernetesClusterSpecProviderSpec `json:"providerSpec"` Topology ResourceKubernetesClusterSpecTopology `json:"topology"` Endpoints []ResourceKubernetesClusterSpecEndpoint `json:"endpoints"` }
type ResourceKubernetesClusterSpecProviderSpec ¶
type ResourceKubernetesClusterSpecProviderSpec struct { TanzuSpec ResourceKubernetesClusterSpecProviderSpecTanzuSpec `json:"tanzuSpec"` AzureSpec ResourceKubernetesClusterSpecProviderSpecAzureSpec `json:"azureSpec"` }
type ResourceKubernetesClusterSpecToolingConfig ¶
type ResourceKubernetesClusterSpecToolingConfig struct {
SplunkIndex string `json:"splunkIndex"`
}
type ResourceKubernetesClusterSpecTopology ¶
type ResourceKubernetesClusterSpecTopology struct { ControlPlane ResourceKubernetesClusterSpecTopologyControlPlane `json:"controlPlane"` Workers []ResourceKubernetesClusterSpecTopologyWorkers `json:"workers"` }
type ResourceKubernetesClusterStatus ¶
type ResourceKubernetesClusterStatus struct { Status string `json:"status"` Phase string `json:"phase"` Conditions []ResourceKubernetesClusterStatusCondition `json:"conditions"` KubernetesVersion string `json:"kubernetesVersion"` ProviderStatus map[string]interface{} `json:"providerStatus"` CreatedTime string `json:"createdTime"` UpdatedTime string `json:"updatedTime"` LastObservedTime string `json:"lastObservedTime"` }
type ResourceNamespace ¶
type ResourceNamespace struct {
CommonResource `json:",inline"`
}
func (*ResourceNamespace) ApplyInputFilter ¶
func (r *ResourceNamespace) ApplyInputFilter() error
(r *ResourceNamespace) ApplyInputFilter Applies the input filter to the resource
func (*ResourceNamespace) Get ¶
func (r *ResourceNamespace) Get() *ResourceNamespace
(r ResourceNamespace) Get returns a pointer to the resource of type ResourceNamespace
func (ResourceNamespace) GetAPIVersion ¶
func (r ResourceNamespace) GetAPIVersion() string
(r ResourceNamespace) GetAPIVersion returns the APIVersion of the resource
func (ResourceNamespace) GetKind ¶
func (r ResourceNamespace) GetKind() string
(r ResourceNamespace) GetKind returns the kind of the resource
func (ResourceNamespace) GetMetadata ¶
func (r ResourceNamespace) GetMetadata() metav1.ObjectMeta
(r ResourceNamespace) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceNamespace) GetName ¶
func (r ResourceNamespace) GetName() string
(r ResourceNamespace) GetName returns the name of the resource
func (*ResourceNamespace) GetRorHash ¶
func (r *ResourceNamespace) GetRorHash() string
(r *ResourceNamespace) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceNamespace) GetRorMeta ¶
func (r ResourceNamespace) GetRorMeta() ResourceRorMeta
(r ResourceNamespace) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceNamespace) GetUID ¶
func (r ResourceNamespace) GetUID() string
(r ResourceNamespace) GetUID returns the UID of the resource
func (*ResourceNamespace) SetRorMeta ¶
func (r *ResourceNamespace) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceNamespace) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceNode ¶
type ResourceNode struct { CommonResource `json:",inline"` Spec ResourceNodeSpec `json:"spec"` Status ResourceNodeStatus `json:"status"` }
K8s node struct
func (*ResourceNode) ApplyInputFilter ¶
func (r *ResourceNode) ApplyInputFilter() error
(r *ResourceNode) ApplyInputFilter Applies the input filter to the resource
func (*ResourceNode) Get ¶
func (r *ResourceNode) Get() *ResourceNode
(r ResourceNode) Get returns a pointer to the resource of type ResourceNode
func (ResourceNode) GetAPIVersion ¶
func (r ResourceNode) GetAPIVersion() string
(r ResourceNode) GetAPIVersion returns the APIVersion of the resource
func (ResourceNode) GetKind ¶
func (r ResourceNode) GetKind() string
(r ResourceNode) GetKind returns the kind of the resource
func (ResourceNode) GetMetadata ¶
func (r ResourceNode) GetMetadata() metav1.ObjectMeta
(r ResourceNode) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceNode) GetName ¶
func (r ResourceNode) GetName() string
(r ResourceNode) GetName returns the name of the resource
func (*ResourceNode) GetRorHash ¶
func (r *ResourceNode) GetRorHash() string
(r *ResourceNode) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceNode) GetRorMeta ¶
func (r ResourceNode) GetRorMeta() ResourceRorMeta
(r ResourceNode) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceNode) GetUID ¶
func (r ResourceNode) GetUID() string
(r ResourceNode) GetUID returns the UID of the resource
func (*ResourceNode) SetRorMeta ¶
func (r *ResourceNode) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceNode) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceNodeSpec ¶
type ResourceNodeSpec struct { PodCIDR string `json:"podCIDR,omitempty"` PodCIDRs []string `json:"podCIDRs,omitempty"` ProviderID string `json:"providerID,omitempty"` Taints []ResourceNodeSpecTaints `json:"taints,omitempty"` }
type ResourceNodeSpecTaints ¶
type ResourceNodeStatus ¶
type ResourceNodeStatus struct { Addresses []ResourceNodeStatusAddresses `json:"addresses"` Capacity ResourceNodeStatusCapacity `json:"capacity"` Conditions []ResourceNodeStatusConditions `json:"conditions"` NodeInfo ResourceNodeStatusNodeinfo `json:"nodeInfo"` }
type ResourceNodeStatusNodeinfo ¶
type ResourceNodeStatusNodeinfo struct { Architecture string `json:"architecture"` BootID string `json:"bootID"` ContainerRuntimeVersion string `json:"containerRuntimeVersion"` KernelVersion string `json:"kernelVersion"` KubeProxyVersion string `json:"kubeProxyVersion"` KubeletVersion string `json:"kubeletVersion"` MachineID string `json:"machineID"` OperatingSystem string `json:"operatingSystem"` OsImage string `json:"osImage"` SystemUUID string `json:"systemUUID"` }
type ResourcePersistentVolumeClaim ¶
type ResourcePersistentVolumeClaim struct { CommonResource `json:",inline"` Spec ResourcePersistentVolumeClaimSpec `json:"spec"` Status ResourcePersistentVolumeClaimStatus `json:"status"` }
K8s PersistentVolumeClaim struct
func (*ResourcePersistentVolumeClaim) ApplyInputFilter ¶
func (r *ResourcePersistentVolumeClaim) ApplyInputFilter() error
(r *ResourcePersistentVolumeClaim) ApplyInputFilter Applies the input filter to the resource
func (*ResourcePersistentVolumeClaim) Get ¶
func (r *ResourcePersistentVolumeClaim) Get() *ResourcePersistentVolumeClaim
(r ResourcePersistentVolumeClaim) Get returns a pointer to the resource of type ResourcePersistentVolumeClaim
func (ResourcePersistentVolumeClaim) GetAPIVersion ¶
func (r ResourcePersistentVolumeClaim) GetAPIVersion() string
(r ResourcePersistentVolumeClaim) GetAPIVersion returns the APIVersion of the resource
func (ResourcePersistentVolumeClaim) GetKind ¶
func (r ResourcePersistentVolumeClaim) GetKind() string
(r ResourcePersistentVolumeClaim) GetKind returns the kind of the resource
func (ResourcePersistentVolumeClaim) GetMetadata ¶
func (r ResourcePersistentVolumeClaim) GetMetadata() metav1.ObjectMeta
(r ResourcePersistentVolumeClaim) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourcePersistentVolumeClaim) GetName ¶
func (r ResourcePersistentVolumeClaim) GetName() string
(r ResourcePersistentVolumeClaim) GetName returns the name of the resource
func (*ResourcePersistentVolumeClaim) GetRorHash ¶
func (r *ResourcePersistentVolumeClaim) GetRorHash() string
(r *ResourcePersistentVolumeClaim) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourcePersistentVolumeClaim) GetRorMeta ¶
func (r ResourcePersistentVolumeClaim) GetRorMeta() ResourceRorMeta
(r ResourcePersistentVolumeClaim) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourcePersistentVolumeClaim) GetUID ¶
func (r ResourcePersistentVolumeClaim) GetUID() string
(r ResourcePersistentVolumeClaim) GetUID returns the UID of the resource
func (*ResourcePersistentVolumeClaim) SetRorMeta ¶
func (r *ResourcePersistentVolumeClaim) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourcePersistentVolumeClaim) SetRorMeta sets the ResourceRorMeta of the resource
type ResourcePersistentVolumeClaimSpec ¶
type ResourcePersistentVolumeClaimSpec struct { AaccessModes []string `json:"accessModes"` Resources ResourcePersistentVolumeClaimSpecResources `json:"resources"` StorageClassName string `json:"storageClassName"` VolumeMode string `json:"volumeMode"` VolumeName string `json:"volumeName"` }
type ResourcePod ¶
type ResourcePod struct { CommonResource `json:",inline"` Spec ResourcePodSpec `json:"spec"` Status ResourcePodStatus `json:"status"` }
ResourcePod K8s namepace struct
func (*ResourcePod) ApplyInputFilter ¶
func (r *ResourcePod) ApplyInputFilter() error
(r *ResourcePod) ApplyInputFilter Applies the input filter to the resource
func (*ResourcePod) Get ¶
func (r *ResourcePod) Get() *ResourcePod
(r ResourcePod) Get returns a pointer to the resource of type ResourcePod
func (ResourcePod) GetAPIVersion ¶
func (r ResourcePod) GetAPIVersion() string
(r ResourcePod) GetAPIVersion returns the APIVersion of the resource
func (ResourcePod) GetKind ¶
func (r ResourcePod) GetKind() string
(r ResourcePod) GetKind returns the kind of the resource
func (ResourcePod) GetMetadata ¶
func (r ResourcePod) GetMetadata() metav1.ObjectMeta
(r ResourcePod) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourcePod) GetName ¶
func (r ResourcePod) GetName() string
(r ResourcePod) GetName returns the name of the resource
func (*ResourcePod) GetRorHash ¶
func (r *ResourcePod) GetRorHash() string
(r *ResourcePod) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourcePod) GetRorMeta ¶
func (r ResourcePod) GetRorMeta() ResourceRorMeta
(r ResourcePod) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourcePod) GetUID ¶
func (r ResourcePod) GetUID() string
(r ResourcePod) GetUID returns the UID of the resource
func (*ResourcePod) SetRorMeta ¶
func (r *ResourcePod) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourcePod) SetRorMeta sets the ResourceRorMeta of the resource
type ResourcePodSpec ¶
type ResourcePodSpec struct { Containers []ResourcePodSpecContainers `json:"containers"` ServiceAccountName string `json:"serviceAccountName"` NodeName string `json:"nodeName"` }
type ResourcePodSpecContainers ¶
type ResourcePodSpecContainers struct { Name string `json:"name"` Image string `json:"image"` Ports []ResourcePodSpecContainersPorts `json:"ports"` }
type ResourcePodStatus ¶
type ResourcePolicyReport ¶
type ResourcePolicyReport struct { CommonResource `json:",inline"` Results []ResourcePolicyReportResults `json:"results"` Summary ResourcePolicyReportSummary `json:"summary"` LastReported string `json:"lastReported,omitempty"` }
K8s PolicyReport struct generated by kyverno
func (*ResourcePolicyReport) ApplyInputFilter ¶
func (r *ResourcePolicyReport) ApplyInputFilter() error
(r *ResourcePolicyReport) ApplyInputFilter Applies the input filter to the resource
func (*ResourcePolicyReport) Get ¶
func (r *ResourcePolicyReport) Get() *ResourcePolicyReport
(r ResourcePolicyReport) Get returns a pointer to the resource of type ResourcePolicyReport
func (ResourcePolicyReport) GetAPIVersion ¶
func (r ResourcePolicyReport) GetAPIVersion() string
(r ResourcePolicyReport) GetAPIVersion returns the APIVersion of the resource
func (ResourcePolicyReport) GetKind ¶
func (r ResourcePolicyReport) GetKind() string
(r ResourcePolicyReport) GetKind returns the kind of the resource
func (ResourcePolicyReport) GetMetadata ¶
func (r ResourcePolicyReport) GetMetadata() metav1.ObjectMeta
(r ResourcePolicyReport) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourcePolicyReport) GetName ¶
func (r ResourcePolicyReport) GetName() string
(r ResourcePolicyReport) GetName returns the name of the resource
func (*ResourcePolicyReport) GetRorHash ¶
func (r *ResourcePolicyReport) GetRorHash() string
(r *ResourcePolicyReport) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourcePolicyReport) GetRorMeta ¶
func (r ResourcePolicyReport) GetRorMeta() ResourceRorMeta
(r ResourcePolicyReport) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourcePolicyReport) GetUID ¶
func (r ResourcePolicyReport) GetUID() string
(r ResourcePolicyReport) GetUID returns the UID of the resource
func (*ResourcePolicyReport) SetRorMeta ¶
func (r *ResourcePolicyReport) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourcePolicyReport) SetRorMeta sets the ResourceRorMeta of the resource
type ResourcePolicyReportResults ¶
type ResourcePolicyReportResults struct { Policy string `json:"policy"` Message string `json:"message"` Category string `json:"category"` Properties map[string]string `json:"properties"` Severity string `json:"severity"` Result string `json:"result"` Resources []ResourcePolicyReportResultsResources `json:"resources"` }
type ResourceProject ¶
type ResourceProject struct { CommonResource `json:",inline"` Spec ResourceProjectSpec `json:"spec"` }
func (*ResourceProject) ApplyInputFilter ¶
func (r *ResourceProject) ApplyInputFilter() error
(r *ResourceProject) ApplyInputFilter Applies the input filter to the resource
func (*ResourceProject) Get ¶
func (r *ResourceProject) Get() *ResourceProject
(r ResourceProject) Get returns a pointer to the resource of type ResourceProject
func (ResourceProject) GetAPIVersion ¶
func (r ResourceProject) GetAPIVersion() string
(r ResourceProject) GetAPIVersion returns the APIVersion of the resource
func (ResourceProject) GetKind ¶
func (r ResourceProject) GetKind() string
(r ResourceProject) GetKind returns the kind of the resource
func (ResourceProject) GetMetadata ¶
func (r ResourceProject) GetMetadata() metav1.ObjectMeta
(r ResourceProject) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceProject) GetName ¶
func (r ResourceProject) GetName() string
(r ResourceProject) GetName returns the name of the resource
func (*ResourceProject) GetRorHash ¶
func (r *ResourceProject) GetRorHash() string
(r *ResourceProject) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceProject) GetRorMeta ¶
func (r ResourceProject) GetRorMeta() ResourceRorMeta
(r ResourceProject) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceProject) GetUID ¶
func (r ResourceProject) GetUID() string
(r ResourceProject) GetUID returns the UID of the resource
func (*ResourceProject) SetRorMeta ¶
func (r *ResourceProject) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceProject) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceProjectSpec ¶
type ResourceProjectSpec struct { ProjectName string `json:"projectName"` Description string `json:"description"` Active bool `json:"active"` CreatedTime string `json:"createdTime"` UpdatedTime string `json:"updatedTime"` Roles []ResourceProjectSpecRole `json:"roles"` Workorder string `json:"workorder"` ServiceTag string `json:"serviceTag"` Tags []string `json:"tags"` }
type ResourceProjectSpecRole ¶
type ResourceRbacAssessmentReport ¶
type ResourceRbacAssessmentReport struct { CommonResource `json:",inline"` Report ResourceVulnerabilityReportReport `json:"report"` }
K8s namepace struct
func (*ResourceRbacAssessmentReport) ApplyInputFilter ¶
func (r *ResourceRbacAssessmentReport) ApplyInputFilter() error
(r *ResourceRbacAssessmentReport) ApplyInputFilter Applies the input filter to the resource
func (*ResourceRbacAssessmentReport) Get ¶
func (r *ResourceRbacAssessmentReport) Get() *ResourceRbacAssessmentReport
(r ResourceRbacAssessmentReport) Get returns a pointer to the resource of type ResourceRbacAssessmentReport
func (ResourceRbacAssessmentReport) GetAPIVersion ¶
func (r ResourceRbacAssessmentReport) GetAPIVersion() string
(r ResourceRbacAssessmentReport) GetAPIVersion returns the APIVersion of the resource
func (ResourceRbacAssessmentReport) GetKind ¶
func (r ResourceRbacAssessmentReport) GetKind() string
(r ResourceRbacAssessmentReport) GetKind returns the kind of the resource
func (ResourceRbacAssessmentReport) GetMetadata ¶
func (r ResourceRbacAssessmentReport) GetMetadata() metav1.ObjectMeta
(r ResourceRbacAssessmentReport) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceRbacAssessmentReport) GetName ¶
func (r ResourceRbacAssessmentReport) GetName() string
(r ResourceRbacAssessmentReport) GetName returns the name of the resource
func (*ResourceRbacAssessmentReport) GetRorHash ¶
func (r *ResourceRbacAssessmentReport) GetRorHash() string
(r *ResourceRbacAssessmentReport) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceRbacAssessmentReport) GetRorMeta ¶
func (r ResourceRbacAssessmentReport) GetRorMeta() ResourceRorMeta
(r ResourceRbacAssessmentReport) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceRbacAssessmentReport) GetUID ¶
func (r ResourceRbacAssessmentReport) GetUID() string
(r ResourceRbacAssessmentReport) GetUID returns the UID of the resource
func (*ResourceRbacAssessmentReport) SetRorMeta ¶
func (r *ResourceRbacAssessmentReport) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceRbacAssessmentReport) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceRbacAssessmentReportReport ¶
type ResourceRbacAssessmentReportReport struct { Summary AquaReportSummary `json:"summary"` Scanner AquaReportScanner `json:"scanner"` }
type ResourceReplicaSet ¶
type ResourceReplicaSet struct { CommonResource `json:",inline"` Spec ResourceReplicaSetSpec `json:"spec"` Status ResourceReplicaSetStatus `json:"status"` }
K8s namepace struct
func (*ResourceReplicaSet) ApplyInputFilter ¶
func (r *ResourceReplicaSet) ApplyInputFilter() error
(r *ResourceReplicaSet) ApplyInputFilter Applies the input filter to the resource
func (*ResourceReplicaSet) Get ¶
func (r *ResourceReplicaSet) Get() *ResourceReplicaSet
(r ResourceReplicaSet) Get returns a pointer to the resource of type ResourceReplicaSet
func (ResourceReplicaSet) GetAPIVersion ¶
func (r ResourceReplicaSet) GetAPIVersion() string
(r ResourceReplicaSet) GetAPIVersion returns the APIVersion of the resource
func (ResourceReplicaSet) GetKind ¶
func (r ResourceReplicaSet) GetKind() string
(r ResourceReplicaSet) GetKind returns the kind of the resource
func (ResourceReplicaSet) GetMetadata ¶
func (r ResourceReplicaSet) GetMetadata() metav1.ObjectMeta
(r ResourceReplicaSet) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceReplicaSet) GetName ¶
func (r ResourceReplicaSet) GetName() string
(r ResourceReplicaSet) GetName returns the name of the resource
func (*ResourceReplicaSet) GetRorHash ¶
func (r *ResourceReplicaSet) GetRorHash() string
(r *ResourceReplicaSet) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceReplicaSet) GetRorMeta ¶
func (r ResourceReplicaSet) GetRorMeta() ResourceRorMeta
(r ResourceReplicaSet) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceReplicaSet) GetUID ¶
func (r ResourceReplicaSet) GetUID() string
(r ResourceReplicaSet) GetUID returns the UID of the resource
func (*ResourceReplicaSet) SetRorMeta ¶
func (r *ResourceReplicaSet) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceReplicaSet) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceReplicaSetSpec ¶
type ResourceReplicaSetSpec struct { Replicas int `json:"replicas"` Selector ResourceReplicaSetSpecSelector `json:"selector"` }
type ResourceReplicaSetSpecSelector ¶
type ResourceReplicaSetSpecSelector struct { MatchExpressions []ResourceReplicaSetSpecSelectorMatchExpressions `json:"matchExpressions"` MatchLabels map[string]string `json:"matchLabels"` }
type ResourceRorMeta ¶
type ResourceRorMeta struct { Version string `json:"version,omitempty"` LastReported string `json:"lastReported,omitempty"` Internal bool `json:"internal,omitempty"` Hash string `json:"hash,omitempty"` Ownerref RorResourceOwnerReference `json:"ownerref,omitempty"` Action ResourceAction `json:"action,omitempty"` }
ResourceRorMeta represents the metadata stored by ror
type ResourceService ¶
type ResourceService struct { CommonResource `json:",inline"` Spec ResourceServiceSpec `json:"spec"` }
ResourceService K8s PolicyReport struct generated by kyverno
func (*ResourceService) ApplyInputFilter ¶
func (r *ResourceService) ApplyInputFilter() error
(r *ResourceService) ApplyInputFilter Applies the input filter to the resource
func (*ResourceService) Get ¶
func (r *ResourceService) Get() *ResourceService
(r ResourceService) Get returns a pointer to the resource of type ResourceService
func (ResourceService) GetAPIVersion ¶
func (r ResourceService) GetAPIVersion() string
(r ResourceService) GetAPIVersion returns the APIVersion of the resource
func (ResourceService) GetKind ¶
func (r ResourceService) GetKind() string
(r ResourceService) GetKind returns the kind of the resource
func (ResourceService) GetMetadata ¶
func (r ResourceService) GetMetadata() metav1.ObjectMeta
(r ResourceService) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceService) GetName ¶
func (r ResourceService) GetName() string
(r ResourceService) GetName returns the name of the resource
func (*ResourceService) GetRorHash ¶
func (r *ResourceService) GetRorHash() string
(r *ResourceService) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceService) GetRorMeta ¶
func (r ResourceService) GetRorMeta() ResourceRorMeta
(r ResourceService) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceService) GetUID ¶
func (r ResourceService) GetUID() string
(r ResourceService) GetUID returns the UID of the resource
func (*ResourceService) SetRorMeta ¶
func (r *ResourceService) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceService) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceServicePorts ¶
type ResourceServiceSpec ¶
type ResourceServiceSpec struct { Type string `json:"type"` Selector map[string]string `json:"selector"` Ports []ResourceServicePorts `json:"ports"` ClusterIP string `json:"clusterIP"` ClusterIPs []string `json:"clusterIPs"` ExternalIPs []string `json:"externalIPs,omitempty"` ExternalName string `json:"externalName,omitempty"` IpFamilies []string `json:"ipFamilies"` IpFamilyPolicy string `json:"ipFamilyPolicy"` InternalTrafficPolicy string `json:"internalTrafficPolicy"` ExternalTrafficPolicy string `json:"externalTrafficPolicy"` }
type ResourceStatefulSet ¶
type ResourceStatefulSet struct { CommonResource `json:",inline"` Status ResourceStatefulSetStatus `json:"status"` }
K8s deployment struct
func (*ResourceStatefulSet) ApplyInputFilter ¶
func (r *ResourceStatefulSet) ApplyInputFilter() error
(r *ResourceStatefulSet) ApplyInputFilter Applies the input filter to the resource
func (*ResourceStatefulSet) Get ¶
func (r *ResourceStatefulSet) Get() *ResourceStatefulSet
(r ResourceStatefulSet) Get returns a pointer to the resource of type ResourceStatefulSet
func (ResourceStatefulSet) GetAPIVersion ¶
func (r ResourceStatefulSet) GetAPIVersion() string
(r ResourceStatefulSet) GetAPIVersion returns the APIVersion of the resource
func (ResourceStatefulSet) GetKind ¶
func (r ResourceStatefulSet) GetKind() string
(r ResourceStatefulSet) GetKind returns the kind of the resource
func (ResourceStatefulSet) GetMetadata ¶
func (r ResourceStatefulSet) GetMetadata() metav1.ObjectMeta
(r ResourceStatefulSet) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceStatefulSet) GetName ¶
func (r ResourceStatefulSet) GetName() string
(r ResourceStatefulSet) GetName returns the name of the resource
func (*ResourceStatefulSet) GetRorHash ¶
func (r *ResourceStatefulSet) GetRorHash() string
(r *ResourceStatefulSet) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceStatefulSet) GetRorMeta ¶
func (r ResourceStatefulSet) GetRorMeta() ResourceRorMeta
(r ResourceStatefulSet) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceStatefulSet) GetUID ¶
func (r ResourceStatefulSet) GetUID() string
(r ResourceStatefulSet) GetUID returns the UID of the resource
func (*ResourceStatefulSet) SetRorMeta ¶
func (r *ResourceStatefulSet) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceStatefulSet) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceStorageClass ¶
type ResourceStorageClass struct { CommonResource `json:",inline"` AllowVolumeExpansion bool `json:"allowVolumeExpansion"` Provisioner string `json:"provisioner"` ReclaimPolicy string `json:"reclaimPolicy"` VolumeBindingMode string `json:"volumeBindingMode"` }
K8s StorageClass struct
func (*ResourceStorageClass) ApplyInputFilter ¶
func (r *ResourceStorageClass) ApplyInputFilter() error
(r *ResourceStorageClass) ApplyInputFilter Applies the input filter to the resource
func (*ResourceStorageClass) Get ¶
func (r *ResourceStorageClass) Get() *ResourceStorageClass
(r ResourceStorageClass) Get returns a pointer to the resource of type ResourceStorageClass
func (ResourceStorageClass) GetAPIVersion ¶
func (r ResourceStorageClass) GetAPIVersion() string
(r ResourceStorageClass) GetAPIVersion returns the APIVersion of the resource
func (ResourceStorageClass) GetKind ¶
func (r ResourceStorageClass) GetKind() string
(r ResourceStorageClass) GetKind returns the kind of the resource
func (ResourceStorageClass) GetMetadata ¶
func (r ResourceStorageClass) GetMetadata() metav1.ObjectMeta
(r ResourceStorageClass) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceStorageClass) GetName ¶
func (r ResourceStorageClass) GetName() string
(r ResourceStorageClass) GetName returns the name of the resource
func (*ResourceStorageClass) GetRorHash ¶
func (r *ResourceStorageClass) GetRorHash() string
(r *ResourceStorageClass) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceStorageClass) GetRorMeta ¶
func (r ResourceStorageClass) GetRorMeta() ResourceRorMeta
(r ResourceStorageClass) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceStorageClass) GetUID ¶
func (r ResourceStorageClass) GetUID() string
(r ResourceStorageClass) GetUID returns the UID of the resource
func (*ResourceStorageClass) SetRorMeta ¶
func (r *ResourceStorageClass) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceStorageClass) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceTanuzKuberntesClusterSpec ¶
type ResourceTanuzKuberntesClusterSpec struct { Distribution ResourceTanzuKubernetesClusterSpecDistribution `json:"distribution"` Settings ResourceTanzuKubernetesClusterSpecSettings `json:"settings"` Topology ResourceTanzuKubernetesClusterSpecTopology `json:"topology"` }
type ResourceTanuzKuberntesMetadata ¶
type ResourceTanuzKuberntesMetadata struct { Annotations map[string]string `json:"annotations"` ClusterName string `json:"clusterName"` CreationTimestamp string `json:"creationTimestamp"` DeletionGracePeriodSeconds int `json:"deletionGracePeriodSeconds"` DeletionTimestamp string `json:"deletionTimestamp"` Finalizers []string `json:"finalizers"` GenerateName string `json:"generateName"` Generation int `json:"generation"` Labels map[string]string `json:"labels"` ManagedFields []ResourceTanuzKuberntesMetadataManagedFields `json:"managedFields"` Name string `json:"name"` Namespace string `json:"namespace"` OwnerReferences []ResourceTanuzKuberntesMetadataOwnerReferences `json:"ownerReferences"` //ResourceVersion string `json:"resourceVersion"` SelfLink string `json:"selfLink"` Uid string `json:"uid"` }
type ResourceTanzuKubernetesCluster ¶
type ResourceTanzuKubernetesCluster struct { CommonResource `json:",inline"` Spec ResourceTanuzKuberntesClusterSpec `json:"spec"` Status ResourceTanzuKubernetesClusterStatus `json:"status,omitempty"` }
ResourceTanzuKubernetesCluster K8s node struct
func (*ResourceTanzuKubernetesCluster) ApplyInputFilter ¶
func (r *ResourceTanzuKubernetesCluster) ApplyInputFilter() error
(r *ResourceTanzuKubernetesCluster) ApplyInputFilter Applies the input filter to the resource
func (*ResourceTanzuKubernetesCluster) Get ¶
func (r *ResourceTanzuKubernetesCluster) Get() *ResourceTanzuKubernetesCluster
(r ResourceTanzuKubernetesCluster) Get returns a pointer to the resource of type ResourceTanzuKubernetesCluster
func (ResourceTanzuKubernetesCluster) GetAPIVersion ¶
func (r ResourceTanzuKubernetesCluster) GetAPIVersion() string
(r ResourceTanzuKubernetesCluster) GetAPIVersion returns the APIVersion of the resource
func (ResourceTanzuKubernetesCluster) GetKind ¶
func (r ResourceTanzuKubernetesCluster) GetKind() string
(r ResourceTanzuKubernetesCluster) GetKind returns the kind of the resource
func (ResourceTanzuKubernetesCluster) GetMetadata ¶
func (r ResourceTanzuKubernetesCluster) GetMetadata() metav1.ObjectMeta
(r ResourceTanzuKubernetesCluster) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceTanzuKubernetesCluster) GetName ¶
func (r ResourceTanzuKubernetesCluster) GetName() string
(r ResourceTanzuKubernetesCluster) GetName returns the name of the resource
func (*ResourceTanzuKubernetesCluster) GetRorHash ¶
func (r *ResourceTanzuKubernetesCluster) GetRorHash() string
(r *ResourceTanzuKubernetesCluster) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceTanzuKubernetesCluster) GetRorMeta ¶
func (r ResourceTanzuKubernetesCluster) GetRorMeta() ResourceRorMeta
(r ResourceTanzuKubernetesCluster) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceTanzuKubernetesCluster) GetUID ¶
func (r ResourceTanzuKubernetesCluster) GetUID() string
(r ResourceTanzuKubernetesCluster) GetUID returns the UID of the resource
func (*ResourceTanzuKubernetesCluster) SetRorMeta ¶
func (r *ResourceTanzuKubernetesCluster) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceTanzuKubernetesCluster) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceTanzuKubernetesClusterSpecSettings ¶
type ResourceTanzuKubernetesClusterSpecSettings struct { Network ResourceTanzuKubernetesClusterSpecSettingsNetwork `json:"network"` Storage ResourceTanzuKubernetesClusterSpecSettingsStorage `json:"storage"` }
type ResourceTanzuKubernetesClusterSpecSettingsNetwork ¶
type ResourceTanzuKubernetesClusterSpecSettingsNetwork struct { Cni ResourceTanzuKubernetesClusterSpecSettingsNetworkCni `json:"cni"` Pods ResourceTanzuKubernetesClusterSpecSettingsNetworkPods `json:"pods"` Proxy ResourceTanzuKubernetesClusterSpecSettingsNetworkProxy `json:"proxy"` ServiceDomain string `json:"serviceDomain"` Services ResourceTanzuKubernetesClusterSpecSettingsNetworkServices `json:"services"` Trust ResourceTanzuKubernetesClusterSpecSettingsNetworkTrust `json:"trust"` }
type ResourceTanzuKubernetesClusterSpecSettingsNetworkCni ¶
type ResourceTanzuKubernetesClusterSpecSettingsNetworkCni struct {
Name string `json:"name"`
}
type ResourceTanzuKubernetesClusterSpecSettingsNetworkPods ¶
type ResourceTanzuKubernetesClusterSpecSettingsNetworkPods struct {
CidrBlocks []string `json:"cidrBlocks"`
}
type ResourceTanzuKubernetesClusterSpecSettingsNetworkServices ¶
type ResourceTanzuKubernetesClusterSpecSettingsNetworkServices struct {
CidrBlocks []string `json:"cidrBlocks"`
}
type ResourceTanzuKubernetesClusterSpecSettingsNetworkTrust ¶
type ResourceTanzuKubernetesClusterSpecSettingsNetworkTrust struct {
AdditionalTrusCAs []ResourceTanzuKubernetesClusterSpecSettingsNetworkTrustAdditionalTrustedCA `json:"additionalTrustedCAs"`
}
type ResourceTanzuKubernetesClusterSpecTopology ¶
type ResourceTanzuKubernetesClusterSpecTopology struct { ControlPlane ResourceTanzuKubernetesClusterSpecTopologyControlPlane `json:"controlPlane"` NodePools []ResourceTanzuKubernetesClusterSpecTopologyNodePools `json:"nodePools"` }
type ResourceTanzuKubernetesClusterSpecTopologyControlPlane ¶
type ResourceTanzuKubernetesClusterSpecTopologyControlPlane struct { NodeDrainTimeout string `json:"nodeDrainTimeout"` Replicas int `json:"replicas"` StorageClass string `json:"storageClass"` Tkr ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkr `json:"tkr"` VmClass string `json:"vmClass"` }
type ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkr ¶
type ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkr struct {
Reference ResourceTanzuKubernetesClusterSpecTopologyControlPlaneTkrReference `json:"reference"`
}
type ResourceTanzuKubernetesClusterSpecTopologyNodePools ¶
type ResourceTanzuKubernetesClusterSpecTopologyNodePools struct { FailureDomain string `json:"failureDomain"` Labels map[string]string `json:"labels"` Name string `json:"name"` NodeDrainTimeout string `json:"nodeDrainTimeout"` Replicas int `json:"replicas"` StorageClass string `json:"storageClass"` Taints []ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTaints `json:"taints"` Tkr ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkr `json:"tkr"` VmClass string `json:"vmClass"` Volumes []ResourceTanzuKubernetesClusterSpecTopologyNodePoolsVolumes `json:"volumes"` }
type ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkr ¶
type ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkr struct {
Reference ResourceTanzuKubernetesClusterSpecTopologyNodePoolsTkrReference `json:"reference"`
}
type ResourceTanzuKubernetesClusterStatus ¶
type ResourceTanzuKubernetesClusterStatus struct { //Addons []ResourceTanzuKubernetesClusterStatusAddons `json:"addons"` APIEndpoints []ResourceTanzuKubernetesClusterStatusAPIEndpoints `json:"apiEndpoints"` Conditions []ResourceTanzuKubernetesClusterStatusConditions `json:"conditions"` Phase string `json:"phase"` TotalWorkerReplicas int `json:"totalWorkerReplicas"` Version string `json:"version"` }
type ResourceTanzuKubernetesClusterStatusAddons ¶
type ResourceTanzuKubernetesClusterStatusAddons struct { Conditions []ResourceTanzuKubernetesClusterStatusAddonsConditions `json:"conditions"` Name string `json:"name"` Type string `json:"type"` Version string `json:"version"` }
type ResourceTanzuKubernetesRelease ¶
type ResourceTanzuKubernetesRelease struct { CommonResource `json:",inline"` Spec ResourceTanzuKubernetesReleaseSpec `json:"spec"` Status ResourceTanzuKubernetesReleaseStatus `json:"status"` }
ResourceTanzuKubernetesCluster K8s node struct Tanzu kubernetes release struct
func (*ResourceTanzuKubernetesRelease) ApplyInputFilter ¶
func (r *ResourceTanzuKubernetesRelease) ApplyInputFilter() error
(r *ResourceTanzuKubernetesRelease) ApplyInputFilter Applies the input filter to the resource
func (*ResourceTanzuKubernetesRelease) Get ¶
func (r *ResourceTanzuKubernetesRelease) Get() *ResourceTanzuKubernetesRelease
(r ResourceTanzuKubernetesRelease) Get returns a pointer to the resource of type ResourceTanzuKubernetesRelease
func (ResourceTanzuKubernetesRelease) GetAPIVersion ¶
func (r ResourceTanzuKubernetesRelease) GetAPIVersion() string
(r ResourceTanzuKubernetesRelease) GetAPIVersion returns the APIVersion of the resource
func (ResourceTanzuKubernetesRelease) GetKind ¶
func (r ResourceTanzuKubernetesRelease) GetKind() string
(r ResourceTanzuKubernetesRelease) GetKind returns the kind of the resource
func (ResourceTanzuKubernetesRelease) GetMetadata ¶
func (r ResourceTanzuKubernetesRelease) GetMetadata() metav1.ObjectMeta
(r ResourceTanzuKubernetesRelease) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceTanzuKubernetesRelease) GetName ¶
func (r ResourceTanzuKubernetesRelease) GetName() string
(r ResourceTanzuKubernetesRelease) GetName returns the name of the resource
func (*ResourceTanzuKubernetesRelease) GetRorHash ¶
func (r *ResourceTanzuKubernetesRelease) GetRorHash() string
(r *ResourceTanzuKubernetesRelease) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceTanzuKubernetesRelease) GetRorMeta ¶
func (r ResourceTanzuKubernetesRelease) GetRorMeta() ResourceRorMeta
(r ResourceTanzuKubernetesRelease) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceTanzuKubernetesRelease) GetUID ¶
func (r ResourceTanzuKubernetesRelease) GetUID() string
(r ResourceTanzuKubernetesRelease) GetUID returns the UID of the resource
func (*ResourceTanzuKubernetesRelease) SetRorMeta ¶
func (r *ResourceTanzuKubernetesRelease) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceTanzuKubernetesRelease) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceTanzuKubernetesReleaseMetadata ¶
type ResourceTanzuKubernetesReleaseMetadata struct { Annotations map[string]string `json:"annotations"` ClusterName string `json:"clusterName"` CreationTimestamp string `json:"creationTimestamp"` DeletionGracePeriodSeconds int `json:"deletionGracePeriodSeconds"` DeletionTimestamp string `json:"deletionTimestamp"` Finalizers []string `json:"finalizers"` GenerateName string `json:"generateName"` Generation int `json:"generation"` Labels map[string]string `json:"labels"` ManagedFields []ResourceTanzuKubernetesReleaseMetadataManagedField `json:"managedFields"` Name string `json:"name"` Namespace string `json:"namespace"` OwnerReferences []ResourceTanzuKubernetesReleaseMetadataOwnerReference `json:"ownerReferences"` //ResourceVersion string `json:"resourceVersion"` SelfLink string `json:"selfLink"` Uid string `json:"uid"` }
type ResourceTanzuKubernetesReleaseMetadataManagedField ¶
type ResourceTanzuKubernetesReleaseMetadataManagedField struct { ApiVersion string `json:"apiVersion"` FieldsType string `json:"fieldsType"` //FieldsV1 map[string]string `json:"fieldsV1"` Manager string `json:"manager"` Operation string `json:"operation"` Subresource string `json:"subresource"` Time string `json:"time"` }
type ResourceTanzuKubernetesReleaseSpec ¶
type ResourceTanzuKubernetesReleaseSpec struct { Images []ResourceTanzuKubernetesReleaseSpecImage `json:"images"` KubernetesVersion string `json:"kubernetesVersion"` NodeImageRef ResourceTanzuKubernetesReleaseSpecNodeImageRef `json:"nodeImageRef"` Repository string `json:"repository"` Version string `json:"version"` }
type ResourceTanzuKubernetesReleaseStatus ¶
type ResourceTanzuKubernetesReleaseStatus struct {
Conditions []ResourceTanzuKubernetesReleaseStatusCondition `json:"conditions"`
}
type ResourceVirtualMachineClass ¶
type ResourceVirtualMachineClass struct { CommonResource `json:",inline"` Spec ResourceVirtualMachineClassSpec `json:"spec"` Status map[string]string `json:"status"` }
ResourceTanzuKubernetesCluster K8s node struct Tanzu kubernetes release struct
func (*ResourceVirtualMachineClass) ApplyInputFilter ¶
func (r *ResourceVirtualMachineClass) ApplyInputFilter() error
(r *ResourceVirtualMachineClass) ApplyInputFilter Applies the input filter to the resource
func (*ResourceVirtualMachineClass) Get ¶
func (r *ResourceVirtualMachineClass) Get() *ResourceVirtualMachineClass
(r ResourceVirtualMachineClass) Get returns a pointer to the resource of type ResourceVirtualMachineClass
func (ResourceVirtualMachineClass) GetAPIVersion ¶
func (r ResourceVirtualMachineClass) GetAPIVersion() string
(r ResourceVirtualMachineClass) GetAPIVersion returns the APIVersion of the resource
func (ResourceVirtualMachineClass) GetKind ¶
func (r ResourceVirtualMachineClass) GetKind() string
(r ResourceVirtualMachineClass) GetKind returns the kind of the resource
func (ResourceVirtualMachineClass) GetMetadata ¶
func (r ResourceVirtualMachineClass) GetMetadata() metav1.ObjectMeta
(r ResourceVirtualMachineClass) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceVirtualMachineClass) GetName ¶
func (r ResourceVirtualMachineClass) GetName() string
(r ResourceVirtualMachineClass) GetName returns the name of the resource
func (*ResourceVirtualMachineClass) GetRorHash ¶
func (r *ResourceVirtualMachineClass) GetRorHash() string
(r *ResourceVirtualMachineClass) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceVirtualMachineClass) GetRorMeta ¶
func (r ResourceVirtualMachineClass) GetRorMeta() ResourceRorMeta
(r ResourceVirtualMachineClass) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceVirtualMachineClass) GetUID ¶
func (r ResourceVirtualMachineClass) GetUID() string
(r ResourceVirtualMachineClass) GetUID returns the UID of the resource
func (*ResourceVirtualMachineClass) SetRorMeta ¶
func (r *ResourceVirtualMachineClass) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceVirtualMachineClass) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceVirtualMachineClassBinding ¶
type ResourceVirtualMachineClassBinding struct { CommonResource `json:",inline"` ClassRef ResourceVirtualMachineClassBindingClassRef `json:"classRef"` }
ResourceTanzuKubernetesCluster K8s node struct Tanzu kubernetes release struct
func (*ResourceVirtualMachineClassBinding) ApplyInputFilter ¶
func (r *ResourceVirtualMachineClassBinding) ApplyInputFilter() error
(r *ResourceVirtualMachineClassBinding) ApplyInputFilter Applies the input filter to the resource
func (*ResourceVirtualMachineClassBinding) Get ¶
func (r *ResourceVirtualMachineClassBinding) Get() *ResourceVirtualMachineClassBinding
(r ResourceVirtualMachineClassBinding) Get returns a pointer to the resource of type ResourceVirtualMachineClassBinding
func (ResourceVirtualMachineClassBinding) GetAPIVersion ¶
func (r ResourceVirtualMachineClassBinding) GetAPIVersion() string
(r ResourceVirtualMachineClassBinding) GetAPIVersion returns the APIVersion of the resource
func (ResourceVirtualMachineClassBinding) GetKind ¶
func (r ResourceVirtualMachineClassBinding) GetKind() string
(r ResourceVirtualMachineClassBinding) GetKind returns the kind of the resource
func (ResourceVirtualMachineClassBinding) GetMetadata ¶
func (r ResourceVirtualMachineClassBinding) GetMetadata() metav1.ObjectMeta
(r ResourceVirtualMachineClassBinding) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceVirtualMachineClassBinding) GetName ¶
func (r ResourceVirtualMachineClassBinding) GetName() string
(r ResourceVirtualMachineClassBinding) GetName returns the name of the resource
func (*ResourceVirtualMachineClassBinding) GetRorHash ¶
func (r *ResourceVirtualMachineClassBinding) GetRorHash() string
(r *ResourceVirtualMachineClassBinding) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceVirtualMachineClassBinding) GetRorMeta ¶
func (r ResourceVirtualMachineClassBinding) GetRorMeta() ResourceRorMeta
(r ResourceVirtualMachineClassBinding) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceVirtualMachineClassBinding) GetUID ¶
func (r ResourceVirtualMachineClassBinding) GetUID() string
(r ResourceVirtualMachineClassBinding) GetUID returns the UID of the resource
func (*ResourceVirtualMachineClassBinding) SetRorMeta ¶
func (r *ResourceVirtualMachineClassBinding) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceVirtualMachineClassBinding) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceVirtualMachineClassBindingMetadata ¶
type ResourceVirtualMachineClassBindingMetadata struct { Annotations map[string]string `json:"annotations"` ClusterName string `json:"clusterName"` CreationTimestamp string `json:"creationTimestamp"` DeletionGracePeriodSeconds int `json:"deletionGracePeriodSeconds"` DeletionTimestamp string `json:"deletionTimestamp"` Finalizers []string `json:"finalizers"` GenerateName string `json:"generateName"` Generation int `json:"generation"` Labels map[string]string `json:"labels"` ManagedFields []ResourceVirtualMachineClassBindingMetadataManagedField `json:"managedFields"` Name string `json:"name"` Namespace string `json:"namespace"` OwnerReferences []ResourceVirtualMachineClassBindingMetadataOwnerReference `json:"ownerReferences"` //ResourceVersion string `json:"resourceVersion"` SelfLink string `json:"selfLink"` Uid string `json:"uid"` }
type ResourceVirtualMachineClassBindingMetadataManagedField ¶
type ResourceVirtualMachineClassBindingMetadataManagedField struct { ApiVersion string `json:"apiVersion"` FieldsType string `json:"fieldsType"` //FieldsV1 map[string]interface{} `json:"fieldsV1"` Manager string `json:"manager"` Operation string `json:"operation"` Subresource string `json:"subresource"` Time string `json:"time"` }
type ResourceVirtualMachineClassMetadata ¶
type ResourceVirtualMachineClassMetadata struct { Annotations map[string]string `json:"annotations"` ClusterName string `json:"clusterName"` //CreationTimestamp string `json:"creationTimestamp"` //DeletionGracePeriodSeconds int `json:"deletionGracePeriodSeconds"` //DeletionTimestamp string `json:"deletionTimestamp"` Finalizers []string `json:"finalizers"` GenerateName string `json:"generateName"` Generation int `json:"generation"` Labels map[string]string `json:"labels"` ManagedFields []ResourceVirtualMachineClassMetadataManagedField `json:"managedFields"` Name string `json:"name"` Namespace string `json:"namespace"` OwnerReferences []ResourceVirtualMachineClassMetadataOwnerReference `json:"ownerReferences"` //ResourceVersion string `json:"resourceVersion"` SelfLink string `json:"selfLink"` Uid string `json:"uid"` }
type ResourceVirtualMachineClassMetadataManagedField ¶
type ResourceVirtualMachineClassMetadataManagedField struct { ApiVersion string `json:"apiVersion"` FieldsType string `json:"fieldsType"` //FieldsV1 map[string]interface{} `json:"fieldsV1"` Manager string `json:"manager"` Operation string `json:"operation"` Subresource string `json:"subresource"` Time string `json:"time"` }
type ResourceVirtualMachineClassSpec ¶
type ResourceVirtualMachineClassSpec struct { Description string `json:"description"` Hardware ResourceVirtualMachineClassSpecHardware `json:"hardware"` }
type ResourceVirtualMachineClassSpecHardware ¶
type ResourceVirtualMachineClassSpecHardware struct { Cpus int `json:"cpus"` //Devices ResourceVirtualMachineClassSpecHardwareDevice `json:"devices"` InstanceStorage ResourceVirtualMachineClassSpecHardwareInstanceStorage `json:"instanceStorage"` }
type ResourceVirtualMachineClassSpecHardwareInstanceStorage ¶
type ResourceVirtualMachineClassSpecHardwareInstanceStorage struct {
StorageClass string `json:"storageClass"`
}
type ResourceVulnerabilityReport ¶
type ResourceVulnerabilityReport struct { CommonResource `json:",inline"` Report ResourceVulnerabilityReportReport `json:"report"` }
K8s namepace struct
func (*ResourceVulnerabilityReport) ApplyInputFilter ¶
func (r *ResourceVulnerabilityReport) ApplyInputFilter() error
(r *ResourceVulnerabilityReport) ApplyInputFilter Applies the input filter to the resource
func (*ResourceVulnerabilityReport) Get ¶
func (r *ResourceVulnerabilityReport) Get() *ResourceVulnerabilityReport
(r ResourceVulnerabilityReport) Get returns a pointer to the resource of type ResourceVulnerabilityReport
func (ResourceVulnerabilityReport) GetAPIVersion ¶
func (r ResourceVulnerabilityReport) GetAPIVersion() string
(r ResourceVulnerabilityReport) GetAPIVersion returns the APIVersion of the resource
func (ResourceVulnerabilityReport) GetKind ¶
func (r ResourceVulnerabilityReport) GetKind() string
(r ResourceVulnerabilityReport) GetKind returns the kind of the resource
func (ResourceVulnerabilityReport) GetMetadata ¶
func (r ResourceVulnerabilityReport) GetMetadata() metav1.ObjectMeta
(r ResourceVulnerabilityReport) GetMetadata returns the metav1.ObjectMeta of the resource
func (ResourceVulnerabilityReport) GetName ¶
func (r ResourceVulnerabilityReport) GetName() string
(r ResourceVulnerabilityReport) GetName returns the name of the resource
func (*ResourceVulnerabilityReport) GetRorHash ¶
func (r *ResourceVulnerabilityReport) GetRorHash() string
(r *ResourceVulnerabilityReport) GetRorHash calculates the hash of the resource
it uses the hashstructure library to calculate the hash of the resource fields can be ignored by adding the tag `hash:"ignore"` to the field
func (ResourceVulnerabilityReport) GetRorMeta ¶
func (r ResourceVulnerabilityReport) GetRorMeta() ResourceRorMeta
(r ResourceVulnerabilityReport) GetRorMeta returns the ResourceRorMeta of the resource
func (ResourceVulnerabilityReport) GetUID ¶
func (r ResourceVulnerabilityReport) GetUID() string
(r ResourceVulnerabilityReport) GetUID returns the UID of the resource
func (*ResourceVulnerabilityReport) SetRorMeta ¶
func (r *ResourceVulnerabilityReport) SetRorMeta(rormeta ResourceRorMeta) error
(r *ResourceVulnerabilityReport) SetRorMeta sets the ResourceRorMeta of the resource
type ResourceVulnerabilityReportReport ¶
type ResourceVulnerabilityReportReport struct { Summary AquaReportSummary `json:"summary"` Scanner AquaReportScanner `json:"scanner"` Artifact ResourceVulnerabilityReportReportArtifact `json:"artifact"` UpdateTimestamp string `json:"updateTimestamp"` Vulnerabilities []ResourceVulnerabilityReportReportVulnerability `json:"vulnerabilities"` }
type ResourceVulnerabilityReportReportVulnerability ¶
type ResourceVulnerabilityReportReportVulnerability struct { VulnerabilityID string `json:"vulnerabilityID"` Severity string `json:"severity"` Score float32 `json:"score"` Title string `json:"title"` Resource string `json:"resource"` Link string `json:"primaryLink"` InstalledVersion string `json:"installedVersion"` FixedVersion string `json:"fixedVersion"` }
type RorResourceOwnerReference ¶
type RorResourceOwnerReference struct { Scope aclmodels.Acl2Scope `json:"scope"` // cluster, workspace,... Subject aclmodels.Acl2Subject `json:"subject"` // ror id eg clusterId or workspaceName }
The RorResourceOwnerReference or ownereref references the owner og a resource. Its used to chek acl and select resources for valid Scopes.
func (RorResourceOwnerReference) GetQueryParams ¶ added in v0.1.6
func (r RorResourceOwnerReference) GetQueryParams() map[string]string
func (*RorResourceOwnerReference) Validate ¶
func (r *RorResourceOwnerReference) Validate() (bool, error)
Validate validates the ResourceOwnerReference
type SensitivityLevel ¶
type SensitivityLevel int
const ( SensitivityLevelUnknown SensitivityLevel = iota SensitivityLevelNormal SensitivityLevel = 1 SensitivityLevelModerate SensitivityLevel = 2 SensitivityLevelHigh SensitivityLevel = 3 SensitivityLevelCritical SensitivityLevel = 4 )
type Serviceinterface ¶
type Serviceinterface interface { CommonResourceInterface Get() *ResourceService }
Serviceinterface represents the interface for resources of the type service
type StatefulSetinterface ¶
type StatefulSetinterface interface { CommonResourceInterface Get() *ResourceStatefulSet }
StatefulSetinterface represents the interface for resources of the type statefulset
type StorageClassinterface ¶
type StorageClassinterface interface { CommonResourceInterface Get() *ResourceStorageClass }
StorageClassinterface represents the interface for resources of the type storageclass
type TanzuKubernetesClusterinterface ¶
type TanzuKubernetesClusterinterface interface { CommonResourceInterface Get() *ResourceTanzuKubernetesCluster }
TanzuKubernetesClusterinterface represents the interface for resources of the type tanzukubernetescluster
type TanzuKubernetesReleaseinterface ¶
type TanzuKubernetesReleaseinterface interface { CommonResourceInterface Get() *ResourceTanzuKubernetesRelease }
TanzuKubernetesReleaseinterface represents the interface for resources of the type tanzukubernetesrelease
type VirtualMachineClassBindinginterface ¶
type VirtualMachineClassBindinginterface interface { CommonResourceInterface Get() *ResourceVirtualMachineClassBinding }
VirtualMachineClassBindinginterface represents the interface for resources of the type virtualmachineclassbinding
type VirtualMachineClassinterface ¶
type VirtualMachineClassinterface interface { CommonResourceInterface Get() *ResourceVirtualMachineClass }
VirtualMachineClassinterface represents the interface for resources of the type virtualmachineclass
type VulnerabilityReportinterface ¶
type VulnerabilityReportinterface interface { CommonResourceInterface Get() *ResourceVulnerabilityReport }
VulnerabilityReportinterface represents the interface for resources of the type vulnerabilityreport
Source Files
¶
- resource_common_models.go
- resource_input_filter_application.go
- resource_input_filter_appproject.go
- resource_input_filter_certificate.go
- resource_input_filter_clustercompliancereport.go
- resource_input_filter_clusterorder.go
- resource_input_filter_configauditreport.go
- resource_input_filter_configuration.go
- resource_input_filter_daemonset.go
- resource_input_filter_deployment.go
- resource_input_filter_exposedsecretreport.go
- resource_input_filter_ingress.go
- resource_input_filter_ingressclass.go
- resource_input_filter_kubernetescluster.go
- resource_input_filter_namespace.go
- resource_input_filter_node.go
- resource_input_filter_persistentvolumeclaim.go
- resource_input_filter_pod.go
- resource_input_filter_policyreport.go
- resource_input_filter_project.go
- resource_input_filter_rbacassessmentreport.go
- resource_input_filter_replicaset.go
- resource_input_filter_service.go
- resource_input_filter_statefulset.go
- resource_input_filter_storageclass.go
- resource_input_filter_tanzukubernetescluster.go
- resource_input_filter_tanzukubernetesrelease.go
- resource_input_filter_virtualmachineclass.go
- resource_input_filter_virtualmachineclassbinding.go
- resource_input_filter_vulnerabilityreport.go
- resource_interfaces.go
- resource_models_methods.go
- resourcedef_application.go
- resourcedef_appproject.go
- resourcedef_certificate.go
- resourcedef_clustercompliancereport.go
- resourcedef_configauditreport.go
- resourcedef_daemonset.go
- resourcedef_deployment.go
- resourcedef_exposedsecretreport.go
- resourcedef_ingress.go
- resourcedef_ingressclass.go
- resourcedef_internalclusterorder.go
- resourcedef_internalconfiguration.go
- resourcedef_internalkubernetescluster.go
- resourcedef_internalproject.go
- resourcedef_namespace.go
- resourcedef_node.go
- resourcedef_persistantvolumeclaim.go
- resourcedef_pod.go
- resourcedef_policyreport.go
- resourcedef_rbacassessmentreport.go
- resourcedef_replicaset.go
- resourcedef_service.go
- resourcedef_statefulset.go
- resourcedef_storageclass.go
- resourcedef_tanzukubernetescluster.go
- resourcedef_tanzukubernetesreleases.go
- resourcedef_tanzuvirtualmachineclass.go
- resourcedef_tanzuvirtualmachineclassbindings.go
- resourcedef_vulnerabilityreport.go