Documentation ¶
Overview ¶
package delivers apicontracts for resources
Index ¶
- type AquaReportScanner
- type AquaReportSummary
- type CriticalityLevel
- type EnvironmentType
- type HashItem
- type HashList
- type ResourceAction
- type ResourceActionType
- type ResourceAppProject
- type ResourceAppProjectSpec
- type ResourceApplication
- type ResourceApplicationSpec
- type ResourceApplicationSpecDestination
- type ResourceApplicationSpecSource
- type ResourceApplicationSpecSyncpolicy
- type ResourceApplicationSpecSyncpolicyAutomated
- type ResourceApplicationSpecSyncpolicyRetry
- type ResourceApplicationSpecSyncpolicyRetryBackoff
- type ResourceApplicationStatus
- type ResourceApplicationStatusHealth
- type ResourceApplicationStatusOperationstate
- type ResourceApplicationStatusSync
- type ResourceCertificate
- type ResourceCertificateSpec
- type ResourceCertificateSpecIssuerref
- type ResourceCertificateStatus
- type ResourceCertificateStatusCondition
- type ResourceClusterComplianceReport
- type ResourceClusterComplianceReportStatus
- type ResourceClusterComplianceReportSummary
- type ResourceClusterComplianceReportSummaryReport
- type ResourceClusterOrder
- type ResourceClusterOrderCondition
- type ResourceClusterOrderSpec
- type ResourceClusterOrderSpecNodePool
- type ResourceClusterOrderStatus
- type ResourceClusterOrderStatusPhase
- type ResourceClusterVulnerabilityReport
- type ResourceClusterVulnerabilityReportReport
- type ResourceClusterVulnerabilityReportStatus
- type ResourceClusterVulnerabilityReportSummary
- type ResourceConfigAuditReport
- type ResourceConfigAuditReportReport
- type ResourceConfiguration
- type ResourceConfigurationSpec
- type ResourceDaemonSet
- type ResourceDaemonSetStatus
- type ResourceDeployment
- type ResourceDeploymentStatus
- type ResourceEndpointSpecSubsets
- type ResourceEndpointSpecSubsetsAddresses
- type ResourceEndpointSpecSubsetsAddressesTargetRef
- type ResourceEndpointSpecSubsetsNotReadyAddresses
- type ResourceEndpointSpecSubsetsNotReadyAddressesTargetRef
- type ResourceEndpointSpecSubsetsPorts
- type ResourceEndpoints
- type ResourceExposedSecretReport
- type ResourceExposedSecretReportReport
- type ResourceIngress
- type ResourceIngressClass
- 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
- type ResourceKubernetesClusterSpec
- type ResourceKubernetesClusterSpecEndpoint
- type ResourceKubernetesClusterSpecProviderSpec
- type ResourceKubernetesClusterSpecProviderSpecAzureSpec
- type ResourceKubernetesClusterSpecProviderSpecTanzuSpec
- type ResourceKubernetesClusterSpecToolingConfig
- type ResourceKubernetesClusterSpecTopology
- type ResourceKubernetesClusterSpecTopologyControlPlane
- type ResourceKubernetesClusterSpecTopologyWorkers
- type ResourceKubernetesClusterStatus
- type ResourceKubernetesClusterStatusCondition
- type ResourceListApplications
- func (m ResourceListApplications) GetByLabels(search map[string]string) []ResourceApplication
- func (m ResourceListApplications) GetByName(search string) ResourceApplication
- func (m ResourceListApplications) GetByNamespace(search string) ResourceApplication
- func (m ResourceListApplications) GetByUid(search string) ResourceApplication
- type ResourceListAppprojects
- func (m ResourceListAppprojects) GetByLabels(search map[string]string) []ResourceAppProject
- func (m ResourceListAppprojects) GetByName(search string) ResourceAppProject
- func (m ResourceListAppprojects) GetByNamespace(search string) ResourceAppProject
- func (m ResourceListAppprojects) GetByUid(search string) ResourceAppProject
- type ResourceListCertificates
- func (m ResourceListCertificates) GetByLabels(search map[string]string) []ResourceCertificate
- func (m ResourceListCertificates) GetByName(search string) ResourceCertificate
- func (m ResourceListCertificates) GetByNamespace(search string) ResourceCertificate
- func (m ResourceListCertificates) GetByUid(search string) ResourceCertificate
- type ResourceListClustercompliancereports
- func (m ResourceListClustercompliancereports) GetByLabels(search map[string]string) []ResourceClusterComplianceReport
- func (m ResourceListClustercompliancereports) GetByName(search string) ResourceClusterComplianceReport
- func (m ResourceListClustercompliancereports) GetByUid(search string) ResourceClusterComplianceReport
- type ResourceListClusterorders
- func (m ResourceListClusterorders) GetByLabels(search map[string]string) []ResourceClusterOrder
- func (m ResourceListClusterorders) GetByName(search string) ResourceClusterOrder
- func (m ResourceListClusterorders) GetByNamespace(search string) ResourceClusterOrder
- func (m ResourceListClusterorders) GetByUid(search string) ResourceClusterOrder
- type ResourceListClustervulnerabilityreports
- func (m ResourceListClustervulnerabilityreports) GetByLabels(search map[string]string) []ResourceClusterVulnerabilityReport
- func (m ResourceListClustervulnerabilityreports) GetByName(search string) ResourceClusterVulnerabilityReport
- func (m ResourceListClustervulnerabilityreports) GetByUid(search string) ResourceClusterVulnerabilityReport
- type ResourceListConfigauditreports
- func (m ResourceListConfigauditreports) GetByLabels(search map[string]string) []ResourceConfigAuditReport
- func (m ResourceListConfigauditreports) GetByName(search string) ResourceConfigAuditReport
- func (m ResourceListConfigauditreports) GetByNamespace(search string) ResourceConfigAuditReport
- func (m ResourceListConfigauditreports) GetByUid(search string) ResourceConfigAuditReport
- type ResourceListConfigurations
- func (m ResourceListConfigurations) GetByLabels(search map[string]string) []ResourceConfiguration
- func (m ResourceListConfigurations) GetByName(search string) ResourceConfiguration
- func (m ResourceListConfigurations) GetByNamespace(search string) ResourceConfiguration
- func (m ResourceListConfigurations) GetByUid(search string) ResourceConfiguration
- type ResourceListDaemonsets
- func (m ResourceListDaemonsets) GetByLabels(search map[string]string) []ResourceDaemonSet
- func (m ResourceListDaemonsets) GetByName(search string) ResourceDaemonSet
- func (m ResourceListDaemonsets) GetByNamespace(search string) ResourceDaemonSet
- func (m ResourceListDaemonsets) GetByUid(search string) ResourceDaemonSet
- type ResourceListDeployments
- func (m ResourceListDeployments) GetByLabels(search map[string]string) []ResourceDeployment
- func (m ResourceListDeployments) GetByName(search string) ResourceDeployment
- func (m ResourceListDeployments) GetByNamespace(search string) ResourceDeployment
- func (m ResourceListDeployments) GetByUid(search string) ResourceDeployment
- type ResourceListEndpoints
- func (m ResourceListEndpoints) GetByLabels(search map[string]string) []ResourceEndpoints
- func (m ResourceListEndpoints) GetByName(search string) ResourceEndpoints
- func (m ResourceListEndpoints) GetByNamespace(search string) ResourceEndpoints
- func (m ResourceListEndpoints) GetByUid(search string) ResourceEndpoints
- type ResourceListExposedsecretreports
- func (m ResourceListExposedsecretreports) GetByLabels(search map[string]string) []ResourceExposedSecretReport
- func (m ResourceListExposedsecretreports) GetByName(search string) ResourceExposedSecretReport
- func (m ResourceListExposedsecretreports) GetByNamespace(search string) ResourceExposedSecretReport
- func (m ResourceListExposedsecretreports) GetByUid(search string) ResourceExposedSecretReport
- type ResourceListIngressclasses
- func (m ResourceListIngressclasses) GetByLabels(search map[string]string) []ResourceIngressClass
- func (m ResourceListIngressclasses) GetByName(search string) ResourceIngressClass
- func (m ResourceListIngressclasses) GetByNamespace(search string) ResourceIngressClass
- func (m ResourceListIngressclasses) GetByUid(search string) ResourceIngressClass
- type ResourceListIngresses
- func (m ResourceListIngresses) GetByLabels(search map[string]string) []ResourceIngress
- func (m ResourceListIngresses) GetByName(search string) ResourceIngress
- func (m ResourceListIngresses) GetByNamespace(search string) ResourceIngress
- func (m ResourceListIngresses) GetByUid(search string) ResourceIngress
- type ResourceListKubernetesclusters
- func (m ResourceListKubernetesclusters) GetByLabels(search map[string]string) []ResourceKubernetesCluster
- func (m ResourceListKubernetesclusters) GetByName(search string) ResourceKubernetesCluster
- func (m ResourceListKubernetesclusters) GetByNamespace(search string) ResourceKubernetesCluster
- func (m ResourceListKubernetesclusters) GetByUid(search string) ResourceKubernetesCluster
- type ResourceListNamespaces
- type ResourceListNetworkpolicies
- func (m ResourceListNetworkpolicies) GetByLabels(search map[string]string) []ResourceNetworkPolicy
- func (m ResourceListNetworkpolicies) GetByName(search string) ResourceNetworkPolicy
- func (m ResourceListNetworkpolicies) GetByNamespace(search string) ResourceNetworkPolicy
- func (m ResourceListNetworkpolicies) GetByUid(search string) ResourceNetworkPolicy
- type ResourceListNodes
- type ResourceListPersistentvolumeclaims
- func (m ResourceListPersistentvolumeclaims) GetByLabels(search map[string]string) []ResourcePersistentVolumeClaim
- func (m ResourceListPersistentvolumeclaims) GetByName(search string) ResourcePersistentVolumeClaim
- func (m ResourceListPersistentvolumeclaims) GetByUid(search string) ResourcePersistentVolumeClaim
- type ResourceListPods
- type ResourceListPolicyreports
- func (m ResourceListPolicyreports) GetByLabels(search map[string]string) []ResourcePolicyReport
- func (m ResourceListPolicyreports) GetByName(search string) ResourcePolicyReport
- func (m ResourceListPolicyreports) GetByNamespace(search string) ResourcePolicyReport
- func (m ResourceListPolicyreports) GetByUid(search string) ResourcePolicyReport
- type ResourceListProjects
- func (m ResourceListProjects) GetByLabels(search map[string]string) []ResourceProject
- func (m ResourceListProjects) GetByName(search string) ResourceProject
- func (m ResourceListProjects) GetByNamespace(search string) ResourceProject
- func (m ResourceListProjects) GetByUid(search string) ResourceProject
- type ResourceListRbacassessmentreports
- func (m ResourceListRbacassessmentreports) GetByLabels(search map[string]string) []ResourceRbacAssessmentReport
- func (m ResourceListRbacassessmentreports) GetByName(search string) ResourceRbacAssessmentReport
- func (m ResourceListRbacassessmentreports) GetByNamespace(search string) ResourceRbacAssessmentReport
- func (m ResourceListRbacassessmentreports) GetByUid(search string) ResourceRbacAssessmentReport
- type ResourceListReplicasets
- func (m ResourceListReplicasets) GetByLabels(search map[string]string) []ResourceReplicaSet
- func (m ResourceListReplicasets) GetByName(search string) ResourceReplicaSet
- func (m ResourceListReplicasets) GetByNamespace(search string) ResourceReplicaSet
- func (m ResourceListReplicasets) GetByUid(search string) ResourceReplicaSet
- type ResourceListRoutes
- type ResourceListServices
- func (m ResourceListServices) GetByLabels(search map[string]string) []ResourceService
- func (m ResourceListServices) GetByName(search string) ResourceService
- func (m ResourceListServices) GetByNamespace(search string) ResourceService
- func (m ResourceListServices) GetByUid(search string) ResourceService
- type ResourceListSlackmessages
- type ResourceListStatefulsets
- func (m ResourceListStatefulsets) GetByLabels(search map[string]string) []ResourceStatefulSet
- func (m ResourceListStatefulsets) GetByName(search string) ResourceStatefulSet
- func (m ResourceListStatefulsets) GetByNamespace(search string) ResourceStatefulSet
- func (m ResourceListStatefulsets) GetByUid(search string) ResourceStatefulSet
- type ResourceListStorageclasses
- type ResourceListTanzukubernetesclusters
- func (m ResourceListTanzukubernetesclusters) GetByLabels(search map[string]string) []ResourceTanzuKubernetesCluster
- func (m ResourceListTanzukubernetesclusters) GetByName(search string) ResourceTanzuKubernetesCluster
- func (m ResourceListTanzukubernetesclusters) GetByNamespace(search string) ResourceTanzuKubernetesCluster
- func (m ResourceListTanzukubernetesclusters) GetByUid(search string) ResourceTanzuKubernetesCluster
- type ResourceListTanzukubernetesreleases
- func (m ResourceListTanzukubernetesreleases) GetByLabels(search map[string]string) []ResourceTanzuKubernetesRelease
- func (m ResourceListTanzukubernetesreleases) GetByName(search string) ResourceTanzuKubernetesRelease
- func (m ResourceListTanzukubernetesreleases) GetByUid(search string) ResourceTanzuKubernetesRelease
- type ResourceListVirtualmachineclassbindings
- func (m ResourceListVirtualmachineclassbindings) GetByLabels(search map[string]string) []ResourceVirtualMachineClassBinding
- func (m ResourceListVirtualmachineclassbindings) GetByName(search string) ResourceVirtualMachineClassBinding
- func (m ResourceListVirtualmachineclassbindings) GetByNamespace(search string) ResourceVirtualMachineClassBinding
- func (m ResourceListVirtualmachineclassbindings) GetByUid(search string) ResourceVirtualMachineClassBinding
- type ResourceListVirtualmachineclasses
- func (m ResourceListVirtualmachineclasses) GetByLabels(search map[string]string) []ResourceVirtualMachineClass
- func (m ResourceListVirtualmachineclasses) GetByName(search string) ResourceVirtualMachineClass
- func (m ResourceListVirtualmachineclasses) GetByUid(search string) ResourceVirtualMachineClass
- type ResourceListVirtualmachines
- type ResourceListVulnerabilityevents
- type ResourceListVulnerabilityreports
- func (m ResourceListVulnerabilityreports) GetByLabels(search map[string]string) []ResourceVulnerabilityReport
- func (m ResourceListVulnerabilityreports) GetByName(search string) ResourceVulnerabilityReport
- func (m ResourceListVulnerabilityreports) GetByNamespace(search string) ResourceVulnerabilityReport
- func (m ResourceListVulnerabilityreports) GetByUid(search string) ResourceVulnerabilityReport
- type ResourceMetadata
- type ResourceMetadataOwnerReference
- type ResourceModel
- type ResourceModels
- type ResourceNamespace
- type ResourceNetworkPolicy
- type ResourceNetworkPolicyCondition
- type ResourceNetworkPolicyEgressRule
- type ResourceNetworkPolicyIngressRule
- type ResourceNetworkPolicyIpBlock
- type ResourceNetworkPolicyPeer
- type ResourceNetworkPolicyPodSelector
- type ResourceNetworkPolicyPort
- type ResourceNetworkPolicySelector
- type ResourceNetworkPolicySelectorExpression
- type ResourceNetworkPolicySpec
- type ResourceNetworkPolicyStatus
- type ResourceNode
- type ResourceNodeSpec
- type ResourceNodeSpecTaints
- type ResourceNodeStatus
- type ResourceNodeStatusAddresses
- type ResourceNodeStatusCapacity
- type ResourceNodeStatusConditions
- type ResourceNodeStatusNodeinfo
- type ResourceOwnerReferencedeprecated
- type ResourcePersistentVolumeClaim
- type ResourcePersistentVolumeClaimSpec
- type ResourcePersistentVolumeClaimSpecResources
- type ResourcePersistentVolumeClaimStatus
- type ResourcePod
- type ResourcePodSpec
- type ResourcePodSpecContainers
- type ResourcePodSpecContainersPorts
- type ResourcePodStatus
- type ResourcePolicyReport
- type ResourcePolicyReportResults
- type ResourcePolicyReportResultsResources
- type ResourcePolicyReportSummary
- type ResourceProject
- type ResourceProjectSpec
- type ResourceProjectSpecRole
- type ResourceProviderConfigAks
- type ResourceProviderConfigKind
- type ResourceProviderConfigTanzu
- type ResourceQuery
- type ResourceRbacAssessmentReport
- type ResourceRbacAssessmentReportReport
- type ResourceReplicaSet
- type ResourceReplicaSetSpec
- type ResourceReplicaSetSpecSelector
- type ResourceReplicaSetSpecSelectorMatchExpressions
- type ResourceReplicaSetStatus
- type ResourceRoute
- type ResourceRouteMessageType
- type ResourceRouteReceiver
- type ResourceRouteSlackReceiver
- type ResourceRouteSpec
- type ResourceService
- type ResourceServicePorts
- type ResourceServiceSpec
- type ResourceSlackMessage
- type ResourceSlackMessageResult
- type ResourceSlackMessageSpec
- type ResourceSlackMessageStatus
- type ResourceStatefulSet
- type ResourceStatefulSetStatus
- type ResourceStorageClass
- type ResourceTanuzKuberntesClusterSpec
- type ResourceTanuzKuberntesMetadata
- type ResourceTanuzKuberntesMetadataManagedFields
- type ResourceTanuzKuberntesMetadataOwnerReferences
- type ResourceTanzuKubernetesCluster
- 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
- type ResourceTanzuKubernetesReleaseMetadata
- type ResourceTanzuKubernetesReleaseMetadataManagedField
- type ResourceTanzuKubernetesReleaseMetadataOwnerReference
- type ResourceTanzuKubernetesReleaseSpec
- type ResourceTanzuKubernetesReleaseSpecImage
- type ResourceTanzuKubernetesReleaseSpecNodeImageRef
- type ResourceTanzuKubernetesReleaseStatus
- type ResourceTanzuKubernetesReleaseStatusCondition
- type ResourceUpdateModel
- type ResourceVersion
- type ResourceVirtualMachine
- type ResourceVirtualMachineClass
- type ResourceVirtualMachineClassBinding
- type ResourceVirtualMachineClassBindingClassRef
- type ResourceVirtualMachineClassBindingMetadata
- type ResourceVirtualMachineClassBindingMetadataManagedField
- type ResourceVirtualMachineClassBindingMetadataOwnerReference
- type ResourceVirtualMachineClassMetadata
- type ResourceVirtualMachineClassMetadataManagedField
- type ResourceVirtualMachineClassMetadataOwnerReference
- type ResourceVirtualMachineClassSpec
- type ResourceVirtualMachineClassSpecHardware
- type ResourceVirtualMachineClassSpecHardwareInstanceStorage
- type ResourceVirtualMachineConfig
- type ResourceVirtualMachineOperativeSystem
- type ResourceVirtualMachineRuntime
- type ResourceVirtualMachineSpec
- type ResourceVirtualMachineStatus
- type ResourceVirtualMachineTag
- type ResourceVulnerabilityEvent
- type ResourceVulnerabilityEventSpec
- type ResourceVulnerabilityReport
- type ResourceVulnerabilityReportReport
- type ResourceVulnerabilityReportReportArtifact
- type ResourceVulnerabilityReportReportVulnerability
- type ResourceVulnerabilityWhitelist
- type ResourceVulnerabilityWhitelistSpec
- type Resourcetypes
- type SensitivityLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AquaReportScanner ¶
type AquaReportSummary ¶
type CriticalityLevel ¶
type CriticalityLevel int
const ( CriticalityLevelUnknown CriticalityLevel = iota CriticalityLevelOpen CriticalityLevel = 1 CriticalityLevelIntern CriticalityLevel = 2 CriticalityLevelShielded CriticalityLevel = 3 CriticalityLevelHighlyShielded CriticalityLevel = 4 )
type EnvironmentType ¶
type EnvironmentType int
const ( EnvironmentUnknown EnvironmentType = iota EnvironmentDevelopment EnvironmentType = 1 EnvironmentTesting EnvironmentType = 2 EnvironmentQA EnvironmentType = 3 EnvironmentProduction EnvironmentType = 4 )
type HashList ¶
type HashList struct {
Items []HashItem `json:"items"`
}
Hashlist for use in agent communication NB This struct has a counterpart in the agent.
type ResourceAction ¶
type ResourceAction string
Allowed actions from the kubernetes dynamic client
const ( K8sActionAdd ResourceAction = "Add" K8sActionDelete ResourceAction = "Delete" K8sActionUpdate ResourceAction = "Update" )
type ResourceActionType ¶ added in v0.0.11
type ResourceActionType string
const ( ResourceActionTypeUnknown ResourceActionType = "" ResourceActionTypeCreate ResourceActionType = "Create" ResourceActionTypeUpdate ResourceActionType = "Update" ResourceActionTypeDelete ResourceActionType = "Delete" )
type ResourceAppProject ¶
type ResourceAppProject struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceAppProjectSpec `json:"spec"` }
K8s applicationProject struct used with ArgoCD
type ResourceAppProjectSpec ¶
type ResourceAppProjectSpec struct { Description string `json:"description"` SourceRepos []string `json:"sourceRepos"` Destinations []ResourceApplicationSpecDestination `json:"destinations"` }
type ResourceApplication ¶
type ResourceApplication struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceApplicationSpec `json:"spec"` Status ResourceApplicationStatus `json:"status"` }
K8s application struct used with ArgoCD
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 { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceCertificateSpec `json:"spec"` Status ResourceCertificateStatus `json:"status"` }
K8s certificate struct
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 { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Status ResourceClusterComplianceReportStatus `json:"status"` }
K8s namepace struct
type ResourceClusterComplianceReportStatus ¶
type ResourceClusterComplianceReportStatus struct { Summary ResourceClusterComplianceReportSummary `json:"summary"` SummaryReport ResourceClusterComplianceReportSummaryReport `json:"summaryReport"` }
type ResourceClusterOrder ¶
type ResourceClusterOrder struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceClusterOrderSpec `json:"spec"` Status ResourceClusterOrderStatus `json:"status"` }
type ResourceClusterOrderSpec ¶
type ResourceClusterOrderSpec struct { OrderType ResourceActionType `json:"orderType" validate:"required,min=1,ne=' '"` Provider providers.ProviderType `json:"provider,omitempty"` Cluster string `json:"cluster" validate:"required,min=1,ne=' '"` ProjectId string `json:"projectId,omitempty"` OrderBy string `json:"orderBy" validate:"required,min=1,ne=' '"` Environment EnvironmentType `json:"environment,omitempty" validate:"min=1,max=4"` Criticality CriticalityLevel `json:"criticality,omitempty" validate:"min=1,max=4"` Sensitivity SensitivityLevel `json:"sensitivity,omitempty" validate:"min=1,max=4"` HighAvailability bool `json:"highAvailability,omitempty" validate:"boolean"` NodePools []ResourceClusterOrderSpecNodePool `json:"nodePools,omitempty" validate:"min=1,dive,required"` ServiceTags map[string]string `json:"serviceTags,omitempty"` ProviderConfig map[string]interface{} `json:"providerConfig,omitempty"` OwnerGroup string `json:"ownerGroup,omitempty" validate:"min=1,ne=' '"` K8sVersion string `json:"k8sVersion,omitempty"` }
type ResourceClusterOrderStatus ¶
type ResourceClusterOrderStatus struct { Status string `json:"status"` Phase ResourceClusterOrderStatusPhase `json:"phase"` Conditions []ResourceKubernetesClusterStatusCondition `json:"conditions"` CreatedTime string `json:"createdTime"` UpdatedTime string `json:"updatedTime"` LastObservedTime string `json:"lastObservedTime"` }
type ResourceClusterOrderStatusPhase ¶ added in v0.0.11
type ResourceClusterOrderStatusPhase string
const ( ResourceClusterOrderStatusPhasePending ResourceClusterOrderStatusPhase = "Pending" ResourceClusterOrderStatusPhaseCreating ResourceClusterOrderStatusPhase = "Creating" ResourceClusterOrderStatusPhaseUpdating ResourceClusterOrderStatusPhase = "Updating" ResourceClusterOrderStatusPhaseDeleting ResourceClusterOrderStatusPhase = "Deleting" ResourceClusterOrderStatusPhaseCompleted ResourceClusterOrderStatusPhase = "Completed" ResourceClusterOrderStatusPhaseFailed ResourceClusterOrderStatusPhase = "Failed" )
type ResourceClusterVulnerabilityReport ¶ added in v0.2.3
type ResourceClusterVulnerabilityReport struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Report ResourceClusterVulnerabilityReportReport `json:"report"` }
type ResourceClusterVulnerabilityReportReport ¶ added in v0.2.3
type ResourceClusterVulnerabilityReportReport struct { Summary ResourceClusterVulnerabilityReportSummary `json:"summary"` Vulnerabilities map[string]ResourceClusterVulnerabilityReportStatus `json:"vulnerabilities"` }
type ResourceClusterVulnerabilityReportStatus ¶ added in v0.2.3
type ResourceClusterVulnerabilityReportStatus struct { ResourceVulnerabilityReportReportVulnerability `json:",inline" bson:",inline"` LastObserved time.Time `json:"lastObserved"` }
type ResourceClusterVulnerabilityReportSummary ¶ added in v0.2.3
type ResourceConfigAuditReport ¶
type ResourceConfigAuditReport struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Report ResourceVulnerabilityReportReport `json:"report"` }
K8s namepace struct
type ResourceConfigAuditReportReport ¶
type ResourceConfigAuditReportReport struct {
Summary AquaReportSummary `json:"summary"`
}
type ResourceConfiguration ¶
type ResourceConfiguration struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceConfigurationSpec `json:"spec"` }
type ResourceDaemonSet ¶
type ResourceDaemonSet struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Status ResourceDaemonSetStatus `json:"status"` }
K8s deployment struct
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 { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Status ResourceDeploymentStatus `json:"status"` }
K8s deployment struct
type ResourceEndpointSpecSubsets ¶ added in v0.3.11
type ResourceEndpointSpecSubsets struct { Addresses []ResourceEndpointSpecSubsetsAddresses `json:"addresses,omitempty"` NotReadyAddresses []ResourceEndpointSpecSubsetsNotReadyAddresses `json:"notReadyAddresses,omitempty"` Ports []ResourceEndpointSpecSubsetsPorts `json:"ports,omitempty"` }
type ResourceEndpointSpecSubsetsAddresses ¶ added in v0.3.11
type ResourceEndpointSpecSubsetsAddresses struct { Hostname string `json:"hostname,omitempty"` Ip string `json:"ip,omitempty"` NodeName string `json:"nodeName,omitempty"` TargetRef ResourceEndpointSpecSubsetsAddressesTargetRef `json:"targetRef,omitempty"` }
type ResourceEndpointSpecSubsetsAddressesTargetRef ¶ added in v0.3.11
type ResourceEndpointSpecSubsetsAddressesTargetRef struct { ApiVersion string `json:"apiVersion,omitempty"` FieldPath string `json:"fieldPath,omitempty"` Kind string `json:"kind,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` ResourceVersion string `json:"resourceVersion,omitempty"` Uid string `json:"uid,omitempty"` }
type ResourceEndpointSpecSubsetsNotReadyAddresses ¶ added in v0.3.11
type ResourceEndpointSpecSubsetsNotReadyAddresses struct { Hostname string `json:"hostname,omitempty"` Ip string `json:"ip,omitempty"` NodeName string `json:"nodeName,omitempty"` TargetRef ResourceEndpointSpecSubsetsNotReadyAddressesTargetRef `json:"targetRef,omitempty"` }
type ResourceEndpointSpecSubsetsNotReadyAddressesTargetRef ¶ added in v0.3.11
type ResourceEndpointSpecSubsetsNotReadyAddressesTargetRef struct { ApiVersion string `json:"apiVersion,omitempty"` FieldPath string `json:"fieldPath,omitempty"` Kind string `json:"kind,omitempty"` Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` ResourceVersion string `json:"resourceVersion,omitempty"` Uid string `json:"uid,omitempty"` }
type ResourceEndpointSpecSubsetsPorts ¶ added in v0.3.11
type ResourceEndpoints ¶ added in v0.3.11
type ResourceEndpoints struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Subsets []ResourceEndpointSpecSubsets `json:"subsets,omitempty"` }
type ResourceExposedSecretReport ¶
type ResourceExposedSecretReport struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Report ResourceVulnerabilityReportReport `json:"report"` }
K8s namepace struct
type ResourceExposedSecretReportReport ¶
type ResourceExposedSecretReportReport struct {
Summary AquaReportSummary `json:"summary"`
}
type ResourceIngress ¶
type ResourceIngress struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceIngressSpec `json:"spec"` Status ResourceIngressStatus `json:"status"` }
K8s namepace struct
type ResourceIngressClass ¶
type ResourceIngressClass struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceIngressClassSpec `json:"spec"` }
K8s namepace struct
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 { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceKubernetesClusterSpec `json:"spec"` Status ResourceKubernetesClusterStatus `json:"status"` }
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 ResourceListApplications ¶ added in v0.3.11
type ResourceListApplications struct { Owner ResourceOwnerReference `json:"owner"` Applications []ResourceApplication `json:"applications"` }
type for returning Application resources to internal functions
func (ResourceListApplications) GetByLabels ¶ added in v0.3.11
func (m ResourceListApplications) GetByLabels(search map[string]string) []ResourceApplication
Function to return Application resource by label.
func (ResourceListApplications) GetByName ¶ added in v0.3.11
func (m ResourceListApplications) GetByName(search string) ResourceApplication
Function to return Application resource by name.
func (ResourceListApplications) GetByNamespace ¶ added in v0.3.11
func (m ResourceListApplications) GetByNamespace(search string) ResourceApplication
Function to return Application resource by namespace.
func (ResourceListApplications) GetByUid ¶ added in v0.3.11
func (m ResourceListApplications) GetByUid(search string) ResourceApplication
Function to return Application resource by uid.
type ResourceListAppprojects ¶ added in v0.3.11
type ResourceListAppprojects struct { Owner ResourceOwnerReference `json:"owner"` Appprojects []ResourceAppProject `json:"appprojects"` }
type for returning AppProject resources to internal functions
func (ResourceListAppprojects) GetByLabels ¶ added in v0.3.11
func (m ResourceListAppprojects) GetByLabels(search map[string]string) []ResourceAppProject
Function to return AppProject resource by label.
func (ResourceListAppprojects) GetByName ¶ added in v0.3.11
func (m ResourceListAppprojects) GetByName(search string) ResourceAppProject
Function to return AppProject resource by name.
func (ResourceListAppprojects) GetByNamespace ¶ added in v0.3.11
func (m ResourceListAppprojects) GetByNamespace(search string) ResourceAppProject
Function to return AppProject resource by namespace.
func (ResourceListAppprojects) GetByUid ¶ added in v0.3.11
func (m ResourceListAppprojects) GetByUid(search string) ResourceAppProject
Function to return AppProject resource by uid.
type ResourceListCertificates ¶ added in v0.3.11
type ResourceListCertificates struct { Owner ResourceOwnerReference `json:"owner"` Certificates []ResourceCertificate `json:"certificates"` }
type for returning Certificate resources to internal functions
func (ResourceListCertificates) GetByLabels ¶ added in v0.3.11
func (m ResourceListCertificates) GetByLabels(search map[string]string) []ResourceCertificate
Function to return Certificate resource by label.
func (ResourceListCertificates) GetByName ¶ added in v0.3.11
func (m ResourceListCertificates) GetByName(search string) ResourceCertificate
Function to return Certificate resource by name.
func (ResourceListCertificates) GetByNamespace ¶ added in v0.3.11
func (m ResourceListCertificates) GetByNamespace(search string) ResourceCertificate
Function to return Certificate resource by namespace.
func (ResourceListCertificates) GetByUid ¶ added in v0.3.11
func (m ResourceListCertificates) GetByUid(search string) ResourceCertificate
Function to return Certificate resource by uid.
type ResourceListClustercompliancereports ¶ added in v0.3.11
type ResourceListClustercompliancereports struct { Owner ResourceOwnerReference `json:"owner"` Clustercompliancereports []ResourceClusterComplianceReport `json:"clustercompliancereports"` }
type for returning ClusterComplianceReport resources to internal functions
func (ResourceListClustercompliancereports) GetByLabels ¶ added in v0.3.11
func (m ResourceListClustercompliancereports) GetByLabels(search map[string]string) []ResourceClusterComplianceReport
Function to return ClusterComplianceReport resource by label.
func (ResourceListClustercompliancereports) GetByName ¶ added in v0.3.11
func (m ResourceListClustercompliancereports) GetByName(search string) ResourceClusterComplianceReport
Function to return ClusterComplianceReport resource by name.
func (ResourceListClustercompliancereports) GetByUid ¶ added in v0.3.11
func (m ResourceListClustercompliancereports) GetByUid(search string) ResourceClusterComplianceReport
Function to return ClusterComplianceReport resource by uid.
type ResourceListClusterorders ¶ added in v0.3.11
type ResourceListClusterorders struct { Owner ResourceOwnerReference `json:"owner"` Clusterorders []ResourceClusterOrder `json:"clusterorders"` }
type for returning ClusterOrder resources to internal functions
func (ResourceListClusterorders) GetByLabels ¶ added in v0.3.11
func (m ResourceListClusterorders) GetByLabels(search map[string]string) []ResourceClusterOrder
Function to return ClusterOrder resource by label.
func (ResourceListClusterorders) GetByName ¶ added in v0.3.11
func (m ResourceListClusterorders) GetByName(search string) ResourceClusterOrder
Function to return ClusterOrder resource by name.
func (ResourceListClusterorders) GetByNamespace ¶ added in v0.3.11
func (m ResourceListClusterorders) GetByNamespace(search string) ResourceClusterOrder
Function to return ClusterOrder resource by namespace.
func (ResourceListClusterorders) GetByUid ¶ added in v0.3.11
func (m ResourceListClusterorders) GetByUid(search string) ResourceClusterOrder
Function to return ClusterOrder resource by uid.
type ResourceListClustervulnerabilityreports ¶ added in v0.3.11
type ResourceListClustervulnerabilityreports struct { Owner ResourceOwnerReference `json:"owner"` Clustervulnerabilityreports []ResourceClusterVulnerabilityReport `json:"clustervulnerabilityreports"` }
type for returning ClusterVulnerabilityReport resources to internal functions
func (ResourceListClustervulnerabilityreports) GetByLabels ¶ added in v0.3.11
func (m ResourceListClustervulnerabilityreports) GetByLabels(search map[string]string) []ResourceClusterVulnerabilityReport
Function to return ClusterVulnerabilityReport resource by label.
func (ResourceListClustervulnerabilityreports) GetByName ¶ added in v0.3.11
func (m ResourceListClustervulnerabilityreports) GetByName(search string) ResourceClusterVulnerabilityReport
Function to return ClusterVulnerabilityReport resource by name.
func (ResourceListClustervulnerabilityreports) GetByUid ¶ added in v0.3.11
func (m ResourceListClustervulnerabilityreports) GetByUid(search string) ResourceClusterVulnerabilityReport
Function to return ClusterVulnerabilityReport resource by uid.
type ResourceListConfigauditreports ¶ added in v0.3.11
type ResourceListConfigauditreports struct { Owner ResourceOwnerReference `json:"owner"` Configauditreports []ResourceConfigAuditReport `json:"configauditreports"` }
type for returning ConfigAuditReport resources to internal functions
func (ResourceListConfigauditreports) GetByLabels ¶ added in v0.3.11
func (m ResourceListConfigauditreports) GetByLabels(search map[string]string) []ResourceConfigAuditReport
Function to return ConfigAuditReport resource by label.
func (ResourceListConfigauditreports) GetByName ¶ added in v0.3.11
func (m ResourceListConfigauditreports) GetByName(search string) ResourceConfigAuditReport
Function to return ConfigAuditReport resource by name.
func (ResourceListConfigauditreports) GetByNamespace ¶ added in v0.3.11
func (m ResourceListConfigauditreports) GetByNamespace(search string) ResourceConfigAuditReport
Function to return ConfigAuditReport resource by namespace.
func (ResourceListConfigauditreports) GetByUid ¶ added in v0.3.11
func (m ResourceListConfigauditreports) GetByUid(search string) ResourceConfigAuditReport
Function to return ConfigAuditReport resource by uid.
type ResourceListConfigurations ¶ added in v0.3.11
type ResourceListConfigurations struct { Owner ResourceOwnerReference `json:"owner"` Configurations []ResourceConfiguration `json:"configurations"` }
type for returning Configuration resources to internal functions
func (ResourceListConfigurations) GetByLabels ¶ added in v0.3.11
func (m ResourceListConfigurations) GetByLabels(search map[string]string) []ResourceConfiguration
Function to return Configuration resource by label.
func (ResourceListConfigurations) GetByName ¶ added in v0.3.11
func (m ResourceListConfigurations) GetByName(search string) ResourceConfiguration
Function to return Configuration resource by name.
func (ResourceListConfigurations) GetByNamespace ¶ added in v0.3.11
func (m ResourceListConfigurations) GetByNamespace(search string) ResourceConfiguration
Function to return Configuration resource by namespace.
func (ResourceListConfigurations) GetByUid ¶ added in v0.3.11
func (m ResourceListConfigurations) GetByUid(search string) ResourceConfiguration
Function to return Configuration resource by uid.
type ResourceListDaemonsets ¶ added in v0.3.11
type ResourceListDaemonsets struct { Owner ResourceOwnerReference `json:"owner"` Daemonsets []ResourceDaemonSet `json:"daemonsets"` }
type for returning DaemonSet resources to internal functions
func (ResourceListDaemonsets) GetByLabels ¶ added in v0.3.11
func (m ResourceListDaemonsets) GetByLabels(search map[string]string) []ResourceDaemonSet
Function to return DaemonSet resource by label.
func (ResourceListDaemonsets) GetByName ¶ added in v0.3.11
func (m ResourceListDaemonsets) GetByName(search string) ResourceDaemonSet
Function to return DaemonSet resource by name.
func (ResourceListDaemonsets) GetByNamespace ¶ added in v0.3.11
func (m ResourceListDaemonsets) GetByNamespace(search string) ResourceDaemonSet
Function to return DaemonSet resource by namespace.
func (ResourceListDaemonsets) GetByUid ¶ added in v0.3.11
func (m ResourceListDaemonsets) GetByUid(search string) ResourceDaemonSet
Function to return DaemonSet resource by uid.
type ResourceListDeployments ¶ added in v0.3.11
type ResourceListDeployments struct { Owner ResourceOwnerReference `json:"owner"` Deployments []ResourceDeployment `json:"deployments"` }
type for returning Deployment resources to internal functions
func (ResourceListDeployments) GetByLabels ¶ added in v0.3.11
func (m ResourceListDeployments) GetByLabels(search map[string]string) []ResourceDeployment
Function to return Deployment resource by label.
func (ResourceListDeployments) GetByName ¶ added in v0.3.11
func (m ResourceListDeployments) GetByName(search string) ResourceDeployment
Function to return Deployment resource by name.
func (ResourceListDeployments) GetByNamespace ¶ added in v0.3.11
func (m ResourceListDeployments) GetByNamespace(search string) ResourceDeployment
Function to return Deployment resource by namespace.
func (ResourceListDeployments) GetByUid ¶ added in v0.3.11
func (m ResourceListDeployments) GetByUid(search string) ResourceDeployment
Function to return Deployment resource by uid.
type ResourceListEndpoints ¶ added in v0.3.11
type ResourceListEndpoints struct { Owner ResourceOwnerReference `json:"owner"` Endpoints []ResourceEndpoints `json:"endpoints"` }
type for returning Endpoints resources to internal functions
func (ResourceListEndpoints) GetByLabels ¶ added in v0.3.11
func (m ResourceListEndpoints) GetByLabels(search map[string]string) []ResourceEndpoints
Function to return Endpoints resource by label.
func (ResourceListEndpoints) GetByName ¶ added in v0.3.11
func (m ResourceListEndpoints) GetByName(search string) ResourceEndpoints
Function to return Endpoints resource by name.
func (ResourceListEndpoints) GetByNamespace ¶ added in v0.3.11
func (m ResourceListEndpoints) GetByNamespace(search string) ResourceEndpoints
Function to return Endpoints resource by namespace.
func (ResourceListEndpoints) GetByUid ¶ added in v0.3.11
func (m ResourceListEndpoints) GetByUid(search string) ResourceEndpoints
Function to return Endpoints resource by uid.
type ResourceListExposedsecretreports ¶ added in v0.3.11
type ResourceListExposedsecretreports struct { Owner ResourceOwnerReference `json:"owner"` Exposedsecretreports []ResourceExposedSecretReport `json:"exposedsecretreports"` }
type for returning ExposedSecretReport resources to internal functions
func (ResourceListExposedsecretreports) GetByLabels ¶ added in v0.3.11
func (m ResourceListExposedsecretreports) GetByLabels(search map[string]string) []ResourceExposedSecretReport
Function to return ExposedSecretReport resource by label.
func (ResourceListExposedsecretreports) GetByName ¶ added in v0.3.11
func (m ResourceListExposedsecretreports) GetByName(search string) ResourceExposedSecretReport
Function to return ExposedSecretReport resource by name.
func (ResourceListExposedsecretreports) GetByNamespace ¶ added in v0.3.11
func (m ResourceListExposedsecretreports) GetByNamespace(search string) ResourceExposedSecretReport
Function to return ExposedSecretReport resource by namespace.
func (ResourceListExposedsecretreports) GetByUid ¶ added in v0.3.11
func (m ResourceListExposedsecretreports) GetByUid(search string) ResourceExposedSecretReport
Function to return ExposedSecretReport resource by uid.
type ResourceListIngressclasses ¶ added in v0.3.11
type ResourceListIngressclasses struct { Owner ResourceOwnerReference `json:"owner"` Ingressclasses []ResourceIngressClass `json:"ingressclasses"` }
type for returning IngressClass resources to internal functions
func (ResourceListIngressclasses) GetByLabels ¶ added in v0.3.11
func (m ResourceListIngressclasses) GetByLabels(search map[string]string) []ResourceIngressClass
Function to return IngressClass resource by label.
func (ResourceListIngressclasses) GetByName ¶ added in v0.3.11
func (m ResourceListIngressclasses) GetByName(search string) ResourceIngressClass
Function to return IngressClass resource by name.
func (ResourceListIngressclasses) GetByNamespace ¶ added in v0.3.11
func (m ResourceListIngressclasses) GetByNamespace(search string) ResourceIngressClass
Function to return IngressClass resource by namespace.
func (ResourceListIngressclasses) GetByUid ¶ added in v0.3.11
func (m ResourceListIngressclasses) GetByUid(search string) ResourceIngressClass
Function to return IngressClass resource by uid.
type ResourceListIngresses ¶ added in v0.3.11
type ResourceListIngresses struct { Owner ResourceOwnerReference `json:"owner"` Ingresses []ResourceIngress `json:"ingresses"` }
type for returning Ingress resources to internal functions
func (ResourceListIngresses) GetByLabels ¶ added in v0.3.11
func (m ResourceListIngresses) GetByLabels(search map[string]string) []ResourceIngress
Function to return Ingress resource by label.
func (ResourceListIngresses) GetByName ¶ added in v0.3.11
func (m ResourceListIngresses) GetByName(search string) ResourceIngress
Function to return Ingress resource by name.
func (ResourceListIngresses) GetByNamespace ¶ added in v0.3.11
func (m ResourceListIngresses) GetByNamespace(search string) ResourceIngress
Function to return Ingress resource by namespace.
func (ResourceListIngresses) GetByUid ¶ added in v0.3.11
func (m ResourceListIngresses) GetByUid(search string) ResourceIngress
Function to return Ingress resource by uid.
type ResourceListKubernetesclusters ¶ added in v0.3.11
type ResourceListKubernetesclusters struct { Owner ResourceOwnerReference `json:"owner"` Kubernetesclusters []ResourceKubernetesCluster `json:"kubernetesclusters"` }
type for returning KubernetesCluster resources to internal functions
func (ResourceListKubernetesclusters) GetByLabels ¶ added in v0.3.11
func (m ResourceListKubernetesclusters) GetByLabels(search map[string]string) []ResourceKubernetesCluster
Function to return KubernetesCluster resource by label.
func (ResourceListKubernetesclusters) GetByName ¶ added in v0.3.11
func (m ResourceListKubernetesclusters) GetByName(search string) ResourceKubernetesCluster
Function to return KubernetesCluster resource by name.
func (ResourceListKubernetesclusters) GetByNamespace ¶ added in v0.3.11
func (m ResourceListKubernetesclusters) GetByNamespace(search string) ResourceKubernetesCluster
Function to return KubernetesCluster resource by namespace.
func (ResourceListKubernetesclusters) GetByUid ¶ added in v0.3.11
func (m ResourceListKubernetesclusters) GetByUid(search string) ResourceKubernetesCluster
Function to return KubernetesCluster resource by uid.
type ResourceListNamespaces ¶ added in v0.3.11
type ResourceListNamespaces struct { Owner ResourceOwnerReference `json:"owner"` Namespaces []ResourceNamespace `json:"namespaces"` }
type for returning Namespace resources to internal functions
func (ResourceListNamespaces) GetByLabels ¶ added in v0.3.11
func (m ResourceListNamespaces) GetByLabels(search map[string]string) []ResourceNamespace
Function to return Namespace resource by label.
func (ResourceListNamespaces) GetByName ¶ added in v0.3.11
func (m ResourceListNamespaces) GetByName(search string) ResourceNamespace
Function to return Namespace resource by name.
func (ResourceListNamespaces) GetByUid ¶ added in v0.3.11
func (m ResourceListNamespaces) GetByUid(search string) ResourceNamespace
Function to return Namespace resource by uid.
type ResourceListNetworkpolicies ¶ added in v0.3.11
type ResourceListNetworkpolicies struct { Owner ResourceOwnerReference `json:"owner"` Networkpolicies []ResourceNetworkPolicy `json:"networkpolicies"` }
type for returning NetworkPolicy resources to internal functions
func (ResourceListNetworkpolicies) GetByLabels ¶ added in v0.3.11
func (m ResourceListNetworkpolicies) GetByLabels(search map[string]string) []ResourceNetworkPolicy
Function to return NetworkPolicy resource by label.
func (ResourceListNetworkpolicies) GetByName ¶ added in v0.3.11
func (m ResourceListNetworkpolicies) GetByName(search string) ResourceNetworkPolicy
Function to return NetworkPolicy resource by name.
func (ResourceListNetworkpolicies) GetByNamespace ¶ added in v0.3.11
func (m ResourceListNetworkpolicies) GetByNamespace(search string) ResourceNetworkPolicy
Function to return NetworkPolicy resource by namespace.
func (ResourceListNetworkpolicies) GetByUid ¶ added in v0.3.11
func (m ResourceListNetworkpolicies) GetByUid(search string) ResourceNetworkPolicy
Function to return NetworkPolicy resource by uid.
type ResourceListNodes ¶ added in v0.3.11
type ResourceListNodes struct { Owner ResourceOwnerReference `json:"owner"` Nodes []ResourceNode `json:"nodes"` }
type for returning Node resources to internal functions
func (ResourceListNodes) GetByLabels ¶ added in v0.3.11
func (m ResourceListNodes) GetByLabels(search map[string]string) []ResourceNode
Function to return Node resource by label.
func (ResourceListNodes) GetByName ¶ added in v0.3.11
func (m ResourceListNodes) GetByName(search string) ResourceNode
Function to return Node resource by name.
func (ResourceListNodes) GetByUid ¶ added in v0.3.11
func (m ResourceListNodes) GetByUid(search string) ResourceNode
Function to return Node resource by uid.
type ResourceListPersistentvolumeclaims ¶ added in v0.3.11
type ResourceListPersistentvolumeclaims struct { Owner ResourceOwnerReference `json:"owner"` Persistentvolumeclaims []ResourcePersistentVolumeClaim `json:"persistentvolumeclaims"` }
type for returning PersistentVolumeClaim resources to internal functions
func (ResourceListPersistentvolumeclaims) GetByLabels ¶ added in v0.3.11
func (m ResourceListPersistentvolumeclaims) GetByLabels(search map[string]string) []ResourcePersistentVolumeClaim
Function to return PersistentVolumeClaim resource by label.
func (ResourceListPersistentvolumeclaims) GetByName ¶ added in v0.3.11
func (m ResourceListPersistentvolumeclaims) GetByName(search string) ResourcePersistentVolumeClaim
Function to return PersistentVolumeClaim resource by name.
func (ResourceListPersistentvolumeclaims) GetByUid ¶ added in v0.3.11
func (m ResourceListPersistentvolumeclaims) GetByUid(search string) ResourcePersistentVolumeClaim
Function to return PersistentVolumeClaim resource by uid.
type ResourceListPods ¶ added in v0.3.11
type ResourceListPods struct { Owner ResourceOwnerReference `json:"owner"` Pods []ResourcePod `json:"pods"` }
type for returning Pod resources to internal functions
func (ResourceListPods) GetByLabels ¶ added in v0.3.11
func (m ResourceListPods) GetByLabels(search map[string]string) []ResourcePod
Function to return Pod resource by label.
func (ResourceListPods) GetByName ¶ added in v0.3.11
func (m ResourceListPods) GetByName(search string) ResourcePod
Function to return Pod resource by name.
func (ResourceListPods) GetByNamespace ¶ added in v0.3.11
func (m ResourceListPods) GetByNamespace(search string) ResourcePod
Function to return Pod resource by namespace.
func (ResourceListPods) GetByUid ¶ added in v0.3.11
func (m ResourceListPods) GetByUid(search string) ResourcePod
Function to return Pod resource by uid.
type ResourceListPolicyreports ¶ added in v0.3.11
type ResourceListPolicyreports struct { Owner ResourceOwnerReference `json:"owner"` Policyreports []ResourcePolicyReport `json:"policyreports"` }
type for returning PolicyReport resources to internal functions
func (ResourceListPolicyreports) GetByLabels ¶ added in v0.3.11
func (m ResourceListPolicyreports) GetByLabels(search map[string]string) []ResourcePolicyReport
Function to return PolicyReport resource by label.
func (ResourceListPolicyreports) GetByName ¶ added in v0.3.11
func (m ResourceListPolicyreports) GetByName(search string) ResourcePolicyReport
Function to return PolicyReport resource by name.
func (ResourceListPolicyreports) GetByNamespace ¶ added in v0.3.11
func (m ResourceListPolicyreports) GetByNamespace(search string) ResourcePolicyReport
Function to return PolicyReport resource by namespace.
func (ResourceListPolicyreports) GetByUid ¶ added in v0.3.11
func (m ResourceListPolicyreports) GetByUid(search string) ResourcePolicyReport
Function to return PolicyReport resource by uid.
type ResourceListProjects ¶ added in v0.3.11
type ResourceListProjects struct { Owner ResourceOwnerReference `json:"owner"` Projects []ResourceProject `json:"projects"` }
type for returning Project resources to internal functions
func (ResourceListProjects) GetByLabels ¶ added in v0.3.11
func (m ResourceListProjects) GetByLabels(search map[string]string) []ResourceProject
Function to return Project resource by label.
func (ResourceListProjects) GetByName ¶ added in v0.3.11
func (m ResourceListProjects) GetByName(search string) ResourceProject
Function to return Project resource by name.
func (ResourceListProjects) GetByNamespace ¶ added in v0.3.11
func (m ResourceListProjects) GetByNamespace(search string) ResourceProject
Function to return Project resource by namespace.
func (ResourceListProjects) GetByUid ¶ added in v0.3.11
func (m ResourceListProjects) GetByUid(search string) ResourceProject
Function to return Project resource by uid.
type ResourceListRbacassessmentreports ¶ added in v0.3.11
type ResourceListRbacassessmentreports struct { Owner ResourceOwnerReference `json:"owner"` Rbacassessmentreports []ResourceRbacAssessmentReport `json:"rbacassessmentreports"` }
type for returning RbacAssessmentReport resources to internal functions
func (ResourceListRbacassessmentreports) GetByLabels ¶ added in v0.3.11
func (m ResourceListRbacassessmentreports) GetByLabels(search map[string]string) []ResourceRbacAssessmentReport
Function to return RbacAssessmentReport resource by label.
func (ResourceListRbacassessmentreports) GetByName ¶ added in v0.3.11
func (m ResourceListRbacassessmentreports) GetByName(search string) ResourceRbacAssessmentReport
Function to return RbacAssessmentReport resource by name.
func (ResourceListRbacassessmentreports) GetByNamespace ¶ added in v0.3.11
func (m ResourceListRbacassessmentreports) GetByNamespace(search string) ResourceRbacAssessmentReport
Function to return RbacAssessmentReport resource by namespace.
func (ResourceListRbacassessmentreports) GetByUid ¶ added in v0.3.11
func (m ResourceListRbacassessmentreports) GetByUid(search string) ResourceRbacAssessmentReport
Function to return RbacAssessmentReport resource by uid.
type ResourceListReplicasets ¶ added in v0.3.11
type ResourceListReplicasets struct { Owner ResourceOwnerReference `json:"owner"` Replicasets []ResourceReplicaSet `json:"replicasets"` }
type for returning ReplicaSet resources to internal functions
func (ResourceListReplicasets) GetByLabels ¶ added in v0.3.11
func (m ResourceListReplicasets) GetByLabels(search map[string]string) []ResourceReplicaSet
Function to return ReplicaSet resource by label.
func (ResourceListReplicasets) GetByName ¶ added in v0.3.11
func (m ResourceListReplicasets) GetByName(search string) ResourceReplicaSet
Function to return ReplicaSet resource by name.
func (ResourceListReplicasets) GetByNamespace ¶ added in v0.3.11
func (m ResourceListReplicasets) GetByNamespace(search string) ResourceReplicaSet
Function to return ReplicaSet resource by namespace.
func (ResourceListReplicasets) GetByUid ¶ added in v0.3.11
func (m ResourceListReplicasets) GetByUid(search string) ResourceReplicaSet
Function to return ReplicaSet resource by uid.
type ResourceListRoutes ¶ added in v0.3.11
type ResourceListRoutes struct { Owner ResourceOwnerReference `json:"owner"` Routes []ResourceRoute `json:"routes"` }
type for returning Route resources to internal functions
func (ResourceListRoutes) GetByLabels ¶ added in v0.3.11
func (m ResourceListRoutes) GetByLabels(search map[string]string) []ResourceRoute
Function to return Route resource by label.
func (ResourceListRoutes) GetByName ¶ added in v0.3.11
func (m ResourceListRoutes) GetByName(search string) ResourceRoute
Function to return Route resource by name.
func (ResourceListRoutes) GetByUid ¶ added in v0.3.11
func (m ResourceListRoutes) GetByUid(search string) ResourceRoute
Function to return Route resource by uid.
type ResourceListServices ¶ added in v0.3.11
type ResourceListServices struct { Owner ResourceOwnerReference `json:"owner"` Services []ResourceService `json:"services"` }
type for returning Service resources to internal functions
func (ResourceListServices) GetByLabels ¶ added in v0.3.11
func (m ResourceListServices) GetByLabels(search map[string]string) []ResourceService
Function to return Service resource by label.
func (ResourceListServices) GetByName ¶ added in v0.3.11
func (m ResourceListServices) GetByName(search string) ResourceService
Function to return Service resource by name.
func (ResourceListServices) GetByNamespace ¶ added in v0.3.11
func (m ResourceListServices) GetByNamespace(search string) ResourceService
Function to return Service resource by namespace.
func (ResourceListServices) GetByUid ¶ added in v0.3.11
func (m ResourceListServices) GetByUid(search string) ResourceService
Function to return Service resource by uid.
type ResourceListSlackmessages ¶ added in v0.3.11
type ResourceListSlackmessages struct { Owner ResourceOwnerReference `json:"owner"` Slackmessages []ResourceSlackMessage `json:"slackmessages"` }
type for returning SlackMessage resources to internal functions
func (ResourceListSlackmessages) GetByLabels ¶ added in v0.3.11
func (m ResourceListSlackmessages) GetByLabels(search map[string]string) []ResourceSlackMessage
Function to return SlackMessage resource by label.
func (ResourceListSlackmessages) GetByName ¶ added in v0.3.11
func (m ResourceListSlackmessages) GetByName(search string) ResourceSlackMessage
Function to return SlackMessage resource by name.
func (ResourceListSlackmessages) GetByUid ¶ added in v0.3.11
func (m ResourceListSlackmessages) GetByUid(search string) ResourceSlackMessage
Function to return SlackMessage resource by uid.
type ResourceListStatefulsets ¶ added in v0.3.11
type ResourceListStatefulsets struct { Owner ResourceOwnerReference `json:"owner"` Statefulsets []ResourceStatefulSet `json:"statefulsets"` }
type for returning StatefulSet resources to internal functions
func (ResourceListStatefulsets) GetByLabels ¶ added in v0.3.11
func (m ResourceListStatefulsets) GetByLabels(search map[string]string) []ResourceStatefulSet
Function to return StatefulSet resource by label.
func (ResourceListStatefulsets) GetByName ¶ added in v0.3.11
func (m ResourceListStatefulsets) GetByName(search string) ResourceStatefulSet
Function to return StatefulSet resource by name.
func (ResourceListStatefulsets) GetByNamespace ¶ added in v0.3.11
func (m ResourceListStatefulsets) GetByNamespace(search string) ResourceStatefulSet
Function to return StatefulSet resource by namespace.
func (ResourceListStatefulsets) GetByUid ¶ added in v0.3.11
func (m ResourceListStatefulsets) GetByUid(search string) ResourceStatefulSet
Function to return StatefulSet resource by uid.
type ResourceListStorageclasses ¶ added in v0.3.11
type ResourceListStorageclasses struct { Owner ResourceOwnerReference `json:"owner"` Storageclasses []ResourceStorageClass `json:"storageclasses"` }
type for returning StorageClass resources to internal functions
func (ResourceListStorageclasses) GetByLabels ¶ added in v0.3.11
func (m ResourceListStorageclasses) GetByLabels(search map[string]string) []ResourceStorageClass
Function to return StorageClass resource by label.
func (ResourceListStorageclasses) GetByName ¶ added in v0.3.11
func (m ResourceListStorageclasses) GetByName(search string) ResourceStorageClass
Function to return StorageClass resource by name.
func (ResourceListStorageclasses) GetByUid ¶ added in v0.3.11
func (m ResourceListStorageclasses) GetByUid(search string) ResourceStorageClass
Function to return StorageClass resource by uid.
type ResourceListTanzukubernetesclusters ¶ added in v0.3.11
type ResourceListTanzukubernetesclusters struct { Owner ResourceOwnerReference `json:"owner"` Tanzukubernetesclusters []ResourceTanzuKubernetesCluster `json:"tanzukubernetesclusters"` }
type for returning TanzuKubernetesCluster resources to internal functions
func (ResourceListTanzukubernetesclusters) GetByLabels ¶ added in v0.3.11
func (m ResourceListTanzukubernetesclusters) GetByLabels(search map[string]string) []ResourceTanzuKubernetesCluster
Function to return TanzuKubernetesCluster resource by label.
func (ResourceListTanzukubernetesclusters) GetByName ¶ added in v0.3.11
func (m ResourceListTanzukubernetesclusters) GetByName(search string) ResourceTanzuKubernetesCluster
Function to return TanzuKubernetesCluster resource by name.
func (ResourceListTanzukubernetesclusters) GetByNamespace ¶ added in v0.3.11
func (m ResourceListTanzukubernetesclusters) GetByNamespace(search string) ResourceTanzuKubernetesCluster
Function to return TanzuKubernetesCluster resource by namespace.
func (ResourceListTanzukubernetesclusters) GetByUid ¶ added in v0.3.11
func (m ResourceListTanzukubernetesclusters) GetByUid(search string) ResourceTanzuKubernetesCluster
Function to return TanzuKubernetesCluster resource by uid.
type ResourceListTanzukubernetesreleases ¶ added in v0.3.11
type ResourceListTanzukubernetesreleases struct { Owner ResourceOwnerReference `json:"owner"` Tanzukubernetesreleases []ResourceTanzuKubernetesRelease `json:"tanzukubernetesreleases"` }
type for returning TanzuKubernetesRelease resources to internal functions
func (ResourceListTanzukubernetesreleases) GetByLabels ¶ added in v0.3.11
func (m ResourceListTanzukubernetesreleases) GetByLabels(search map[string]string) []ResourceTanzuKubernetesRelease
Function to return TanzuKubernetesRelease resource by label.
func (ResourceListTanzukubernetesreleases) GetByName ¶ added in v0.3.11
func (m ResourceListTanzukubernetesreleases) GetByName(search string) ResourceTanzuKubernetesRelease
Function to return TanzuKubernetesRelease resource by name.
func (ResourceListTanzukubernetesreleases) GetByUid ¶ added in v0.3.11
func (m ResourceListTanzukubernetesreleases) GetByUid(search string) ResourceTanzuKubernetesRelease
Function to return TanzuKubernetesRelease resource by uid.
type ResourceListVirtualmachineclassbindings ¶ added in v0.3.11
type ResourceListVirtualmachineclassbindings struct { Owner ResourceOwnerReference `json:"owner"` Virtualmachineclassbindings []ResourceVirtualMachineClassBinding `json:"virtualmachineclassbindings"` }
type for returning VirtualMachineClassBinding resources to internal functions
func (ResourceListVirtualmachineclassbindings) GetByLabels ¶ added in v0.3.11
func (m ResourceListVirtualmachineclassbindings) GetByLabels(search map[string]string) []ResourceVirtualMachineClassBinding
Function to return VirtualMachineClassBinding resource by label.
func (ResourceListVirtualmachineclassbindings) GetByName ¶ added in v0.3.11
func (m ResourceListVirtualmachineclassbindings) GetByName(search string) ResourceVirtualMachineClassBinding
Function to return VirtualMachineClassBinding resource by name.
func (ResourceListVirtualmachineclassbindings) GetByNamespace ¶ added in v0.3.11
func (m ResourceListVirtualmachineclassbindings) GetByNamespace(search string) ResourceVirtualMachineClassBinding
Function to return VirtualMachineClassBinding resource by namespace.
func (ResourceListVirtualmachineclassbindings) GetByUid ¶ added in v0.3.11
func (m ResourceListVirtualmachineclassbindings) GetByUid(search string) ResourceVirtualMachineClassBinding
Function to return VirtualMachineClassBinding resource by uid.
type ResourceListVirtualmachineclasses ¶ added in v0.3.11
type ResourceListVirtualmachineclasses struct { Owner ResourceOwnerReference `json:"owner"` Virtualmachineclasses []ResourceVirtualMachineClass `json:"virtualmachineclasses"` }
type for returning VirtualMachineClass resources to internal functions
func (ResourceListVirtualmachineclasses) GetByLabels ¶ added in v0.3.11
func (m ResourceListVirtualmachineclasses) GetByLabels(search map[string]string) []ResourceVirtualMachineClass
Function to return VirtualMachineClass resource by label.
func (ResourceListVirtualmachineclasses) GetByName ¶ added in v0.3.11
func (m ResourceListVirtualmachineclasses) GetByName(search string) ResourceVirtualMachineClass
Function to return VirtualMachineClass resource by name.
func (ResourceListVirtualmachineclasses) GetByUid ¶ added in v0.3.11
func (m ResourceListVirtualmachineclasses) GetByUid(search string) ResourceVirtualMachineClass
Function to return VirtualMachineClass resource by uid.
type ResourceListVirtualmachines ¶ added in v0.3.11
type ResourceListVirtualmachines struct { Owner ResourceOwnerReference `json:"owner"` Virtualmachines []ResourceVirtualMachine `json:"VirtualMachines"` }
type for returning VirtualMachine resources to internal functions
func (ResourceListVirtualmachines) GetByLabels ¶ added in v0.3.11
func (m ResourceListVirtualmachines) GetByLabels(search map[string]string) []ResourceVirtualMachine
Function to return VirtualMachine resource by label.
func (ResourceListVirtualmachines) GetByName ¶ added in v0.3.11
func (m ResourceListVirtualmachines) GetByName(search string) ResourceVirtualMachine
Function to return VirtualMachine resource by name.
func (ResourceListVirtualmachines) GetByUid ¶ added in v0.3.11
func (m ResourceListVirtualmachines) GetByUid(search string) ResourceVirtualMachine
Function to return VirtualMachine resource by uid.
type ResourceListVulnerabilityevents ¶ added in v0.3.11
type ResourceListVulnerabilityevents struct { Owner ResourceOwnerReference `json:"owner"` Vulnerabilityevents []ResourceVulnerabilityEvent `json:"vulnerabilityevents"` }
type for returning VulnerabilityEvent resources to internal functions
func (ResourceListVulnerabilityevents) GetByLabels ¶ added in v0.3.11
func (m ResourceListVulnerabilityevents) GetByLabels(search map[string]string) []ResourceVulnerabilityEvent
Function to return VulnerabilityEvent resource by label.
func (ResourceListVulnerabilityevents) GetByName ¶ added in v0.3.11
func (m ResourceListVulnerabilityevents) GetByName(search string) ResourceVulnerabilityEvent
Function to return VulnerabilityEvent resource by name.
func (ResourceListVulnerabilityevents) GetByUid ¶ added in v0.3.11
func (m ResourceListVulnerabilityevents) GetByUid(search string) ResourceVulnerabilityEvent
Function to return VulnerabilityEvent resource by uid.
type ResourceListVulnerabilityreports ¶ added in v0.3.11
type ResourceListVulnerabilityreports struct { Owner ResourceOwnerReference `json:"owner"` Vulnerabilityreports []ResourceVulnerabilityReport `json:"vulnerabilityreports"` }
type for returning VulnerabilityReport resources to internal functions
func (ResourceListVulnerabilityreports) GetByLabels ¶ added in v0.3.11
func (m ResourceListVulnerabilityreports) GetByLabels(search map[string]string) []ResourceVulnerabilityReport
Function to return VulnerabilityReport resource by label.
func (ResourceListVulnerabilityreports) GetByName ¶ added in v0.3.11
func (m ResourceListVulnerabilityreports) GetByName(search string) ResourceVulnerabilityReport
Function to return VulnerabilityReport resource by name.
func (ResourceListVulnerabilityreports) GetByNamespace ¶ added in v0.3.11
func (m ResourceListVulnerabilityreports) GetByNamespace(search string) ResourceVulnerabilityReport
Function to return VulnerabilityReport resource by namespace.
func (ResourceListVulnerabilityreports) GetByUid ¶ added in v0.3.11
func (m ResourceListVulnerabilityreports) GetByUid(search string) ResourceVulnerabilityReport
Function to return VulnerabilityReport resource by uid.
type ResourceMetadata ¶
type ResourceMetadata struct { Name string `json:"name"` ResourceVersion string `json:"resourceVersion"` CreationTimestamp string `json:"creationTimestamp"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Uid string `json:"uid"` Namespace string `json:"namespace,omitempty"` Generation int `json:"generation,omitempty"` OwnerReferences []ResourceMetadataOwnerReference `json:"ownerReferences,omitempty"` }
K8s metadata struct
type ResourceMetadataOwnerReference ¶
type ResourceMetadataOwnerReference struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Name string `json:"name"` Uid string `json:"uid"` }
K8s metadata.OwnerReferences struct
type ResourceModel ¶
type ResourceModel[T Resourcetypes] struct { Owner ResourceOwnerReference `json:"owner"` ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Uid string `json:"uid"` Hash string `json:"hash"` Internal bool `json:"internal"` Version ResourceVersion `json:"version"` Resource T `json:"resource"` }
Generic resourcemodels for single resource.
type ResourceModels ¶
type ResourceModels[T Resourcetypes] struct { Owner ResourceOwnerReference `json:"owner"` ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Resources []T `json:"resources"` }
Generic resourcemodels for multiple resources.
type ResourceNamespace ¶
type ResourceNamespace struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` }
K8s namepace struct
type ResourceNetworkPolicy ¶ added in v0.3.11
type ResourceNetworkPolicy struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceNetworkPolicySpec `json:"spec"` Status ResourceNetworkPolicyStatus `json:"status"` }
type ResourceNetworkPolicyCondition ¶ added in v0.3.11
type ResourceNetworkPolicyEgressRule ¶ added in v0.3.11
type ResourceNetworkPolicyEgressRule struct { Ports []ResourceNetworkPolicyPort `json:"ports"` To []ResourceNetworkPolicyPeer `json:"to"` }
type ResourceNetworkPolicyIngressRule ¶ added in v0.3.11
type ResourceNetworkPolicyIngressRule struct { From []ResourceNetworkPolicyPeer `json:"from"` Ports []ResourceNetworkPolicyPort `json:"ports"` }
type ResourceNetworkPolicyIpBlock ¶ added in v0.3.11
type ResourceNetworkPolicyPeer ¶ added in v0.3.11
type ResourceNetworkPolicyPeer struct { IpBlock *ResourceNetworkPolicyIpBlock `json:"ipBlock"` NamespaceSelector *ResourceNetworkPolicySelector `json:"namespaceSelector"` PodSelector *ResourceNetworkPolicySelector `json:"podSelector"` }
type ResourceNetworkPolicyPodSelector ¶ added in v0.3.11
type ResourceNetworkPolicyPort ¶ added in v0.3.11
type ResourceNetworkPolicyPort struct { Endport int `json:"endPort"` Port intstr.IntOrString `json:"port"` Protocol string `json:"protocol"` }
type ResourceNetworkPolicySelector ¶ added in v0.3.11
type ResourceNetworkPolicySelector struct { MatchExpressions []ResourceNetworkPolicySelectorExpression `json:"matchExpressions"` MatchLabels map[string]string `json:"matchLabels"` }
type ResourceNetworkPolicySelectorExpression ¶ added in v0.3.11
type ResourceNetworkPolicySpec ¶ added in v0.3.11
type ResourceNetworkPolicySpec struct { Egress []ResourceNetworkPolicyEgressRule `json:"egress"` Ingress []ResourceNetworkPolicyIngressRule `json:"ingress"` PodSelector ResourceNetworkPolicyPodSelector `json:"podSelector"` PolicyTypes []string `json:"policyTypes"` }
type ResourceNetworkPolicyStatus ¶ added in v0.3.11
type ResourceNetworkPolicyStatus struct {
Conditions []ResourceNetworkPolicyCondition `json:"conditions"`
}
type ResourceNode ¶
type ResourceNode struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceNodeSpec `json:"spec"` Status ResourceNodeStatus `json:"status"` }
K8s node struct
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 ResourceOwnerReference
deprecated
type ResourceOwnerReference struct { Scope aclmodels.Acl2Scope `json:"scope"` // cluster, workspace,... Subject string `json:"subject"` // ror id eg clusterId or workspaceName }
Deprecated: Use rortypes.RorResourceOwnerReference instead The ResourceOwnerReference or ownereref references the owner og a resource. Its used to chek acl and select resources for valid Scopes.
func (ResourceOwnerReference) GetQueryParams ¶
func (m ResourceOwnerReference) GetQueryParams() map[string]string
Returns a map to use in the `*Resty.Request.SetQueryParams(<ResourceOwnerReference>.GetQueryParams())“ function
type ResourcePersistentVolumeClaim ¶
type ResourcePersistentVolumeClaim struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourcePersistentVolumeClaimSpec `json:"spec"` Status ResourcePersistentVolumeClaimStatus `json:"status"` }
K8s PersistentVolumeClaim struct
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 { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourcePodSpec `json:"spec"` Status ResourcePodStatus `json:"status"` }
ResourcePod K8s namepace struct
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 { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Results []ResourcePolicyReportResults `json:"results"` Summary ResourcePolicyReportSummary `json:"summary"` LastReported string `json:"lastReported,omitempty"` }
K8s PolicyReport struct generated by kyverno
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 { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceProjectSpec `json:"spec"` }
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 ResourceProviderConfigKind ¶ added in v0.0.11
type ResourceProviderConfigKind struct { }
type ResourceQuery ¶
type ResourceQuery struct { Owner ResourceOwnerReference `json:"owner"` ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Uid string `json:"uid"` Internal bool Global bool }
Resource query used in the web facing resource services/repos
func NewResourceQueryFromClient ¶
func NewResourceQueryFromClient(c *gin.Context) ResourceQuery
type ResourceRbacAssessmentReport ¶
type ResourceRbacAssessmentReport struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Report ResourceVulnerabilityReportReport `json:"report"` }
K8s namepace struct
type ResourceRbacAssessmentReportReport ¶
type ResourceRbacAssessmentReportReport struct { Summary AquaReportSummary `json:"summary"` Scanner AquaReportScanner `json:"scanner"` }
type ResourceReplicaSet ¶
type ResourceReplicaSet struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceReplicaSetSpec `json:"spec"` Status ResourceReplicaSetStatus `json:"status"` }
K8s namepace struct
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 ResourceRoute ¶ added in v0.2.3
type ResourceRoute struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceRouteSpec `json:"spec"` }
Resource used by the switchboard microservice to determine notification routing
type ResourceRouteMessageType ¶ added in v0.2.3
type ResourceRouteReceiver ¶ added in v0.2.3
type ResourceRouteReceiver struct {
Slack []ResourceRouteSlackReceiver `json:"slack"`
}
type ResourceRouteSlackReceiver ¶ added in v0.2.3
type ResourceRouteSlackReceiver struct {
ChannelId string `json:"channelId"`
}
type ResourceRouteSpec ¶ added in v0.2.3
type ResourceRouteSpec struct { MessageType ResourceRouteMessageType `json:"messageType"` Receivers ResourceRouteReceiver `json:"receivers"` }
type ResourceService ¶
type ResourceService struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceServiceSpec `json:"spec"` }
ResourceService K8s PolicyReport struct generated by kyverno
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 ResourceSlackMessage ¶ added in v0.2.3
type ResourceSlackMessage struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceSlackMessageSpec `json:"spec"` Status []ResourceSlackMessageStatus `json:"status"` }
type ResourceSlackMessageResult ¶ added in v0.2.3
type ResourceSlackMessageResult int
const ( SLACK_MESSAGE_OK ResourceSlackMessageResult = iota SLACK_MESSAGE_ERROR SLACK_MESSAGE_UNKNOWN )
type ResourceSlackMessageSpec ¶ added in v0.2.3
type ResourceSlackMessageStatus ¶ added in v0.2.3
type ResourceSlackMessageStatus struct { Result ResourceSlackMessageResult `json:"result"` Timestamp time.Time `json:"timestamp"` Error any `json:"error"` }
type ResourceStatefulSet ¶
type ResourceStatefulSet struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Status ResourceStatefulSetStatus `json:"status"` }
K8s deployment struct
type ResourceStorageClass ¶
type ResourceStorageClass struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` AllowVolumeExpansion bool `json:"allowVolumeExpansion"` Provisioner string `json:"provisioner"` ReclaimPolicy string `json:"reclaimPolicy"` VolumeBindingMode string `json:"volumeBindingMode"` }
K8s StorageClass struct
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 { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceTanuzKuberntesMetadata `json:"metadata"` Spec ResourceTanuzKuberntesClusterSpec `json:"spec"` Status ResourceTanzuKubernetesClusterStatus `json:"status,omitempty"` }
ResourceTanzuKubernetesCluster K8s node struct
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 { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceTanzuKubernetesReleaseMetadata `json:"metadata"` Spec ResourceTanzuKubernetesReleaseSpec `json:"spec"` Status ResourceTanzuKubernetesReleaseStatus `json:"status"` }
ResourceTanzuKubernetesCluster K8s node struct Tanzu kubernetes release struct
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 ResourceUpdateModel ¶
type ResourceUpdateModel struct { Owner ResourceOwnerReference `json:"owner"` ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Uid string `json:"uid"` Action ResourceAction `json:"action,omitempty"` Hash string `json:"hash"` Version ResourceVersion `json:"version"` Resource any `json:"resource"` }
Resource update model to exchange resources. The value MUST be casted to its explicit value before its saved to mongodb.
type ResourceVersion ¶ added in v0.3.10
type ResourceVersion string
const ( ResourceVersionV1 ResourceVersion = "v1" ResourceVersionV2 ResourceVersion = "v2" )
type ResourceVirtualMachine ¶ added in v0.3.11
type ResourceVirtualMachine struct { ApiVersion string `json:"api_version"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Id string `json:"id"` Name string `json:"name"` Spec ResourceVirtualMachineSpec `json:"spec"` Status ResourceVirtualMachineStatus `json:"status"` }
type ResourceVirtualMachineClass ¶
type ResourceVirtualMachineClass struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceVirtualMachineClassMetadata `json:"metadata"` Spec ResourceVirtualMachineClassSpec `json:"spec"` Status map[string]string `json:"status"` }
ResourceTanzuKubernetesCluster K8s node struct Tanzu kubernetes release struct
type ResourceVirtualMachineClassBinding ¶
type ResourceVirtualMachineClassBinding struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceVirtualMachineClassBindingMetadata `json:"metadata"` ClassRef ResourceVirtualMachineClassBindingClassRef `json:"classRef"` }
ResourceTanzuKubernetesCluster K8s node struct Tanzu kubernetes release struct
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 ResourceVirtualMachineConfig ¶ added in v0.3.11
type ResourceVirtualMachineOperativeSystem ¶ added in v0.3.11
type ResourceVirtualMachineOperativeSystem struct { Id string `json:"id"` Family string `json:"family"` FullName string `json:"fullName"` HostName string `json:"hostName"` IpV4Address string `json:"ipV4Address"` IpV6Address string `json:"ipV6Address"` State string `json:"state"` }
The guest operating system running on the vm
type ResourceVirtualMachineRuntime ¶ added in v0.3.11
type ResourceVirtualMachineSpec ¶ added in v0.3.11
type ResourceVirtualMachineSpec struct { OperativeSystem ResourceVirtualMachineOperativeSystem `json:"guest"` Config ResourceVirtualMachineConfig `json:"config"` Runtime ResourceVirtualMachineRuntime `json:"runtime"` Tags []ResourceVirtualMachineTag `json:"tags"` }
Desired state
type ResourceVirtualMachineStatus ¶ added in v0.3.11
type ResourceVirtualMachineStatus struct { OperativeSystem ResourceVirtualMachineOperativeSystem `json:"guest"` Config ResourceVirtualMachineConfig `json:"config"` Runtime ResourceVirtualMachineRuntime `json:"runtime"` Tags []ResourceVirtualMachineTag `json:"tags"` }
Observed state
type ResourceVirtualMachineTag ¶ added in v0.3.11
type ResourceVulnerabilityEvent ¶ added in v0.3.10
type ResourceVulnerabilityEvent struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceVulnerabilityEventSpec `json:"spec"` }
type ResourceVulnerabilityEventSpec ¶ added in v0.3.10
type ResourceVulnerabilityEventSpec struct { Owner rortypes.RorResourceOwnerReference `json:"owner"` Message string `json:"message"` }
type ResourceVulnerabilityReport ¶
type ResourceVulnerabilityReport struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Report ResourceVulnerabilityReportReport `json:"report"` }
K8s namepace struct
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 ResourceVulnerabilityWhitelist ¶ added in v0.3.11
type ResourceVulnerabilityWhitelist struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata ResourceMetadata `json:"metadata"` Spec ResourceVulnerabilityWhitelistSpec `json:"spec"` }
type ResourceVulnerabilityWhitelistSpec ¶ added in v0.3.11
type ResourceVulnerabilityWhitelistSpec struct { Owner rortypes.RorResourceOwnerReference `json:"owner"` Message string `json:"message"` }
type Resourcetypes ¶
type Resourcetypes interface { ResourceNamespace | ResourceNode | ResourcePersistentVolumeClaim | ResourceDeployment | ResourceStorageClass | ResourcePolicyReport | ResourceApplication | ResourceAppProject | ResourceCertificate | ResourceService | ResourcePod | ResourceReplicaSet | ResourceStatefulSet | ResourceDaemonSet | ResourceIngress | ResourceIngressClass | ResourceVulnerabilityReport | ResourceExposedSecretReport | ResourceConfigAuditReport | ResourceRbacAssessmentReport | ResourceTanzuKubernetesCluster | ResourceTanzuKubernetesRelease | ResourceVirtualMachineClass | ResourceVirtualMachineClassBinding | ResourceKubernetesCluster | ResourceClusterOrder | ResourceProject | ResourceConfiguration | ResourceClusterComplianceReport | ResourceClusterVulnerabilityReport | ResourceRoute | ResourceSlackMessage | ResourceVulnerabilityEvent | ResourceVirtualMachine | ResourceEndpoints | ResourceNetworkPolicy }
Resourcetypes allowed in the generic resource models.
type SensitivityLevel ¶
type SensitivityLevel int
const ( SensitivityLevelUnknown SensitivityLevel = iota SensitivityLevelNormal SensitivityLevel = 1 SensitivityLevelModerate SensitivityLevel = 2 SensitivityLevelHigh SensitivityLevel = 3 SensitivityLevelCritical SensitivityLevel = 4 )
Source Files ¶
- resource_models.go
- resource_models_generated.go
- resource_models_methods_generated.go
- resourcedef_application.go
- resourcedef_appproject.go
- resourcedef_certificate.go
- resourcedef_clustercompliancereport.go
- resourcedef_clustervulnerabilityreport.go
- resourcedef_configauditreport.go
- resourcedef_daemonset.go
- resourcedef_deployment.go
- resourcedef_endpoints.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_networkpolicy.go
- resourcedef_node.go
- resourcedef_persistantvolumeclaim.go
- resourcedef_pod.go
- resourcedef_policyreport.go
- resourcedef_rbacassessmentreport.go
- resourcedef_replicaset.go
- resourcedef_route.go
- resourcedef_service.go
- resourcedef_slackmessage.go
- resourcedef_statefulset.go
- resourcedef_storageclass.go
- resourcedef_tanzukubernetescluster.go
- resourcedef_tanzukubernetesreleases.go
- resourcedef_tanzuvirtualmachineclass.go
- resourcedef_tanzuvirtualmachineclassbindings.go
- resourcedef_vm.go
- resourcedef_vulnerabilityevent.go
- resourcedef_vulnerabilityreport.go
- resourcedef_vulnerabilitywhitelist.go