Documentation
¶
Overview ¶
Package assert provides partial-matching assertion structs for Kubernetes resources. Tests describe only the fields they care about via assertion structs; Partial walks the struct via reflection and ignores any field left at its zero value.
Re-generate the struct catalogue (zz_generated.go) with:
go generate ./assert/...
Index ¶
- func Partial[T Assertable](t *testing.T, actual any, assertion T, msgAndArgs ...any)
- func Ptr[T any](v T) *T
- type APIGroupAssertion
- type APIResourceAssertion
- type APIServerConfigAssertion
- type APIVersionsAssertion
- type AWSElasticBlockStoreVolumeSourceAssertion
- type AffinityAssertion
- type AggregationRuleAssertion
- type AlertingSpecAssertion
- type AlertmanagerAssertion
- type AlertmanagerConfigMatcherStrategyAssertion
- type AlertmanagerConfigurationAssertion
- type AlertmanagerEndpointsAssertion
- type AlertmanagerGlobalConfigAssertion
- type AlertmanagerLimitsSpecAssertion
- type AlertmanagerSpecAssertion
- type AlertmanagerWebSpecAssertion
- type AllowedListenersAssertion
- type AllowedRoutesAssertion
- type ApisGroupVersionAssertion
- type ApisHTTPHeaderAssertion
- type ApisLocalObjectReferenceAssertion
- type ApisObjectReferenceAssertion
- type ApisParentReferenceAssertion
- type ApisSchemeGroupVersionAssertion
- type ApisTLSConfigAssertion
- type AppArmorProfileAssertion
- type ApplyOptionsAssertion
- type AppsRollingUpdateStatefulSetStrategyAssertion
- type AppsSchemeGroupVersionAssertion
- type AppsStatefulSetUpdateStrategyAssertion
- type ArbitraryFSAccessThroughSMsConfigAssertion
- type ArgumentAssertion
- type Assertable
- type AttachMetadataAssertion
- type AttachedVolumeAssertion
- type AuthorizationAssertion
- type AutoscalingSchemeGroupVersionAssertion
- type AvoidPodsAssertion
- type AzureADAssertion
- type AzureDiskVolumeSourceAssertion
- type AzureFilePersistentVolumeSourceAssertion
- type AzureFileVolumeSourceAssertion
- type AzureOAuthAssertion
- type AzureSDKAssertion
- type AzureWorkloadIdentityAssertion
- type BackendObjectReferenceAssertion
- type BackendRefAssertion
- type BackendTLSPolicyAssertion
- type BackendTLSPolicySpecAssertion
- type BackendTLSPolicyValidationAssertion
- type BasicAuthAssertion
- type BatchSchemeGroupVersionAssertion
- type BindingAssertion
- type CSIDriverAssertion
- type CSIDriverSpecAssertion
- type CSINodeAssertion
- type CSINodeDriverAssertion
- type CSINodeSpecAssertion
- type CSIPersistentVolumeSourceAssertion
- type CSIStorageCapacityAssertion
- type CSIVolumeSourceAssertion
- type CapabilitiesAssertion
- type CephFSPersistentVolumeSourceAssertion
- type CephFSVolumeSourceAssertion
- type CinderPersistentVolumeSourceAssertion
- type CinderVolumeSourceAssertion
- type ClientIPConfigAssertion
- type ClusterRoleAssertion
- type ClusterRoleBindingAssertion
- type ClusterTLSConfigAssertion
- type ClusterTrustBundleProjectionAssertion
- type CommonPrometheusFieldsAssertion
- type CommonRouteSpecAssertion
- type ComponentConditionAssertion
- type ConfigMapAssertion
- type ConfigMapEnvSourceAssertion
- type ConfigMapKeySelectorAssertion
- type ConfigMapNodeConfigSourceAssertion
- type ConfigMapProjectionAssertion
- type ConfigMapVolumeSourceAssertion
- type ConfigResourceConditionAssertion
- type ContainerAssertion
- type ContainerExtendedResourceRequestAssertion
- type ContainerImageAssertion
- type ContainerPortAssertion
- type ContainerResizePolicyAssertion
- type ContainerResourceMetricSourceAssertion
- type ContainerRestartRuleAssertion
- type ContainerRestartRuleOnExitCodesAssertion
- type ContainerStateAssertion
- type ContainerStateRunningAssertion
- type ContainerStateTerminatedAssertion
- type ContainerStateWaitingAssertion
- type ContainerUserAssertion
- type ControllerRevisionAssertion
- type CookieConfigAssertion
- type CoreHTTPHeaderAssertion
- type CoreHostAliasAssertion
- type CoreLocalObjectReferenceAssertion
- type CoreObjectReferenceAssertion
- type CorePodDNSConfigAssertion
- type CorePodDNSConfigOptionAssertion
- type CorePreconditionsAssertion
- type CoreProbeAssertion
- type CoreSchemeGroupVersionAssertion
- type CoreTopologySpreadConstraintAssertion
- type CoreV1TopologySpreadConstraintAssertion
- type CreateOptionsAssertion
- type CronJobAssertion
- type CronJobSpecAssertion
- type CrossVersionObjectReferenceAssertion
- type DaemonEndpointAssertion
- type DaemonSetAssertion
- type DaemonSetConditionAssertion
- type DaemonSetSpecAssertion
- type DaemonSetUpdateStrategyAssertion
- type DeleteOptionsAssertion
- type DeploymentAssertion
- type DeploymentConditionAssertion
- type DeploymentSpecAssertion
- type DeploymentStrategyAssertion
- type DownwardAPIProjectionAssertion
- type DownwardAPIVolumeFileAssertion
- type DownwardAPIVolumeSourceAssertion
- type DurationAssertion
- type EmbeddedObjectMetadataAssertion
- type EmbeddedPersistentVolumeClaimAssertion
- type EmptyDirVolumeSourceAssertion
- type EndpointAddressAssertion
- type EndpointAssertion
- type EndpointPortAssertion
- type EndpointSubsetAssertion
- type EndpointsAssertion
- type EnvFromSourceAssertion
- type EnvVarAssertion
- type EnvVarSourceAssertion
- type EphemeralContainerAssertion
- type EphemeralContainerCommonAssertion
- type EphemeralVolumeSourceAssertion
- type EventAssertion
- type EventSeriesAssertion
- type EventSourceAssertion
- type EvictionAssertion
- type ExecActionAssertion
- type ExemplarsAssertion
- type ExternalMetricSourceAssertion
- type FCVolumeSourceAssertion
- type FieldSelectorRequirementAssertion
- type FieldsV1Assertion
- type FileKeySelectorAssertion
- type FlexPersistentVolumeSourceAssertion
- type FlexVolumeSourceAssertion
- type FlockerVolumeSourceAssertion
- type ForwardBodyConfigAssertion
- type FractionAssertion
- type FrontendTLSConfigAssertion
- type FrontendTLSValidationAssertion
- type GCEPersistentDiskVolumeSourceAssertion
- type GRPCActionAssertion
- type GRPCAuthConfigAssertion
- type GRPCBackendRefAssertion
- type GRPCHeaderMatchAssertion
- type GRPCMethodMatchAssertion
- type GRPCRouteAssertion
- type GRPCRouteFilterAssertion
- type GRPCRouteMatchAssertion
- type GRPCRouteRuleAssertion
- type GRPCRouteSpecAssertion
- type GRPCServerTLSConfigAssertion
- type GatewayAssertion
- type GatewayBackendTLSAssertion
- type GatewayClassAssertion
- type GatewayClassSpecAssertion
- type GatewayInfrastructureAssertion
- type GatewaySpecAddressAssertion
- type GatewaySpecAssertion
- type GatewayStatusAddressAssertion
- type GatewayTLSConfigAssertion
- type GetOptionsAssertion
- type GitRepoVolumeSourceAssertion
- type GlobalJiraConfigAssertion
- type GlobalMattermostConfigAssertion
- type GlobalRocketChatConfigAssertion
- type GlobalSMTPConfigAssertion
- type GlobalTelegramConfigAssertion
- type GlobalVictorOpsConfigAssertion
- type GlobalWeChatConfigAssertion
- type GlobalWebexConfigAssertion
- type GlusterfsPersistentVolumeSourceAssertion
- type GlusterfsVolumeSourceAssertion
- type GroupKindAssertion
- type GroupResourceAssertion
- type GroupVersionForDiscoveryAssertion
- type GroupVersionKindAssertion
- type GroupVersionResourceAssertion
- type HPAScalingPolicyAssertion
- type HPAScalingRulesAssertion
- type HTTPAuthConfigAssertion
- type HTTPBackendRefAssertion
- type HTTPCORSFilterAssertion
- type HTTPConfigAssertion
- type HTTPConfigWithProxyAndTLSFilesAssertion
- type HTTPConfigWithProxyAssertion
- type HTTPConfigWithTLSFilesAssertion
- type HTTPConfigWithoutTLSAssertion
- type HTTPExternalAuthFilterAssertion
- type HTTPGetActionAssertion
- type HTTPHeaderFilterAssertion
- type HTTPHeaderMatchAssertion
- type HTTPIngressPathAssertion
- type HTTPIngressRuleValueAssertion
- type HTTPPathMatchAssertion
- type HTTPPathModifierAssertion
- type HTTPQueryParamMatchAssertion
- type HTTPRequestMirrorFilterAssertion
- type HTTPRequestRedirectFilterAssertion
- type HTTPRouteAssertion
- type HTTPRouteFilterAssertion
- type HTTPRouteMatchAssertion
- type HTTPRouteRetryAssertion
- type HTTPRouteRuleAssertion
- type HTTPRouteSpecAssertion
- type HTTPRouteTimeoutsAssertion
- type HTTPURLRewriteFilterAssertion
- type HorizontalPodAutoscalerAssertion
- type HorizontalPodAutoscalerBehaviorAssertion
- type HorizontalPodAutoscalerConditionAssertion
- type HorizontalPodAutoscalerSpecAssertion
- type HostIPAssertion
- type HostPathVolumeSourceAssertion
- type HostPortAssertion
- type IPAddressAssertion
- type IPAddressSpecAssertion
- type IPBlockAssertion
- type ISCSIPersistentVolumeSourceAssertion
- type ISCSIVolumeSourceAssertion
- type ImageVolumeSourceAssertion
- type IngressAssertion
- type IngressBackendAssertion
- type IngressClassAssertion
- type IngressClassParametersReferenceAssertion
- type IngressClassSpecAssertion
- type IngressLoadBalancerIngressAssertion
- type IngressRuleAssertion
- type IngressRuleValueAssertion
- type IngressServiceBackendAssertion
- type IngressSpecAssertion
- type IngressTLSAssertion
- type IntOrStringAssertion
- type InternalEventAssertion
- type JobAssertion
- type JobConditionAssertion
- type JobSpecAssertion
- type JobTemplateSpecAssertion
- type KeyToPathAssertion
- type LabelSelectorAssertion
- type LabelSelectorRequirementAssertion
- type LifecycleAssertion
- type LifecycleHandlerAssertion
- type LimitRangeAssertion
- type LimitRangeItemAssertion
- type LimitRangeSpecAssertion
- type LinuxContainerUserAssertion
- type ListMetaAssertion
- type ListOptionsAssertion
- type ListenerAssertion
- type ListenerEntryAssertion
- type ListenerNamespacesAssertion
- type ListenerSetAssertion
- type ListenerSetSpecAssertion
- type ListenerTLSConfigAssertion
- type LoadBalancerIngressAssertion
- type LocalParametersReferenceAssertion
- type LocalPolicyTargetReferenceAssertion
- type LocalPolicyTargetReferenceWithSectionNameAssertion
- type LocalVolumeSourceAssertion
- type ManagedFieldsEntryAssertion
- type ManagedIdentityAssertion
- type MetaConditionAssertion
- type MetaGroupVersionAssertion
- type MetaPreconditionsAssertion
- type MetaSchemeGroupVersionAssertion
- type MetadataConfigAssertion
- type MetricIdentifierAssertion
- type MetricSpecAssertion
- type MetricTargetAssertion
- type MicroTimeAssertion
- type MonitoringConditionAssertion
- type MonitoringHostAliasAssertion
- type MonitoringObjectReferenceAssertion
- type MonitoringPodDNSConfigAssertion
- type MonitoringPodDNSConfigOptionAssertion
- type MonitoringProbeAssertion
- type MonitoringRollingUpdateStatefulSetStrategyAssertion
- type MonitoringSchemeGroupVersionAssertion
- type MonitoringStatefulSetUpdateStrategyAssertion
- type MonitoringTLSConfigAssertion
- type MonitoringTopologySpreadConstraintAssertion
- type NFSVolumeSourceAssertion
- type NamespaceAssertion
- type NamespaceConditionAssertion
- type NamespaceSelectorAssertion
- type NamespaceSpecAssertion
- type NamespacedPolicyTargetReferenceAssertion
- type NativeHistogramConfigAssertion
- type NetworkPolicyAssertion
- type NetworkPolicyEgressRuleAssertion
- type NetworkPolicyIngressRuleAssertion
- type NetworkPolicyPeerAssertion
- type NetworkPolicyPortAssertion
- type NetworkPolicySpecAssertion
- type NetworkingParentReferenceAssertion
- type NetworkingSchemeGroupVersionAssertion
- type NodeAddressAssertion
- type NodeAffinityAssertion
- type NodeAssertion
- type NodeConditionAssertion
- type NodeConfigSourceAssertion
- type NodeDaemonEndpointsAssertion
- type NodeFeaturesAssertion
- type NodeProxyOptionsAssertion
- type NodeRuntimeHandlerAssertion
- type NodeRuntimeHandlerFeaturesAssertion
- type NodeSelectorAssertion
- type NodeSelectorRequirementAssertion
- type NodeSelectorTermAssertion
- type NodeSpecAssertion
- type NodeSystemInfoAssertion
- type OAuth2Assertion
- type OTLPConfigAssertion
- type ObjectFieldSelectorAssertion
- type ObjectMetaAssertion
- type ObjectMetricSourceAssertion
- type Opt
- type OwnerReferenceAssertion
- type ParametersReferenceAssertion
- type ParentGatewayReferenceAssertion
- type PartialObjectMetadataAssertion
- type PatchAssertion
- type PatchOptionsAssertion
- type PersistentVolumeAssertion
- type PersistentVolumeClaimAssertion
- type PersistentVolumeClaimConditionAssertion
- type PersistentVolumeClaimSpecAssertion
- type PersistentVolumeClaimTemplateAssertion
- type PersistentVolumeClaimVolumeSourceAssertion
- type PersistentVolumeSourceAssertion
- type PersistentVolumeSpecAssertion
- type PhotonPersistentDiskVolumeSourceAssertion
- type PodAffinityAssertion
- type PodAffinityTermAssertion
- type PodAntiAffinityAssertion
- type PodAssertion
- type PodAttachOptionsAssertion
- type PodCertificateProjectionAssertion
- type PodConditionAssertion
- type PodDisruptionBudgetAssertion
- type PodDisruptionBudgetSpecAssertion
- type PodExecOptionsAssertion
- type PodFailurePolicyAssertion
- type PodFailurePolicyOnExitCodesRequirementAssertion
- type PodFailurePolicyOnPodConditionsPatternAssertion
- type PodFailurePolicyRuleAssertion
- type PodIPAssertion
- type PodLogOptionsAssertion
- type PodMetricsEndpointAssertion
- type PodMonitorAssertion
- type PodMonitorSpecAssertion
- type PodOSAssertion
- type PodPortForwardOptionsAssertion
- type PodProxyOptionsAssertion
- type PodReadinessGateAssertion
- type PodResourceClaimAssertion
- type PodSchedulingGateAssertion
- type PodSchedulingGroupAssertion
- type PodSecurityContextAssertion
- type PodSignatureAssertion
- type PodSpecAssertion
- type PodStatusResultAssertion
- type PodTemplateAssertion
- type PodTemplateSpecAssertion
- type PodsMetricSourceAssertion
- type PolicyRuleAssertion
- type PolicySchemeGroupVersionAssertion
- type PortworxVolumeSourceAssertion
- type PreferAvoidPodsEntryAssertion
- type PreferredSchedulingTermAssertion
- type ProbeHandlerAssertion
- type ProbeParamAssertion
- type ProbeSpecAssertion
- type ProbeTargetIngressAssertion
- type ProbeTargetStaticConfigAssertion
- type ProbeTargetsAssertion
- type ProberSpecAssertion
- type ProjectedVolumeSourceAssertion
- type PrometheusAssertion
- type PrometheusRuleAssertion
- type PrometheusRuleExcludeConfigAssertion
- type PrometheusRuleSpecAssertion
- type PrometheusSpecAssertion
- type PrometheusWebSpecAssertion
- type ProxyConfigAssertion
- type QuantityAssertion
- type QuantityValueAssertion
- type QuerySpecAssertion
- type QueueConfigAssertion
- type QuobyteVolumeSourceAssertion
- type RBDPersistentVolumeSourceAssertion
- type RBDVolumeSourceAssertion
- type RangeAllocationAssertion
- type RbacSchemeGroupVersionAssertion
- type ReferenceGrantAssertion
- type ReferenceGrantFromAssertion
- type ReferenceGrantSpecAssertion
- type ReferenceGrantToAssertion
- type RelabelConfigAssertion
- type RemoteReadSpecAssertion
- type RemoteWriteSpecAssertion
- type ReplicaSetAssertion
- type ReplicaSetConditionAssertion
- type ReplicaSetSpecAssertion
- type ReplicationControllerAssertion
- type ReplicationControllerConditionAssertion
- type ReplicationControllerSpecAssertion
- type ResourceClaimAssertion
- type ResourceFieldSelectorAssertion
- type ResourceHealthAssertion
- type ResourceMetricSourceAssertion
- type ResourceQuotaAssertion
- type ResourceQuotaSpecAssertion
- type ResourceRequirementsAssertion
- type RetainConfigAssertion
- type RoleAssertion
- type RoleBindingAssertion
- type RoleRefAssertion
- type RollingUpdateDaemonSetAssertion
- type RollingUpdateDeploymentAssertion
- type RootPathsAssertion
- type RouteGroupKindAssertion
- type RouteNamespacesAssertion
- type RuleAssertion
- type RuleGroupAssertion
- type RulesAlertAssertion
- type RulesAssertion
- type RuntimeConfigAssertion
- type SELinuxOptionsAssertion
- type SafeAuthorizationAssertion
- type SafeTLSConfigAssertion
- type ScaleIOPersistentVolumeSourceAssertion
- type ScaleIOVolumeSourceAssertion
- type ScopeSelectorAssertion
- type ScopedResourceSelectorRequirementAssertion
- type ScrapeClassAssertion
- type SeccompProfileAssertion
- type SecretAssertion
- type SecretEnvSourceAssertion
- type SecretKeySelectorAssertion
- type SecretObjectReferenceAssertion
- type SecretOrConfigMapAssertion
- type SecretProjectionAssertion
- type SecretReferenceAssertion
- type SecretVolumeSourceAssertion
- type SecurityContextAssertion
- type SerializedReferenceAssertion
- type ServerAddressByClientCIDRAssertion
- type ServiceAccountAssertion
- type ServiceAccountTokenProjectionAssertion
- type ServiceAssertion
- type ServiceBackendPortAssertion
- type ServiceCIDRAssertion
- type ServiceCIDRSpecAssertion
- type ServiceMonitorAssertion
- type ServiceMonitorSpecAssertion
- type ServicePortAssertion
- type ServiceProxyOptionsAssertion
- type ServiceSpecAssertion
- type SessionAffinityConfigAssertion
- type SessionPersistenceAssertion
- type ShardInfoAssertion
- type ShardRetentionPolicyAssertion
- type ShardingStrategyAssertion
- type Sigv4Assertion
- type SleepActionAssertion
- type StatefulSetAssertion
- type StatefulSetConditionAssertion
- type StatefulSetOrdinalsAssertion
- type StatefulSetPersistentVolumeClaimRetentionPolicyAssertion
- type StatefulSetSpecAssertion
- type StatusCauseAssertion
- type StatusDetailsAssertion
- type StorageClassAssertion
- type StorageOSPersistentVolumeSourceAssertion
- type StorageOSVolumeSourceAssertion
- type StorageSchemeGroupVersionAssertion
- type StorageSpecAssertion
- type SubjectAltNameAssertion
- type SubjectAssertion
- type SuccessPolicyAssertion
- type SuccessPolicyRuleAssertion
- type SupportedFeatureAssertion
- type SysctlAssertion
- type TCPSocketActionAssertion
- type TLSFilesConfigAssertion
- type TLSPortConfigAssertion
- type TLSRouteAssertion
- type TLSRouteRuleAssertion
- type TLSRouteSpecAssertion
- type TSDBSpecAssertion
- type TableAssertion
- type TableColumnDefinitionAssertion
- type TableOptionsAssertion
- type TableRowAssertion
- type TableRowConditionAssertion
- type TaintAssertion
- type ThanosRulerAssertion
- type ThanosRulerSpecAssertion
- type ThanosRulerWebSpecAssertion
- type ThanosSpecAssertion
- type TimeAssertion
- type TimestampAssertion
- type TokenRequestAssertion
- type TolerationAssertion
- type TopologySelectorLabelRequirementAssertion
- type TopologySelectorTermAssertion
- type TopologyShardingStrategyAssertion
- type TracingConfigAssertion
- type TypeMetaAssertion
- type TypedLocalObjectReferenceAssertion
- type TypedObjectReferenceAssertion
- type UncountedTerminatedPodsAssertion
- type UnversionedAssertion
- type UpdateOptionsAssertion
- type VolumeAssertion
- type VolumeAttachmentAssertion
- type VolumeAttachmentSourceAssertion
- type VolumeAttachmentSpecAssertion
- type VolumeAttributesClassAssertion
- type VolumeDeviceAssertion
- type VolumeErrorAssertion
- type VolumeMountAssertion
- type VolumeNodeAffinityAssertion
- type VolumeNodeResourcesAssertion
- type VolumeProjectionAssertion
- type VolumeResourceRequirementsAssertion
- type VolumeSourceAssertion
- type VsphereVirtualDiskVolumeSourceAssertion
- type WatchEventAssertion
- type WebConfigFileFieldsAssertion
- type WebHTTPConfigAssertion
- type WebHTTPHeadersAssertion
- type WebTLSConfigAssertion
- type WeightedPodAffinityTermAssertion
- type WindowsSecurityContextOptionsAssertion
- type WorkloadBindingAssertion
- type ZeroAssertion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Partial ¶
func Partial[T Assertable]( t *testing.T, actual any, assertion T, msgAndArgs ...any, )
Partial walks the assertion struct via reflection and compares set fields against actual. Fields left at their zero value are skipped.
actual may be a struct or a pointer to a struct. assertion must implement Assertable. msgAndArgs is forwarded to the underlying require calls.
Types ¶
type APIGroupAssertion ¶
type APIGroupAssertion struct {
TypeMeta TypeMetaAssertion
Name Opt[string]
Versions Opt[[]GroupVersionForDiscoveryAssertion]
PreferredVersion GroupVersionForDiscoveryAssertion
ServerAddressByClientCIDRs Opt[[]ServerAddressByClientCIDRAssertion]
}
APIGroupAssertion is the assertion struct for APIGroup.
func (APIGroupAssertion) IsAssertable ¶
func (_ APIGroupAssertion) IsAssertable()
IsAssertable marks APIGroupAssertion as an Assertable.
type APIResourceAssertion ¶
type APIResourceAssertion struct {
Name Opt[string]
SingularName Opt[string]
Namespaced Opt[bool]
Group Opt[string]
Version Opt[string]
Kind Opt[string]
Verbs Opt[v17.Verbs]
ShortNames Opt[[]string]
Categories Opt[[]string]
StorageVersionHash Opt[string]
}
APIResourceAssertion is the assertion struct for APIResource.
func (APIResourceAssertion) IsAssertable ¶
func (_ APIResourceAssertion) IsAssertable()
IsAssertable marks APIResourceAssertion as an Assertable.
type APIServerConfigAssertion ¶
type APIServerConfigAssertion struct {
Host Opt[string]
BasicAuth BasicAuthAssertion
BearerTokenFile Opt[string]
TLSConfig MonitoringTLSConfigAssertion
Authorization AuthorizationAssertion
BearerToken Opt[string]
ProxyConfig ProxyConfigAssertion
}
APIServerConfigAssertion is the assertion struct for APIServerConfig.
func (APIServerConfigAssertion) IsAssertable ¶
func (_ APIServerConfigAssertion) IsAssertable()
IsAssertable marks APIServerConfigAssertion as an Assertable.
type APIVersionsAssertion ¶
type APIVersionsAssertion struct {
TypeMeta TypeMetaAssertion
Versions Opt[[]string]
ServerAddressByClientCIDRs Opt[[]ServerAddressByClientCIDRAssertion]
}
APIVersionsAssertion is the assertion struct for APIVersions.
func (APIVersionsAssertion) IsAssertable ¶
func (_ APIVersionsAssertion) IsAssertable()
IsAssertable marks APIVersionsAssertion as an Assertable.
type AWSElasticBlockStoreVolumeSourceAssertion ¶
type AWSElasticBlockStoreVolumeSourceAssertion struct {
VolumeID Opt[string]
FSType Opt[string]
Partition Opt[int32]
ReadOnly Opt[bool]
}
AWSElasticBlockStoreVolumeSourceAssertion is the assertion struct for AWSElasticBlockStoreVolumeSource.
func (AWSElasticBlockStoreVolumeSourceAssertion) IsAssertable ¶
func (_ AWSElasticBlockStoreVolumeSourceAssertion) IsAssertable()
IsAssertable marks AWSElasticBlockStoreVolumeSourceAssertion as an Assertable.
type AffinityAssertion ¶
type AffinityAssertion struct {
NodeAffinity NodeAffinityAssertion
PodAffinity PodAffinityAssertion
PodAntiAffinity PodAntiAffinityAssertion
}
AffinityAssertion is the assertion struct for Affinity.
func (AffinityAssertion) IsAssertable ¶
func (_ AffinityAssertion) IsAssertable()
IsAssertable marks AffinityAssertion as an Assertable.
type AggregationRuleAssertion ¶
type AggregationRuleAssertion struct {
ClusterRoleSelectors Opt[[]LabelSelectorAssertion]
}
AggregationRuleAssertion is the assertion struct for AggregationRule.
func (AggregationRuleAssertion) IsAssertable ¶
func (_ AggregationRuleAssertion) IsAssertable()
IsAssertable marks AggregationRuleAssertion as an Assertable.
type AlertingSpecAssertion ¶
type AlertingSpecAssertion struct {
Alertmanagers Opt[[]AlertmanagerEndpointsAssertion]
}
AlertingSpecAssertion is the assertion struct for AlertingSpec.
func (AlertingSpecAssertion) IsAssertable ¶
func (_ AlertingSpecAssertion) IsAssertable()
IsAssertable marks AlertingSpecAssertion as an Assertable.
type AlertmanagerAssertion ¶
type AlertmanagerAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec AlertmanagerSpecAssertion
Status Opt[v1.AlertmanagerStatus]
}
AlertmanagerAssertion is the assertion struct for Alertmanager.
func (AlertmanagerAssertion) IsAssertable ¶
func (_ AlertmanagerAssertion) IsAssertable()
IsAssertable marks AlertmanagerAssertion as an Assertable.
type AlertmanagerConfigMatcherStrategyAssertion ¶
type AlertmanagerConfigMatcherStrategyAssertion struct {
Type Opt[v1.AlertmanagerConfigMatcherStrategyType]
}
AlertmanagerConfigMatcherStrategyAssertion is the assertion struct for AlertmanagerConfigMatcherStrategy.
func (AlertmanagerConfigMatcherStrategyAssertion) IsAssertable ¶
func (_ AlertmanagerConfigMatcherStrategyAssertion) IsAssertable()
IsAssertable marks AlertmanagerConfigMatcherStrategyAssertion as an Assertable.
type AlertmanagerConfigurationAssertion ¶
type AlertmanagerConfigurationAssertion struct {
Name Opt[string]
Global AlertmanagerGlobalConfigAssertion
Templates Opt[[]SecretOrConfigMapAssertion]
}
AlertmanagerConfigurationAssertion is the assertion struct for AlertmanagerConfiguration.
func (AlertmanagerConfigurationAssertion) IsAssertable ¶
func (_ AlertmanagerConfigurationAssertion) IsAssertable()
IsAssertable marks AlertmanagerConfigurationAssertion as an Assertable.
type AlertmanagerEndpointsAssertion ¶
type AlertmanagerEndpointsAssertion struct {
Namespace Opt[*string]
Name Opt[string]
Port IntOrStringAssertion
Scheme Opt[*v1.Scheme]
PathPrefix Opt[*string]
TLSConfig MonitoringTLSConfigAssertion
BasicAuth BasicAuthAssertion
BearerTokenFile Opt[string]
Authorization SafeAuthorizationAssertion
Sigv4 Sigv4Assertion
ProxyConfig ProxyConfigAssertion
APIVersion Opt[*v1.AlertmanagerAPIVersion]
Timeout Opt[*v1.Duration]
EnableHttp2 Opt[*bool]
RelabelConfigs Opt[[]RelabelConfigAssertion]
AlertRelabelConfigs Opt[[]RelabelConfigAssertion]
}
AlertmanagerEndpointsAssertion is the assertion struct for AlertmanagerEndpoints.
func (AlertmanagerEndpointsAssertion) IsAssertable ¶
func (_ AlertmanagerEndpointsAssertion) IsAssertable()
IsAssertable marks AlertmanagerEndpointsAssertion as an Assertable.
type AlertmanagerGlobalConfigAssertion ¶
type AlertmanagerGlobalConfigAssertion struct {
SMTPConfig GlobalSMTPConfigAssertion
ResolveTimeout Opt[v1.Duration]
HTTPConfigWithProxy HTTPConfigWithProxyAssertion
SlackAPIURL SecretKeySelectorAssertion
OpsGenieAPIURL SecretKeySelectorAssertion
OpsGenieAPIKey SecretKeySelectorAssertion
PagerdutyURL Opt[*v1.URL]
TelegramConfig GlobalTelegramConfigAssertion
JiraConfig GlobalJiraConfigAssertion
VictorOpsConfig GlobalVictorOpsConfigAssertion
RocketChatConfig GlobalRocketChatConfigAssertion
WebexConfig GlobalWebexConfigAssertion
WeChatConfig GlobalWeChatConfigAssertion
MattermostConfig GlobalMattermostConfigAssertion
}
AlertmanagerGlobalConfigAssertion is the assertion struct for AlertmanagerGlobalConfig.
func (AlertmanagerGlobalConfigAssertion) IsAssertable ¶
func (_ AlertmanagerGlobalConfigAssertion) IsAssertable()
IsAssertable marks AlertmanagerGlobalConfigAssertion as an Assertable.
type AlertmanagerLimitsSpecAssertion ¶
type AlertmanagerLimitsSpecAssertion struct {
MaxSilences Opt[*int32]
MaxPerSilenceBytes Opt[*v1.ByteSize]
}
AlertmanagerLimitsSpecAssertion is the assertion struct for AlertmanagerLimitsSpec.
func (AlertmanagerLimitsSpecAssertion) IsAssertable ¶
func (_ AlertmanagerLimitsSpecAssertion) IsAssertable()
IsAssertable marks AlertmanagerLimitsSpecAssertion as an Assertable.
type AlertmanagerSpecAssertion ¶
type AlertmanagerSpecAssertion struct {
PodMetadata EmbeddedObjectMetadataAssertion
Image Opt[*string]
ImagePullPolicy Opt[v11.PullPolicy]
Version Opt[string]
Tag Opt[string]
SHA Opt[string]
BaseImage Opt[string]
ImagePullSecrets Opt[[]CoreLocalObjectReferenceAssertion]
Secrets Opt[[]string]
ConfigMaps Opt[[]string]
ConfigSecret Opt[string]
LogLevel Opt[string]
LogFormat Opt[string]
Replicas Opt[*int32]
Retention Opt[v1.GoDuration]
Storage StorageSpecAssertion
Volumes Opt[[]VolumeAssertion]
VolumeMounts Opt[[]VolumeMountAssertion]
PersistentVolumeClaimRetentionPolicy StatefulSetPersistentVolumeClaimRetentionPolicyAssertion
ExternalURL Opt[string]
RoutePrefix Opt[string]
Paused Opt[bool]
NodeSelector Opt[map[string]string]
SchedulerName Opt[string]
Resources ResourceRequirementsAssertion
Affinity AffinityAssertion
Tolerations Opt[[]TolerationAssertion]
TopologySpreadConstraints Opt[[]CoreTopologySpreadConstraintAssertion]
SecurityContext PodSecurityContextAssertion
DNSPolicy Opt[*v1.DNSPolicy]
DNSConfig MonitoringPodDNSConfigAssertion
EnableServiceLinks Opt[*bool]
ServiceName Opt[*string]
ServiceAccountName Opt[string]
ListenLocal Opt[bool]
PodManagementPolicy Opt[*v1.PodManagementPolicyType]
UpdateStrategy MonitoringStatefulSetUpdateStrategyAssertion
Containers Opt[[]ContainerAssertion]
InitContainers Opt[[]ContainerAssertion]
PriorityClassName Opt[string]
AdditionalPeers Opt[[]string]
ClusterAdvertiseAddress Opt[string]
ClusterGossipInterval Opt[v1.GoDuration]
ClusterLabel Opt[*string]
ClusterPushpullInterval Opt[v1.GoDuration]
ClusterPeerTimeout Opt[v1.GoDuration]
PortName Opt[string]
ForceEnableClusterMode Opt[bool]
AlertmanagerConfigSelector LabelSelectorAssertion
AlertmanagerConfigNamespaceSelector LabelSelectorAssertion
AlertmanagerConfigMatcherStrategy AlertmanagerConfigMatcherStrategyAssertion
MinReadySeconds Opt[*int32]
HostAliases Opt[[]MonitoringHostAliasAssertion]
HostNetwork Opt[bool]
Web AlertmanagerWebSpecAssertion
Limits AlertmanagerLimitsSpecAssertion
ClusterTLS ClusterTLSConfigAssertion
AlertmanagerConfiguration AlertmanagerConfigurationAssertion
AutomountServiceAccountToken Opt[*bool]
EnableFeatures Opt[[]string]
AdditionalArgs Opt[[]ArgumentAssertion]
TerminationGracePeriodSeconds Opt[*int64]
HostUsers Opt[*bool]
}
AlertmanagerSpecAssertion is the assertion struct for AlertmanagerSpec.
func (AlertmanagerSpecAssertion) IsAssertable ¶
func (_ AlertmanagerSpecAssertion) IsAssertable()
IsAssertable marks AlertmanagerSpecAssertion as an Assertable.
type AlertmanagerWebSpecAssertion ¶
type AlertmanagerWebSpecAssertion struct {
WebConfigFileFields WebConfigFileFieldsAssertion
GetConcurrency Opt[*uint32]
Timeout Opt[*uint32]
}
AlertmanagerWebSpecAssertion is the assertion struct for AlertmanagerWebSpec.
func (AlertmanagerWebSpecAssertion) IsAssertable ¶
func (_ AlertmanagerWebSpecAssertion) IsAssertable()
IsAssertable marks AlertmanagerWebSpecAssertion as an Assertable.
type AllowedListenersAssertion ¶
type AllowedListenersAssertion struct {
Namespaces ListenerNamespacesAssertion
}
AllowedListenersAssertion is the assertion struct for AllowedListeners.
func (AllowedListenersAssertion) IsAssertable ¶
func (_ AllowedListenersAssertion) IsAssertable()
IsAssertable marks AllowedListenersAssertion as an Assertable.
type AllowedRoutesAssertion ¶
type AllowedRoutesAssertion struct {
Namespaces RouteNamespacesAssertion
Kinds Opt[[]RouteGroupKindAssertion]
}
AllowedRoutesAssertion is the assertion struct for AllowedRoutes.
func (AllowedRoutesAssertion) IsAssertable ¶
func (_ AllowedRoutesAssertion) IsAssertable()
IsAssertable marks AllowedRoutesAssertion as an Assertable.
type ApisGroupVersionAssertion ¶
ApisGroupVersionAssertion is the assertion struct for GroupVersion.
func (ApisGroupVersionAssertion) IsAssertable ¶
func (_ ApisGroupVersionAssertion) IsAssertable()
IsAssertable marks ApisGroupVersionAssertion as an Assertable.
type ApisHTTPHeaderAssertion ¶
type ApisHTTPHeaderAssertion struct {
Name Opt[v18.HTTPHeaderName]
Value Opt[string]
}
ApisHTTPHeaderAssertion is the assertion struct for HTTPHeader.
func (ApisHTTPHeaderAssertion) IsAssertable ¶
func (_ ApisHTTPHeaderAssertion) IsAssertable()
IsAssertable marks ApisHTTPHeaderAssertion as an Assertable.
type ApisLocalObjectReferenceAssertion ¶
type ApisLocalObjectReferenceAssertion struct {
Group Opt[v18.Group]
Kind Opt[v18.Kind]
Name Opt[v18.ObjectName]
}
ApisLocalObjectReferenceAssertion is the assertion struct for LocalObjectReference.
func (ApisLocalObjectReferenceAssertion) IsAssertable ¶
func (_ ApisLocalObjectReferenceAssertion) IsAssertable()
IsAssertable marks ApisLocalObjectReferenceAssertion as an Assertable.
type ApisObjectReferenceAssertion ¶
type ApisObjectReferenceAssertion struct {
Group Opt[v18.Group]
Kind Opt[v18.Kind]
Name Opt[v18.ObjectName]
Namespace Opt[*v18.Namespace]
}
ApisObjectReferenceAssertion is the assertion struct for ObjectReference.
func (ApisObjectReferenceAssertion) IsAssertable ¶
func (_ ApisObjectReferenceAssertion) IsAssertable()
IsAssertable marks ApisObjectReferenceAssertion as an Assertable.
type ApisParentReferenceAssertion ¶
type ApisParentReferenceAssertion struct {
Group Opt[*v18.Group]
Kind Opt[*v18.Kind]
Namespace Opt[*v18.Namespace]
Name Opt[v18.ObjectName]
SectionName Opt[*v18.SectionName]
Port Opt[*v18.PortNumber]
}
ApisParentReferenceAssertion is the assertion struct for ParentReference.
func (ApisParentReferenceAssertion) IsAssertable ¶
func (_ ApisParentReferenceAssertion) IsAssertable()
IsAssertable marks ApisParentReferenceAssertion as an Assertable.
type ApisSchemeGroupVersionAssertion ¶
ApisSchemeGroupVersionAssertion is the assertion struct for GroupVersion.
func (ApisSchemeGroupVersionAssertion) IsAssertable ¶
func (_ ApisSchemeGroupVersionAssertion) IsAssertable()
IsAssertable marks ApisSchemeGroupVersionAssertion as an Assertable.
type ApisTLSConfigAssertion ¶
type ApisTLSConfigAssertion struct {
Validation FrontendTLSValidationAssertion
}
ApisTLSConfigAssertion is the assertion struct for TLSConfig.
func (ApisTLSConfigAssertion) IsAssertable ¶
func (_ ApisTLSConfigAssertion) IsAssertable()
IsAssertable marks ApisTLSConfigAssertion as an Assertable.
type AppArmorProfileAssertion ¶
type AppArmorProfileAssertion struct {
Type Opt[v11.AppArmorProfileType]
LocalhostProfile Opt[*string]
}
AppArmorProfileAssertion is the assertion struct for AppArmorProfile.
func (AppArmorProfileAssertion) IsAssertable ¶
func (_ AppArmorProfileAssertion) IsAssertable()
IsAssertable marks AppArmorProfileAssertion as an Assertable.
type ApplyOptionsAssertion ¶
type ApplyOptionsAssertion struct {
TypeMeta TypeMetaAssertion
DryRun Opt[[]string]
Force Opt[bool]
FieldManager Opt[string]
}
ApplyOptionsAssertion is the assertion struct for ApplyOptions.
func (ApplyOptionsAssertion) IsAssertable ¶
func (_ ApplyOptionsAssertion) IsAssertable()
IsAssertable marks ApplyOptionsAssertion as an Assertable.
type AppsRollingUpdateStatefulSetStrategyAssertion ¶
AppsRollingUpdateStatefulSetStrategyAssertion is the assertion struct for RollingUpdateStatefulSetStrategy.
func (AppsRollingUpdateStatefulSetStrategyAssertion) IsAssertable ¶
func (_ AppsRollingUpdateStatefulSetStrategyAssertion) IsAssertable()
IsAssertable marks AppsRollingUpdateStatefulSetStrategyAssertion as an Assertable.
type AppsSchemeGroupVersionAssertion ¶
AppsSchemeGroupVersionAssertion is the assertion struct for GroupVersion.
func (AppsSchemeGroupVersionAssertion) IsAssertable ¶
func (_ AppsSchemeGroupVersionAssertion) IsAssertable()
IsAssertable marks AppsSchemeGroupVersionAssertion as an Assertable.
type AppsStatefulSetUpdateStrategyAssertion ¶
type AppsStatefulSetUpdateStrategyAssertion struct {
Type Opt[v12.StatefulSetUpdateStrategyType]
RollingUpdate AppsRollingUpdateStatefulSetStrategyAssertion
}
AppsStatefulSetUpdateStrategyAssertion is the assertion struct for StatefulSetUpdateStrategy.
func (AppsStatefulSetUpdateStrategyAssertion) IsAssertable ¶
func (_ AppsStatefulSetUpdateStrategyAssertion) IsAssertable()
IsAssertable marks AppsStatefulSetUpdateStrategyAssertion as an Assertable.
type ArbitraryFSAccessThroughSMsConfigAssertion ¶
ArbitraryFSAccessThroughSMsConfigAssertion is the assertion struct for ArbitraryFSAccessThroughSMsConfig.
func (ArbitraryFSAccessThroughSMsConfigAssertion) IsAssertable ¶
func (_ ArbitraryFSAccessThroughSMsConfigAssertion) IsAssertable()
IsAssertable marks ArbitraryFSAccessThroughSMsConfigAssertion as an Assertable.
type ArgumentAssertion ¶
ArgumentAssertion is the assertion struct for Argument.
func (ArgumentAssertion) IsAssertable ¶
func (_ ArgumentAssertion) IsAssertable()
IsAssertable marks ArgumentAssertion as an Assertable.
type Assertable ¶
type Assertable interface {
IsAssertable()
}
Assertable is the marker interface implemented by every generated assertion struct. The method is exported so CRD subpackages (and tests) outside the core assert package can satisfy it.
type AttachMetadataAssertion ¶
AttachMetadataAssertion is the assertion struct for AttachMetadata.
func (AttachMetadataAssertion) IsAssertable ¶
func (_ AttachMetadataAssertion) IsAssertable()
IsAssertable marks AttachMetadataAssertion as an Assertable.
type AttachedVolumeAssertion ¶
type AttachedVolumeAssertion struct {
Name Opt[v11.UniqueVolumeName]
DevicePath Opt[string]
}
AttachedVolumeAssertion is the assertion struct for AttachedVolume.
func (AttachedVolumeAssertion) IsAssertable ¶
func (_ AttachedVolumeAssertion) IsAssertable()
IsAssertable marks AttachedVolumeAssertion as an Assertable.
type AuthorizationAssertion ¶
type AuthorizationAssertion struct {
SafeAuthorization SafeAuthorizationAssertion
CredentialsFile Opt[string]
}
AuthorizationAssertion is the assertion struct for Authorization.
func (AuthorizationAssertion) IsAssertable ¶
func (_ AuthorizationAssertion) IsAssertable()
IsAssertable marks AuthorizationAssertion as an Assertable.
type AutoscalingSchemeGroupVersionAssertion ¶
AutoscalingSchemeGroupVersionAssertion is the assertion struct for GroupVersion.
func (AutoscalingSchemeGroupVersionAssertion) IsAssertable ¶
func (_ AutoscalingSchemeGroupVersionAssertion) IsAssertable()
IsAssertable marks AutoscalingSchemeGroupVersionAssertion as an Assertable.
type AvoidPodsAssertion ¶
type AvoidPodsAssertion struct {
PreferAvoidPods Opt[[]PreferAvoidPodsEntryAssertion]
}
AvoidPodsAssertion is the assertion struct for AvoidPods.
func (AvoidPodsAssertion) IsAssertable ¶
func (_ AvoidPodsAssertion) IsAssertable()
IsAssertable marks AvoidPodsAssertion as an Assertable.
type AzureADAssertion ¶
type AzureADAssertion struct {
Cloud Opt[*string]
ManagedIdentity ManagedIdentityAssertion
OAuth AzureOAuthAssertion
SDK AzureSDKAssertion
WorkloadIdentity AzureWorkloadIdentityAssertion
Scope Opt[*string]
}
AzureADAssertion is the assertion struct for AzureAD.
func (AzureADAssertion) IsAssertable ¶
func (_ AzureADAssertion) IsAssertable()
IsAssertable marks AzureADAssertion as an Assertable.
type AzureDiskVolumeSourceAssertion ¶
type AzureDiskVolumeSourceAssertion struct {
DiskName Opt[string]
DataDiskURI Opt[string]
CachingMode Opt[*v11.AzureDataDiskCachingMode]
FSType Opt[*string]
ReadOnly Opt[*bool]
Kind Opt[*v11.AzureDataDiskKind]
}
AzureDiskVolumeSourceAssertion is the assertion struct for AzureDiskVolumeSource.
func (AzureDiskVolumeSourceAssertion) IsAssertable ¶
func (_ AzureDiskVolumeSourceAssertion) IsAssertable()
IsAssertable marks AzureDiskVolumeSourceAssertion as an Assertable.
type AzureFilePersistentVolumeSourceAssertion ¶
type AzureFilePersistentVolumeSourceAssertion struct {
SecretName Opt[string]
ReadOnly Opt[bool]
SecretNamespace Opt[*string]
}
AzureFilePersistentVolumeSourceAssertion is the assertion struct for AzureFilePersistentVolumeSource.
func (AzureFilePersistentVolumeSourceAssertion) IsAssertable ¶
func (_ AzureFilePersistentVolumeSourceAssertion) IsAssertable()
IsAssertable marks AzureFilePersistentVolumeSourceAssertion as an Assertable.
type AzureFileVolumeSourceAssertion ¶
AzureFileVolumeSourceAssertion is the assertion struct for AzureFileVolumeSource.
func (AzureFileVolumeSourceAssertion) IsAssertable ¶
func (_ AzureFileVolumeSourceAssertion) IsAssertable()
IsAssertable marks AzureFileVolumeSourceAssertion as an Assertable.
type AzureOAuthAssertion ¶
type AzureOAuthAssertion struct {
ClientID Opt[string]
ClientSecret SecretKeySelectorAssertion
TenantID Opt[string]
}
AzureOAuthAssertion is the assertion struct for AzureOAuth.
func (AzureOAuthAssertion) IsAssertable ¶
func (_ AzureOAuthAssertion) IsAssertable()
IsAssertable marks AzureOAuthAssertion as an Assertable.
type AzureSDKAssertion ¶
AzureSDKAssertion is the assertion struct for AzureSDK.
func (AzureSDKAssertion) IsAssertable ¶
func (_ AzureSDKAssertion) IsAssertable()
IsAssertable marks AzureSDKAssertion as an Assertable.
type AzureWorkloadIdentityAssertion ¶
AzureWorkloadIdentityAssertion is the assertion struct for AzureWorkloadIdentity.
func (AzureWorkloadIdentityAssertion) IsAssertable ¶
func (_ AzureWorkloadIdentityAssertion) IsAssertable()
IsAssertable marks AzureWorkloadIdentityAssertion as an Assertable.
type BackendObjectReferenceAssertion ¶
type BackendObjectReferenceAssertion struct {
Group Opt[*v18.Group]
Kind Opt[*v18.Kind]
Name Opt[v18.ObjectName]
Namespace Opt[*v18.Namespace]
Port Opt[*v18.PortNumber]
}
BackendObjectReferenceAssertion is the assertion struct for BackendObjectReference.
func (BackendObjectReferenceAssertion) IsAssertable ¶
func (_ BackendObjectReferenceAssertion) IsAssertable()
IsAssertable marks BackendObjectReferenceAssertion as an Assertable.
type BackendRefAssertion ¶
type BackendRefAssertion struct {
BackendObjectReference BackendObjectReferenceAssertion
Weight Opt[*int32]
}
BackendRefAssertion is the assertion struct for BackendRef.
func (BackendRefAssertion) IsAssertable ¶
func (_ BackendRefAssertion) IsAssertable()
IsAssertable marks BackendRefAssertion as an Assertable.
type BackendTLSPolicyAssertion ¶
type BackendTLSPolicyAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec BackendTLSPolicySpecAssertion
Status Opt[v18.PolicyStatus]
}
BackendTLSPolicyAssertion is the assertion struct for BackendTLSPolicy.
func (BackendTLSPolicyAssertion) IsAssertable ¶
func (_ BackendTLSPolicyAssertion) IsAssertable()
IsAssertable marks BackendTLSPolicyAssertion as an Assertable.
type BackendTLSPolicySpecAssertion ¶
type BackendTLSPolicySpecAssertion struct {
TargetRefs Opt[[]LocalPolicyTargetReferenceWithSectionNameAssertion]
Validation BackendTLSPolicyValidationAssertion
Options Opt[map[v18.AnnotationKey]v18.AnnotationValue]
}
BackendTLSPolicySpecAssertion is the assertion struct for BackendTLSPolicySpec.
func (BackendTLSPolicySpecAssertion) IsAssertable ¶
func (_ BackendTLSPolicySpecAssertion) IsAssertable()
IsAssertable marks BackendTLSPolicySpecAssertion as an Assertable.
type BackendTLSPolicyValidationAssertion ¶
type BackendTLSPolicyValidationAssertion struct {
CACertificateRefs Opt[[]ApisLocalObjectReferenceAssertion]
WellKnownCACertificates Opt[*v18.WellKnownCACertificatesType]
Hostname Opt[v18.PreciseHostname]
SubjectAltNames Opt[[]SubjectAltNameAssertion]
}
BackendTLSPolicyValidationAssertion is the assertion struct for BackendTLSPolicyValidation.
func (BackendTLSPolicyValidationAssertion) IsAssertable ¶
func (_ BackendTLSPolicyValidationAssertion) IsAssertable()
IsAssertable marks BackendTLSPolicyValidationAssertion as an Assertable.
type BasicAuthAssertion ¶
type BasicAuthAssertion struct {
Username SecretKeySelectorAssertion
Password SecretKeySelectorAssertion
}
BasicAuthAssertion is the assertion struct for BasicAuth.
func (BasicAuthAssertion) IsAssertable ¶
func (_ BasicAuthAssertion) IsAssertable()
IsAssertable marks BasicAuthAssertion as an Assertable.
type BatchSchemeGroupVersionAssertion ¶
BatchSchemeGroupVersionAssertion is the assertion struct for GroupVersion.
func (BatchSchemeGroupVersionAssertion) IsAssertable ¶
func (_ BatchSchemeGroupVersionAssertion) IsAssertable()
IsAssertable marks BatchSchemeGroupVersionAssertion as an Assertable.
type BindingAssertion ¶
type BindingAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Target CoreObjectReferenceAssertion
}
BindingAssertion is the assertion struct for Binding.
func (BindingAssertion) IsAssertable ¶
func (_ BindingAssertion) IsAssertable()
IsAssertable marks BindingAssertion as an Assertable.
type CSIDriverAssertion ¶
type CSIDriverAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec CSIDriverSpecAssertion
}
CSIDriverAssertion is the assertion struct for CSIDriver.
func (CSIDriverAssertion) IsAssertable ¶
func (_ CSIDriverAssertion) IsAssertable()
IsAssertable marks CSIDriverAssertion as an Assertable.
type CSIDriverSpecAssertion ¶
type CSIDriverSpecAssertion struct {
AttachRequired Opt[*bool]
PodInfoOnMount Opt[*bool]
VolumeLifecycleModes Opt[[]v16.VolumeLifecycleMode]
StorageCapacity Opt[*bool]
FSGroupPolicy Opt[*v16.FSGroupPolicy]
TokenRequests Opt[[]TokenRequestAssertion]
RequiresRepublish Opt[*bool]
SELinuxMount Opt[*bool]
NodeAllocatableUpdatePeriodSeconds Opt[*int64]
ServiceAccountTokenInSecrets Opt[*bool]
PreventPodSchedulingIfMissing Opt[*bool]
}
CSIDriverSpecAssertion is the assertion struct for CSIDriverSpec.
func (CSIDriverSpecAssertion) IsAssertable ¶
func (_ CSIDriverSpecAssertion) IsAssertable()
IsAssertable marks CSIDriverSpecAssertion as an Assertable.
type CSINodeAssertion ¶
type CSINodeAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec CSINodeSpecAssertion
}
CSINodeAssertion is the assertion struct for CSINode.
func (CSINodeAssertion) IsAssertable ¶
func (_ CSINodeAssertion) IsAssertable()
IsAssertable marks CSINodeAssertion as an Assertable.
type CSINodeDriverAssertion ¶
type CSINodeDriverAssertion struct {
Name Opt[string]
NodeID Opt[string]
TopologyKeys Opt[[]string]
Allocatable VolumeNodeResourcesAssertion
}
CSINodeDriverAssertion is the assertion struct for CSINodeDriver.
func (CSINodeDriverAssertion) IsAssertable ¶
func (_ CSINodeDriverAssertion) IsAssertable()
IsAssertable marks CSINodeDriverAssertion as an Assertable.
type CSINodeSpecAssertion ¶
type CSINodeSpecAssertion struct {
Drivers Opt[[]CSINodeDriverAssertion]
}
CSINodeSpecAssertion is the assertion struct for CSINodeSpec.
func (CSINodeSpecAssertion) IsAssertable ¶
func (_ CSINodeSpecAssertion) IsAssertable()
IsAssertable marks CSINodeSpecAssertion as an Assertable.
type CSIPersistentVolumeSourceAssertion ¶
type CSIPersistentVolumeSourceAssertion struct {
Driver Opt[string]
VolumeHandle Opt[string]
ReadOnly Opt[bool]
FSType Opt[string]
VolumeAttributes Opt[map[string]string]
ControllerPublishSecretRef SecretReferenceAssertion
NodeStageSecretRef SecretReferenceAssertion
NodePublishSecretRef SecretReferenceAssertion
ControllerExpandSecretRef SecretReferenceAssertion
NodeExpandSecretRef SecretReferenceAssertion
}
CSIPersistentVolumeSourceAssertion is the assertion struct for CSIPersistentVolumeSource.
func (CSIPersistentVolumeSourceAssertion) IsAssertable ¶
func (_ CSIPersistentVolumeSourceAssertion) IsAssertable()
IsAssertable marks CSIPersistentVolumeSourceAssertion as an Assertable.
type CSIStorageCapacityAssertion ¶
type CSIStorageCapacityAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
NodeTopology LabelSelectorAssertion
StorageClassName Opt[string]
Capacity QuantityAssertion
MaximumVolumeSize QuantityAssertion
}
CSIStorageCapacityAssertion is the assertion struct for CSIStorageCapacity.
func (CSIStorageCapacityAssertion) IsAssertable ¶
func (_ CSIStorageCapacityAssertion) IsAssertable()
IsAssertable marks CSIStorageCapacityAssertion as an Assertable.
type CSIVolumeSourceAssertion ¶
type CSIVolumeSourceAssertion struct {
Driver Opt[string]
ReadOnly Opt[*bool]
FSType Opt[*string]
VolumeAttributes Opt[map[string]string]
NodePublishSecretRef CoreLocalObjectReferenceAssertion
}
CSIVolumeSourceAssertion is the assertion struct for CSIVolumeSource.
func (CSIVolumeSourceAssertion) IsAssertable ¶
func (_ CSIVolumeSourceAssertion) IsAssertable()
IsAssertable marks CSIVolumeSourceAssertion as an Assertable.
type CapabilitiesAssertion ¶
type CapabilitiesAssertion struct {
Add Opt[[]v11.Capability]
Drop Opt[[]v11.Capability]
}
CapabilitiesAssertion is the assertion struct for Capabilities.
func (CapabilitiesAssertion) IsAssertable ¶
func (_ CapabilitiesAssertion) IsAssertable()
IsAssertable marks CapabilitiesAssertion as an Assertable.
type CephFSPersistentVolumeSourceAssertion ¶
type CephFSPersistentVolumeSourceAssertion struct {
Monitors Opt[[]string]
Path Opt[string]
User Opt[string]
SecretFile Opt[string]
SecretRef SecretReferenceAssertion
ReadOnly Opt[bool]
}
CephFSPersistentVolumeSourceAssertion is the assertion struct for CephFSPersistentVolumeSource.
func (CephFSPersistentVolumeSourceAssertion) IsAssertable ¶
func (_ CephFSPersistentVolumeSourceAssertion) IsAssertable()
IsAssertable marks CephFSPersistentVolumeSourceAssertion as an Assertable.
type CephFSVolumeSourceAssertion ¶
type CephFSVolumeSourceAssertion struct {
Monitors Opt[[]string]
Path Opt[string]
User Opt[string]
SecretFile Opt[string]
SecretRef CoreLocalObjectReferenceAssertion
ReadOnly Opt[bool]
}
CephFSVolumeSourceAssertion is the assertion struct for CephFSVolumeSource.
func (CephFSVolumeSourceAssertion) IsAssertable ¶
func (_ CephFSVolumeSourceAssertion) IsAssertable()
IsAssertable marks CephFSVolumeSourceAssertion as an Assertable.
type CinderPersistentVolumeSourceAssertion ¶
type CinderPersistentVolumeSourceAssertion struct {
VolumeID Opt[string]
FSType Opt[string]
ReadOnly Opt[bool]
SecretRef SecretReferenceAssertion
}
CinderPersistentVolumeSourceAssertion is the assertion struct for CinderPersistentVolumeSource.
func (CinderPersistentVolumeSourceAssertion) IsAssertable ¶
func (_ CinderPersistentVolumeSourceAssertion) IsAssertable()
IsAssertable marks CinderPersistentVolumeSourceAssertion as an Assertable.
type CinderVolumeSourceAssertion ¶
type CinderVolumeSourceAssertion struct {
VolumeID Opt[string]
FSType Opt[string]
ReadOnly Opt[bool]
SecretRef CoreLocalObjectReferenceAssertion
}
CinderVolumeSourceAssertion is the assertion struct for CinderVolumeSource.
func (CinderVolumeSourceAssertion) IsAssertable ¶
func (_ CinderVolumeSourceAssertion) IsAssertable()
IsAssertable marks CinderVolumeSourceAssertion as an Assertable.
type ClientIPConfigAssertion ¶
ClientIPConfigAssertion is the assertion struct for ClientIPConfig.
func (ClientIPConfigAssertion) IsAssertable ¶
func (_ ClientIPConfigAssertion) IsAssertable()
IsAssertable marks ClientIPConfigAssertion as an Assertable.
type ClusterRoleAssertion ¶
type ClusterRoleAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Rules Opt[[]PolicyRuleAssertion]
AggregationRule AggregationRuleAssertion
}
ClusterRoleAssertion is the assertion struct for ClusterRole.
func (ClusterRoleAssertion) IsAssertable ¶
func (_ ClusterRoleAssertion) IsAssertable()
IsAssertable marks ClusterRoleAssertion as an Assertable.
type ClusterRoleBindingAssertion ¶
type ClusterRoleBindingAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Subjects Opt[[]SubjectAssertion]
RoleRef RoleRefAssertion
}
ClusterRoleBindingAssertion is the assertion struct for ClusterRoleBinding.
func (ClusterRoleBindingAssertion) IsAssertable ¶
func (_ ClusterRoleBindingAssertion) IsAssertable()
IsAssertable marks ClusterRoleBindingAssertion as an Assertable.
type ClusterTLSConfigAssertion ¶
type ClusterTLSConfigAssertion struct {
ServerTLS WebTLSConfigAssertion
ClientTLS SafeTLSConfigAssertion
}
ClusterTLSConfigAssertion is the assertion struct for ClusterTLSConfig.
func (ClusterTLSConfigAssertion) IsAssertable ¶
func (_ ClusterTLSConfigAssertion) IsAssertable()
IsAssertable marks ClusterTLSConfigAssertion as an Assertable.
type ClusterTrustBundleProjectionAssertion ¶
type ClusterTrustBundleProjectionAssertion struct {
Name Opt[*string]
SignerName Opt[*string]
LabelSelector LabelSelectorAssertion
Optional Opt[*bool]
Path Opt[string]
}
ClusterTrustBundleProjectionAssertion is the assertion struct for ClusterTrustBundleProjection.
func (ClusterTrustBundleProjectionAssertion) IsAssertable ¶
func (_ ClusterTrustBundleProjectionAssertion) IsAssertable()
IsAssertable marks ClusterTrustBundleProjectionAssertion as an Assertable.
type CommonPrometheusFieldsAssertion ¶
type CommonPrometheusFieldsAssertion struct {
PodMetadata EmbeddedObjectMetadataAssertion
ServiceMonitorSelector LabelSelectorAssertion
ServiceMonitorNamespaceSelector LabelSelectorAssertion
PodMonitorSelector LabelSelectorAssertion
PodMonitorNamespaceSelector LabelSelectorAssertion
ProbeSelector LabelSelectorAssertion
ProbeNamespaceSelector LabelSelectorAssertion
ScrapeConfigSelector LabelSelectorAssertion
ScrapeConfigNamespaceSelector LabelSelectorAssertion
Version Opt[string]
Paused Opt[bool]
Image Opt[*string]
ImagePullPolicy Opt[v11.PullPolicy]
ImagePullSecrets Opt[[]CoreLocalObjectReferenceAssertion]
Replicas Opt[*int32]
Shards Opt[*int32]
ShardingStrategy ShardingStrategyAssertion
ReplicaExternalLabelName Opt[*string]
PrometheusExternalLabelName Opt[*string]
LogLevel Opt[string]
LogFormat Opt[string]
ScrapeInterval Opt[v1.Duration]
ScrapeTimeout Opt[v1.Duration]
ScrapeProtocols Opt[[]v1.ScrapeProtocol]
ExternalLabels Opt[map[string]string]
EnableRemoteWriteReceiver Opt[bool]
EnableOTLPReceiver Opt[*bool]
RemoteWriteReceiverMessageVersions Opt[[]v1.RemoteWriteMessageVersion]
EnableFeatures Opt[[]v1.EnableFeature]
ExternalURL Opt[string]
RoutePrefix Opt[string]
Storage StorageSpecAssertion
Volumes Opt[[]VolumeAssertion]
VolumeMounts Opt[[]VolumeMountAssertion]
PersistentVolumeClaimRetentionPolicy StatefulSetPersistentVolumeClaimRetentionPolicyAssertion
Web PrometheusWebSpecAssertion
Resources ResourceRequirementsAssertion
NodeSelector Opt[map[string]string]
SchedulerName Opt[string]
ServiceAccountName Opt[string]
AutomountServiceAccountToken Opt[*bool]
Secrets Opt[[]string]
ConfigMaps Opt[[]string]
Affinity AffinityAssertion
Tolerations Opt[[]TolerationAssertion]
TopologySpreadConstraints Opt[[]MonitoringTopologySpreadConstraintAssertion]
RemoteWrite Opt[[]RemoteWriteSpecAssertion]
OTLP OTLPConfigAssertion
SecurityContext PodSecurityContextAssertion
DNSPolicy Opt[*v1.DNSPolicy]
DNSConfig MonitoringPodDNSConfigAssertion
ListenLocal Opt[bool]
PodManagementPolicy Opt[*v1.PodManagementPolicyType]
UpdateStrategy MonitoringStatefulSetUpdateStrategyAssertion
EnableServiceLinks Opt[*bool]
Containers Opt[[]ContainerAssertion]
InitContainers Opt[[]ContainerAssertion]
AdditionalScrapeConfigs SecretKeySelectorAssertion
APIServerConfig APIServerConfigAssertion
PriorityClassName Opt[string]
PortName Opt[string]
ArbitraryFSAccessThroughSMs ArbitraryFSAccessThroughSMsConfigAssertion
OverrideHonorLabels Opt[bool]
OverrideHonorTimestamps Opt[bool]
IgnoreNamespaceSelectors Opt[bool]
EnforcedNamespaceLabel Opt[string]
EnforcedSampleLimit Opt[*uint64]
EnforcedTargetLimit Opt[*uint64]
EnforcedLabelLimit Opt[*uint64]
EnforcedLabelNameLengthLimit Opt[*uint64]
EnforcedLabelValueLengthLimit Opt[*uint64]
EnforcedKeepDroppedTargets Opt[*uint64]
EnforcedBodySizeLimit Opt[v1.ByteSize]
NameValidationScheme Opt[*v1.NameValidationSchemeOptions]
NameEscapingScheme Opt[*v1.NameEscapingSchemeOptions]
ConvertClassicHistogramsToNHCB Opt[*bool]
ScrapeNativeHistograms Opt[*bool]
ScrapeClassicHistograms Opt[*bool]
MinReadySeconds Opt[*int32]
HostAliases Opt[[]MonitoringHostAliasAssertion]
AdditionalArgs Opt[[]ArgumentAssertion]
WALCompression Opt[*bool]
ExcludedFromEnforcement Opt[[]MonitoringObjectReferenceAssertion]
HostNetwork Opt[bool]
PodTargetLabels Opt[[]string]
TracingConfig TracingConfigAssertion
BodySizeLimit Opt[*v1.ByteSize]
SampleLimit Opt[*uint64]
TargetLimit Opt[*uint64]
LabelLimit Opt[*uint64]
LabelNameLengthLimit Opt[*uint64]
LabelValueLengthLimit Opt[*uint64]
KeepDroppedTargets Opt[*uint64]
ReloadStrategy Opt[*v1.ReloadStrategyType]
MaximumStartupDurationSeconds Opt[*int32]
ScrapeClasses Opt[[]ScrapeClassAssertion]
ServiceDiscoveryRole Opt[*v1.ServiceDiscoveryRole]
TSDB TSDBSpecAssertion
ScrapeFailureLogFile Opt[*string]
ServiceName Opt[*string]
Runtime RuntimeConfigAssertion
TerminationGracePeriodSeconds Opt[*int64]
HostUsers Opt[*bool]
}
CommonPrometheusFieldsAssertion is the assertion struct for CommonPrometheusFields.
func (CommonPrometheusFieldsAssertion) IsAssertable ¶
func (_ CommonPrometheusFieldsAssertion) IsAssertable()
IsAssertable marks CommonPrometheusFieldsAssertion as an Assertable.
type CommonRouteSpecAssertion ¶
type CommonRouteSpecAssertion struct {
ParentRefs Opt[[]ApisParentReferenceAssertion]
UseDefaultGateways Opt[v18.GatewayDefaultScope]
}
CommonRouteSpecAssertion is the assertion struct for CommonRouteSpec.
func (CommonRouteSpecAssertion) IsAssertable ¶
func (_ CommonRouteSpecAssertion) IsAssertable()
IsAssertable marks CommonRouteSpecAssertion as an Assertable.
type ComponentConditionAssertion ¶
type ComponentConditionAssertion struct {
Type Opt[v11.ComponentConditionType]
Status Opt[v11.ConditionStatus]
Message Opt[string]
Error Opt[string]
}
ComponentConditionAssertion is the assertion struct for ComponentCondition.
func (ComponentConditionAssertion) IsAssertable ¶
func (_ ComponentConditionAssertion) IsAssertable()
IsAssertable marks ComponentConditionAssertion as an Assertable.
type ConfigMapAssertion ¶
type ConfigMapAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Immutable Opt[*bool]
Data Opt[map[string]string]
BinaryData Opt[map[string][]byte]
}
ConfigMapAssertion is the assertion struct for ConfigMap.
func (ConfigMapAssertion) IsAssertable ¶
func (_ ConfigMapAssertion) IsAssertable()
IsAssertable marks ConfigMapAssertion as an Assertable.
type ConfigMapEnvSourceAssertion ¶
type ConfigMapEnvSourceAssertion struct {
LocalObjectReference CoreLocalObjectReferenceAssertion
Optional Opt[*bool]
}
ConfigMapEnvSourceAssertion is the assertion struct for ConfigMapEnvSource.
func (ConfigMapEnvSourceAssertion) IsAssertable ¶
func (_ ConfigMapEnvSourceAssertion) IsAssertable()
IsAssertable marks ConfigMapEnvSourceAssertion as an Assertable.
type ConfigMapKeySelectorAssertion ¶
type ConfigMapKeySelectorAssertion struct {
LocalObjectReference CoreLocalObjectReferenceAssertion
Key Opt[string]
Optional Opt[*bool]
}
ConfigMapKeySelectorAssertion is the assertion struct for ConfigMapKeySelector.
func (ConfigMapKeySelectorAssertion) IsAssertable ¶
func (_ ConfigMapKeySelectorAssertion) IsAssertable()
IsAssertable marks ConfigMapKeySelectorAssertion as an Assertable.
type ConfigMapNodeConfigSourceAssertion ¶
type ConfigMapNodeConfigSourceAssertion struct {
Namespace Opt[string]
Name Opt[string]
UID Opt[types.UID]
ResourceVersion Opt[string]
KubeletConfigKey Opt[string]
}
ConfigMapNodeConfigSourceAssertion is the assertion struct for ConfigMapNodeConfigSource.
func (ConfigMapNodeConfigSourceAssertion) IsAssertable ¶
func (_ ConfigMapNodeConfigSourceAssertion) IsAssertable()
IsAssertable marks ConfigMapNodeConfigSourceAssertion as an Assertable.
type ConfigMapProjectionAssertion ¶
type ConfigMapProjectionAssertion struct {
LocalObjectReference CoreLocalObjectReferenceAssertion
Items Opt[[]KeyToPathAssertion]
Optional Opt[*bool]
}
ConfigMapProjectionAssertion is the assertion struct for ConfigMapProjection.
func (ConfigMapProjectionAssertion) IsAssertable ¶
func (_ ConfigMapProjectionAssertion) IsAssertable()
IsAssertable marks ConfigMapProjectionAssertion as an Assertable.
type ConfigMapVolumeSourceAssertion ¶
type ConfigMapVolumeSourceAssertion struct {
LocalObjectReference CoreLocalObjectReferenceAssertion
Items Opt[[]KeyToPathAssertion]
DefaultMode Opt[*int32]
Optional Opt[*bool]
}
ConfigMapVolumeSourceAssertion is the assertion struct for ConfigMapVolumeSource.
func (ConfigMapVolumeSourceAssertion) IsAssertable ¶
func (_ ConfigMapVolumeSourceAssertion) IsAssertable()
IsAssertable marks ConfigMapVolumeSourceAssertion as an Assertable.
type ConfigResourceConditionAssertion ¶
type ConfigResourceConditionAssertion struct {
Type Opt[v1.ConditionType]
Status Opt[v1.ConditionStatus]
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
ObservedGeneration Opt[int64]
}
ConfigResourceConditionAssertion is the assertion struct for ConfigResourceCondition.
func (ConfigResourceConditionAssertion) IsAssertable ¶
func (_ ConfigResourceConditionAssertion) IsAssertable()
IsAssertable marks ConfigResourceConditionAssertion as an Assertable.
type ContainerAssertion ¶
type ContainerAssertion struct {
Name Opt[string]
Image Opt[string]
Command Opt[[]string]
Args Opt[[]string]
WorkingDir Opt[string]
Ports Opt[[]ContainerPortAssertion]
EnvFrom Opt[[]EnvFromSourceAssertion]
Env Opt[[]EnvVarAssertion]
Resources ResourceRequirementsAssertion
ResizePolicy Opt[[]ContainerResizePolicyAssertion]
RestartPolicy Opt[*v11.ContainerRestartPolicy]
RestartPolicyRules Opt[[]ContainerRestartRuleAssertion]
VolumeMounts Opt[[]VolumeMountAssertion]
VolumeDevices Opt[[]VolumeDeviceAssertion]
LivenessProbe CoreProbeAssertion
ReadinessProbe CoreProbeAssertion
StartupProbe CoreProbeAssertion
Lifecycle LifecycleAssertion
TerminationMessagePath Opt[string]
TerminationMessagePolicy Opt[v11.TerminationMessagePolicy]
ImagePullPolicy Opt[v11.PullPolicy]
SecurityContext SecurityContextAssertion
Stdin Opt[bool]
StdinOnce Opt[bool]
TTY Opt[bool]
}
ContainerAssertion is the assertion struct for Container.
func (ContainerAssertion) IsAssertable ¶
func (_ ContainerAssertion) IsAssertable()
IsAssertable marks ContainerAssertion as an Assertable.
type ContainerExtendedResourceRequestAssertion ¶
type ContainerExtendedResourceRequestAssertion struct {
ContainerName Opt[string]
ResourceName Opt[string]
RequestName Opt[string]
}
ContainerExtendedResourceRequestAssertion is the assertion struct for ContainerExtendedResourceRequest.
func (ContainerExtendedResourceRequestAssertion) IsAssertable ¶
func (_ ContainerExtendedResourceRequestAssertion) IsAssertable()
IsAssertable marks ContainerExtendedResourceRequestAssertion as an Assertable.
type ContainerImageAssertion ¶
ContainerImageAssertion is the assertion struct for ContainerImage.
func (ContainerImageAssertion) IsAssertable ¶
func (_ ContainerImageAssertion) IsAssertable()
IsAssertable marks ContainerImageAssertion as an Assertable.
type ContainerPortAssertion ¶
type ContainerPortAssertion struct {
Name Opt[string]
HostPort Opt[int32]
ContainerPort Opt[int32]
Protocol Opt[v11.Protocol]
HostIP Opt[string]
}
ContainerPortAssertion is the assertion struct for ContainerPort.
func (ContainerPortAssertion) IsAssertable ¶
func (_ ContainerPortAssertion) IsAssertable()
IsAssertable marks ContainerPortAssertion as an Assertable.
type ContainerResizePolicyAssertion ¶
type ContainerResizePolicyAssertion struct {
ResourceName Opt[v11.ResourceName]
RestartPolicy Opt[v11.ResourceResizeRestartPolicy]
}
ContainerResizePolicyAssertion is the assertion struct for ContainerResizePolicy.
func (ContainerResizePolicyAssertion) IsAssertable ¶
func (_ ContainerResizePolicyAssertion) IsAssertable()
IsAssertable marks ContainerResizePolicyAssertion as an Assertable.
type ContainerResourceMetricSourceAssertion ¶
type ContainerResourceMetricSourceAssertion struct {
Name Opt[v11.ResourceName]
Target MetricTargetAssertion
Container Opt[string]
}
ContainerResourceMetricSourceAssertion is the assertion struct for ContainerResourceMetricSource.
func (ContainerResourceMetricSourceAssertion) IsAssertable ¶
func (_ ContainerResourceMetricSourceAssertion) IsAssertable()
IsAssertable marks ContainerResourceMetricSourceAssertion as an Assertable.
type ContainerRestartRuleAssertion ¶
type ContainerRestartRuleAssertion struct {
Action Opt[v11.ContainerRestartRuleAction]
ExitCodes ContainerRestartRuleOnExitCodesAssertion
}
ContainerRestartRuleAssertion is the assertion struct for ContainerRestartRule.
func (ContainerRestartRuleAssertion) IsAssertable ¶
func (_ ContainerRestartRuleAssertion) IsAssertable()
IsAssertable marks ContainerRestartRuleAssertion as an Assertable.
type ContainerRestartRuleOnExitCodesAssertion ¶
type ContainerRestartRuleOnExitCodesAssertion struct {
Operator Opt[v11.ContainerRestartRuleOnExitCodesOperator]
Values Opt[[]int32]
}
ContainerRestartRuleOnExitCodesAssertion is the assertion struct for ContainerRestartRuleOnExitCodes.
func (ContainerRestartRuleOnExitCodesAssertion) IsAssertable ¶
func (_ ContainerRestartRuleOnExitCodesAssertion) IsAssertable()
IsAssertable marks ContainerRestartRuleOnExitCodesAssertion as an Assertable.
type ContainerStateAssertion ¶
type ContainerStateAssertion struct {
Waiting ContainerStateWaitingAssertion
Running ContainerStateRunningAssertion
Terminated ContainerStateTerminatedAssertion
}
ContainerStateAssertion is the assertion struct for ContainerState.
func (ContainerStateAssertion) IsAssertable ¶
func (_ ContainerStateAssertion) IsAssertable()
IsAssertable marks ContainerStateAssertion as an Assertable.
type ContainerStateRunningAssertion ¶
type ContainerStateRunningAssertion struct {
StartedAt TimeAssertion
}
ContainerStateRunningAssertion is the assertion struct for ContainerStateRunning.
func (ContainerStateRunningAssertion) IsAssertable ¶
func (_ ContainerStateRunningAssertion) IsAssertable()
IsAssertable marks ContainerStateRunningAssertion as an Assertable.
type ContainerStateTerminatedAssertion ¶
type ContainerStateTerminatedAssertion struct {
ExitCode Opt[int32]
Signal Opt[int32]
Reason Opt[string]
Message Opt[string]
StartedAt TimeAssertion
FinishedAt TimeAssertion
ContainerID Opt[string]
}
ContainerStateTerminatedAssertion is the assertion struct for ContainerStateTerminated.
func (ContainerStateTerminatedAssertion) IsAssertable ¶
func (_ ContainerStateTerminatedAssertion) IsAssertable()
IsAssertable marks ContainerStateTerminatedAssertion as an Assertable.
type ContainerStateWaitingAssertion ¶
ContainerStateWaitingAssertion is the assertion struct for ContainerStateWaiting.
func (ContainerStateWaitingAssertion) IsAssertable ¶
func (_ ContainerStateWaitingAssertion) IsAssertable()
IsAssertable marks ContainerStateWaitingAssertion as an Assertable.
type ContainerUserAssertion ¶
type ContainerUserAssertion struct {
Linux LinuxContainerUserAssertion
}
ContainerUserAssertion is the assertion struct for ContainerUser.
func (ContainerUserAssertion) IsAssertable ¶
func (_ ContainerUserAssertion) IsAssertable()
IsAssertable marks ContainerUserAssertion as an Assertable.
type ControllerRevisionAssertion ¶
type ControllerRevisionAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Data Opt[runtime.RawExtension]
Revision Opt[int64]
}
ControllerRevisionAssertion is the assertion struct for ControllerRevision.
func (ControllerRevisionAssertion) IsAssertable ¶
func (_ ControllerRevisionAssertion) IsAssertable()
IsAssertable marks ControllerRevisionAssertion as an Assertable.
type CookieConfigAssertion ¶
type CookieConfigAssertion struct {
LifetimeType Opt[*v18.CookieLifetimeType]
}
CookieConfigAssertion is the assertion struct for CookieConfig.
func (CookieConfigAssertion) IsAssertable ¶
func (_ CookieConfigAssertion) IsAssertable()
IsAssertable marks CookieConfigAssertion as an Assertable.
type CoreHTTPHeaderAssertion ¶
CoreHTTPHeaderAssertion is the assertion struct for HTTPHeader.
func (CoreHTTPHeaderAssertion) IsAssertable ¶
func (_ CoreHTTPHeaderAssertion) IsAssertable()
IsAssertable marks CoreHTTPHeaderAssertion as an Assertable.
type CoreHostAliasAssertion ¶
CoreHostAliasAssertion is the assertion struct for HostAlias.
func (CoreHostAliasAssertion) IsAssertable ¶
func (_ CoreHostAliasAssertion) IsAssertable()
IsAssertable marks CoreHostAliasAssertion as an Assertable.
type CoreLocalObjectReferenceAssertion ¶
CoreLocalObjectReferenceAssertion is the assertion struct for LocalObjectReference.
func (CoreLocalObjectReferenceAssertion) IsAssertable ¶
func (_ CoreLocalObjectReferenceAssertion) IsAssertable()
IsAssertable marks CoreLocalObjectReferenceAssertion as an Assertable.
type CoreObjectReferenceAssertion ¶
type CoreObjectReferenceAssertion struct {
Kind Opt[string]
Namespace Opt[string]
Name Opt[string]
UID Opt[types.UID]
APIVersion Opt[string]
ResourceVersion Opt[string]
FieldPath Opt[string]
}
CoreObjectReferenceAssertion is the assertion struct for ObjectReference.
func (CoreObjectReferenceAssertion) IsAssertable ¶
func (_ CoreObjectReferenceAssertion) IsAssertable()
IsAssertable marks CoreObjectReferenceAssertion as an Assertable.
type CorePodDNSConfigAssertion ¶
type CorePodDNSConfigAssertion struct {
Nameservers Opt[[]string]
Searches Opt[[]string]
Options Opt[[]CorePodDNSConfigOptionAssertion]
}
CorePodDNSConfigAssertion is the assertion struct for PodDNSConfig.
func (CorePodDNSConfigAssertion) IsAssertable ¶
func (_ CorePodDNSConfigAssertion) IsAssertable()
IsAssertable marks CorePodDNSConfigAssertion as an Assertable.
type CorePodDNSConfigOptionAssertion ¶
CorePodDNSConfigOptionAssertion is the assertion struct for PodDNSConfigOption.
func (CorePodDNSConfigOptionAssertion) IsAssertable ¶
func (_ CorePodDNSConfigOptionAssertion) IsAssertable()
IsAssertable marks CorePodDNSConfigOptionAssertion as an Assertable.
type CorePreconditionsAssertion ¶
CorePreconditionsAssertion is the assertion struct for Preconditions.
func (CorePreconditionsAssertion) IsAssertable ¶
func (_ CorePreconditionsAssertion) IsAssertable()
IsAssertable marks CorePreconditionsAssertion as an Assertable.
type CoreProbeAssertion ¶
type CoreProbeAssertion struct {
ProbeHandler ProbeHandlerAssertion
InitialDelaySeconds Opt[int32]
TimeoutSeconds Opt[int32]
PeriodSeconds Opt[int32]
SuccessThreshold Opt[int32]
FailureThreshold Opt[int32]
TerminationGracePeriodSeconds Opt[*int64]
}
CoreProbeAssertion is the assertion struct for Probe.
func (CoreProbeAssertion) IsAssertable ¶
func (_ CoreProbeAssertion) IsAssertable()
IsAssertable marks CoreProbeAssertion as an Assertable.
type CoreSchemeGroupVersionAssertion ¶
CoreSchemeGroupVersionAssertion is the assertion struct for GroupVersion.
func (CoreSchemeGroupVersionAssertion) IsAssertable ¶
func (_ CoreSchemeGroupVersionAssertion) IsAssertable()
IsAssertable marks CoreSchemeGroupVersionAssertion as an Assertable.
type CoreTopologySpreadConstraintAssertion ¶
type CoreTopologySpreadConstraintAssertion struct {
MaxSkew Opt[int32]
TopologyKey Opt[string]
WhenUnsatisfiable Opt[v11.UnsatisfiableConstraintAction]
LabelSelector LabelSelectorAssertion
MinDomains Opt[*int32]
NodeAffinityPolicy Opt[*v11.NodeInclusionPolicy]
NodeTaintsPolicy Opt[*v11.NodeInclusionPolicy]
MatchLabelKeys Opt[[]string]
}
CoreTopologySpreadConstraintAssertion is the assertion struct for TopologySpreadConstraint.
func (CoreTopologySpreadConstraintAssertion) IsAssertable ¶
func (_ CoreTopologySpreadConstraintAssertion) IsAssertable()
IsAssertable marks CoreTopologySpreadConstraintAssertion as an Assertable.
type CoreV1TopologySpreadConstraintAssertion ¶
type CoreV1TopologySpreadConstraintAssertion struct {
MaxSkew Opt[int32]
TopologyKey Opt[string]
WhenUnsatisfiable Opt[v11.UnsatisfiableConstraintAction]
LabelSelector LabelSelectorAssertion
MinDomains Opt[*int32]
NodeAffinityPolicy Opt[*v11.NodeInclusionPolicy]
NodeTaintsPolicy Opt[*v11.NodeInclusionPolicy]
MatchLabelKeys Opt[[]string]
}
CoreV1TopologySpreadConstraintAssertion is the assertion struct for CoreV1TopologySpreadConstraint.
func (CoreV1TopologySpreadConstraintAssertion) IsAssertable ¶
func (_ CoreV1TopologySpreadConstraintAssertion) IsAssertable()
IsAssertable marks CoreV1TopologySpreadConstraintAssertion as an Assertable.
type CreateOptionsAssertion ¶
type CreateOptionsAssertion struct {
TypeMeta TypeMetaAssertion
DryRun Opt[[]string]
FieldManager Opt[string]
FieldValidation Opt[string]
}
CreateOptionsAssertion is the assertion struct for CreateOptions.
func (CreateOptionsAssertion) IsAssertable ¶
func (_ CreateOptionsAssertion) IsAssertable()
IsAssertable marks CreateOptionsAssertion as an Assertable.
type CronJobAssertion ¶
type CronJobAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec CronJobSpecAssertion
Status Opt[v13.CronJobStatus]
}
CronJobAssertion is the assertion struct for CronJob.
func (CronJobAssertion) IsAssertable ¶
func (_ CronJobAssertion) IsAssertable()
IsAssertable marks CronJobAssertion as an Assertable.
type CronJobSpecAssertion ¶
type CronJobSpecAssertion struct {
Schedule Opt[string]
TimeZone Opt[*string]
StartingDeadlineSeconds Opt[*int64]
ConcurrencyPolicy Opt[v13.ConcurrencyPolicy]
Suspend Opt[*bool]
JobTemplate JobTemplateSpecAssertion
SuccessfulJobsHistoryLimit Opt[*int32]
FailedJobsHistoryLimit Opt[*int32]
}
CronJobSpecAssertion is the assertion struct for CronJobSpec.
func (CronJobSpecAssertion) IsAssertable ¶
func (_ CronJobSpecAssertion) IsAssertable()
IsAssertable marks CronJobSpecAssertion as an Assertable.
type CrossVersionObjectReferenceAssertion ¶
type CrossVersionObjectReferenceAssertion struct {
Kind Opt[string]
Name Opt[string]
APIVersion Opt[string]
}
CrossVersionObjectReferenceAssertion is the assertion struct for CrossVersionObjectReference.
func (CrossVersionObjectReferenceAssertion) IsAssertable ¶
func (_ CrossVersionObjectReferenceAssertion) IsAssertable()
IsAssertable marks CrossVersionObjectReferenceAssertion as an Assertable.
type DaemonEndpointAssertion ¶
DaemonEndpointAssertion is the assertion struct for DaemonEndpoint.
func (DaemonEndpointAssertion) IsAssertable ¶
func (_ DaemonEndpointAssertion) IsAssertable()
IsAssertable marks DaemonEndpointAssertion as an Assertable.
type DaemonSetAssertion ¶
type DaemonSetAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec DaemonSetSpecAssertion
Status Opt[v12.DaemonSetStatus]
}
DaemonSetAssertion is the assertion struct for DaemonSet.
func (DaemonSetAssertion) IsAssertable ¶
func (_ DaemonSetAssertion) IsAssertable()
IsAssertable marks DaemonSetAssertion as an Assertable.
type DaemonSetConditionAssertion ¶
type DaemonSetConditionAssertion struct {
Type Opt[v12.DaemonSetConditionType]
Status Opt[v11.ConditionStatus]
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
DaemonSetConditionAssertion is the assertion struct for DaemonSetCondition.
func (DaemonSetConditionAssertion) IsAssertable ¶
func (_ DaemonSetConditionAssertion) IsAssertable()
IsAssertable marks DaemonSetConditionAssertion as an Assertable.
type DaemonSetSpecAssertion ¶
type DaemonSetSpecAssertion struct {
Selector LabelSelectorAssertion
Template PodTemplateSpecAssertion
UpdateStrategy DaemonSetUpdateStrategyAssertion
MinReadySeconds Opt[int32]
RevisionHistoryLimit Opt[*int32]
}
DaemonSetSpecAssertion is the assertion struct for DaemonSetSpec.
func (DaemonSetSpecAssertion) IsAssertable ¶
func (_ DaemonSetSpecAssertion) IsAssertable()
IsAssertable marks DaemonSetSpecAssertion as an Assertable.
type DaemonSetUpdateStrategyAssertion ¶
type DaemonSetUpdateStrategyAssertion struct {
Type Opt[v12.DaemonSetUpdateStrategyType]
RollingUpdate RollingUpdateDaemonSetAssertion
}
DaemonSetUpdateStrategyAssertion is the assertion struct for DaemonSetUpdateStrategy.
func (DaemonSetUpdateStrategyAssertion) IsAssertable ¶
func (_ DaemonSetUpdateStrategyAssertion) IsAssertable()
IsAssertable marks DaemonSetUpdateStrategyAssertion as an Assertable.
type DeleteOptionsAssertion ¶
type DeleteOptionsAssertion struct {
TypeMeta TypeMetaAssertion
GracePeriodSeconds Opt[*int64]
Preconditions MetaPreconditionsAssertion
OrphanDependents Opt[*bool]
PropagationPolicy Opt[*v17.DeletionPropagation]
DryRun Opt[[]string]
IgnoreStoreReadErrorWithClusterBreakingPotential Opt[*bool]
}
DeleteOptionsAssertion is the assertion struct for DeleteOptions.
func (DeleteOptionsAssertion) IsAssertable ¶
func (_ DeleteOptionsAssertion) IsAssertable()
IsAssertable marks DeleteOptionsAssertion as an Assertable.
type DeploymentAssertion ¶
type DeploymentAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec DeploymentSpecAssertion
Status Opt[v12.DeploymentStatus]
}
DeploymentAssertion is the assertion struct for Deployment.
func (DeploymentAssertion) IsAssertable ¶
func (_ DeploymentAssertion) IsAssertable()
IsAssertable marks DeploymentAssertion as an Assertable.
type DeploymentConditionAssertion ¶
type DeploymentConditionAssertion struct {
Type Opt[v12.DeploymentConditionType]
Status Opt[v11.ConditionStatus]
LastUpdateTime TimeAssertion
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
DeploymentConditionAssertion is the assertion struct for DeploymentCondition.
func (DeploymentConditionAssertion) IsAssertable ¶
func (_ DeploymentConditionAssertion) IsAssertable()
IsAssertable marks DeploymentConditionAssertion as an Assertable.
type DeploymentSpecAssertion ¶
type DeploymentSpecAssertion struct {
Replicas Opt[*int32]
Selector LabelSelectorAssertion
Template PodTemplateSpecAssertion
Strategy DeploymentStrategyAssertion
MinReadySeconds Opt[int32]
RevisionHistoryLimit Opt[*int32]
Paused Opt[bool]
ProgressDeadlineSeconds Opt[*int32]
}
DeploymentSpecAssertion is the assertion struct for DeploymentSpec.
func (DeploymentSpecAssertion) IsAssertable ¶
func (_ DeploymentSpecAssertion) IsAssertable()
IsAssertable marks DeploymentSpecAssertion as an Assertable.
type DeploymentStrategyAssertion ¶
type DeploymentStrategyAssertion struct {
Type Opt[v12.DeploymentStrategyType]
RollingUpdate RollingUpdateDeploymentAssertion
}
DeploymentStrategyAssertion is the assertion struct for DeploymentStrategy.
func (DeploymentStrategyAssertion) IsAssertable ¶
func (_ DeploymentStrategyAssertion) IsAssertable()
IsAssertable marks DeploymentStrategyAssertion as an Assertable.
type DownwardAPIProjectionAssertion ¶
type DownwardAPIProjectionAssertion struct {
Items Opt[[]DownwardAPIVolumeFileAssertion]
}
DownwardAPIProjectionAssertion is the assertion struct for DownwardAPIProjection.
func (DownwardAPIProjectionAssertion) IsAssertable ¶
func (_ DownwardAPIProjectionAssertion) IsAssertable()
IsAssertable marks DownwardAPIProjectionAssertion as an Assertable.
type DownwardAPIVolumeFileAssertion ¶
type DownwardAPIVolumeFileAssertion struct {
Path Opt[string]
FieldRef ObjectFieldSelectorAssertion
ResourceFieldRef ResourceFieldSelectorAssertion
Mode Opt[*int32]
}
DownwardAPIVolumeFileAssertion is the assertion struct for DownwardAPIVolumeFile.
func (DownwardAPIVolumeFileAssertion) IsAssertable ¶
func (_ DownwardAPIVolumeFileAssertion) IsAssertable()
IsAssertable marks DownwardAPIVolumeFileAssertion as an Assertable.
type DownwardAPIVolumeSourceAssertion ¶
type DownwardAPIVolumeSourceAssertion struct {
Items Opt[[]DownwardAPIVolumeFileAssertion]
DefaultMode Opt[*int32]
}
DownwardAPIVolumeSourceAssertion is the assertion struct for DownwardAPIVolumeSource.
func (DownwardAPIVolumeSourceAssertion) IsAssertable ¶
func (_ DownwardAPIVolumeSourceAssertion) IsAssertable()
IsAssertable marks DownwardAPIVolumeSourceAssertion as an Assertable.
type DurationAssertion ¶
DurationAssertion is the assertion struct for Duration.
func (DurationAssertion) IsAssertable ¶
func (_ DurationAssertion) IsAssertable()
IsAssertable marks DurationAssertion as an Assertable.
type EmbeddedObjectMetadataAssertion ¶
type EmbeddedObjectMetadataAssertion struct {
Name Opt[string]
Labels Opt[map[string]string]
Annotations Opt[map[string]string]
}
EmbeddedObjectMetadataAssertion is the assertion struct for EmbeddedObjectMetadata.
func (EmbeddedObjectMetadataAssertion) IsAssertable ¶
func (_ EmbeddedObjectMetadataAssertion) IsAssertable()
IsAssertable marks EmbeddedObjectMetadataAssertion as an Assertable.
type EmbeddedPersistentVolumeClaimAssertion ¶
type EmbeddedPersistentVolumeClaimAssertion struct {
TypeMeta TypeMetaAssertion
EmbeddedObjectMetadata EmbeddedObjectMetadataAssertion
Spec PersistentVolumeClaimSpecAssertion
Status Opt[v11.PersistentVolumeClaimStatus]
}
EmbeddedPersistentVolumeClaimAssertion is the assertion struct for EmbeddedPersistentVolumeClaim.
func (EmbeddedPersistentVolumeClaimAssertion) IsAssertable ¶
func (_ EmbeddedPersistentVolumeClaimAssertion) IsAssertable()
IsAssertable marks EmbeddedPersistentVolumeClaimAssertion as an Assertable.
type EmptyDirVolumeSourceAssertion ¶
type EmptyDirVolumeSourceAssertion struct {
Medium Opt[v11.StorageMedium]
SizeLimit QuantityAssertion
}
EmptyDirVolumeSourceAssertion is the assertion struct for EmptyDirVolumeSource.
func (EmptyDirVolumeSourceAssertion) IsAssertable ¶
func (_ EmptyDirVolumeSourceAssertion) IsAssertable()
IsAssertable marks EmptyDirVolumeSourceAssertion as an Assertable.
type EndpointAddressAssertion ¶
type EndpointAddressAssertion struct {
IP Opt[string]
Hostname Opt[string]
NodeName Opt[*string]
TargetRef CoreObjectReferenceAssertion
}
EndpointAddressAssertion is the assertion struct for EndpointAddress.
func (EndpointAddressAssertion) IsAssertable ¶
func (_ EndpointAddressAssertion) IsAssertable()
IsAssertable marks EndpointAddressAssertion as an Assertable.
type EndpointAssertion ¶
type EndpointAssertion struct {
Port Opt[string]
TargetPort IntOrStringAssertion
Path Opt[string]
Scheme Opt[*v1.Scheme]
Params Opt[map[string][]string]
Interval Opt[v1.Duration]
ScrapeTimeout Opt[v1.Duration]
HonorLabels Opt[bool]
HonorTimestamps Opt[*bool]
TrackTimestampsStaleness Opt[*bool]
MetricRelabelConfigs Opt[[]RelabelConfigAssertion]
RelabelConfigs Opt[[]RelabelConfigAssertion]
FilterRunning Opt[*bool]
BearerTokenFile Opt[string]
HTTPConfigWithProxyAndTLSFiles HTTPConfigWithProxyAndTLSFilesAssertion
}
EndpointAssertion is the assertion struct for Endpoint.
func (EndpointAssertion) IsAssertable ¶
func (_ EndpointAssertion) IsAssertable()
IsAssertable marks EndpointAssertion as an Assertable.
type EndpointPortAssertion ¶
type EndpointPortAssertion struct {
Name Opt[string]
Port Opt[int32]
Protocol Opt[v11.Protocol]
AppProtocol Opt[*string]
}
EndpointPortAssertion is the assertion struct for EndpointPort.
func (EndpointPortAssertion) IsAssertable ¶
func (_ EndpointPortAssertion) IsAssertable()
IsAssertable marks EndpointPortAssertion as an Assertable.
type EndpointSubsetAssertion ¶
type EndpointSubsetAssertion struct {
Addresses Opt[[]EndpointAddressAssertion]
NotReadyAddresses Opt[[]EndpointAddressAssertion]
Ports Opt[[]EndpointPortAssertion]
}
EndpointSubsetAssertion is the assertion struct for EndpointSubset.
func (EndpointSubsetAssertion) IsAssertable ¶
func (_ EndpointSubsetAssertion) IsAssertable()
IsAssertable marks EndpointSubsetAssertion as an Assertable.
type EndpointsAssertion ¶
type EndpointsAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Subsets Opt[[]EndpointSubsetAssertion]
}
EndpointsAssertion is the assertion struct for Endpoints.
func (EndpointsAssertion) IsAssertable ¶
func (_ EndpointsAssertion) IsAssertable()
IsAssertable marks EndpointsAssertion as an Assertable.
type EnvFromSourceAssertion ¶
type EnvFromSourceAssertion struct {
Prefix Opt[string]
ConfigMapRef ConfigMapEnvSourceAssertion
SecretRef SecretEnvSourceAssertion
}
EnvFromSourceAssertion is the assertion struct for EnvFromSource.
func (EnvFromSourceAssertion) IsAssertable ¶
func (_ EnvFromSourceAssertion) IsAssertable()
IsAssertable marks EnvFromSourceAssertion as an Assertable.
type EnvVarAssertion ¶
type EnvVarAssertion struct {
Name Opt[string]
Value Opt[string]
ValueFrom EnvVarSourceAssertion
}
EnvVarAssertion is the assertion struct for EnvVar.
func (EnvVarAssertion) IsAssertable ¶
func (_ EnvVarAssertion) IsAssertable()
IsAssertable marks EnvVarAssertion as an Assertable.
type EnvVarSourceAssertion ¶
type EnvVarSourceAssertion struct {
FieldRef ObjectFieldSelectorAssertion
ResourceFieldRef ResourceFieldSelectorAssertion
ConfigMapKeyRef ConfigMapKeySelectorAssertion
SecretKeyRef SecretKeySelectorAssertion
FileKeyRef FileKeySelectorAssertion
}
EnvVarSourceAssertion is the assertion struct for EnvVarSource.
func (EnvVarSourceAssertion) IsAssertable ¶
func (_ EnvVarSourceAssertion) IsAssertable()
IsAssertable marks EnvVarSourceAssertion as an Assertable.
type EphemeralContainerAssertion ¶
type EphemeralContainerAssertion struct {
EphemeralContainerCommon EphemeralContainerCommonAssertion
TargetContainerName Opt[string]
}
EphemeralContainerAssertion is the assertion struct for EphemeralContainer.
func (EphemeralContainerAssertion) IsAssertable ¶
func (_ EphemeralContainerAssertion) IsAssertable()
IsAssertable marks EphemeralContainerAssertion as an Assertable.
type EphemeralContainerCommonAssertion ¶
type EphemeralContainerCommonAssertion struct {
Name Opt[string]
Image Opt[string]
Command Opt[[]string]
Args Opt[[]string]
WorkingDir Opt[string]
Ports Opt[[]ContainerPortAssertion]
EnvFrom Opt[[]EnvFromSourceAssertion]
Env Opt[[]EnvVarAssertion]
Resources ResourceRequirementsAssertion
ResizePolicy Opt[[]ContainerResizePolicyAssertion]
RestartPolicy Opt[*v11.ContainerRestartPolicy]
RestartPolicyRules Opt[[]ContainerRestartRuleAssertion]
VolumeMounts Opt[[]VolumeMountAssertion]
VolumeDevices Opt[[]VolumeDeviceAssertion]
LivenessProbe CoreProbeAssertion
ReadinessProbe CoreProbeAssertion
StartupProbe CoreProbeAssertion
Lifecycle LifecycleAssertion
TerminationMessagePath Opt[string]
TerminationMessagePolicy Opt[v11.TerminationMessagePolicy]
ImagePullPolicy Opt[v11.PullPolicy]
SecurityContext SecurityContextAssertion
Stdin Opt[bool]
StdinOnce Opt[bool]
TTY Opt[bool]
}
EphemeralContainerCommonAssertion is the assertion struct for EphemeralContainerCommon.
func (EphemeralContainerCommonAssertion) IsAssertable ¶
func (_ EphemeralContainerCommonAssertion) IsAssertable()
IsAssertable marks EphemeralContainerCommonAssertion as an Assertable.
type EphemeralVolumeSourceAssertion ¶
type EphemeralVolumeSourceAssertion struct {
VolumeClaimTemplate PersistentVolumeClaimTemplateAssertion
}
EphemeralVolumeSourceAssertion is the assertion struct for EphemeralVolumeSource.
func (EphemeralVolumeSourceAssertion) IsAssertable ¶
func (_ EphemeralVolumeSourceAssertion) IsAssertable()
IsAssertable marks EphemeralVolumeSourceAssertion as an Assertable.
type EventAssertion ¶
type EventAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
InvolvedObject CoreObjectReferenceAssertion
Reason Opt[string]
Message Opt[string]
Source EventSourceAssertion
FirstTimestamp TimeAssertion
LastTimestamp TimeAssertion
Count Opt[int32]
Type Opt[string]
EventTime MicroTimeAssertion
Series EventSeriesAssertion
Action Opt[string]
Related CoreObjectReferenceAssertion
ReportingController Opt[string]
ReportingInstance Opt[string]
}
EventAssertion is the assertion struct for Event.
func (EventAssertion) IsAssertable ¶
func (_ EventAssertion) IsAssertable()
IsAssertable marks EventAssertion as an Assertable.
type EventSeriesAssertion ¶
type EventSeriesAssertion struct {
Count Opt[int32]
LastObservedTime MicroTimeAssertion
}
EventSeriesAssertion is the assertion struct for EventSeries.
func (EventSeriesAssertion) IsAssertable ¶
func (_ EventSeriesAssertion) IsAssertable()
IsAssertable marks EventSeriesAssertion as an Assertable.
type EventSourceAssertion ¶
EventSourceAssertion is the assertion struct for EventSource.
func (EventSourceAssertion) IsAssertable ¶
func (_ EventSourceAssertion) IsAssertable()
IsAssertable marks EventSourceAssertion as an Assertable.
type EvictionAssertion ¶
type EvictionAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
DeleteOptions DeleteOptionsAssertion
}
EvictionAssertion is the assertion struct for Eviction.
func (EvictionAssertion) IsAssertable ¶
func (_ EvictionAssertion) IsAssertable()
IsAssertable marks EvictionAssertion as an Assertable.
type ExecActionAssertion ¶
ExecActionAssertion is the assertion struct for ExecAction.
func (ExecActionAssertion) IsAssertable ¶
func (_ ExecActionAssertion) IsAssertable()
IsAssertable marks ExecActionAssertion as an Assertable.
type ExemplarsAssertion ¶
ExemplarsAssertion is the assertion struct for Exemplars.
func (ExemplarsAssertion) IsAssertable ¶
func (_ ExemplarsAssertion) IsAssertable()
IsAssertable marks ExemplarsAssertion as an Assertable.
type ExternalMetricSourceAssertion ¶
type ExternalMetricSourceAssertion struct {
Metric MetricIdentifierAssertion
Target MetricTargetAssertion
}
ExternalMetricSourceAssertion is the assertion struct for ExternalMetricSource.
func (ExternalMetricSourceAssertion) IsAssertable ¶
func (_ ExternalMetricSourceAssertion) IsAssertable()
IsAssertable marks ExternalMetricSourceAssertion as an Assertable.
type FCVolumeSourceAssertion ¶
type FCVolumeSourceAssertion struct {
TargetWWNs Opt[[]string]
Lun Opt[*int32]
FSType Opt[string]
ReadOnly Opt[bool]
WWIDs Opt[[]string]
}
FCVolumeSourceAssertion is the assertion struct for FCVolumeSource.
func (FCVolumeSourceAssertion) IsAssertable ¶
func (_ FCVolumeSourceAssertion) IsAssertable()
IsAssertable marks FCVolumeSourceAssertion as an Assertable.
type FieldSelectorRequirementAssertion ¶
type FieldSelectorRequirementAssertion struct {
Key Opt[string]
Operator Opt[v17.FieldSelectorOperator]
Values Opt[[]string]
}
FieldSelectorRequirementAssertion is the assertion struct for FieldSelectorRequirement.
func (FieldSelectorRequirementAssertion) IsAssertable ¶
func (_ FieldSelectorRequirementAssertion) IsAssertable()
IsAssertable marks FieldSelectorRequirementAssertion as an Assertable.
type FieldsV1Assertion ¶
FieldsV1Assertion is the assertion struct for FieldsV1.
func (FieldsV1Assertion) IsAssertable ¶
func (_ FieldsV1Assertion) IsAssertable()
IsAssertable marks FieldsV1Assertion as an Assertable.
type FileKeySelectorAssertion ¶
type FileKeySelectorAssertion struct {
VolumeName Opt[string]
Path Opt[string]
Key Opt[string]
Optional Opt[*bool]
}
FileKeySelectorAssertion is the assertion struct for FileKeySelector.
func (FileKeySelectorAssertion) IsAssertable ¶
func (_ FileKeySelectorAssertion) IsAssertable()
IsAssertable marks FileKeySelectorAssertion as an Assertable.
type FlexPersistentVolumeSourceAssertion ¶
type FlexPersistentVolumeSourceAssertion struct {
Driver Opt[string]
FSType Opt[string]
SecretRef SecretReferenceAssertion
ReadOnly Opt[bool]
Options Opt[map[string]string]
}
FlexPersistentVolumeSourceAssertion is the assertion struct for FlexPersistentVolumeSource.
func (FlexPersistentVolumeSourceAssertion) IsAssertable ¶
func (_ FlexPersistentVolumeSourceAssertion) IsAssertable()
IsAssertable marks FlexPersistentVolumeSourceAssertion as an Assertable.
type FlexVolumeSourceAssertion ¶
type FlexVolumeSourceAssertion struct {
Driver Opt[string]
FSType Opt[string]
SecretRef CoreLocalObjectReferenceAssertion
ReadOnly Opt[bool]
Options Opt[map[string]string]
}
FlexVolumeSourceAssertion is the assertion struct for FlexVolumeSource.
func (FlexVolumeSourceAssertion) IsAssertable ¶
func (_ FlexVolumeSourceAssertion) IsAssertable()
IsAssertable marks FlexVolumeSourceAssertion as an Assertable.
type FlockerVolumeSourceAssertion ¶
FlockerVolumeSourceAssertion is the assertion struct for FlockerVolumeSource.
func (FlockerVolumeSourceAssertion) IsAssertable ¶
func (_ FlockerVolumeSourceAssertion) IsAssertable()
IsAssertable marks FlockerVolumeSourceAssertion as an Assertable.
type ForwardBodyConfigAssertion ¶
ForwardBodyConfigAssertion is the assertion struct for ForwardBodyConfig.
func (ForwardBodyConfigAssertion) IsAssertable ¶
func (_ ForwardBodyConfigAssertion) IsAssertable()
IsAssertable marks ForwardBodyConfigAssertion as an Assertable.
type FractionAssertion ¶
FractionAssertion is the assertion struct for Fraction.
func (FractionAssertion) IsAssertable ¶
func (_ FractionAssertion) IsAssertable()
IsAssertable marks FractionAssertion as an Assertable.
type FrontendTLSConfigAssertion ¶
type FrontendTLSConfigAssertion struct {
Default ApisTLSConfigAssertion
PerPort Opt[[]TLSPortConfigAssertion]
}
FrontendTLSConfigAssertion is the assertion struct for FrontendTLSConfig.
func (FrontendTLSConfigAssertion) IsAssertable ¶
func (_ FrontendTLSConfigAssertion) IsAssertable()
IsAssertable marks FrontendTLSConfigAssertion as an Assertable.
type FrontendTLSValidationAssertion ¶
type FrontendTLSValidationAssertion struct {
CACertificateRefs Opt[[]ApisObjectReferenceAssertion]
Mode Opt[v18.FrontendValidationModeType]
}
FrontendTLSValidationAssertion is the assertion struct for FrontendTLSValidation.
func (FrontendTLSValidationAssertion) IsAssertable ¶
func (_ FrontendTLSValidationAssertion) IsAssertable()
IsAssertable marks FrontendTLSValidationAssertion as an Assertable.
type GCEPersistentDiskVolumeSourceAssertion ¶
type GCEPersistentDiskVolumeSourceAssertion struct {
PDName Opt[string]
FSType Opt[string]
Partition Opt[int32]
ReadOnly Opt[bool]
}
GCEPersistentDiskVolumeSourceAssertion is the assertion struct for GCEPersistentDiskVolumeSource.
func (GCEPersistentDiskVolumeSourceAssertion) IsAssertable ¶
func (_ GCEPersistentDiskVolumeSourceAssertion) IsAssertable()
IsAssertable marks GCEPersistentDiskVolumeSourceAssertion as an Assertable.
type GRPCActionAssertion ¶
GRPCActionAssertion is the assertion struct for GRPCAction.
func (GRPCActionAssertion) IsAssertable ¶
func (_ GRPCActionAssertion) IsAssertable()
IsAssertable marks GRPCActionAssertion as an Assertable.
type GRPCAuthConfigAssertion ¶
GRPCAuthConfigAssertion is the assertion struct for GRPCAuthConfig.
func (GRPCAuthConfigAssertion) IsAssertable ¶
func (_ GRPCAuthConfigAssertion) IsAssertable()
IsAssertable marks GRPCAuthConfigAssertion as an Assertable.
type GRPCBackendRefAssertion ¶
type GRPCBackendRefAssertion struct {
BackendRef BackendRefAssertion
Filters Opt[[]GRPCRouteFilterAssertion]
}
GRPCBackendRefAssertion is the assertion struct for GRPCBackendRef.
func (GRPCBackendRefAssertion) IsAssertable ¶
func (_ GRPCBackendRefAssertion) IsAssertable()
IsAssertable marks GRPCBackendRefAssertion as an Assertable.
type GRPCHeaderMatchAssertion ¶
type GRPCHeaderMatchAssertion struct {
Type Opt[*v18.GRPCHeaderMatchType]
Name Opt[v18.GRPCHeaderName]
Value Opt[string]
}
GRPCHeaderMatchAssertion is the assertion struct for GRPCHeaderMatch.
func (GRPCHeaderMatchAssertion) IsAssertable ¶
func (_ GRPCHeaderMatchAssertion) IsAssertable()
IsAssertable marks GRPCHeaderMatchAssertion as an Assertable.
type GRPCMethodMatchAssertion ¶
type GRPCMethodMatchAssertion struct {
Type Opt[*v18.GRPCMethodMatchType]
Service Opt[*string]
Method Opt[*string]
}
GRPCMethodMatchAssertion is the assertion struct for GRPCMethodMatch.
func (GRPCMethodMatchAssertion) IsAssertable ¶
func (_ GRPCMethodMatchAssertion) IsAssertable()
IsAssertable marks GRPCMethodMatchAssertion as an Assertable.
type GRPCRouteAssertion ¶
type GRPCRouteAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec GRPCRouteSpecAssertion
Status Opt[v18.GRPCRouteStatus]
}
GRPCRouteAssertion is the assertion struct for GRPCRoute.
func (GRPCRouteAssertion) IsAssertable ¶
func (_ GRPCRouteAssertion) IsAssertable()
IsAssertable marks GRPCRouteAssertion as an Assertable.
type GRPCRouteFilterAssertion ¶
type GRPCRouteFilterAssertion struct {
Type Opt[v18.GRPCRouteFilterType]
RequestHeaderModifier HTTPHeaderFilterAssertion
ResponseHeaderModifier HTTPHeaderFilterAssertion
RequestMirror HTTPRequestMirrorFilterAssertion
ExtensionRef ApisLocalObjectReferenceAssertion
}
GRPCRouteFilterAssertion is the assertion struct for GRPCRouteFilter.
func (GRPCRouteFilterAssertion) IsAssertable ¶
func (_ GRPCRouteFilterAssertion) IsAssertable()
IsAssertable marks GRPCRouteFilterAssertion as an Assertable.
type GRPCRouteMatchAssertion ¶
type GRPCRouteMatchAssertion struct {
Method GRPCMethodMatchAssertion
Headers Opt[[]GRPCHeaderMatchAssertion]
}
GRPCRouteMatchAssertion is the assertion struct for GRPCRouteMatch.
func (GRPCRouteMatchAssertion) IsAssertable ¶
func (_ GRPCRouteMatchAssertion) IsAssertable()
IsAssertable marks GRPCRouteMatchAssertion as an Assertable.
type GRPCRouteRuleAssertion ¶
type GRPCRouteRuleAssertion struct {
Name Opt[*v18.SectionName]
Matches Opt[[]GRPCRouteMatchAssertion]
Filters Opt[[]GRPCRouteFilterAssertion]
BackendRefs Opt[[]GRPCBackendRefAssertion]
SessionPersistence SessionPersistenceAssertion
}
GRPCRouteRuleAssertion is the assertion struct for GRPCRouteRule.
func (GRPCRouteRuleAssertion) IsAssertable ¶
func (_ GRPCRouteRuleAssertion) IsAssertable()
IsAssertable marks GRPCRouteRuleAssertion as an Assertable.
type GRPCRouteSpecAssertion ¶
type GRPCRouteSpecAssertion struct {
CommonRouteSpec CommonRouteSpecAssertion
Hostnames Opt[[]v18.Hostname]
Rules Opt[[]GRPCRouteRuleAssertion]
}
GRPCRouteSpecAssertion is the assertion struct for GRPCRouteSpec.
func (GRPCRouteSpecAssertion) IsAssertable ¶
func (_ GRPCRouteSpecAssertion) IsAssertable()
IsAssertable marks GRPCRouteSpecAssertion as an Assertable.
type GRPCServerTLSConfigAssertion ¶
type GRPCServerTLSConfigAssertion struct {
TLSConfig MonitoringTLSConfigAssertion
CipherSuites Opt[[]string]
Curves Opt[[]string]
}
GRPCServerTLSConfigAssertion is the assertion struct for GRPCServerTLSConfig.
func (GRPCServerTLSConfigAssertion) IsAssertable ¶
func (_ GRPCServerTLSConfigAssertion) IsAssertable()
IsAssertable marks GRPCServerTLSConfigAssertion as an Assertable.
type GatewayAssertion ¶
type GatewayAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec GatewaySpecAssertion
Status Opt[v18.GatewayStatus]
}
GatewayAssertion is the assertion struct for Gateway.
func (GatewayAssertion) IsAssertable ¶
func (_ GatewayAssertion) IsAssertable()
IsAssertable marks GatewayAssertion as an Assertable.
type GatewayBackendTLSAssertion ¶
type GatewayBackendTLSAssertion struct {
ClientCertificateRef SecretObjectReferenceAssertion
}
GatewayBackendTLSAssertion is the assertion struct for GatewayBackendTLS.
func (GatewayBackendTLSAssertion) IsAssertable ¶
func (_ GatewayBackendTLSAssertion) IsAssertable()
IsAssertable marks GatewayBackendTLSAssertion as an Assertable.
type GatewayClassAssertion ¶
type GatewayClassAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec GatewayClassSpecAssertion
Status Opt[v18.GatewayClassStatus]
}
GatewayClassAssertion is the assertion struct for GatewayClass.
func (GatewayClassAssertion) IsAssertable ¶
func (_ GatewayClassAssertion) IsAssertable()
IsAssertable marks GatewayClassAssertion as an Assertable.
type GatewayClassSpecAssertion ¶
type GatewayClassSpecAssertion struct {
ControllerName Opt[v18.GatewayController]
ParametersRef ParametersReferenceAssertion
Description Opt[*string]
}
GatewayClassSpecAssertion is the assertion struct for GatewayClassSpec.
func (GatewayClassSpecAssertion) IsAssertable ¶
func (_ GatewayClassSpecAssertion) IsAssertable()
IsAssertable marks GatewayClassSpecAssertion as an Assertable.
type GatewayInfrastructureAssertion ¶
type GatewayInfrastructureAssertion struct {
Labels Opt[map[v18.LabelKey]v18.LabelValue]
Annotations Opt[map[v18.AnnotationKey]v18.AnnotationValue]
ParametersRef LocalParametersReferenceAssertion
}
GatewayInfrastructureAssertion is the assertion struct for GatewayInfrastructure.
func (GatewayInfrastructureAssertion) IsAssertable ¶
func (_ GatewayInfrastructureAssertion) IsAssertable()
IsAssertable marks GatewayInfrastructureAssertion as an Assertable.
type GatewaySpecAddressAssertion ¶
type GatewaySpecAddressAssertion struct {
Type Opt[*v18.AddressType]
Value Opt[string]
}
GatewaySpecAddressAssertion is the assertion struct for GatewaySpecAddress.
func (GatewaySpecAddressAssertion) IsAssertable ¶
func (_ GatewaySpecAddressAssertion) IsAssertable()
IsAssertable marks GatewaySpecAddressAssertion as an Assertable.
type GatewaySpecAssertion ¶
type GatewaySpecAssertion struct {
GatewayClassName Opt[v18.ObjectName]
Listeners Opt[[]ListenerAssertion]
Addresses Opt[[]GatewaySpecAddressAssertion]
Infrastructure GatewayInfrastructureAssertion
AllowedListeners AllowedListenersAssertion
TLS GatewayTLSConfigAssertion
DefaultScope Opt[v18.GatewayDefaultScope]
}
GatewaySpecAssertion is the assertion struct for GatewaySpec.
func (GatewaySpecAssertion) IsAssertable ¶
func (_ GatewaySpecAssertion) IsAssertable()
IsAssertable marks GatewaySpecAssertion as an Assertable.
type GatewayStatusAddressAssertion ¶
type GatewayStatusAddressAssertion struct {
Type Opt[*v18.AddressType]
Value Opt[string]
}
GatewayStatusAddressAssertion is the assertion struct for GatewayStatusAddress.
func (GatewayStatusAddressAssertion) IsAssertable ¶
func (_ GatewayStatusAddressAssertion) IsAssertable()
IsAssertable marks GatewayStatusAddressAssertion as an Assertable.
type GatewayTLSConfigAssertion ¶
type GatewayTLSConfigAssertion struct {
Backend GatewayBackendTLSAssertion
Frontend FrontendTLSConfigAssertion
}
GatewayTLSConfigAssertion is the assertion struct for GatewayTLSConfig.
func (GatewayTLSConfigAssertion) IsAssertable ¶
func (_ GatewayTLSConfigAssertion) IsAssertable()
IsAssertable marks GatewayTLSConfigAssertion as an Assertable.
type GetOptionsAssertion ¶
type GetOptionsAssertion struct {
TypeMeta TypeMetaAssertion
ResourceVersion Opt[string]
}
GetOptionsAssertion is the assertion struct for GetOptions.
func (GetOptionsAssertion) IsAssertable ¶
func (_ GetOptionsAssertion) IsAssertable()
IsAssertable marks GetOptionsAssertion as an Assertable.
type GitRepoVolumeSourceAssertion ¶
type GitRepoVolumeSourceAssertion struct {
Repository Opt[string]
Revision Opt[string]
Directory Opt[string]
}
GitRepoVolumeSourceAssertion is the assertion struct for GitRepoVolumeSource.
func (GitRepoVolumeSourceAssertion) IsAssertable ¶
func (_ GitRepoVolumeSourceAssertion) IsAssertable()
IsAssertable marks GitRepoVolumeSourceAssertion as an Assertable.
type GlobalJiraConfigAssertion ¶
GlobalJiraConfigAssertion is the assertion struct for GlobalJiraConfig.
func (GlobalJiraConfigAssertion) IsAssertable ¶
func (_ GlobalJiraConfigAssertion) IsAssertable()
IsAssertable marks GlobalJiraConfigAssertion as an Assertable.
type GlobalMattermostConfigAssertion ¶
type GlobalMattermostConfigAssertion struct {
WebhookURL SecretKeySelectorAssertion
}
GlobalMattermostConfigAssertion is the assertion struct for GlobalMattermostConfig.
func (GlobalMattermostConfigAssertion) IsAssertable ¶
func (_ GlobalMattermostConfigAssertion) IsAssertable()
IsAssertable marks GlobalMattermostConfigAssertion as an Assertable.
type GlobalRocketChatConfigAssertion ¶
type GlobalRocketChatConfigAssertion struct {
APIURL Opt[*v1.URL]
Token SecretKeySelectorAssertion
TokenID SecretKeySelectorAssertion
}
GlobalRocketChatConfigAssertion is the assertion struct for GlobalRocketChatConfig.
func (GlobalRocketChatConfigAssertion) IsAssertable ¶
func (_ GlobalRocketChatConfigAssertion) IsAssertable()
IsAssertable marks GlobalRocketChatConfigAssertion as an Assertable.
type GlobalSMTPConfigAssertion ¶
type GlobalSMTPConfigAssertion struct {
From Opt[*string]
SmartHost HostPortAssertion
Hello Opt[*string]
AuthUsername Opt[*string]
AuthPassword SecretKeySelectorAssertion
AuthIdentity Opt[*string]
AuthSecret SecretKeySelectorAssertion
RequireTLS Opt[*bool]
TLSConfig SafeTLSConfigAssertion
ForceImplicitTLS Opt[*bool]
}
GlobalSMTPConfigAssertion is the assertion struct for GlobalSMTPConfig.
func (GlobalSMTPConfigAssertion) IsAssertable ¶
func (_ GlobalSMTPConfigAssertion) IsAssertable()
IsAssertable marks GlobalSMTPConfigAssertion as an Assertable.
type GlobalTelegramConfigAssertion ¶
GlobalTelegramConfigAssertion is the assertion struct for GlobalTelegramConfig.
func (GlobalTelegramConfigAssertion) IsAssertable ¶
func (_ GlobalTelegramConfigAssertion) IsAssertable()
IsAssertable marks GlobalTelegramConfigAssertion as an Assertable.
type GlobalVictorOpsConfigAssertion ¶
type GlobalVictorOpsConfigAssertion struct {
APIURL Opt[*v1.URL]
APIKey SecretKeySelectorAssertion
}
GlobalVictorOpsConfigAssertion is the assertion struct for GlobalVictorOpsConfig.
func (GlobalVictorOpsConfigAssertion) IsAssertable ¶
func (_ GlobalVictorOpsConfigAssertion) IsAssertable()
IsAssertable marks GlobalVictorOpsConfigAssertion as an Assertable.
type GlobalWeChatConfigAssertion ¶
type GlobalWeChatConfigAssertion struct {
APIURL Opt[*v1.URL]
APISecret SecretKeySelectorAssertion
APICorpID Opt[*string]
}
GlobalWeChatConfigAssertion is the assertion struct for GlobalWeChatConfig.
func (GlobalWeChatConfigAssertion) IsAssertable ¶
func (_ GlobalWeChatConfigAssertion) IsAssertable()
IsAssertable marks GlobalWeChatConfigAssertion as an Assertable.
type GlobalWebexConfigAssertion ¶
GlobalWebexConfigAssertion is the assertion struct for GlobalWebexConfig.
func (GlobalWebexConfigAssertion) IsAssertable ¶
func (_ GlobalWebexConfigAssertion) IsAssertable()
IsAssertable marks GlobalWebexConfigAssertion as an Assertable.
type GlusterfsPersistentVolumeSourceAssertion ¶
type GlusterfsPersistentVolumeSourceAssertion struct {
EndpointsName Opt[string]
Path Opt[string]
ReadOnly Opt[bool]
EndpointsNamespace Opt[*string]
}
GlusterfsPersistentVolumeSourceAssertion is the assertion struct for GlusterfsPersistentVolumeSource.
func (GlusterfsPersistentVolumeSourceAssertion) IsAssertable ¶
func (_ GlusterfsPersistentVolumeSourceAssertion) IsAssertable()
IsAssertable marks GlusterfsPersistentVolumeSourceAssertion as an Assertable.
type GlusterfsVolumeSourceAssertion ¶
type GlusterfsVolumeSourceAssertion struct {
EndpointsName Opt[string]
Path Opt[string]
ReadOnly Opt[bool]
}
GlusterfsVolumeSourceAssertion is the assertion struct for GlusterfsVolumeSource.
func (GlusterfsVolumeSourceAssertion) IsAssertable ¶
func (_ GlusterfsVolumeSourceAssertion) IsAssertable()
IsAssertable marks GlusterfsVolumeSourceAssertion as an Assertable.
type GroupKindAssertion ¶
GroupKindAssertion is the assertion struct for GroupKind.
func (GroupKindAssertion) IsAssertable ¶
func (_ GroupKindAssertion) IsAssertable()
IsAssertable marks GroupKindAssertion as an Assertable.
type GroupResourceAssertion ¶
GroupResourceAssertion is the assertion struct for GroupResource.
func (GroupResourceAssertion) IsAssertable ¶
func (_ GroupResourceAssertion) IsAssertable()
IsAssertable marks GroupResourceAssertion as an Assertable.
type GroupVersionForDiscoveryAssertion ¶
GroupVersionForDiscoveryAssertion is the assertion struct for GroupVersionForDiscovery.
func (GroupVersionForDiscoveryAssertion) IsAssertable ¶
func (_ GroupVersionForDiscoveryAssertion) IsAssertable()
IsAssertable marks GroupVersionForDiscoveryAssertion as an Assertable.
type GroupVersionKindAssertion ¶
GroupVersionKindAssertion is the assertion struct for GroupVersionKind.
func (GroupVersionKindAssertion) IsAssertable ¶
func (_ GroupVersionKindAssertion) IsAssertable()
IsAssertable marks GroupVersionKindAssertion as an Assertable.
type GroupVersionResourceAssertion ¶
type GroupVersionResourceAssertion struct {
Group Opt[string]
Version Opt[string]
Resource Opt[string]
}
GroupVersionResourceAssertion is the assertion struct for GroupVersionResource.
func (GroupVersionResourceAssertion) IsAssertable ¶
func (_ GroupVersionResourceAssertion) IsAssertable()
IsAssertable marks GroupVersionResourceAssertion as an Assertable.
type HPAScalingPolicyAssertion ¶
type HPAScalingPolicyAssertion struct {
Type Opt[v2.HPAScalingPolicyType]
Value Opt[int32]
PeriodSeconds Opt[int32]
}
HPAScalingPolicyAssertion is the assertion struct for HPAScalingPolicy.
func (HPAScalingPolicyAssertion) IsAssertable ¶
func (_ HPAScalingPolicyAssertion) IsAssertable()
IsAssertable marks HPAScalingPolicyAssertion as an Assertable.
type HPAScalingRulesAssertion ¶
type HPAScalingRulesAssertion struct {
StabilizationWindowSeconds Opt[*int32]
SelectPolicy Opt[*v2.ScalingPolicySelect]
Policies Opt[[]HPAScalingPolicyAssertion]
Tolerance QuantityAssertion
}
HPAScalingRulesAssertion is the assertion struct for HPAScalingRules.
func (HPAScalingRulesAssertion) IsAssertable ¶
func (_ HPAScalingRulesAssertion) IsAssertable()
IsAssertable marks HPAScalingRulesAssertion as an Assertable.
type HTTPAuthConfigAssertion ¶
type HTTPAuthConfigAssertion struct {
Path Opt[string]
AllowedRequestHeaders Opt[[]string]
AllowedResponseHeaders Opt[[]string]
}
HTTPAuthConfigAssertion is the assertion struct for HTTPAuthConfig.
func (HTTPAuthConfigAssertion) IsAssertable ¶
func (_ HTTPAuthConfigAssertion) IsAssertable()
IsAssertable marks HTTPAuthConfigAssertion as an Assertable.
type HTTPBackendRefAssertion ¶
type HTTPBackendRefAssertion struct {
BackendRef BackendRefAssertion
Filters Opt[[]HTTPRouteFilterAssertion]
}
HTTPBackendRefAssertion is the assertion struct for HTTPBackendRef.
func (HTTPBackendRefAssertion) IsAssertable ¶
func (_ HTTPBackendRefAssertion) IsAssertable()
IsAssertable marks HTTPBackendRefAssertion as an Assertable.
type HTTPCORSFilterAssertion ¶
type HTTPCORSFilterAssertion struct {
AllowOrigins Opt[[]v18.CORSOrigin]
AllowCredentials Opt[*bool]
AllowMethods Opt[[]v18.HTTPMethodWithWildcard]
AllowHeaders Opt[[]v18.HTTPHeaderName]
ExposeHeaders Opt[[]v18.HTTPHeaderName]
MaxAge Opt[int32]
}
HTTPCORSFilterAssertion is the assertion struct for HTTPCORSFilter.
func (HTTPCORSFilterAssertion) IsAssertable ¶
func (_ HTTPCORSFilterAssertion) IsAssertable()
IsAssertable marks HTTPCORSFilterAssertion as an Assertable.
type HTTPConfigAssertion ¶
type HTTPConfigAssertion struct {
HTTPConfigWithoutTLS HTTPConfigWithoutTLSAssertion
TLSConfig SafeTLSConfigAssertion
}
HTTPConfigAssertion is the assertion struct for HTTPConfig.
func (HTTPConfigAssertion) IsAssertable ¶
func (_ HTTPConfigAssertion) IsAssertable()
IsAssertable marks HTTPConfigAssertion as an Assertable.
type HTTPConfigWithProxyAndTLSFilesAssertion ¶
type HTTPConfigWithProxyAndTLSFilesAssertion struct {
HTTPConfigWithTLSFiles HTTPConfigWithTLSFilesAssertion
ProxyConfig ProxyConfigAssertion
}
HTTPConfigWithProxyAndTLSFilesAssertion is the assertion struct for HTTPConfigWithProxyAndTLSFiles.
func (HTTPConfigWithProxyAndTLSFilesAssertion) IsAssertable ¶
func (_ HTTPConfigWithProxyAndTLSFilesAssertion) IsAssertable()
IsAssertable marks HTTPConfigWithProxyAndTLSFilesAssertion as an Assertable.
type HTTPConfigWithProxyAssertion ¶
type HTTPConfigWithProxyAssertion struct {
HTTPConfig HTTPConfigAssertion
ProxyConfig ProxyConfigAssertion
}
HTTPConfigWithProxyAssertion is the assertion struct for HTTPConfigWithProxy.
func (HTTPConfigWithProxyAssertion) IsAssertable ¶
func (_ HTTPConfigWithProxyAssertion) IsAssertable()
IsAssertable marks HTTPConfigWithProxyAssertion as an Assertable.
type HTTPConfigWithTLSFilesAssertion ¶
type HTTPConfigWithTLSFilesAssertion struct {
HTTPConfigWithoutTLS HTTPConfigWithoutTLSAssertion
TLSConfig MonitoringTLSConfigAssertion
}
HTTPConfigWithTLSFilesAssertion is the assertion struct for HTTPConfigWithTLSFiles.
func (HTTPConfigWithTLSFilesAssertion) IsAssertable ¶
func (_ HTTPConfigWithTLSFilesAssertion) IsAssertable()
IsAssertable marks HTTPConfigWithTLSFilesAssertion as an Assertable.
type HTTPConfigWithoutTLSAssertion ¶
type HTTPConfigWithoutTLSAssertion struct {
Authorization SafeAuthorizationAssertion
BasicAuth BasicAuthAssertion
OAuth2 OAuth2Assertion
BearerTokenSecret SecretKeySelectorAssertion
FollowRedirects Opt[*bool]
EnableHTTP2 Opt[*bool]
}
HTTPConfigWithoutTLSAssertion is the assertion struct for HTTPConfigWithoutTLS.
func (HTTPConfigWithoutTLSAssertion) IsAssertable ¶
func (_ HTTPConfigWithoutTLSAssertion) IsAssertable()
IsAssertable marks HTTPConfigWithoutTLSAssertion as an Assertable.
type HTTPExternalAuthFilterAssertion ¶
type HTTPExternalAuthFilterAssertion struct {
ExternalAuthProtocol Opt[v18.HTTPRouteExternalAuthProtocol]
BackendRef BackendObjectReferenceAssertion
GRPCAuthConfig GRPCAuthConfigAssertion
HTTPAuthConfig HTTPAuthConfigAssertion
ForwardBody ForwardBodyConfigAssertion
}
HTTPExternalAuthFilterAssertion is the assertion struct for HTTPExternalAuthFilter.
func (HTTPExternalAuthFilterAssertion) IsAssertable ¶
func (_ HTTPExternalAuthFilterAssertion) IsAssertable()
IsAssertable marks HTTPExternalAuthFilterAssertion as an Assertable.
type HTTPGetActionAssertion ¶
type HTTPGetActionAssertion struct {
Path Opt[string]
Port IntOrStringAssertion
Host Opt[string]
Scheme Opt[v11.URIScheme]
HTTPHeaders Opt[[]CoreHTTPHeaderAssertion]
}
HTTPGetActionAssertion is the assertion struct for HTTPGetAction.
func (HTTPGetActionAssertion) IsAssertable ¶
func (_ HTTPGetActionAssertion) IsAssertable()
IsAssertable marks HTTPGetActionAssertion as an Assertable.
type HTTPHeaderFilterAssertion ¶
type HTTPHeaderFilterAssertion struct {
Set Opt[[]ApisHTTPHeaderAssertion]
Add Opt[[]ApisHTTPHeaderAssertion]
Remove Opt[[]string]
}
HTTPHeaderFilterAssertion is the assertion struct for HTTPHeaderFilter.
func (HTTPHeaderFilterAssertion) IsAssertable ¶
func (_ HTTPHeaderFilterAssertion) IsAssertable()
IsAssertable marks HTTPHeaderFilterAssertion as an Assertable.
type HTTPHeaderMatchAssertion ¶
type HTTPHeaderMatchAssertion struct {
Type Opt[*v18.HeaderMatchType]
Name Opt[v18.HTTPHeaderName]
Value Opt[string]
}
HTTPHeaderMatchAssertion is the assertion struct for HTTPHeaderMatch.
func (HTTPHeaderMatchAssertion) IsAssertable ¶
func (_ HTTPHeaderMatchAssertion) IsAssertable()
IsAssertable marks HTTPHeaderMatchAssertion as an Assertable.
type HTTPIngressPathAssertion ¶
type HTTPIngressPathAssertion struct {
Path Opt[string]
PathType Opt[*v14.PathType]
Backend IngressBackendAssertion
}
HTTPIngressPathAssertion is the assertion struct for HTTPIngressPath.
func (HTTPIngressPathAssertion) IsAssertable ¶
func (_ HTTPIngressPathAssertion) IsAssertable()
IsAssertable marks HTTPIngressPathAssertion as an Assertable.
type HTTPIngressRuleValueAssertion ¶
type HTTPIngressRuleValueAssertion struct {
Paths Opt[[]HTTPIngressPathAssertion]
}
HTTPIngressRuleValueAssertion is the assertion struct for HTTPIngressRuleValue.
func (HTTPIngressRuleValueAssertion) IsAssertable ¶
func (_ HTTPIngressRuleValueAssertion) IsAssertable()
IsAssertable marks HTTPIngressRuleValueAssertion as an Assertable.
type HTTPPathMatchAssertion ¶
type HTTPPathMatchAssertion struct {
Type Opt[*v18.PathMatchType]
Value Opt[*string]
}
HTTPPathMatchAssertion is the assertion struct for HTTPPathMatch.
func (HTTPPathMatchAssertion) IsAssertable ¶
func (_ HTTPPathMatchAssertion) IsAssertable()
IsAssertable marks HTTPPathMatchAssertion as an Assertable.
type HTTPPathModifierAssertion ¶
type HTTPPathModifierAssertion struct {
Type Opt[v18.HTTPPathModifierType]
ReplaceFullPath Opt[*string]
ReplacePrefixMatch Opt[*string]
}
HTTPPathModifierAssertion is the assertion struct for HTTPPathModifier.
func (HTTPPathModifierAssertion) IsAssertable ¶
func (_ HTTPPathModifierAssertion) IsAssertable()
IsAssertable marks HTTPPathModifierAssertion as an Assertable.
type HTTPQueryParamMatchAssertion ¶
type HTTPQueryParamMatchAssertion struct {
Type Opt[*v18.QueryParamMatchType]
Name Opt[v18.HTTPHeaderName]
Value Opt[string]
}
HTTPQueryParamMatchAssertion is the assertion struct for HTTPQueryParamMatch.
func (HTTPQueryParamMatchAssertion) IsAssertable ¶
func (_ HTTPQueryParamMatchAssertion) IsAssertable()
IsAssertable marks HTTPQueryParamMatchAssertion as an Assertable.
type HTTPRequestMirrorFilterAssertion ¶
type HTTPRequestMirrorFilterAssertion struct {
BackendRef BackendObjectReferenceAssertion
Percent Opt[*int32]
Fraction FractionAssertion
}
HTTPRequestMirrorFilterAssertion is the assertion struct for HTTPRequestMirrorFilter.
func (HTTPRequestMirrorFilterAssertion) IsAssertable ¶
func (_ HTTPRequestMirrorFilterAssertion) IsAssertable()
IsAssertable marks HTTPRequestMirrorFilterAssertion as an Assertable.
type HTTPRequestRedirectFilterAssertion ¶
type HTTPRequestRedirectFilterAssertion struct {
Scheme Opt[*string]
Hostname Opt[*v18.PreciseHostname]
Path HTTPPathModifierAssertion
Port Opt[*v18.PortNumber]
StatusCode Opt[*int]
}
HTTPRequestRedirectFilterAssertion is the assertion struct for HTTPRequestRedirectFilter.
func (HTTPRequestRedirectFilterAssertion) IsAssertable ¶
func (_ HTTPRequestRedirectFilterAssertion) IsAssertable()
IsAssertable marks HTTPRequestRedirectFilterAssertion as an Assertable.
type HTTPRouteAssertion ¶
type HTTPRouteAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec HTTPRouteSpecAssertion
Status Opt[v18.HTTPRouteStatus]
}
HTTPRouteAssertion is the assertion struct for HTTPRoute.
func (HTTPRouteAssertion) IsAssertable ¶
func (_ HTTPRouteAssertion) IsAssertable()
IsAssertable marks HTTPRouteAssertion as an Assertable.
type HTTPRouteFilterAssertion ¶
type HTTPRouteFilterAssertion struct {
Type Opt[v18.HTTPRouteFilterType]
RequestHeaderModifier HTTPHeaderFilterAssertion
ResponseHeaderModifier HTTPHeaderFilterAssertion
RequestMirror HTTPRequestMirrorFilterAssertion
RequestRedirect HTTPRequestRedirectFilterAssertion
URLRewrite HTTPURLRewriteFilterAssertion
CORS HTTPCORSFilterAssertion
ExternalAuth HTTPExternalAuthFilterAssertion
ExtensionRef ApisLocalObjectReferenceAssertion
}
HTTPRouteFilterAssertion is the assertion struct for HTTPRouteFilter.
func (HTTPRouteFilterAssertion) IsAssertable ¶
func (_ HTTPRouteFilterAssertion) IsAssertable()
IsAssertable marks HTTPRouteFilterAssertion as an Assertable.
type HTTPRouteMatchAssertion ¶
type HTTPRouteMatchAssertion struct {
Path HTTPPathMatchAssertion
Headers Opt[[]HTTPHeaderMatchAssertion]
QueryParams Opt[[]HTTPQueryParamMatchAssertion]
Method Opt[*v18.HTTPMethod]
}
HTTPRouteMatchAssertion is the assertion struct for HTTPRouteMatch.
func (HTTPRouteMatchAssertion) IsAssertable ¶
func (_ HTTPRouteMatchAssertion) IsAssertable()
IsAssertable marks HTTPRouteMatchAssertion as an Assertable.
type HTTPRouteRetryAssertion ¶
type HTTPRouteRetryAssertion struct {
Codes Opt[[]v18.HTTPRouteRetryStatusCode]
Attempts Opt[*int]
Backoff Opt[*v18.Duration]
}
HTTPRouteRetryAssertion is the assertion struct for HTTPRouteRetry.
func (HTTPRouteRetryAssertion) IsAssertable ¶
func (_ HTTPRouteRetryAssertion) IsAssertable()
IsAssertable marks HTTPRouteRetryAssertion as an Assertable.
type HTTPRouteRuleAssertion ¶
type HTTPRouteRuleAssertion struct {
Name Opt[*v18.SectionName]
Matches Opt[[]HTTPRouteMatchAssertion]
Filters Opt[[]HTTPRouteFilterAssertion]
BackendRefs Opt[[]HTTPBackendRefAssertion]
Timeouts HTTPRouteTimeoutsAssertion
Retry HTTPRouteRetryAssertion
SessionPersistence SessionPersistenceAssertion
}
HTTPRouteRuleAssertion is the assertion struct for HTTPRouteRule.
func (HTTPRouteRuleAssertion) IsAssertable ¶
func (_ HTTPRouteRuleAssertion) IsAssertable()
IsAssertable marks HTTPRouteRuleAssertion as an Assertable.
type HTTPRouteSpecAssertion ¶
type HTTPRouteSpecAssertion struct {
CommonRouteSpec CommonRouteSpecAssertion
Hostnames Opt[[]v18.Hostname]
Rules Opt[[]HTTPRouteRuleAssertion]
}
HTTPRouteSpecAssertion is the assertion struct for HTTPRouteSpec.
func (HTTPRouteSpecAssertion) IsAssertable ¶
func (_ HTTPRouteSpecAssertion) IsAssertable()
IsAssertable marks HTTPRouteSpecAssertion as an Assertable.
type HTTPRouteTimeoutsAssertion ¶
type HTTPRouteTimeoutsAssertion struct {
Request Opt[*v18.Duration]
BackendRequest Opt[*v18.Duration]
}
HTTPRouteTimeoutsAssertion is the assertion struct for HTTPRouteTimeouts.
func (HTTPRouteTimeoutsAssertion) IsAssertable ¶
func (_ HTTPRouteTimeoutsAssertion) IsAssertable()
IsAssertable marks HTTPRouteTimeoutsAssertion as an Assertable.
type HTTPURLRewriteFilterAssertion ¶
type HTTPURLRewriteFilterAssertion struct {
Hostname Opt[*v18.PreciseHostname]
Path HTTPPathModifierAssertion
}
HTTPURLRewriteFilterAssertion is the assertion struct for HTTPURLRewriteFilter.
func (HTTPURLRewriteFilterAssertion) IsAssertable ¶
func (_ HTTPURLRewriteFilterAssertion) IsAssertable()
IsAssertable marks HTTPURLRewriteFilterAssertion as an Assertable.
type HorizontalPodAutoscalerAssertion ¶
type HorizontalPodAutoscalerAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec HorizontalPodAutoscalerSpecAssertion
Status Opt[v2.HorizontalPodAutoscalerStatus]
}
HorizontalPodAutoscalerAssertion is the assertion struct for HorizontalPodAutoscaler.
func (HorizontalPodAutoscalerAssertion) IsAssertable ¶
func (_ HorizontalPodAutoscalerAssertion) IsAssertable()
IsAssertable marks HorizontalPodAutoscalerAssertion as an Assertable.
type HorizontalPodAutoscalerBehaviorAssertion ¶
type HorizontalPodAutoscalerBehaviorAssertion struct {
ScaleUp HPAScalingRulesAssertion
ScaleDown HPAScalingRulesAssertion
}
HorizontalPodAutoscalerBehaviorAssertion is the assertion struct for HorizontalPodAutoscalerBehavior.
func (HorizontalPodAutoscalerBehaviorAssertion) IsAssertable ¶
func (_ HorizontalPodAutoscalerBehaviorAssertion) IsAssertable()
IsAssertable marks HorizontalPodAutoscalerBehaviorAssertion as an Assertable.
type HorizontalPodAutoscalerConditionAssertion ¶
type HorizontalPodAutoscalerConditionAssertion struct {
Type Opt[v2.HorizontalPodAutoscalerConditionType]
Status Opt[v11.ConditionStatus]
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
HorizontalPodAutoscalerConditionAssertion is the assertion struct for HorizontalPodAutoscalerCondition.
func (HorizontalPodAutoscalerConditionAssertion) IsAssertable ¶
func (_ HorizontalPodAutoscalerConditionAssertion) IsAssertable()
IsAssertable marks HorizontalPodAutoscalerConditionAssertion as an Assertable.
type HorizontalPodAutoscalerSpecAssertion ¶
type HorizontalPodAutoscalerSpecAssertion struct {
ScaleTargetRef CrossVersionObjectReferenceAssertion
MinReplicas Opt[*int32]
MaxReplicas Opt[int32]
Metrics Opt[[]MetricSpecAssertion]
Behavior HorizontalPodAutoscalerBehaviorAssertion
}
HorizontalPodAutoscalerSpecAssertion is the assertion struct for HorizontalPodAutoscalerSpec.
func (HorizontalPodAutoscalerSpecAssertion) IsAssertable ¶
func (_ HorizontalPodAutoscalerSpecAssertion) IsAssertable()
IsAssertable marks HorizontalPodAutoscalerSpecAssertion as an Assertable.
type HostIPAssertion ¶
HostIPAssertion is the assertion struct for HostIP.
func (HostIPAssertion) IsAssertable ¶
func (_ HostIPAssertion) IsAssertable()
IsAssertable marks HostIPAssertion as an Assertable.
type HostPathVolumeSourceAssertion ¶
type HostPathVolumeSourceAssertion struct {
Path Opt[string]
Type Opt[*v11.HostPathType]
}
HostPathVolumeSourceAssertion is the assertion struct for HostPathVolumeSource.
func (HostPathVolumeSourceAssertion) IsAssertable ¶
func (_ HostPathVolumeSourceAssertion) IsAssertable()
IsAssertable marks HostPathVolumeSourceAssertion as an Assertable.
type HostPortAssertion ¶
HostPortAssertion is the assertion struct for HostPort.
func (HostPortAssertion) IsAssertable ¶
func (_ HostPortAssertion) IsAssertable()
IsAssertable marks HostPortAssertion as an Assertable.
type IPAddressAssertion ¶
type IPAddressAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec IPAddressSpecAssertion
}
IPAddressAssertion is the assertion struct for IPAddress.
func (IPAddressAssertion) IsAssertable ¶
func (_ IPAddressAssertion) IsAssertable()
IsAssertable marks IPAddressAssertion as an Assertable.
type IPAddressSpecAssertion ¶
type IPAddressSpecAssertion struct {
ParentRef NetworkingParentReferenceAssertion
}
IPAddressSpecAssertion is the assertion struct for IPAddressSpec.
func (IPAddressSpecAssertion) IsAssertable ¶
func (_ IPAddressSpecAssertion) IsAssertable()
IsAssertable marks IPAddressSpecAssertion as an Assertable.
type IPBlockAssertion ¶
IPBlockAssertion is the assertion struct for IPBlock.
func (IPBlockAssertion) IsAssertable ¶
func (_ IPBlockAssertion) IsAssertable()
IsAssertable marks IPBlockAssertion as an Assertable.
type ISCSIPersistentVolumeSourceAssertion ¶
type ISCSIPersistentVolumeSourceAssertion struct {
TargetPortal Opt[string]
IQN Opt[string]
Lun Opt[int32]
ISCSIInterface Opt[string]
FSType Opt[string]
ReadOnly Opt[bool]
Portals Opt[[]string]
DiscoveryCHAPAuth Opt[bool]
SessionCHAPAuth Opt[bool]
SecretRef SecretReferenceAssertion
InitiatorName Opt[*string]
}
ISCSIPersistentVolumeSourceAssertion is the assertion struct for ISCSIPersistentVolumeSource.
func (ISCSIPersistentVolumeSourceAssertion) IsAssertable ¶
func (_ ISCSIPersistentVolumeSourceAssertion) IsAssertable()
IsAssertable marks ISCSIPersistentVolumeSourceAssertion as an Assertable.
type ISCSIVolumeSourceAssertion ¶
type ISCSIVolumeSourceAssertion struct {
TargetPortal Opt[string]
IQN Opt[string]
Lun Opt[int32]
ISCSIInterface Opt[string]
FSType Opt[string]
ReadOnly Opt[bool]
Portals Opt[[]string]
DiscoveryCHAPAuth Opt[bool]
SessionCHAPAuth Opt[bool]
SecretRef CoreLocalObjectReferenceAssertion
InitiatorName Opt[*string]
}
ISCSIVolumeSourceAssertion is the assertion struct for ISCSIVolumeSource.
func (ISCSIVolumeSourceAssertion) IsAssertable ¶
func (_ ISCSIVolumeSourceAssertion) IsAssertable()
IsAssertable marks ISCSIVolumeSourceAssertion as an Assertable.
type ImageVolumeSourceAssertion ¶
type ImageVolumeSourceAssertion struct {
Reference Opt[string]
PullPolicy Opt[v11.PullPolicy]
}
ImageVolumeSourceAssertion is the assertion struct for ImageVolumeSource.
func (ImageVolumeSourceAssertion) IsAssertable ¶
func (_ ImageVolumeSourceAssertion) IsAssertable()
IsAssertable marks ImageVolumeSourceAssertion as an Assertable.
type IngressAssertion ¶
type IngressAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec IngressSpecAssertion
Status Opt[v14.IngressStatus]
}
IngressAssertion is the assertion struct for Ingress.
func (IngressAssertion) IsAssertable ¶
func (_ IngressAssertion) IsAssertable()
IsAssertable marks IngressAssertion as an Assertable.
type IngressBackendAssertion ¶
type IngressBackendAssertion struct {
Service IngressServiceBackendAssertion
Resource TypedLocalObjectReferenceAssertion
}
IngressBackendAssertion is the assertion struct for IngressBackend.
func (IngressBackendAssertion) IsAssertable ¶
func (_ IngressBackendAssertion) IsAssertable()
IsAssertable marks IngressBackendAssertion as an Assertable.
type IngressClassAssertion ¶
type IngressClassAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec IngressClassSpecAssertion
}
IngressClassAssertion is the assertion struct for IngressClass.
func (IngressClassAssertion) IsAssertable ¶
func (_ IngressClassAssertion) IsAssertable()
IsAssertable marks IngressClassAssertion as an Assertable.
type IngressClassParametersReferenceAssertion ¶
type IngressClassParametersReferenceAssertion struct {
APIGroup Opt[*string]
Kind Opt[string]
Name Opt[string]
Scope Opt[*string]
Namespace Opt[*string]
}
IngressClassParametersReferenceAssertion is the assertion struct for IngressClassParametersReference.
func (IngressClassParametersReferenceAssertion) IsAssertable ¶
func (_ IngressClassParametersReferenceAssertion) IsAssertable()
IsAssertable marks IngressClassParametersReferenceAssertion as an Assertable.
type IngressClassSpecAssertion ¶
type IngressClassSpecAssertion struct {
Controller Opt[string]
Parameters IngressClassParametersReferenceAssertion
}
IngressClassSpecAssertion is the assertion struct for IngressClassSpec.
func (IngressClassSpecAssertion) IsAssertable ¶
func (_ IngressClassSpecAssertion) IsAssertable()
IsAssertable marks IngressClassSpecAssertion as an Assertable.
type IngressLoadBalancerIngressAssertion ¶
type IngressLoadBalancerIngressAssertion struct {
IP Opt[string]
Hostname Opt[string]
Ports Opt[[]v14.IngressPortStatus]
}
IngressLoadBalancerIngressAssertion is the assertion struct for IngressLoadBalancerIngress.
func (IngressLoadBalancerIngressAssertion) IsAssertable ¶
func (_ IngressLoadBalancerIngressAssertion) IsAssertable()
IsAssertable marks IngressLoadBalancerIngressAssertion as an Assertable.
type IngressRuleAssertion ¶
type IngressRuleAssertion struct {
Host Opt[string]
IngressRuleValue IngressRuleValueAssertion
}
IngressRuleAssertion is the assertion struct for IngressRule.
func (IngressRuleAssertion) IsAssertable ¶
func (_ IngressRuleAssertion) IsAssertable()
IsAssertable marks IngressRuleAssertion as an Assertable.
type IngressRuleValueAssertion ¶
type IngressRuleValueAssertion struct {
HTTP HTTPIngressRuleValueAssertion
}
IngressRuleValueAssertion is the assertion struct for IngressRuleValue.
func (IngressRuleValueAssertion) IsAssertable ¶
func (_ IngressRuleValueAssertion) IsAssertable()
IsAssertable marks IngressRuleValueAssertion as an Assertable.
type IngressServiceBackendAssertion ¶
type IngressServiceBackendAssertion struct {
Name Opt[string]
Port ServiceBackendPortAssertion
}
IngressServiceBackendAssertion is the assertion struct for IngressServiceBackend.
func (IngressServiceBackendAssertion) IsAssertable ¶
func (_ IngressServiceBackendAssertion) IsAssertable()
IsAssertable marks IngressServiceBackendAssertion as an Assertable.
type IngressSpecAssertion ¶
type IngressSpecAssertion struct {
IngressClassName Opt[*string]
DefaultBackend IngressBackendAssertion
TLS Opt[[]IngressTLSAssertion]
Rules Opt[[]IngressRuleAssertion]
}
IngressSpecAssertion is the assertion struct for IngressSpec.
func (IngressSpecAssertion) IsAssertable ¶
func (_ IngressSpecAssertion) IsAssertable()
IsAssertable marks IngressSpecAssertion as an Assertable.
type IngressTLSAssertion ¶
IngressTLSAssertion is the assertion struct for IngressTLS.
func (IngressTLSAssertion) IsAssertable ¶
func (_ IngressTLSAssertion) IsAssertable()
IsAssertable marks IngressTLSAssertion as an Assertable.
type IntOrStringAssertion ¶
IntOrStringAssertion is the assertion struct for IntOrString.
func (IntOrStringAssertion) IsAssertable ¶
func (_ IntOrStringAssertion) IsAssertable()
IsAssertable marks IntOrStringAssertion as an Assertable.
type InternalEventAssertion ¶
InternalEventAssertion is the assertion struct for InternalEvent.
func (InternalEventAssertion) IsAssertable ¶
func (_ InternalEventAssertion) IsAssertable()
IsAssertable marks InternalEventAssertion as an Assertable.
type JobAssertion ¶
type JobAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec JobSpecAssertion
Status Opt[v13.JobStatus]
}
JobAssertion is the assertion struct for Job.
func (JobAssertion) IsAssertable ¶
func (_ JobAssertion) IsAssertable()
IsAssertable marks JobAssertion as an Assertable.
type JobConditionAssertion ¶
type JobConditionAssertion struct {
Type Opt[v13.JobConditionType]
Status Opt[v11.ConditionStatus]
LastProbeTime TimeAssertion
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
JobConditionAssertion is the assertion struct for JobCondition.
func (JobConditionAssertion) IsAssertable ¶
func (_ JobConditionAssertion) IsAssertable()
IsAssertable marks JobConditionAssertion as an Assertable.
type JobSpecAssertion ¶
type JobSpecAssertion struct {
Parallelism Opt[*int32]
Completions Opt[*int32]
ActiveDeadlineSeconds Opt[*int64]
PodFailurePolicy PodFailurePolicyAssertion
SuccessPolicy SuccessPolicyAssertion
BackoffLimit Opt[*int32]
BackoffLimitPerIndex Opt[*int32]
MaxFailedIndexes Opt[*int32]
Selector LabelSelectorAssertion
ManualSelector Opt[*bool]
Template PodTemplateSpecAssertion
TTLSecondsAfterFinished Opt[*int32]
CompletionMode Opt[*v13.CompletionMode]
Suspend Opt[*bool]
PodReplacementPolicy Opt[*v13.PodReplacementPolicy]
ManagedBy Opt[*string]
}
JobSpecAssertion is the assertion struct for JobSpec.
func (JobSpecAssertion) IsAssertable ¶
func (_ JobSpecAssertion) IsAssertable()
IsAssertable marks JobSpecAssertion as an Assertable.
type JobTemplateSpecAssertion ¶
type JobTemplateSpecAssertion struct {
ObjectMeta ObjectMetaAssertion
Spec JobSpecAssertion
}
JobTemplateSpecAssertion is the assertion struct for JobTemplateSpec.
func (JobTemplateSpecAssertion) IsAssertable ¶
func (_ JobTemplateSpecAssertion) IsAssertable()
IsAssertable marks JobTemplateSpecAssertion as an Assertable.
type KeyToPathAssertion ¶
KeyToPathAssertion is the assertion struct for KeyToPath.
func (KeyToPathAssertion) IsAssertable ¶
func (_ KeyToPathAssertion) IsAssertable()
IsAssertable marks KeyToPathAssertion as an Assertable.
type LabelSelectorAssertion ¶
type LabelSelectorAssertion struct {
MatchLabels Opt[map[string]string]
MatchExpressions Opt[[]LabelSelectorRequirementAssertion]
}
LabelSelectorAssertion is the assertion struct for LabelSelector.
func (LabelSelectorAssertion) IsAssertable ¶
func (_ LabelSelectorAssertion) IsAssertable()
IsAssertable marks LabelSelectorAssertion as an Assertable.
type LabelSelectorRequirementAssertion ¶
type LabelSelectorRequirementAssertion struct {
Key Opt[string]
Operator Opt[v17.LabelSelectorOperator]
Values Opt[[]string]
}
LabelSelectorRequirementAssertion is the assertion struct for LabelSelectorRequirement.
func (LabelSelectorRequirementAssertion) IsAssertable ¶
func (_ LabelSelectorRequirementAssertion) IsAssertable()
IsAssertable marks LabelSelectorRequirementAssertion as an Assertable.
type LifecycleAssertion ¶
type LifecycleAssertion struct {
PostStart LifecycleHandlerAssertion
PreStop LifecycleHandlerAssertion
StopSignal Opt[*v11.Signal]
}
LifecycleAssertion is the assertion struct for Lifecycle.
func (LifecycleAssertion) IsAssertable ¶
func (_ LifecycleAssertion) IsAssertable()
IsAssertable marks LifecycleAssertion as an Assertable.
type LifecycleHandlerAssertion ¶
type LifecycleHandlerAssertion struct {
Exec ExecActionAssertion
HTTPGet HTTPGetActionAssertion
TCPSocket TCPSocketActionAssertion
Sleep SleepActionAssertion
}
LifecycleHandlerAssertion is the assertion struct for LifecycleHandler.
func (LifecycleHandlerAssertion) IsAssertable ¶
func (_ LifecycleHandlerAssertion) IsAssertable()
IsAssertable marks LifecycleHandlerAssertion as an Assertable.
type LimitRangeAssertion ¶
type LimitRangeAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec LimitRangeSpecAssertion
}
LimitRangeAssertion is the assertion struct for LimitRange.
func (LimitRangeAssertion) IsAssertable ¶
func (_ LimitRangeAssertion) IsAssertable()
IsAssertable marks LimitRangeAssertion as an Assertable.
type LimitRangeItemAssertion ¶
type LimitRangeItemAssertion struct {
Type Opt[v11.LimitType]
Max Opt[v11.ResourceList]
Min Opt[v11.ResourceList]
Default Opt[v11.ResourceList]
DefaultRequest Opt[v11.ResourceList]
MaxLimitRequestRatio Opt[v11.ResourceList]
}
LimitRangeItemAssertion is the assertion struct for LimitRangeItem.
func (LimitRangeItemAssertion) IsAssertable ¶
func (_ LimitRangeItemAssertion) IsAssertable()
IsAssertable marks LimitRangeItemAssertion as an Assertable.
type LimitRangeSpecAssertion ¶
type LimitRangeSpecAssertion struct {
Limits Opt[[]LimitRangeItemAssertion]
}
LimitRangeSpecAssertion is the assertion struct for LimitRangeSpec.
func (LimitRangeSpecAssertion) IsAssertable ¶
func (_ LimitRangeSpecAssertion) IsAssertable()
IsAssertable marks LimitRangeSpecAssertion as an Assertable.
type LinuxContainerUserAssertion ¶
type LinuxContainerUserAssertion struct {
UID Opt[int64]
GID Opt[int64]
SupplementalGroups Opt[[]int64]
}
LinuxContainerUserAssertion is the assertion struct for LinuxContainerUser.
func (LinuxContainerUserAssertion) IsAssertable ¶
func (_ LinuxContainerUserAssertion) IsAssertable()
IsAssertable marks LinuxContainerUserAssertion as an Assertable.
type ListMetaAssertion ¶
type ListMetaAssertion struct {
SelfLink Opt[string]
ResourceVersion Opt[string]
Continue Opt[string]
RemainingItemCount Opt[*int64]
ShardInfo ShardInfoAssertion
}
ListMetaAssertion is the assertion struct for ListMeta.
func (ListMetaAssertion) IsAssertable ¶
func (_ ListMetaAssertion) IsAssertable()
IsAssertable marks ListMetaAssertion as an Assertable.
type ListOptionsAssertion ¶
type ListOptionsAssertion struct {
TypeMeta TypeMetaAssertion
LabelSelector Opt[string]
FieldSelector Opt[string]
Watch Opt[bool]
AllowWatchBookmarks Opt[bool]
ResourceVersion Opt[string]
ResourceVersionMatch Opt[v17.ResourceVersionMatch]
TimeoutSeconds Opt[*int64]
Limit Opt[int64]
Continue Opt[string]
SendInitialEvents Opt[*bool]
ShardSelector Opt[string]
}
ListOptionsAssertion is the assertion struct for ListOptions.
func (ListOptionsAssertion) IsAssertable ¶
func (_ ListOptionsAssertion) IsAssertable()
IsAssertable marks ListOptionsAssertion as an Assertable.
type ListenerAssertion ¶
type ListenerAssertion struct {
Name Opt[v18.SectionName]
Hostname Opt[*v18.Hostname]
Port Opt[v18.PortNumber]
Protocol Opt[v18.ProtocolType]
TLS ListenerTLSConfigAssertion
AllowedRoutes AllowedRoutesAssertion
}
ListenerAssertion is the assertion struct for Listener.
func (ListenerAssertion) IsAssertable ¶
func (_ ListenerAssertion) IsAssertable()
IsAssertable marks ListenerAssertion as an Assertable.
type ListenerEntryAssertion ¶
type ListenerEntryAssertion struct {
Name Opt[v18.SectionName]
Hostname Opt[*v18.Hostname]
Port Opt[v18.PortNumber]
Protocol Opt[v18.ProtocolType]
TLS ListenerTLSConfigAssertion
AllowedRoutes AllowedRoutesAssertion
}
ListenerEntryAssertion is the assertion struct for ListenerEntry.
func (ListenerEntryAssertion) IsAssertable ¶
func (_ ListenerEntryAssertion) IsAssertable()
IsAssertable marks ListenerEntryAssertion as an Assertable.
type ListenerNamespacesAssertion ¶
type ListenerNamespacesAssertion struct {
From Opt[*v18.FromNamespaces]
Selector LabelSelectorAssertion
}
ListenerNamespacesAssertion is the assertion struct for ListenerNamespaces.
func (ListenerNamespacesAssertion) IsAssertable ¶
func (_ ListenerNamespacesAssertion) IsAssertable()
IsAssertable marks ListenerNamespacesAssertion as an Assertable.
type ListenerSetAssertion ¶
type ListenerSetAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec ListenerSetSpecAssertion
Status Opt[v18.ListenerSetStatus]
}
ListenerSetAssertion is the assertion struct for ListenerSet.
func (ListenerSetAssertion) IsAssertable ¶
func (_ ListenerSetAssertion) IsAssertable()
IsAssertable marks ListenerSetAssertion as an Assertable.
type ListenerSetSpecAssertion ¶
type ListenerSetSpecAssertion struct {
ParentRef ParentGatewayReferenceAssertion
Listeners Opt[[]ListenerEntryAssertion]
}
ListenerSetSpecAssertion is the assertion struct for ListenerSetSpec.
func (ListenerSetSpecAssertion) IsAssertable ¶
func (_ ListenerSetSpecAssertion) IsAssertable()
IsAssertable marks ListenerSetSpecAssertion as an Assertable.
type ListenerTLSConfigAssertion ¶
type ListenerTLSConfigAssertion struct {
Mode Opt[*v18.TLSModeType]
CertificateRefs Opt[[]SecretObjectReferenceAssertion]
Options Opt[map[v18.AnnotationKey]v18.AnnotationValue]
}
ListenerTLSConfigAssertion is the assertion struct for ListenerTLSConfig.
func (ListenerTLSConfigAssertion) IsAssertable ¶
func (_ ListenerTLSConfigAssertion) IsAssertable()
IsAssertable marks ListenerTLSConfigAssertion as an Assertable.
type LoadBalancerIngressAssertion ¶
type LoadBalancerIngressAssertion struct {
IP Opt[string]
Hostname Opt[string]
IPMode Opt[*v11.LoadBalancerIPMode]
Ports Opt[[]v11.PortStatus]
}
LoadBalancerIngressAssertion is the assertion struct for LoadBalancerIngress.
func (LoadBalancerIngressAssertion) IsAssertable ¶
func (_ LoadBalancerIngressAssertion) IsAssertable()
IsAssertable marks LoadBalancerIngressAssertion as an Assertable.
type LocalParametersReferenceAssertion ¶
type LocalParametersReferenceAssertion struct {
Group Opt[v18.Group]
Kind Opt[v18.Kind]
Name Opt[string]
}
LocalParametersReferenceAssertion is the assertion struct for LocalParametersReference.
func (LocalParametersReferenceAssertion) IsAssertable ¶
func (_ LocalParametersReferenceAssertion) IsAssertable()
IsAssertable marks LocalParametersReferenceAssertion as an Assertable.
type LocalPolicyTargetReferenceAssertion ¶
type LocalPolicyTargetReferenceAssertion struct {
Group Opt[v18.Group]
Kind Opt[v18.Kind]
Name Opt[v18.ObjectName]
}
LocalPolicyTargetReferenceAssertion is the assertion struct for LocalPolicyTargetReference.
func (LocalPolicyTargetReferenceAssertion) IsAssertable ¶
func (_ LocalPolicyTargetReferenceAssertion) IsAssertable()
IsAssertable marks LocalPolicyTargetReferenceAssertion as an Assertable.
type LocalPolicyTargetReferenceWithSectionNameAssertion ¶
type LocalPolicyTargetReferenceWithSectionNameAssertion struct {
LocalPolicyTargetReference LocalPolicyTargetReferenceAssertion
SectionName Opt[*v18.SectionName]
}
LocalPolicyTargetReferenceWithSectionNameAssertion is the assertion struct for LocalPolicyTargetReferenceWithSectionName.
func (LocalPolicyTargetReferenceWithSectionNameAssertion) IsAssertable ¶
func (_ LocalPolicyTargetReferenceWithSectionNameAssertion) IsAssertable()
IsAssertable marks LocalPolicyTargetReferenceWithSectionNameAssertion as an Assertable.
type LocalVolumeSourceAssertion ¶
LocalVolumeSourceAssertion is the assertion struct for LocalVolumeSource.
func (LocalVolumeSourceAssertion) IsAssertable ¶
func (_ LocalVolumeSourceAssertion) IsAssertable()
IsAssertable marks LocalVolumeSourceAssertion as an Assertable.
type ManagedFieldsEntryAssertion ¶
type ManagedFieldsEntryAssertion struct {
Manager Opt[string]
Operation Opt[v17.ManagedFieldsOperationType]
APIVersion Opt[string]
Time TimeAssertion
FieldsType Opt[string]
FieldsV1 FieldsV1Assertion
Subresource Opt[string]
}
ManagedFieldsEntryAssertion is the assertion struct for ManagedFieldsEntry.
func (ManagedFieldsEntryAssertion) IsAssertable ¶
func (_ ManagedFieldsEntryAssertion) IsAssertable()
IsAssertable marks ManagedFieldsEntryAssertion as an Assertable.
type ManagedIdentityAssertion ¶
ManagedIdentityAssertion is the assertion struct for ManagedIdentity.
func (ManagedIdentityAssertion) IsAssertable ¶
func (_ ManagedIdentityAssertion) IsAssertable()
IsAssertable marks ManagedIdentityAssertion as an Assertable.
type MetaConditionAssertion ¶
type MetaConditionAssertion struct {
Type Opt[string]
Status Opt[v17.ConditionStatus]
ObservedGeneration Opt[int64]
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
MetaConditionAssertion is the assertion struct for Condition.
func (MetaConditionAssertion) IsAssertable ¶
func (_ MetaConditionAssertion) IsAssertable()
IsAssertable marks MetaConditionAssertion as an Assertable.
type MetaGroupVersionAssertion ¶
MetaGroupVersionAssertion is the assertion struct for GroupVersion.
func (MetaGroupVersionAssertion) IsAssertable ¶
func (_ MetaGroupVersionAssertion) IsAssertable()
IsAssertable marks MetaGroupVersionAssertion as an Assertable.
type MetaPreconditionsAssertion ¶
MetaPreconditionsAssertion is the assertion struct for Preconditions.
func (MetaPreconditionsAssertion) IsAssertable ¶
func (_ MetaPreconditionsAssertion) IsAssertable()
IsAssertable marks MetaPreconditionsAssertion as an Assertable.
type MetaSchemeGroupVersionAssertion ¶
MetaSchemeGroupVersionAssertion is the assertion struct for GroupVersion.
func (MetaSchemeGroupVersionAssertion) IsAssertable ¶
func (_ MetaSchemeGroupVersionAssertion) IsAssertable()
IsAssertable marks MetaSchemeGroupVersionAssertion as an Assertable.
type MetadataConfigAssertion ¶
type MetadataConfigAssertion struct {
Send Opt[bool]
SendInterval Opt[v1.Duration]
MaxSamplesPerSend Opt[*int32]
}
MetadataConfigAssertion is the assertion struct for MetadataConfig.
func (MetadataConfigAssertion) IsAssertable ¶
func (_ MetadataConfigAssertion) IsAssertable()
IsAssertable marks MetadataConfigAssertion as an Assertable.
type MetricIdentifierAssertion ¶
type MetricIdentifierAssertion struct {
Name Opt[string]
Selector LabelSelectorAssertion
}
MetricIdentifierAssertion is the assertion struct for MetricIdentifier.
func (MetricIdentifierAssertion) IsAssertable ¶
func (_ MetricIdentifierAssertion) IsAssertable()
IsAssertable marks MetricIdentifierAssertion as an Assertable.
type MetricSpecAssertion ¶
type MetricSpecAssertion struct {
Type Opt[v2.MetricSourceType]
Object ObjectMetricSourceAssertion
Pods PodsMetricSourceAssertion
Resource ResourceMetricSourceAssertion
ContainerResource ContainerResourceMetricSourceAssertion
External ExternalMetricSourceAssertion
}
MetricSpecAssertion is the assertion struct for MetricSpec.
func (MetricSpecAssertion) IsAssertable ¶
func (_ MetricSpecAssertion) IsAssertable()
IsAssertable marks MetricSpecAssertion as an Assertable.
type MetricTargetAssertion ¶
type MetricTargetAssertion struct {
Type Opt[v2.MetricTargetType]
Value QuantityAssertion
AverageValue QuantityAssertion
AverageUtilization Opt[*int32]
}
MetricTargetAssertion is the assertion struct for MetricTarget.
func (MetricTargetAssertion) IsAssertable ¶
func (_ MetricTargetAssertion) IsAssertable()
IsAssertable marks MetricTargetAssertion as an Assertable.
type MicroTimeAssertion ¶
MicroTimeAssertion is the assertion struct for MicroTime.
func (MicroTimeAssertion) IsAssertable ¶
func (_ MicroTimeAssertion) IsAssertable()
IsAssertable marks MicroTimeAssertion as an Assertable.
type MonitoringConditionAssertion ¶
type MonitoringConditionAssertion struct {
Type Opt[v1.ConditionType]
Status Opt[v1.ConditionStatus]
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
ObservedGeneration Opt[int64]
}
MonitoringConditionAssertion is the assertion struct for Condition.
func (MonitoringConditionAssertion) IsAssertable ¶
func (_ MonitoringConditionAssertion) IsAssertable()
IsAssertable marks MonitoringConditionAssertion as an Assertable.
type MonitoringHostAliasAssertion ¶
MonitoringHostAliasAssertion is the assertion struct for HostAlias.
func (MonitoringHostAliasAssertion) IsAssertable ¶
func (_ MonitoringHostAliasAssertion) IsAssertable()
IsAssertable marks MonitoringHostAliasAssertion as an Assertable.
type MonitoringObjectReferenceAssertion ¶
type MonitoringObjectReferenceAssertion struct {
Group Opt[string]
Resource Opt[string]
Namespace Opt[string]
Name Opt[string]
}
MonitoringObjectReferenceAssertion is the assertion struct for ObjectReference.
func (MonitoringObjectReferenceAssertion) IsAssertable ¶
func (_ MonitoringObjectReferenceAssertion) IsAssertable()
IsAssertable marks MonitoringObjectReferenceAssertion as an Assertable.
type MonitoringPodDNSConfigAssertion ¶
type MonitoringPodDNSConfigAssertion struct {
Nameservers Opt[[]string]
Searches Opt[[]string]
Options Opt[[]MonitoringPodDNSConfigOptionAssertion]
}
MonitoringPodDNSConfigAssertion is the assertion struct for PodDNSConfig.
func (MonitoringPodDNSConfigAssertion) IsAssertable ¶
func (_ MonitoringPodDNSConfigAssertion) IsAssertable()
IsAssertable marks MonitoringPodDNSConfigAssertion as an Assertable.
type MonitoringPodDNSConfigOptionAssertion ¶
MonitoringPodDNSConfigOptionAssertion is the assertion struct for PodDNSConfigOption.
func (MonitoringPodDNSConfigOptionAssertion) IsAssertable ¶
func (_ MonitoringPodDNSConfigOptionAssertion) IsAssertable()
IsAssertable marks MonitoringPodDNSConfigOptionAssertion as an Assertable.
type MonitoringProbeAssertion ¶
type MonitoringProbeAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec ProbeSpecAssertion
Status Opt[v1.ConfigResourceStatus]
}
MonitoringProbeAssertion is the assertion struct for Probe.
func (MonitoringProbeAssertion) IsAssertable ¶
func (_ MonitoringProbeAssertion) IsAssertable()
IsAssertable marks MonitoringProbeAssertion as an Assertable.
type MonitoringRollingUpdateStatefulSetStrategyAssertion ¶
type MonitoringRollingUpdateStatefulSetStrategyAssertion struct {
}
MonitoringRollingUpdateStatefulSetStrategyAssertion is the assertion struct for RollingUpdateStatefulSetStrategy.
func (MonitoringRollingUpdateStatefulSetStrategyAssertion) IsAssertable ¶
func (_ MonitoringRollingUpdateStatefulSetStrategyAssertion) IsAssertable()
IsAssertable marks MonitoringRollingUpdateStatefulSetStrategyAssertion as an Assertable.
type MonitoringSchemeGroupVersionAssertion ¶
MonitoringSchemeGroupVersionAssertion is the assertion struct for GroupVersion.
func (MonitoringSchemeGroupVersionAssertion) IsAssertable ¶
func (_ MonitoringSchemeGroupVersionAssertion) IsAssertable()
IsAssertable marks MonitoringSchemeGroupVersionAssertion as an Assertable.
type MonitoringStatefulSetUpdateStrategyAssertion ¶
type MonitoringStatefulSetUpdateStrategyAssertion struct {
Type Opt[v1.StatefulSetUpdateStrategyType]
RollingUpdate MonitoringRollingUpdateStatefulSetStrategyAssertion
}
MonitoringStatefulSetUpdateStrategyAssertion is the assertion struct for StatefulSetUpdateStrategy.
func (MonitoringStatefulSetUpdateStrategyAssertion) IsAssertable ¶
func (_ MonitoringStatefulSetUpdateStrategyAssertion) IsAssertable()
IsAssertable marks MonitoringStatefulSetUpdateStrategyAssertion as an Assertable.
type MonitoringTLSConfigAssertion ¶
type MonitoringTLSConfigAssertion struct {
SafeTLSConfig SafeTLSConfigAssertion
TLSFilesConfig TLSFilesConfigAssertion
}
MonitoringTLSConfigAssertion is the assertion struct for TLSConfig.
func (MonitoringTLSConfigAssertion) IsAssertable ¶
func (_ MonitoringTLSConfigAssertion) IsAssertable()
IsAssertable marks MonitoringTLSConfigAssertion as an Assertable.
type MonitoringTopologySpreadConstraintAssertion ¶
type MonitoringTopologySpreadConstraintAssertion struct {
CoreV1TopologySpreadConstraint CoreV1TopologySpreadConstraintAssertion
AdditionalLabelSelectors Opt[*v1.AdditionalLabelSelectors]
}
MonitoringTopologySpreadConstraintAssertion is the assertion struct for TopologySpreadConstraint.
func (MonitoringTopologySpreadConstraintAssertion) IsAssertable ¶
func (_ MonitoringTopologySpreadConstraintAssertion) IsAssertable()
IsAssertable marks MonitoringTopologySpreadConstraintAssertion as an Assertable.
type NFSVolumeSourceAssertion ¶
NFSVolumeSourceAssertion is the assertion struct for NFSVolumeSource.
func (NFSVolumeSourceAssertion) IsAssertable ¶
func (_ NFSVolumeSourceAssertion) IsAssertable()
IsAssertable marks NFSVolumeSourceAssertion as an Assertable.
type NamespaceAssertion ¶
type NamespaceAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec NamespaceSpecAssertion
Status Opt[v11.NamespaceStatus]
}
NamespaceAssertion is the assertion struct for Namespace.
func (NamespaceAssertion) IsAssertable ¶
func (_ NamespaceAssertion) IsAssertable()
IsAssertable marks NamespaceAssertion as an Assertable.
type NamespaceConditionAssertion ¶
type NamespaceConditionAssertion struct {
Type Opt[v11.NamespaceConditionType]
Status Opt[v11.ConditionStatus]
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
NamespaceConditionAssertion is the assertion struct for NamespaceCondition.
func (NamespaceConditionAssertion) IsAssertable ¶
func (_ NamespaceConditionAssertion) IsAssertable()
IsAssertable marks NamespaceConditionAssertion as an Assertable.
type NamespaceSelectorAssertion ¶
NamespaceSelectorAssertion is the assertion struct for NamespaceSelector.
func (NamespaceSelectorAssertion) IsAssertable ¶
func (_ NamespaceSelectorAssertion) IsAssertable()
IsAssertable marks NamespaceSelectorAssertion as an Assertable.
type NamespaceSpecAssertion ¶
type NamespaceSpecAssertion struct {
Finalizers Opt[[]v11.FinalizerName]
}
NamespaceSpecAssertion is the assertion struct for NamespaceSpec.
func (NamespaceSpecAssertion) IsAssertable ¶
func (_ NamespaceSpecAssertion) IsAssertable()
IsAssertable marks NamespaceSpecAssertion as an Assertable.
type NamespacedPolicyTargetReferenceAssertion ¶
type NamespacedPolicyTargetReferenceAssertion struct {
Group Opt[v18.Group]
Kind Opt[v18.Kind]
Name Opt[v18.ObjectName]
Namespace Opt[*v18.Namespace]
}
NamespacedPolicyTargetReferenceAssertion is the assertion struct for NamespacedPolicyTargetReference.
func (NamespacedPolicyTargetReferenceAssertion) IsAssertable ¶
func (_ NamespacedPolicyTargetReferenceAssertion) IsAssertable()
IsAssertable marks NamespacedPolicyTargetReferenceAssertion as an Assertable.
type NativeHistogramConfigAssertion ¶
type NativeHistogramConfigAssertion struct {
ScrapeNativeHistograms Opt[*bool]
ScrapeClassicHistograms Opt[*bool]
NativeHistogramBucketLimit Opt[*uint64]
NativeHistogramMinBucketFactor QuantityAssertion
ConvertClassicHistogramsToNHCB Opt[*bool]
}
NativeHistogramConfigAssertion is the assertion struct for NativeHistogramConfig.
func (NativeHistogramConfigAssertion) IsAssertable ¶
func (_ NativeHistogramConfigAssertion) IsAssertable()
IsAssertable marks NativeHistogramConfigAssertion as an Assertable.
type NetworkPolicyAssertion ¶
type NetworkPolicyAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec NetworkPolicySpecAssertion
}
NetworkPolicyAssertion is the assertion struct for NetworkPolicy.
func (NetworkPolicyAssertion) IsAssertable ¶
func (_ NetworkPolicyAssertion) IsAssertable()
IsAssertable marks NetworkPolicyAssertion as an Assertable.
type NetworkPolicyEgressRuleAssertion ¶
type NetworkPolicyEgressRuleAssertion struct {
Ports Opt[[]NetworkPolicyPortAssertion]
To Opt[[]NetworkPolicyPeerAssertion]
}
NetworkPolicyEgressRuleAssertion is the assertion struct for NetworkPolicyEgressRule.
func (NetworkPolicyEgressRuleAssertion) IsAssertable ¶
func (_ NetworkPolicyEgressRuleAssertion) IsAssertable()
IsAssertable marks NetworkPolicyEgressRuleAssertion as an Assertable.
type NetworkPolicyIngressRuleAssertion ¶
type NetworkPolicyIngressRuleAssertion struct {
Ports Opt[[]NetworkPolicyPortAssertion]
From Opt[[]NetworkPolicyPeerAssertion]
}
NetworkPolicyIngressRuleAssertion is the assertion struct for NetworkPolicyIngressRule.
func (NetworkPolicyIngressRuleAssertion) IsAssertable ¶
func (_ NetworkPolicyIngressRuleAssertion) IsAssertable()
IsAssertable marks NetworkPolicyIngressRuleAssertion as an Assertable.
type NetworkPolicyPeerAssertion ¶
type NetworkPolicyPeerAssertion struct {
PodSelector LabelSelectorAssertion
NamespaceSelector LabelSelectorAssertion
IPBlock IPBlockAssertion
}
NetworkPolicyPeerAssertion is the assertion struct for NetworkPolicyPeer.
func (NetworkPolicyPeerAssertion) IsAssertable ¶
func (_ NetworkPolicyPeerAssertion) IsAssertable()
IsAssertable marks NetworkPolicyPeerAssertion as an Assertable.
type NetworkPolicyPortAssertion ¶
type NetworkPolicyPortAssertion struct {
Protocol Opt[*v11.Protocol]
Port IntOrStringAssertion
EndPort Opt[*int32]
}
NetworkPolicyPortAssertion is the assertion struct for NetworkPolicyPort.
func (NetworkPolicyPortAssertion) IsAssertable ¶
func (_ NetworkPolicyPortAssertion) IsAssertable()
IsAssertable marks NetworkPolicyPortAssertion as an Assertable.
type NetworkPolicySpecAssertion ¶
type NetworkPolicySpecAssertion struct {
PodSelector LabelSelectorAssertion
Ingress Opt[[]NetworkPolicyIngressRuleAssertion]
Egress Opt[[]NetworkPolicyEgressRuleAssertion]
PolicyTypes Opt[[]v14.PolicyType]
}
NetworkPolicySpecAssertion is the assertion struct for NetworkPolicySpec.
func (NetworkPolicySpecAssertion) IsAssertable ¶
func (_ NetworkPolicySpecAssertion) IsAssertable()
IsAssertable marks NetworkPolicySpecAssertion as an Assertable.
type NetworkingParentReferenceAssertion ¶
type NetworkingParentReferenceAssertion struct {
Group Opt[string]
Resource Opt[string]
Namespace Opt[string]
Name Opt[string]
}
NetworkingParentReferenceAssertion is the assertion struct for ParentReference.
func (NetworkingParentReferenceAssertion) IsAssertable ¶
func (_ NetworkingParentReferenceAssertion) IsAssertable()
IsAssertable marks NetworkingParentReferenceAssertion as an Assertable.
type NetworkingSchemeGroupVersionAssertion ¶
NetworkingSchemeGroupVersionAssertion is the assertion struct for GroupVersion.
func (NetworkingSchemeGroupVersionAssertion) IsAssertable ¶
func (_ NetworkingSchemeGroupVersionAssertion) IsAssertable()
IsAssertable marks NetworkingSchemeGroupVersionAssertion as an Assertable.
type NodeAddressAssertion ¶
type NodeAddressAssertion struct {
Type Opt[v11.NodeAddressType]
Address Opt[string]
}
NodeAddressAssertion is the assertion struct for NodeAddress.
func (NodeAddressAssertion) IsAssertable ¶
func (_ NodeAddressAssertion) IsAssertable()
IsAssertable marks NodeAddressAssertion as an Assertable.
type NodeAffinityAssertion ¶
type NodeAffinityAssertion struct {
RequiredDuringSchedulingIgnoredDuringExecution NodeSelectorAssertion
PreferredDuringSchedulingIgnoredDuringExecution Opt[[]PreferredSchedulingTermAssertion]
}
NodeAffinityAssertion is the assertion struct for NodeAffinity.
func (NodeAffinityAssertion) IsAssertable ¶
func (_ NodeAffinityAssertion) IsAssertable()
IsAssertable marks NodeAffinityAssertion as an Assertable.
type NodeAssertion ¶
type NodeAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec NodeSpecAssertion
Status Opt[v11.NodeStatus]
}
NodeAssertion is the assertion struct for Node.
func (NodeAssertion) IsAssertable ¶
func (_ NodeAssertion) IsAssertable()
IsAssertable marks NodeAssertion as an Assertable.
type NodeConditionAssertion ¶
type NodeConditionAssertion struct {
Type Opt[v11.NodeConditionType]
Status Opt[v11.ConditionStatus]
LastHeartbeatTime TimeAssertion
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
NodeConditionAssertion is the assertion struct for NodeCondition.
func (NodeConditionAssertion) IsAssertable ¶
func (_ NodeConditionAssertion) IsAssertable()
IsAssertable marks NodeConditionAssertion as an Assertable.
type NodeConfigSourceAssertion ¶
type NodeConfigSourceAssertion struct {
ConfigMap ConfigMapNodeConfigSourceAssertion
}
NodeConfigSourceAssertion is the assertion struct for NodeConfigSource.
func (NodeConfigSourceAssertion) IsAssertable ¶
func (_ NodeConfigSourceAssertion) IsAssertable()
IsAssertable marks NodeConfigSourceAssertion as an Assertable.
type NodeDaemonEndpointsAssertion ¶
type NodeDaemonEndpointsAssertion struct {
KubeletEndpoint DaemonEndpointAssertion
}
NodeDaemonEndpointsAssertion is the assertion struct for NodeDaemonEndpoints.
func (NodeDaemonEndpointsAssertion) IsAssertable ¶
func (_ NodeDaemonEndpointsAssertion) IsAssertable()
IsAssertable marks NodeDaemonEndpointsAssertion as an Assertable.
type NodeFeaturesAssertion ¶
NodeFeaturesAssertion is the assertion struct for NodeFeatures.
func (NodeFeaturesAssertion) IsAssertable ¶
func (_ NodeFeaturesAssertion) IsAssertable()
IsAssertable marks NodeFeaturesAssertion as an Assertable.
type NodeProxyOptionsAssertion ¶
type NodeProxyOptionsAssertion struct {
TypeMeta TypeMetaAssertion
Path Opt[string]
}
NodeProxyOptionsAssertion is the assertion struct for NodeProxyOptions.
func (NodeProxyOptionsAssertion) IsAssertable ¶
func (_ NodeProxyOptionsAssertion) IsAssertable()
IsAssertable marks NodeProxyOptionsAssertion as an Assertable.
type NodeRuntimeHandlerAssertion ¶
type NodeRuntimeHandlerAssertion struct {
Name Opt[string]
Features NodeRuntimeHandlerFeaturesAssertion
}
NodeRuntimeHandlerAssertion is the assertion struct for NodeRuntimeHandler.
func (NodeRuntimeHandlerAssertion) IsAssertable ¶
func (_ NodeRuntimeHandlerAssertion) IsAssertable()
IsAssertable marks NodeRuntimeHandlerAssertion as an Assertable.
type NodeRuntimeHandlerFeaturesAssertion ¶
type NodeRuntimeHandlerFeaturesAssertion struct {
RecursiveReadOnlyMounts Opt[*bool]
UserNamespaces Opt[*bool]
}
NodeRuntimeHandlerFeaturesAssertion is the assertion struct for NodeRuntimeHandlerFeatures.
func (NodeRuntimeHandlerFeaturesAssertion) IsAssertable ¶
func (_ NodeRuntimeHandlerFeaturesAssertion) IsAssertable()
IsAssertable marks NodeRuntimeHandlerFeaturesAssertion as an Assertable.
type NodeSelectorAssertion ¶
type NodeSelectorAssertion struct {
NodeSelectorTerms Opt[[]NodeSelectorTermAssertion]
}
NodeSelectorAssertion is the assertion struct for NodeSelector.
func (NodeSelectorAssertion) IsAssertable ¶
func (_ NodeSelectorAssertion) IsAssertable()
IsAssertable marks NodeSelectorAssertion as an Assertable.
type NodeSelectorRequirementAssertion ¶
type NodeSelectorRequirementAssertion struct {
Key Opt[string]
Operator Opt[v11.NodeSelectorOperator]
Values Opt[[]string]
}
NodeSelectorRequirementAssertion is the assertion struct for NodeSelectorRequirement.
func (NodeSelectorRequirementAssertion) IsAssertable ¶
func (_ NodeSelectorRequirementAssertion) IsAssertable()
IsAssertable marks NodeSelectorRequirementAssertion as an Assertable.
type NodeSelectorTermAssertion ¶
type NodeSelectorTermAssertion struct {
MatchExpressions Opt[[]NodeSelectorRequirementAssertion]
MatchFields Opt[[]NodeSelectorRequirementAssertion]
}
NodeSelectorTermAssertion is the assertion struct for NodeSelectorTerm.
func (NodeSelectorTermAssertion) IsAssertable ¶
func (_ NodeSelectorTermAssertion) IsAssertable()
IsAssertable marks NodeSelectorTermAssertion as an Assertable.
type NodeSpecAssertion ¶
type NodeSpecAssertion struct {
PodCIDR Opt[string]
PodCIDRs Opt[[]string]
ProviderID Opt[string]
Unschedulable Opt[bool]
Taints Opt[[]TaintAssertion]
ConfigSource NodeConfigSourceAssertion
DoNotUseExternalID Opt[string]
}
NodeSpecAssertion is the assertion struct for NodeSpec.
func (NodeSpecAssertion) IsAssertable ¶
func (_ NodeSpecAssertion) IsAssertable()
IsAssertable marks NodeSpecAssertion as an Assertable.
type NodeSystemInfoAssertion ¶
type NodeSystemInfoAssertion struct {
MachineID Opt[string]
SystemUUID Opt[string]
BootID Opt[string]
KernelVersion Opt[string]
OSImage Opt[string]
ContainerRuntimeVersion Opt[string]
KubeletVersion Opt[string]
KubeProxyVersion Opt[string]
OperatingSystem Opt[string]
Architecture Opt[string]
Swap Opt[*v11.NodeSwapStatus]
}
NodeSystemInfoAssertion is the assertion struct for NodeSystemInfo.
func (NodeSystemInfoAssertion) IsAssertable ¶
func (_ NodeSystemInfoAssertion) IsAssertable()
IsAssertable marks NodeSystemInfoAssertion as an Assertable.
type OAuth2Assertion ¶
type OAuth2Assertion struct {
ClientID SecretOrConfigMapAssertion
ClientSecret SecretKeySelectorAssertion
TokenURL Opt[string]
Scopes Opt[[]string]
EndpointParams Opt[map[string]string]
TLSConfig SafeTLSConfigAssertion
ProxyConfig ProxyConfigAssertion
}
OAuth2Assertion is the assertion struct for OAuth2.
func (OAuth2Assertion) IsAssertable ¶
func (_ OAuth2Assertion) IsAssertable()
IsAssertable marks OAuth2Assertion as an Assertable.
type OTLPConfigAssertion ¶
type OTLPConfigAssertion struct {
PromoteAllResourceAttributes Opt[*bool]
IgnoreResourceAttributes Opt[[]string]
PromoteResourceAttributes Opt[[]string]
TranslationStrategy Opt[*v1.TranslationStrategyOption]
KeepIdentifyingResourceAttributes Opt[*bool]
ConvertHistogramsToNHCB Opt[*bool]
PromoteScopeMetadata Opt[*bool]
}
OTLPConfigAssertion is the assertion struct for OTLPConfig.
func (OTLPConfigAssertion) IsAssertable ¶
func (_ OTLPConfigAssertion) IsAssertable()
IsAssertable marks OTLPConfigAssertion as an Assertable.
type ObjectFieldSelectorAssertion ¶
ObjectFieldSelectorAssertion is the assertion struct for ObjectFieldSelector.
func (ObjectFieldSelectorAssertion) IsAssertable ¶
func (_ ObjectFieldSelectorAssertion) IsAssertable()
IsAssertable marks ObjectFieldSelectorAssertion as an Assertable.
type ObjectMetaAssertion ¶
type ObjectMetaAssertion struct {
Name Opt[string]
GenerateName Opt[string]
Namespace Opt[string]
SelfLink Opt[string]
UID Opt[types.UID]
ResourceVersion Opt[string]
Generation Opt[int64]
CreationTimestamp TimeAssertion
DeletionTimestamp TimeAssertion
DeletionGracePeriodSeconds Opt[*int64]
Labels Opt[map[string]string]
Annotations Opt[map[string]string]
OwnerReferences Opt[[]OwnerReferenceAssertion]
Finalizers Opt[[]string]
ManagedFields Opt[[]ManagedFieldsEntryAssertion]
}
ObjectMetaAssertion is the assertion struct for ObjectMeta.
func (ObjectMetaAssertion) IsAssertable ¶
func (_ ObjectMetaAssertion) IsAssertable()
IsAssertable marks ObjectMetaAssertion as an Assertable.
type ObjectMetricSourceAssertion ¶
type ObjectMetricSourceAssertion struct {
DescribedObject CrossVersionObjectReferenceAssertion
Target MetricTargetAssertion
Metric MetricIdentifierAssertion
}
ObjectMetricSourceAssertion is the assertion struct for ObjectMetricSource.
func (ObjectMetricSourceAssertion) IsAssertable ¶
func (_ ObjectMetricSourceAssertion) IsAssertable()
IsAssertable marks ObjectMetricSourceAssertion as an Assertable.
type Opt ¶
type Opt[T any] struct { Val *T Matcher types.GomegaMatcher }
Opt wraps an optional expected value for partial assertion comparison. Val holds a concrete expected value; Matcher holds a gomega matcher. If Matcher is set it takes precedence over Val.
type OwnerReferenceAssertion ¶
type OwnerReferenceAssertion struct {
APIVersion Opt[string]
Kind Opt[string]
Name Opt[string]
UID Opt[types.UID]
Controller Opt[*bool]
BlockOwnerDeletion Opt[*bool]
}
OwnerReferenceAssertion is the assertion struct for OwnerReference.
func (OwnerReferenceAssertion) IsAssertable ¶
func (_ OwnerReferenceAssertion) IsAssertable()
IsAssertable marks OwnerReferenceAssertion as an Assertable.
type ParametersReferenceAssertion ¶
type ParametersReferenceAssertion struct {
Group Opt[v18.Group]
Kind Opt[v18.Kind]
Name Opt[string]
Namespace Opt[*v18.Namespace]
}
ParametersReferenceAssertion is the assertion struct for ParametersReference.
func (ParametersReferenceAssertion) IsAssertable ¶
func (_ ParametersReferenceAssertion) IsAssertable()
IsAssertable marks ParametersReferenceAssertion as an Assertable.
type ParentGatewayReferenceAssertion ¶
type ParentGatewayReferenceAssertion struct {
Group Opt[*v18.Group]
Kind Opt[*v18.Kind]
Name Opt[v18.ObjectName]
Namespace Opt[*v18.Namespace]
}
ParentGatewayReferenceAssertion is the assertion struct for ParentGatewayReference.
func (ParentGatewayReferenceAssertion) IsAssertable ¶
func (_ ParentGatewayReferenceAssertion) IsAssertable()
IsAssertable marks ParentGatewayReferenceAssertion as an Assertable.
type PartialObjectMetadataAssertion ¶
type PartialObjectMetadataAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
}
PartialObjectMetadataAssertion is the assertion struct for PartialObjectMetadata.
func (PartialObjectMetadataAssertion) IsAssertable ¶
func (_ PartialObjectMetadataAssertion) IsAssertable()
IsAssertable marks PartialObjectMetadataAssertion as an Assertable.
type PatchAssertion ¶
type PatchAssertion struct{}
PatchAssertion is the assertion struct for Patch.
func (PatchAssertion) IsAssertable ¶
func (_ PatchAssertion) IsAssertable()
IsAssertable marks PatchAssertion as an Assertable.
type PatchOptionsAssertion ¶
type PatchOptionsAssertion struct {
TypeMeta TypeMetaAssertion
DryRun Opt[[]string]
Force Opt[*bool]
FieldManager Opt[string]
FieldValidation Opt[string]
}
PatchOptionsAssertion is the assertion struct for PatchOptions.
func (PatchOptionsAssertion) IsAssertable ¶
func (_ PatchOptionsAssertion) IsAssertable()
IsAssertable marks PatchOptionsAssertion as an Assertable.
type PersistentVolumeAssertion ¶
type PersistentVolumeAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec PersistentVolumeSpecAssertion
Status Opt[v11.PersistentVolumeStatus]
}
PersistentVolumeAssertion is the assertion struct for PersistentVolume.
func (PersistentVolumeAssertion) IsAssertable ¶
func (_ PersistentVolumeAssertion) IsAssertable()
IsAssertable marks PersistentVolumeAssertion as an Assertable.
type PersistentVolumeClaimAssertion ¶
type PersistentVolumeClaimAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec PersistentVolumeClaimSpecAssertion
Status Opt[v11.PersistentVolumeClaimStatus]
}
PersistentVolumeClaimAssertion is the assertion struct for PersistentVolumeClaim.
func (PersistentVolumeClaimAssertion) IsAssertable ¶
func (_ PersistentVolumeClaimAssertion) IsAssertable()
IsAssertable marks PersistentVolumeClaimAssertion as an Assertable.
type PersistentVolumeClaimConditionAssertion ¶
type PersistentVolumeClaimConditionAssertion struct {
Type Opt[v11.PersistentVolumeClaimConditionType]
Status Opt[v11.ConditionStatus]
LastProbeTime TimeAssertion
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
PersistentVolumeClaimConditionAssertion is the assertion struct for PersistentVolumeClaimCondition.
func (PersistentVolumeClaimConditionAssertion) IsAssertable ¶
func (_ PersistentVolumeClaimConditionAssertion) IsAssertable()
IsAssertable marks PersistentVolumeClaimConditionAssertion as an Assertable.
type PersistentVolumeClaimSpecAssertion ¶
type PersistentVolumeClaimSpecAssertion struct {
AccessModes Opt[[]v11.PersistentVolumeAccessMode]
Selector LabelSelectorAssertion
Resources VolumeResourceRequirementsAssertion
VolumeName Opt[string]
StorageClassName Opt[*string]
VolumeMode Opt[*v11.PersistentVolumeMode]
DataSource TypedLocalObjectReferenceAssertion
DataSourceRef TypedObjectReferenceAssertion
VolumeAttributesClassName Opt[*string]
}
PersistentVolumeClaimSpecAssertion is the assertion struct for PersistentVolumeClaimSpec.
func (PersistentVolumeClaimSpecAssertion) IsAssertable ¶
func (_ PersistentVolumeClaimSpecAssertion) IsAssertable()
IsAssertable marks PersistentVolumeClaimSpecAssertion as an Assertable.
type PersistentVolumeClaimTemplateAssertion ¶
type PersistentVolumeClaimTemplateAssertion struct {
ObjectMeta ObjectMetaAssertion
Spec PersistentVolumeClaimSpecAssertion
}
PersistentVolumeClaimTemplateAssertion is the assertion struct for PersistentVolumeClaimTemplate.
func (PersistentVolumeClaimTemplateAssertion) IsAssertable ¶
func (_ PersistentVolumeClaimTemplateAssertion) IsAssertable()
IsAssertable marks PersistentVolumeClaimTemplateAssertion as an Assertable.
type PersistentVolumeClaimVolumeSourceAssertion ¶
PersistentVolumeClaimVolumeSourceAssertion is the assertion struct for PersistentVolumeClaimVolumeSource.
func (PersistentVolumeClaimVolumeSourceAssertion) IsAssertable ¶
func (_ PersistentVolumeClaimVolumeSourceAssertion) IsAssertable()
IsAssertable marks PersistentVolumeClaimVolumeSourceAssertion as an Assertable.
type PersistentVolumeSourceAssertion ¶
type PersistentVolumeSourceAssertion struct {
GCEPersistentDisk GCEPersistentDiskVolumeSourceAssertion
AWSElasticBlockStore AWSElasticBlockStoreVolumeSourceAssertion
HostPath HostPathVolumeSourceAssertion
Glusterfs GlusterfsPersistentVolumeSourceAssertion
NFS NFSVolumeSourceAssertion
RBD RBDPersistentVolumeSourceAssertion
ISCSI ISCSIPersistentVolumeSourceAssertion
Cinder CinderPersistentVolumeSourceAssertion
CephFS CephFSPersistentVolumeSourceAssertion
FC FCVolumeSourceAssertion
Flocker FlockerVolumeSourceAssertion
FlexVolume FlexPersistentVolumeSourceAssertion
AzureFile AzureFilePersistentVolumeSourceAssertion
VsphereVolume VsphereVirtualDiskVolumeSourceAssertion
Quobyte QuobyteVolumeSourceAssertion
AzureDisk AzureDiskVolumeSourceAssertion
PhotonPersistentDisk PhotonPersistentDiskVolumeSourceAssertion
PortworxVolume PortworxVolumeSourceAssertion
ScaleIO ScaleIOPersistentVolumeSourceAssertion
Local LocalVolumeSourceAssertion
StorageOS StorageOSPersistentVolumeSourceAssertion
CSI CSIPersistentVolumeSourceAssertion
}
PersistentVolumeSourceAssertion is the assertion struct for PersistentVolumeSource.
func (PersistentVolumeSourceAssertion) IsAssertable ¶
func (_ PersistentVolumeSourceAssertion) IsAssertable()
IsAssertable marks PersistentVolumeSourceAssertion as an Assertable.
type PersistentVolumeSpecAssertion ¶
type PersistentVolumeSpecAssertion struct {
Capacity Opt[v11.ResourceList]
PersistentVolumeSource PersistentVolumeSourceAssertion
AccessModes Opt[[]v11.PersistentVolumeAccessMode]
ClaimRef CoreObjectReferenceAssertion
PersistentVolumeReclaimPolicy Opt[v11.PersistentVolumeReclaimPolicy]
StorageClassName Opt[string]
MountOptions Opt[[]string]
VolumeMode Opt[*v11.PersistentVolumeMode]
NodeAffinity VolumeNodeAffinityAssertion
VolumeAttributesClassName Opt[*string]
}
PersistentVolumeSpecAssertion is the assertion struct for PersistentVolumeSpec.
func (PersistentVolumeSpecAssertion) IsAssertable ¶
func (_ PersistentVolumeSpecAssertion) IsAssertable()
IsAssertable marks PersistentVolumeSpecAssertion as an Assertable.
type PhotonPersistentDiskVolumeSourceAssertion ¶
PhotonPersistentDiskVolumeSourceAssertion is the assertion struct for PhotonPersistentDiskVolumeSource.
func (PhotonPersistentDiskVolumeSourceAssertion) IsAssertable ¶
func (_ PhotonPersistentDiskVolumeSourceAssertion) IsAssertable()
IsAssertable marks PhotonPersistentDiskVolumeSourceAssertion as an Assertable.
type PodAffinityAssertion ¶
type PodAffinityAssertion struct {
RequiredDuringSchedulingIgnoredDuringExecution Opt[[]PodAffinityTermAssertion]
PreferredDuringSchedulingIgnoredDuringExecution Opt[[]WeightedPodAffinityTermAssertion]
}
PodAffinityAssertion is the assertion struct for PodAffinity.
func (PodAffinityAssertion) IsAssertable ¶
func (_ PodAffinityAssertion) IsAssertable()
IsAssertable marks PodAffinityAssertion as an Assertable.
type PodAffinityTermAssertion ¶
type PodAffinityTermAssertion struct {
LabelSelector LabelSelectorAssertion
Namespaces Opt[[]string]
TopologyKey Opt[string]
NamespaceSelector LabelSelectorAssertion
MatchLabelKeys Opt[[]string]
MismatchLabelKeys Opt[[]string]
}
PodAffinityTermAssertion is the assertion struct for PodAffinityTerm.
func (PodAffinityTermAssertion) IsAssertable ¶
func (_ PodAffinityTermAssertion) IsAssertable()
IsAssertable marks PodAffinityTermAssertion as an Assertable.
type PodAntiAffinityAssertion ¶
type PodAntiAffinityAssertion struct {
RequiredDuringSchedulingIgnoredDuringExecution Opt[[]PodAffinityTermAssertion]
PreferredDuringSchedulingIgnoredDuringExecution Opt[[]WeightedPodAffinityTermAssertion]
}
PodAntiAffinityAssertion is the assertion struct for PodAntiAffinity.
func (PodAntiAffinityAssertion) IsAssertable ¶
func (_ PodAntiAffinityAssertion) IsAssertable()
IsAssertable marks PodAntiAffinityAssertion as an Assertable.
type PodAssertion ¶
type PodAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec PodSpecAssertion
Status Opt[v11.PodStatus]
}
PodAssertion is the assertion struct for Pod.
func (PodAssertion) IsAssertable ¶
func (_ PodAssertion) IsAssertable()
IsAssertable marks PodAssertion as an Assertable.
type PodAttachOptionsAssertion ¶
type PodAttachOptionsAssertion struct {
TypeMeta TypeMetaAssertion
Stdin Opt[bool]
Stdout Opt[bool]
Stderr Opt[bool]
TTY Opt[bool]
Container Opt[string]
}
PodAttachOptionsAssertion is the assertion struct for PodAttachOptions.
func (PodAttachOptionsAssertion) IsAssertable ¶
func (_ PodAttachOptionsAssertion) IsAssertable()
IsAssertable marks PodAttachOptionsAssertion as an Assertable.
type PodCertificateProjectionAssertion ¶
type PodCertificateProjectionAssertion struct {
SignerName Opt[string]
KeyType Opt[string]
MaxExpirationSeconds Opt[*int32]
CredentialBundlePath Opt[string]
KeyPath Opt[string]
CertificateChainPath Opt[string]
UserAnnotations Opt[map[string]string]
}
PodCertificateProjectionAssertion is the assertion struct for PodCertificateProjection.
func (PodCertificateProjectionAssertion) IsAssertable ¶
func (_ PodCertificateProjectionAssertion) IsAssertable()
IsAssertable marks PodCertificateProjectionAssertion as an Assertable.
type PodConditionAssertion ¶
type PodConditionAssertion struct {
Type Opt[v11.PodConditionType]
ObservedGeneration Opt[int64]
Status Opt[v11.ConditionStatus]
LastProbeTime TimeAssertion
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
PodConditionAssertion is the assertion struct for PodCondition.
func (PodConditionAssertion) IsAssertable ¶
func (_ PodConditionAssertion) IsAssertable()
IsAssertable marks PodConditionAssertion as an Assertable.
type PodDisruptionBudgetAssertion ¶
type PodDisruptionBudgetAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec PodDisruptionBudgetSpecAssertion
Status Opt[v15.PodDisruptionBudgetStatus]
}
PodDisruptionBudgetAssertion is the assertion struct for PodDisruptionBudget.
func (PodDisruptionBudgetAssertion) IsAssertable ¶
func (_ PodDisruptionBudgetAssertion) IsAssertable()
IsAssertable marks PodDisruptionBudgetAssertion as an Assertable.
type PodDisruptionBudgetSpecAssertion ¶
type PodDisruptionBudgetSpecAssertion struct {
MinAvailable IntOrStringAssertion
Selector LabelSelectorAssertion
UnhealthyPodEvictionPolicy Opt[*v15.UnhealthyPodEvictionPolicyType]
}
PodDisruptionBudgetSpecAssertion is the assertion struct for PodDisruptionBudgetSpec.
func (PodDisruptionBudgetSpecAssertion) IsAssertable ¶
func (_ PodDisruptionBudgetSpecAssertion) IsAssertable()
IsAssertable marks PodDisruptionBudgetSpecAssertion as an Assertable.
type PodExecOptionsAssertion ¶
type PodExecOptionsAssertion struct {
TypeMeta TypeMetaAssertion
Stdin Opt[bool]
Stdout Opt[bool]
Stderr Opt[bool]
TTY Opt[bool]
Container Opt[string]
Command Opt[[]string]
}
PodExecOptionsAssertion is the assertion struct for PodExecOptions.
func (PodExecOptionsAssertion) IsAssertable ¶
func (_ PodExecOptionsAssertion) IsAssertable()
IsAssertable marks PodExecOptionsAssertion as an Assertable.
type PodFailurePolicyAssertion ¶
type PodFailurePolicyAssertion struct {
Rules Opt[[]PodFailurePolicyRuleAssertion]
}
PodFailurePolicyAssertion is the assertion struct for PodFailurePolicy.
func (PodFailurePolicyAssertion) IsAssertable ¶
func (_ PodFailurePolicyAssertion) IsAssertable()
IsAssertable marks PodFailurePolicyAssertion as an Assertable.
type PodFailurePolicyOnExitCodesRequirementAssertion ¶
type PodFailurePolicyOnExitCodesRequirementAssertion struct {
ContainerName Opt[*string]
Operator Opt[v13.PodFailurePolicyOnExitCodesOperator]
Values Opt[[]int32]
}
PodFailurePolicyOnExitCodesRequirementAssertion is the assertion struct for PodFailurePolicyOnExitCodesRequirement.
func (PodFailurePolicyOnExitCodesRequirementAssertion) IsAssertable ¶
func (_ PodFailurePolicyOnExitCodesRequirementAssertion) IsAssertable()
IsAssertable marks PodFailurePolicyOnExitCodesRequirementAssertion as an Assertable.
type PodFailurePolicyOnPodConditionsPatternAssertion ¶
type PodFailurePolicyOnPodConditionsPatternAssertion struct {
Type Opt[v11.PodConditionType]
Status Opt[v11.ConditionStatus]
}
PodFailurePolicyOnPodConditionsPatternAssertion is the assertion struct for PodFailurePolicyOnPodConditionsPattern.
func (PodFailurePolicyOnPodConditionsPatternAssertion) IsAssertable ¶
func (_ PodFailurePolicyOnPodConditionsPatternAssertion) IsAssertable()
IsAssertable marks PodFailurePolicyOnPodConditionsPatternAssertion as an Assertable.
type PodFailurePolicyRuleAssertion ¶
type PodFailurePolicyRuleAssertion struct {
Action Opt[v13.PodFailurePolicyAction]
OnExitCodes PodFailurePolicyOnExitCodesRequirementAssertion
OnPodConditions Opt[[]PodFailurePolicyOnPodConditionsPatternAssertion]
}
PodFailurePolicyRuleAssertion is the assertion struct for PodFailurePolicyRule.
func (PodFailurePolicyRuleAssertion) IsAssertable ¶
func (_ PodFailurePolicyRuleAssertion) IsAssertable()
IsAssertable marks PodFailurePolicyRuleAssertion as an Assertable.
type PodIPAssertion ¶
PodIPAssertion is the assertion struct for PodIP.
func (PodIPAssertion) IsAssertable ¶
func (_ PodIPAssertion) IsAssertable()
IsAssertable marks PodIPAssertion as an Assertable.
type PodLogOptionsAssertion ¶
type PodLogOptionsAssertion struct {
TypeMeta TypeMetaAssertion
Container Opt[string]
Follow Opt[bool]
Previous Opt[bool]
SinceSeconds Opt[*int64]
SinceTime TimeAssertion
Timestamps Opt[bool]
TailLines Opt[*int64]
LimitBytes Opt[*int64]
InsecureSkipTLSVerifyBackend Opt[bool]
Stream Opt[*string]
}
PodLogOptionsAssertion is the assertion struct for PodLogOptions.
func (PodLogOptionsAssertion) IsAssertable ¶
func (_ PodLogOptionsAssertion) IsAssertable()
IsAssertable marks PodLogOptionsAssertion as an Assertable.
type PodMetricsEndpointAssertion ¶
type PodMetricsEndpointAssertion struct {
Port Opt[*string]
PortNumber Opt[*int32]
TargetPort IntOrStringAssertion
Path Opt[string]
Scheme Opt[*v1.Scheme]
Params Opt[map[string][]string]
Interval Opt[v1.Duration]
ScrapeTimeout Opt[v1.Duration]
HonorLabels Opt[bool]
HonorTimestamps Opt[*bool]
TrackTimestampsStaleness Opt[*bool]
MetricRelabelConfigs Opt[[]RelabelConfigAssertion]
RelabelConfigs Opt[[]RelabelConfigAssertion]
FilterRunning Opt[*bool]
HTTPConfigWithProxy HTTPConfigWithProxyAssertion
}
PodMetricsEndpointAssertion is the assertion struct for PodMetricsEndpoint.
func (PodMetricsEndpointAssertion) IsAssertable ¶
func (_ PodMetricsEndpointAssertion) IsAssertable()
IsAssertable marks PodMetricsEndpointAssertion as an Assertable.
type PodMonitorAssertion ¶
type PodMonitorAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec PodMonitorSpecAssertion
Status Opt[v1.ConfigResourceStatus]
}
PodMonitorAssertion is the assertion struct for PodMonitor.
func (PodMonitorAssertion) IsAssertable ¶
func (_ PodMonitorAssertion) IsAssertable()
IsAssertable marks PodMonitorAssertion as an Assertable.
type PodMonitorSpecAssertion ¶
type PodMonitorSpecAssertion struct {
JobLabel Opt[string]
PodTargetLabels Opt[[]string]
PodMetricsEndpoints Opt[[]PodMetricsEndpointAssertion]
Selector LabelSelectorAssertion
SelectorMechanism Opt[*v1.SelectorMechanism]
NamespaceSelector NamespaceSelectorAssertion
SampleLimit Opt[*uint64]
TargetLimit Opt[*uint64]
ScrapeProtocols Opt[[]v1.ScrapeProtocol]
FallbackScrapeProtocol Opt[*v1.ScrapeProtocol]
LabelLimit Opt[*uint64]
LabelNameLengthLimit Opt[*uint64]
LabelValueLengthLimit Opt[*uint64]
NativeHistogramConfig NativeHistogramConfigAssertion
KeepDroppedTargets Opt[*uint64]
AttachMetadata AttachMetadataAssertion
ScrapeClassName Opt[*string]
BodySizeLimit Opt[*v1.ByteSize]
}
PodMonitorSpecAssertion is the assertion struct for PodMonitorSpec.
func (PodMonitorSpecAssertion) IsAssertable ¶
func (_ PodMonitorSpecAssertion) IsAssertable()
IsAssertable marks PodMonitorSpecAssertion as an Assertable.
type PodOSAssertion ¶
PodOSAssertion is the assertion struct for PodOS.
func (PodOSAssertion) IsAssertable ¶
func (_ PodOSAssertion) IsAssertable()
IsAssertable marks PodOSAssertion as an Assertable.
type PodPortForwardOptionsAssertion ¶
type PodPortForwardOptionsAssertion struct {
TypeMeta TypeMetaAssertion
Ports Opt[[]int32]
}
PodPortForwardOptionsAssertion is the assertion struct for PodPortForwardOptions.
func (PodPortForwardOptionsAssertion) IsAssertable ¶
func (_ PodPortForwardOptionsAssertion) IsAssertable()
IsAssertable marks PodPortForwardOptionsAssertion as an Assertable.
type PodProxyOptionsAssertion ¶
type PodProxyOptionsAssertion struct {
TypeMeta TypeMetaAssertion
Path Opt[string]
}
PodProxyOptionsAssertion is the assertion struct for PodProxyOptions.
func (PodProxyOptionsAssertion) IsAssertable ¶
func (_ PodProxyOptionsAssertion) IsAssertable()
IsAssertable marks PodProxyOptionsAssertion as an Assertable.
type PodReadinessGateAssertion ¶
type PodReadinessGateAssertion struct {
ConditionType Opt[v11.PodConditionType]
}
PodReadinessGateAssertion is the assertion struct for PodReadinessGate.
func (PodReadinessGateAssertion) IsAssertable ¶
func (_ PodReadinessGateAssertion) IsAssertable()
IsAssertable marks PodReadinessGateAssertion as an Assertable.
type PodResourceClaimAssertion ¶
type PodResourceClaimAssertion struct {
Name Opt[string]
ResourceClaimName Opt[*string]
ResourceClaimTemplateName Opt[*string]
}
PodResourceClaimAssertion is the assertion struct for PodResourceClaim.
func (PodResourceClaimAssertion) IsAssertable ¶
func (_ PodResourceClaimAssertion) IsAssertable()
IsAssertable marks PodResourceClaimAssertion as an Assertable.
type PodSchedulingGateAssertion ¶
PodSchedulingGateAssertion is the assertion struct for PodSchedulingGate.
func (PodSchedulingGateAssertion) IsAssertable ¶
func (_ PodSchedulingGateAssertion) IsAssertable()
IsAssertable marks PodSchedulingGateAssertion as an Assertable.
type PodSchedulingGroupAssertion ¶
PodSchedulingGroupAssertion is the assertion struct for PodSchedulingGroup.
func (PodSchedulingGroupAssertion) IsAssertable ¶
func (_ PodSchedulingGroupAssertion) IsAssertable()
IsAssertable marks PodSchedulingGroupAssertion as an Assertable.
type PodSecurityContextAssertion ¶
type PodSecurityContextAssertion struct {
SELinuxOptions SELinuxOptionsAssertion
WindowsOptions WindowsSecurityContextOptionsAssertion
RunAsUser Opt[*int64]
RunAsGroup Opt[*int64]
RunAsNonRoot Opt[*bool]
SupplementalGroups Opt[[]int64]
SupplementalGroupsPolicy Opt[*v11.SupplementalGroupsPolicy]
FSGroup Opt[*int64]
Sysctls Opt[[]SysctlAssertion]
FSGroupChangePolicy Opt[*v11.PodFSGroupChangePolicy]
SeccompProfile SeccompProfileAssertion
AppArmorProfile AppArmorProfileAssertion
SELinuxChangePolicy Opt[*v11.PodSELinuxChangePolicy]
}
PodSecurityContextAssertion is the assertion struct for PodSecurityContext.
func (PodSecurityContextAssertion) IsAssertable ¶
func (_ PodSecurityContextAssertion) IsAssertable()
IsAssertable marks PodSecurityContextAssertion as an Assertable.
type PodSignatureAssertion ¶
type PodSignatureAssertion struct {
PodController OwnerReferenceAssertion
}
PodSignatureAssertion is the assertion struct for PodSignature.
func (PodSignatureAssertion) IsAssertable ¶
func (_ PodSignatureAssertion) IsAssertable()
IsAssertable marks PodSignatureAssertion as an Assertable.
type PodSpecAssertion ¶
type PodSpecAssertion struct {
Volumes Opt[[]VolumeAssertion]
InitContainers Opt[[]ContainerAssertion]
Containers Opt[[]ContainerAssertion]
EphemeralContainers Opt[[]EphemeralContainerAssertion]
RestartPolicy Opt[v11.RestartPolicy]
TerminationGracePeriodSeconds Opt[*int64]
ActiveDeadlineSeconds Opt[*int64]
DNSPolicy Opt[v11.DNSPolicy]
NodeSelector Opt[map[string]string]
ServiceAccountName Opt[string]
DeprecatedServiceAccount Opt[string]
AutomountServiceAccountToken Opt[*bool]
NodeName Opt[string]
HostNetwork Opt[bool]
HostPID Opt[bool]
HostIPC Opt[bool]
SecurityContext PodSecurityContextAssertion
ImagePullSecrets Opt[[]CoreLocalObjectReferenceAssertion]
Hostname Opt[string]
Subdomain Opt[string]
Affinity AffinityAssertion
SchedulerName Opt[string]
Tolerations Opt[[]TolerationAssertion]
HostAliases Opt[[]CoreHostAliasAssertion]
PriorityClassName Opt[string]
Priority Opt[*int32]
DNSConfig CorePodDNSConfigAssertion
ReadinessGates Opt[[]PodReadinessGateAssertion]
RuntimeClassName Opt[*string]
EnableServiceLinks Opt[*bool]
PreemptionPolicy Opt[*v11.PreemptionPolicy]
Overhead Opt[v11.ResourceList]
TopologySpreadConstraints Opt[[]CoreTopologySpreadConstraintAssertion]
SetHostnameAsFQDN Opt[*bool]
OS PodOSAssertion
HostUsers Opt[*bool]
SchedulingGates Opt[[]PodSchedulingGateAssertion]
ResourceClaims Opt[[]PodResourceClaimAssertion]
Resources ResourceRequirementsAssertion
HostnameOverride Opt[*string]
SchedulingGroup PodSchedulingGroupAssertion
}
PodSpecAssertion is the assertion struct for PodSpec.
func (PodSpecAssertion) IsAssertable ¶
func (_ PodSpecAssertion) IsAssertable()
IsAssertable marks PodSpecAssertion as an Assertable.
type PodStatusResultAssertion ¶
type PodStatusResultAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Status Opt[v11.PodStatus]
}
PodStatusResultAssertion is the assertion struct for PodStatusResult.
func (PodStatusResultAssertion) IsAssertable ¶
func (_ PodStatusResultAssertion) IsAssertable()
IsAssertable marks PodStatusResultAssertion as an Assertable.
type PodTemplateAssertion ¶
type PodTemplateAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Template PodTemplateSpecAssertion
}
PodTemplateAssertion is the assertion struct for PodTemplate.
func (PodTemplateAssertion) IsAssertable ¶
func (_ PodTemplateAssertion) IsAssertable()
IsAssertable marks PodTemplateAssertion as an Assertable.
type PodTemplateSpecAssertion ¶
type PodTemplateSpecAssertion struct {
ObjectMeta ObjectMetaAssertion
Spec PodSpecAssertion
}
PodTemplateSpecAssertion is the assertion struct for PodTemplateSpec.
func (PodTemplateSpecAssertion) IsAssertable ¶
func (_ PodTemplateSpecAssertion) IsAssertable()
IsAssertable marks PodTemplateSpecAssertion as an Assertable.
type PodsMetricSourceAssertion ¶
type PodsMetricSourceAssertion struct {
Metric MetricIdentifierAssertion
Target MetricTargetAssertion
}
PodsMetricSourceAssertion is the assertion struct for PodsMetricSource.
func (PodsMetricSourceAssertion) IsAssertable ¶
func (_ PodsMetricSourceAssertion) IsAssertable()
IsAssertable marks PodsMetricSourceAssertion as an Assertable.
type PolicyRuleAssertion ¶
type PolicyRuleAssertion struct {
Verbs Opt[[]string]
APIGroups Opt[[]string]
Resources Opt[[]string]
ResourceNames Opt[[]string]
NonResourceURLs Opt[[]string]
}
PolicyRuleAssertion is the assertion struct for PolicyRule.
func (PolicyRuleAssertion) IsAssertable ¶
func (_ PolicyRuleAssertion) IsAssertable()
IsAssertable marks PolicyRuleAssertion as an Assertable.
type PolicySchemeGroupVersionAssertion ¶
PolicySchemeGroupVersionAssertion is the assertion struct for GroupVersion.
func (PolicySchemeGroupVersionAssertion) IsAssertable ¶
func (_ PolicySchemeGroupVersionAssertion) IsAssertable()
IsAssertable marks PolicySchemeGroupVersionAssertion as an Assertable.
type PortworxVolumeSourceAssertion ¶
type PortworxVolumeSourceAssertion struct {
VolumeID Opt[string]
FSType Opt[string]
ReadOnly Opt[bool]
}
PortworxVolumeSourceAssertion is the assertion struct for PortworxVolumeSource.
func (PortworxVolumeSourceAssertion) IsAssertable ¶
func (_ PortworxVolumeSourceAssertion) IsAssertable()
IsAssertable marks PortworxVolumeSourceAssertion as an Assertable.
type PreferAvoidPodsEntryAssertion ¶
type PreferAvoidPodsEntryAssertion struct {
PodSignature PodSignatureAssertion
EvictionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
PreferAvoidPodsEntryAssertion is the assertion struct for PreferAvoidPodsEntry.
func (PreferAvoidPodsEntryAssertion) IsAssertable ¶
func (_ PreferAvoidPodsEntryAssertion) IsAssertable()
IsAssertable marks PreferAvoidPodsEntryAssertion as an Assertable.
type PreferredSchedulingTermAssertion ¶
type PreferredSchedulingTermAssertion struct {
Weight Opt[int32]
Preference NodeSelectorTermAssertion
}
PreferredSchedulingTermAssertion is the assertion struct for PreferredSchedulingTerm.
func (PreferredSchedulingTermAssertion) IsAssertable ¶
func (_ PreferredSchedulingTermAssertion) IsAssertable()
IsAssertable marks PreferredSchedulingTermAssertion as an Assertable.
type ProbeHandlerAssertion ¶
type ProbeHandlerAssertion struct {
Exec ExecActionAssertion
HTTPGet HTTPGetActionAssertion
TCPSocket TCPSocketActionAssertion
GRPC GRPCActionAssertion
}
ProbeHandlerAssertion is the assertion struct for ProbeHandler.
func (ProbeHandlerAssertion) IsAssertable ¶
func (_ ProbeHandlerAssertion) IsAssertable()
IsAssertable marks ProbeHandlerAssertion as an Assertable.
type ProbeParamAssertion ¶
ProbeParamAssertion is the assertion struct for ProbeParam.
func (ProbeParamAssertion) IsAssertable ¶
func (_ ProbeParamAssertion) IsAssertable()
IsAssertable marks ProbeParamAssertion as an Assertable.
type ProbeSpecAssertion ¶
type ProbeSpecAssertion struct {
JobName Opt[string]
ProberSpec ProberSpecAssertion
Module Opt[string]
Targets ProbeTargetsAssertion
Interval Opt[v1.Duration]
ScrapeTimeout Opt[v1.Duration]
MetricRelabelConfigs Opt[[]RelabelConfigAssertion]
Authorization SafeAuthorizationAssertion
SampleLimit Opt[*uint64]
TargetLimit Opt[*uint64]
ScrapeProtocols Opt[[]v1.ScrapeProtocol]
FallbackScrapeProtocol Opt[*v1.ScrapeProtocol]
LabelLimit Opt[*uint64]
LabelNameLengthLimit Opt[*uint64]
LabelValueLengthLimit Opt[*uint64]
NativeHistogramConfig NativeHistogramConfigAssertion
KeepDroppedTargets Opt[*uint64]
ScrapeClassName Opt[*string]
Params Opt[[]ProbeParamAssertion]
HTTPConfig HTTPConfigAssertion
}
ProbeSpecAssertion is the assertion struct for ProbeSpec.
func (ProbeSpecAssertion) IsAssertable ¶
func (_ ProbeSpecAssertion) IsAssertable()
IsAssertable marks ProbeSpecAssertion as an Assertable.
type ProbeTargetIngressAssertion ¶
type ProbeTargetIngressAssertion struct {
Selector LabelSelectorAssertion
NamespaceSelector NamespaceSelectorAssertion
RelabelConfigs Opt[[]RelabelConfigAssertion]
}
ProbeTargetIngressAssertion is the assertion struct for ProbeTargetIngress.
func (ProbeTargetIngressAssertion) IsAssertable ¶
func (_ ProbeTargetIngressAssertion) IsAssertable()
IsAssertable marks ProbeTargetIngressAssertion as an Assertable.
type ProbeTargetStaticConfigAssertion ¶
type ProbeTargetStaticConfigAssertion struct {
Targets Opt[[]string]
Labels Opt[map[string]string]
RelabelConfigs Opt[[]RelabelConfigAssertion]
}
ProbeTargetStaticConfigAssertion is the assertion struct for ProbeTargetStaticConfig.
func (ProbeTargetStaticConfigAssertion) IsAssertable ¶
func (_ ProbeTargetStaticConfigAssertion) IsAssertable()
IsAssertable marks ProbeTargetStaticConfigAssertion as an Assertable.
type ProbeTargetsAssertion ¶
type ProbeTargetsAssertion struct {
StaticConfig ProbeTargetStaticConfigAssertion
Ingress ProbeTargetIngressAssertion
}
ProbeTargetsAssertion is the assertion struct for ProbeTargets.
func (ProbeTargetsAssertion) IsAssertable ¶
func (_ ProbeTargetsAssertion) IsAssertable()
IsAssertable marks ProbeTargetsAssertion as an Assertable.
type ProberSpecAssertion ¶
type ProberSpecAssertion struct {
URL Opt[string]
Scheme Opt[*v1.Scheme]
Path Opt[string]
ProxyConfig ProxyConfigAssertion
}
ProberSpecAssertion is the assertion struct for ProberSpec.
func (ProberSpecAssertion) IsAssertable ¶
func (_ ProberSpecAssertion) IsAssertable()
IsAssertable marks ProberSpecAssertion as an Assertable.
type ProjectedVolumeSourceAssertion ¶
type ProjectedVolumeSourceAssertion struct {
Sources Opt[[]VolumeProjectionAssertion]
DefaultMode Opt[*int32]
}
ProjectedVolumeSourceAssertion is the assertion struct for ProjectedVolumeSource.
func (ProjectedVolumeSourceAssertion) IsAssertable ¶
func (_ ProjectedVolumeSourceAssertion) IsAssertable()
IsAssertable marks ProjectedVolumeSourceAssertion as an Assertable.
type PrometheusAssertion ¶
type PrometheusAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec PrometheusSpecAssertion
Status Opt[v1.PrometheusStatus]
}
PrometheusAssertion is the assertion struct for Prometheus.
func (PrometheusAssertion) IsAssertable ¶
func (_ PrometheusAssertion) IsAssertable()
IsAssertable marks PrometheusAssertion as an Assertable.
type PrometheusRuleAssertion ¶
type PrometheusRuleAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec PrometheusRuleSpecAssertion
Status Opt[v1.ConfigResourceStatus]
}
PrometheusRuleAssertion is the assertion struct for PrometheusRule.
func (PrometheusRuleAssertion) IsAssertable ¶
func (_ PrometheusRuleAssertion) IsAssertable()
IsAssertable marks PrometheusRuleAssertion as an Assertable.
type PrometheusRuleExcludeConfigAssertion ¶
PrometheusRuleExcludeConfigAssertion is the assertion struct for PrometheusRuleExcludeConfig.
func (PrometheusRuleExcludeConfigAssertion) IsAssertable ¶
func (_ PrometheusRuleExcludeConfigAssertion) IsAssertable()
IsAssertable marks PrometheusRuleExcludeConfigAssertion as an Assertable.
type PrometheusRuleSpecAssertion ¶
type PrometheusRuleSpecAssertion struct {
Groups Opt[[]RuleGroupAssertion]
}
PrometheusRuleSpecAssertion is the assertion struct for PrometheusRuleSpec.
func (PrometheusRuleSpecAssertion) IsAssertable ¶
func (_ PrometheusRuleSpecAssertion) IsAssertable()
IsAssertable marks PrometheusRuleSpecAssertion as an Assertable.
type PrometheusSpecAssertion ¶
type PrometheusSpecAssertion struct {
CommonPrometheusFields CommonPrometheusFieldsAssertion
BaseImage Opt[string]
Tag Opt[string]
SHA Opt[string]
Retention Opt[v1.Duration]
RetentionSize Opt[v1.ByteSize]
ShardRetentionPolicy ShardRetentionPolicyAssertion
DisableCompaction Opt[bool]
Rules RulesAssertion
PrometheusRulesExcludedFromEnforce Opt[[]PrometheusRuleExcludeConfigAssertion]
RuleSelector LabelSelectorAssertion
RuleNamespaceSelector LabelSelectorAssertion
Query QuerySpecAssertion
Alerting AlertingSpecAssertion
AdditionalAlertRelabelConfigs SecretKeySelectorAssertion
AdditionalAlertManagerConfigs SecretKeySelectorAssertion
RemoteRead Opt[[]RemoteReadSpecAssertion]
Thanos ThanosSpecAssertion
QueryLogFile Opt[string]
AllowOverlappingBlocks Opt[bool]
Exemplars ExemplarsAssertion
EvaluationInterval Opt[v1.Duration]
RuleQueryOffset Opt[*v1.Duration]
EnableAdminAPI Opt[bool]
}
PrometheusSpecAssertion is the assertion struct for PrometheusSpec.
func (PrometheusSpecAssertion) IsAssertable ¶
func (_ PrometheusSpecAssertion) IsAssertable()
IsAssertable marks PrometheusSpecAssertion as an Assertable.
type PrometheusWebSpecAssertion ¶
type PrometheusWebSpecAssertion struct {
WebConfigFileFields WebConfigFileFieldsAssertion
PageTitle Opt[*string]
MaxConnections Opt[*int32]
}
PrometheusWebSpecAssertion is the assertion struct for PrometheusWebSpec.
func (PrometheusWebSpecAssertion) IsAssertable ¶
func (_ PrometheusWebSpecAssertion) IsAssertable()
IsAssertable marks PrometheusWebSpecAssertion as an Assertable.
type ProxyConfigAssertion ¶
type ProxyConfigAssertion struct {
ProxyURL Opt[*string]
NoProxy Opt[*string]
ProxyFromEnvironment Opt[*bool]
ProxyConnectHeader Opt[map[string][]v11.SecretKeySelector]
}
ProxyConfigAssertion is the assertion struct for ProxyConfig.
func (ProxyConfigAssertion) IsAssertable ¶
func (_ ProxyConfigAssertion) IsAssertable()
IsAssertable marks ProxyConfigAssertion as an Assertable.
type QuantityAssertion ¶
QuantityAssertion is the assertion struct for Quantity.
func (QuantityAssertion) IsAssertable ¶
func (_ QuantityAssertion) IsAssertable()
IsAssertable marks QuantityAssertion as an Assertable.
type QuantityValueAssertion ¶
type QuantityValueAssertion struct {
Quantity QuantityAssertion
}
QuantityValueAssertion is the assertion struct for QuantityValue.
func (QuantityValueAssertion) IsAssertable ¶
func (_ QuantityValueAssertion) IsAssertable()
IsAssertable marks QuantityValueAssertion as an Assertable.
type QuerySpecAssertion ¶
type QuerySpecAssertion struct {
LookbackDelta Opt[*string]
MaxConcurrency Opt[*int32]
MaxSamples Opt[*int32]
Timeout Opt[*v1.Duration]
}
QuerySpecAssertion is the assertion struct for QuerySpec.
func (QuerySpecAssertion) IsAssertable ¶
func (_ QuerySpecAssertion) IsAssertable()
IsAssertable marks QuerySpecAssertion as an Assertable.
type QueueConfigAssertion ¶
type QueueConfigAssertion struct {
Capacity Opt[int]
MinShards Opt[int]
MaxShards Opt[int]
MaxSamplesPerSend Opt[int]
BatchSendDeadline Opt[*v1.Duration]
MaxRetries Opt[int]
MinBackoff Opt[*v1.Duration]
MaxBackoff Opt[*v1.Duration]
RetryOnRateLimit Opt[bool]
SampleAgeLimit Opt[*v1.Duration]
}
QueueConfigAssertion is the assertion struct for QueueConfig.
func (QueueConfigAssertion) IsAssertable ¶
func (_ QueueConfigAssertion) IsAssertable()
IsAssertable marks QueueConfigAssertion as an Assertable.
type QuobyteVolumeSourceAssertion ¶
type QuobyteVolumeSourceAssertion struct {
Registry Opt[string]
Volume Opt[string]
ReadOnly Opt[bool]
User Opt[string]
Group Opt[string]
Tenant Opt[string]
}
QuobyteVolumeSourceAssertion is the assertion struct for QuobyteVolumeSource.
func (QuobyteVolumeSourceAssertion) IsAssertable ¶
func (_ QuobyteVolumeSourceAssertion) IsAssertable()
IsAssertable marks QuobyteVolumeSourceAssertion as an Assertable.
type RBDPersistentVolumeSourceAssertion ¶
type RBDPersistentVolumeSourceAssertion struct {
CephMonitors Opt[[]string]
RBDImage Opt[string]
FSType Opt[string]
RBDPool Opt[string]
RadosUser Opt[string]
Keyring Opt[string]
SecretRef SecretReferenceAssertion
ReadOnly Opt[bool]
}
RBDPersistentVolumeSourceAssertion is the assertion struct for RBDPersistentVolumeSource.
func (RBDPersistentVolumeSourceAssertion) IsAssertable ¶
func (_ RBDPersistentVolumeSourceAssertion) IsAssertable()
IsAssertable marks RBDPersistentVolumeSourceAssertion as an Assertable.
type RBDVolumeSourceAssertion ¶
type RBDVolumeSourceAssertion struct {
CephMonitors Opt[[]string]
RBDImage Opt[string]
FSType Opt[string]
RBDPool Opt[string]
RadosUser Opt[string]
Keyring Opt[string]
SecretRef CoreLocalObjectReferenceAssertion
ReadOnly Opt[bool]
}
RBDVolumeSourceAssertion is the assertion struct for RBDVolumeSource.
func (RBDVolumeSourceAssertion) IsAssertable ¶
func (_ RBDVolumeSourceAssertion) IsAssertable()
IsAssertable marks RBDVolumeSourceAssertion as an Assertable.
type RangeAllocationAssertion ¶
type RangeAllocationAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Range Opt[string]
Data Opt[[]byte]
}
RangeAllocationAssertion is the assertion struct for RangeAllocation.
func (RangeAllocationAssertion) IsAssertable ¶
func (_ RangeAllocationAssertion) IsAssertable()
IsAssertable marks RangeAllocationAssertion as an Assertable.
type RbacSchemeGroupVersionAssertion ¶
RbacSchemeGroupVersionAssertion is the assertion struct for GroupVersion.
func (RbacSchemeGroupVersionAssertion) IsAssertable ¶
func (_ RbacSchemeGroupVersionAssertion) IsAssertable()
IsAssertable marks RbacSchemeGroupVersionAssertion as an Assertable.
type ReferenceGrantAssertion ¶
type ReferenceGrantAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec ReferenceGrantSpecAssertion
}
ReferenceGrantAssertion is the assertion struct for ReferenceGrant.
func (ReferenceGrantAssertion) IsAssertable ¶
func (_ ReferenceGrantAssertion) IsAssertable()
IsAssertable marks ReferenceGrantAssertion as an Assertable.
type ReferenceGrantFromAssertion ¶
type ReferenceGrantFromAssertion struct {
Group Opt[v18.Group]
Kind Opt[v18.Kind]
Namespace Opt[v18.Namespace]
}
ReferenceGrantFromAssertion is the assertion struct for ReferenceGrantFrom.
func (ReferenceGrantFromAssertion) IsAssertable ¶
func (_ ReferenceGrantFromAssertion) IsAssertable()
IsAssertable marks ReferenceGrantFromAssertion as an Assertable.
type ReferenceGrantSpecAssertion ¶
type ReferenceGrantSpecAssertion struct {
From Opt[[]ReferenceGrantFromAssertion]
To Opt[[]ReferenceGrantToAssertion]
}
ReferenceGrantSpecAssertion is the assertion struct for ReferenceGrantSpec.
func (ReferenceGrantSpecAssertion) IsAssertable ¶
func (_ ReferenceGrantSpecAssertion) IsAssertable()
IsAssertable marks ReferenceGrantSpecAssertion as an Assertable.
type ReferenceGrantToAssertion ¶
type ReferenceGrantToAssertion struct {
Group Opt[v18.Group]
Kind Opt[v18.Kind]
Name Opt[*v18.ObjectName]
}
ReferenceGrantToAssertion is the assertion struct for ReferenceGrantTo.
func (ReferenceGrantToAssertion) IsAssertable ¶
func (_ ReferenceGrantToAssertion) IsAssertable()
IsAssertable marks ReferenceGrantToAssertion as an Assertable.
type RelabelConfigAssertion ¶
type RelabelConfigAssertion struct {
SourceLabels Opt[[]v1.LabelName]
Separator Opt[*string]
TargetLabel Opt[string]
Regex Opt[string]
Modulus Opt[uint64]
Replacement Opt[*string]
Action Opt[string]
}
RelabelConfigAssertion is the assertion struct for RelabelConfig.
func (RelabelConfigAssertion) IsAssertable ¶
func (_ RelabelConfigAssertion) IsAssertable()
IsAssertable marks RelabelConfigAssertion as an Assertable.
type RemoteReadSpecAssertion ¶
type RemoteReadSpecAssertion struct {
URL Opt[string]
Name Opt[string]
RequiredMatchers Opt[map[string]string]
RemoteTimeout Opt[*v1.Duration]
Headers Opt[map[string]string]
ReadRecent Opt[bool]
OAuth2 OAuth2Assertion
BasicAuth BasicAuthAssertion
BearerTokenFile Opt[string]
Authorization AuthorizationAssertion
BearerToken Opt[string]
TLSConfig MonitoringTLSConfigAssertion
ProxyConfig ProxyConfigAssertion
FollowRedirects Opt[*bool]
FilterExternalLabels Opt[*bool]
}
RemoteReadSpecAssertion is the assertion struct for RemoteReadSpec.
func (RemoteReadSpecAssertion) IsAssertable ¶
func (_ RemoteReadSpecAssertion) IsAssertable()
IsAssertable marks RemoteReadSpecAssertion as an Assertable.
type RemoteWriteSpecAssertion ¶
type RemoteWriteSpecAssertion struct {
URL Opt[v1.URL]
Name Opt[*string]
MessageVersion Opt[*v1.RemoteWriteMessageVersion]
SendExemplars Opt[*bool]
SendNativeHistograms Opt[*bool]
RemoteTimeout Opt[*v1.Duration]
Headers Opt[map[string]string]
WriteRelabelConfigs Opt[[]RelabelConfigAssertion]
OAuth2 OAuth2Assertion
BasicAuth BasicAuthAssertion
BearerTokenFile Opt[string]
Authorization AuthorizationAssertion
Sigv4 Sigv4Assertion
AzureAD AzureADAssertion
BearerToken Opt[string]
TLSConfig MonitoringTLSConfigAssertion
ProxyConfig ProxyConfigAssertion
FollowRedirects Opt[*bool]
QueueConfig QueueConfigAssertion
MetadataConfig MetadataConfigAssertion
EnableHttp2 Opt[*bool]
RoundRobinDNS Opt[*bool]
}
RemoteWriteSpecAssertion is the assertion struct for RemoteWriteSpec.
func (RemoteWriteSpecAssertion) IsAssertable ¶
func (_ RemoteWriteSpecAssertion) IsAssertable()
IsAssertable marks RemoteWriteSpecAssertion as an Assertable.
type ReplicaSetAssertion ¶
type ReplicaSetAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec ReplicaSetSpecAssertion
Status Opt[v12.ReplicaSetStatus]
}
ReplicaSetAssertion is the assertion struct for ReplicaSet.
func (ReplicaSetAssertion) IsAssertable ¶
func (_ ReplicaSetAssertion) IsAssertable()
IsAssertable marks ReplicaSetAssertion as an Assertable.
type ReplicaSetConditionAssertion ¶
type ReplicaSetConditionAssertion struct {
Type Opt[v12.ReplicaSetConditionType]
Status Opt[v11.ConditionStatus]
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
ReplicaSetConditionAssertion is the assertion struct for ReplicaSetCondition.
func (ReplicaSetConditionAssertion) IsAssertable ¶
func (_ ReplicaSetConditionAssertion) IsAssertable()
IsAssertable marks ReplicaSetConditionAssertion as an Assertable.
type ReplicaSetSpecAssertion ¶
type ReplicaSetSpecAssertion struct {
Replicas Opt[*int32]
MinReadySeconds Opt[int32]
Selector LabelSelectorAssertion
Template PodTemplateSpecAssertion
}
ReplicaSetSpecAssertion is the assertion struct for ReplicaSetSpec.
func (ReplicaSetSpecAssertion) IsAssertable ¶
func (_ ReplicaSetSpecAssertion) IsAssertable()
IsAssertable marks ReplicaSetSpecAssertion as an Assertable.
type ReplicationControllerAssertion ¶
type ReplicationControllerAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec ReplicationControllerSpecAssertion
Status Opt[v11.ReplicationControllerStatus]
}
ReplicationControllerAssertion is the assertion struct for ReplicationController.
func (ReplicationControllerAssertion) IsAssertable ¶
func (_ ReplicationControllerAssertion) IsAssertable()
IsAssertable marks ReplicationControllerAssertion as an Assertable.
type ReplicationControllerConditionAssertion ¶
type ReplicationControllerConditionAssertion struct {
Type Opt[v11.ReplicationControllerConditionType]
Status Opt[v11.ConditionStatus]
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
ReplicationControllerConditionAssertion is the assertion struct for ReplicationControllerCondition.
func (ReplicationControllerConditionAssertion) IsAssertable ¶
func (_ ReplicationControllerConditionAssertion) IsAssertable()
IsAssertable marks ReplicationControllerConditionAssertion as an Assertable.
type ReplicationControllerSpecAssertion ¶
type ReplicationControllerSpecAssertion struct {
Replicas Opt[*int32]
MinReadySeconds Opt[int32]
Selector Opt[map[string]string]
Template PodTemplateSpecAssertion
}
ReplicationControllerSpecAssertion is the assertion struct for ReplicationControllerSpec.
func (ReplicationControllerSpecAssertion) IsAssertable ¶
func (_ ReplicationControllerSpecAssertion) IsAssertable()
IsAssertable marks ReplicationControllerSpecAssertion as an Assertable.
type ResourceClaimAssertion ¶
ResourceClaimAssertion is the assertion struct for ResourceClaim.
func (ResourceClaimAssertion) IsAssertable ¶
func (_ ResourceClaimAssertion) IsAssertable()
IsAssertable marks ResourceClaimAssertion as an Assertable.
type ResourceFieldSelectorAssertion ¶
type ResourceFieldSelectorAssertion struct {
ContainerName Opt[string]
Resource Opt[string]
Divisor QuantityAssertion
}
ResourceFieldSelectorAssertion is the assertion struct for ResourceFieldSelector.
func (ResourceFieldSelectorAssertion) IsAssertable ¶
func (_ ResourceFieldSelectorAssertion) IsAssertable()
IsAssertable marks ResourceFieldSelectorAssertion as an Assertable.
type ResourceHealthAssertion ¶
type ResourceHealthAssertion struct {
ResourceID Opt[v11.ResourceID]
Health Opt[v11.ResourceHealthStatus]
Message Opt[*string]
}
ResourceHealthAssertion is the assertion struct for ResourceHealth.
func (ResourceHealthAssertion) IsAssertable ¶
func (_ ResourceHealthAssertion) IsAssertable()
IsAssertable marks ResourceHealthAssertion as an Assertable.
type ResourceMetricSourceAssertion ¶
type ResourceMetricSourceAssertion struct {
Name Opt[v11.ResourceName]
Target MetricTargetAssertion
}
ResourceMetricSourceAssertion is the assertion struct for ResourceMetricSource.
func (ResourceMetricSourceAssertion) IsAssertable ¶
func (_ ResourceMetricSourceAssertion) IsAssertable()
IsAssertable marks ResourceMetricSourceAssertion as an Assertable.
type ResourceQuotaAssertion ¶
type ResourceQuotaAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec ResourceQuotaSpecAssertion
Status Opt[v11.ResourceQuotaStatus]
}
ResourceQuotaAssertion is the assertion struct for ResourceQuota.
func (ResourceQuotaAssertion) IsAssertable ¶
func (_ ResourceQuotaAssertion) IsAssertable()
IsAssertable marks ResourceQuotaAssertion as an Assertable.
type ResourceQuotaSpecAssertion ¶
type ResourceQuotaSpecAssertion struct {
Hard Opt[v11.ResourceList]
Scopes Opt[[]v11.ResourceQuotaScope]
ScopeSelector ScopeSelectorAssertion
}
ResourceQuotaSpecAssertion is the assertion struct for ResourceQuotaSpec.
func (ResourceQuotaSpecAssertion) IsAssertable ¶
func (_ ResourceQuotaSpecAssertion) IsAssertable()
IsAssertable marks ResourceQuotaSpecAssertion as an Assertable.
type ResourceRequirementsAssertion ¶
type ResourceRequirementsAssertion struct {
Limits Opt[v11.ResourceList]
Requests Opt[v11.ResourceList]
Claims Opt[[]ResourceClaimAssertion]
}
ResourceRequirementsAssertion is the assertion struct for ResourceRequirements.
func (ResourceRequirementsAssertion) IsAssertable ¶
func (_ ResourceRequirementsAssertion) IsAssertable()
IsAssertable marks ResourceRequirementsAssertion as an Assertable.
type RetainConfigAssertion ¶
RetainConfigAssertion is the assertion struct for RetainConfig.
func (RetainConfigAssertion) IsAssertable ¶
func (_ RetainConfigAssertion) IsAssertable()
IsAssertable marks RetainConfigAssertion as an Assertable.
type RoleAssertion ¶
type RoleAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Rules Opt[[]PolicyRuleAssertion]
}
RoleAssertion is the assertion struct for Role.
func (RoleAssertion) IsAssertable ¶
func (_ RoleAssertion) IsAssertable()
IsAssertable marks RoleAssertion as an Assertable.
type RoleBindingAssertion ¶
type RoleBindingAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Subjects Opt[[]SubjectAssertion]
RoleRef RoleRefAssertion
}
RoleBindingAssertion is the assertion struct for RoleBinding.
func (RoleBindingAssertion) IsAssertable ¶
func (_ RoleBindingAssertion) IsAssertable()
IsAssertable marks RoleBindingAssertion as an Assertable.
type RoleRefAssertion ¶
RoleRefAssertion is the assertion struct for RoleRef.
func (RoleRefAssertion) IsAssertable ¶
func (_ RoleRefAssertion) IsAssertable()
IsAssertable marks RoleRefAssertion as an Assertable.
type RollingUpdateDaemonSetAssertion ¶
type RollingUpdateDaemonSetAssertion struct {
MaxSurge IntOrStringAssertion
}
RollingUpdateDaemonSetAssertion is the assertion struct for RollingUpdateDaemonSet.
func (RollingUpdateDaemonSetAssertion) IsAssertable ¶
func (_ RollingUpdateDaemonSetAssertion) IsAssertable()
IsAssertable marks RollingUpdateDaemonSetAssertion as an Assertable.
type RollingUpdateDeploymentAssertion ¶
type RollingUpdateDeploymentAssertion struct {
MaxSurge IntOrStringAssertion
}
RollingUpdateDeploymentAssertion is the assertion struct for RollingUpdateDeployment.
func (RollingUpdateDeploymentAssertion) IsAssertable ¶
func (_ RollingUpdateDeploymentAssertion) IsAssertable()
IsAssertable marks RollingUpdateDeploymentAssertion as an Assertable.
type RootPathsAssertion ¶
RootPathsAssertion is the assertion struct for RootPaths.
func (RootPathsAssertion) IsAssertable ¶
func (_ RootPathsAssertion) IsAssertable()
IsAssertable marks RootPathsAssertion as an Assertable.
type RouteGroupKindAssertion ¶
RouteGroupKindAssertion is the assertion struct for RouteGroupKind.
func (RouteGroupKindAssertion) IsAssertable ¶
func (_ RouteGroupKindAssertion) IsAssertable()
IsAssertable marks RouteGroupKindAssertion as an Assertable.
type RouteNamespacesAssertion ¶
type RouteNamespacesAssertion struct {
From Opt[*v18.FromNamespaces]
Selector LabelSelectorAssertion
}
RouteNamespacesAssertion is the assertion struct for RouteNamespaces.
func (RouteNamespacesAssertion) IsAssertable ¶
func (_ RouteNamespacesAssertion) IsAssertable()
IsAssertable marks RouteNamespacesAssertion as an Assertable.
type RuleAssertion ¶
type RuleAssertion struct {
Record Opt[string]
Alert Opt[string]
Expr IntOrStringAssertion
For Opt[*v1.Duration]
KeepFiringFor Opt[*v1.NonEmptyDuration]
Labels Opt[map[string]string]
Annotations Opt[map[string]string]
}
RuleAssertion is the assertion struct for Rule.
func (RuleAssertion) IsAssertable ¶
func (_ RuleAssertion) IsAssertable()
IsAssertable marks RuleAssertion as an Assertable.
type RuleGroupAssertion ¶
type RuleGroupAssertion struct {
Name Opt[string]
Labels Opt[map[string]string]
Interval Opt[*v1.Duration]
QueryOffset Opt[*v1.Duration]
Rules Opt[[]RuleAssertion]
PartialResponseStrategy Opt[string]
Limit Opt[*int]
}
RuleGroupAssertion is the assertion struct for RuleGroup.
func (RuleGroupAssertion) IsAssertable ¶
func (_ RuleGroupAssertion) IsAssertable()
IsAssertable marks RuleGroupAssertion as an Assertable.
type RulesAlertAssertion ¶
type RulesAlertAssertion struct {
ForOutageTolerance Opt[string]
ForGracePeriod Opt[string]
ResendDelay Opt[string]
}
RulesAlertAssertion is the assertion struct for RulesAlert.
func (RulesAlertAssertion) IsAssertable ¶
func (_ RulesAlertAssertion) IsAssertable()
IsAssertable marks RulesAlertAssertion as an Assertable.
type RulesAssertion ¶
type RulesAssertion struct {
Alert RulesAlertAssertion
}
RulesAssertion is the assertion struct for Rules.
func (RulesAssertion) IsAssertable ¶
func (_ RulesAssertion) IsAssertable()
IsAssertable marks RulesAssertion as an Assertable.
type RuntimeConfigAssertion ¶
RuntimeConfigAssertion is the assertion struct for RuntimeConfig.
func (RuntimeConfigAssertion) IsAssertable ¶
func (_ RuntimeConfigAssertion) IsAssertable()
IsAssertable marks RuntimeConfigAssertion as an Assertable.
type SELinuxOptionsAssertion ¶
type SELinuxOptionsAssertion struct {
User Opt[string]
Role Opt[string]
Type Opt[string]
Level Opt[string]
}
SELinuxOptionsAssertion is the assertion struct for SELinuxOptions.
func (SELinuxOptionsAssertion) IsAssertable ¶
func (_ SELinuxOptionsAssertion) IsAssertable()
IsAssertable marks SELinuxOptionsAssertion as an Assertable.
type SafeAuthorizationAssertion ¶
type SafeAuthorizationAssertion struct {
Type Opt[string]
Credentials SecretKeySelectorAssertion
}
SafeAuthorizationAssertion is the assertion struct for SafeAuthorization.
func (SafeAuthorizationAssertion) IsAssertable ¶
func (_ SafeAuthorizationAssertion) IsAssertable()
IsAssertable marks SafeAuthorizationAssertion as an Assertable.
type SafeTLSConfigAssertion ¶
type SafeTLSConfigAssertion struct {
CA SecretOrConfigMapAssertion
Cert SecretOrConfigMapAssertion
KeySecret SecretKeySelectorAssertion
ServerName Opt[*string]
InsecureSkipVerify Opt[*bool]
MinVersion Opt[*v1.TLSVersion]
MaxVersion Opt[*v1.TLSVersion]
}
SafeTLSConfigAssertion is the assertion struct for SafeTLSConfig.
func (SafeTLSConfigAssertion) IsAssertable ¶
func (_ SafeTLSConfigAssertion) IsAssertable()
IsAssertable marks SafeTLSConfigAssertion as an Assertable.
type ScaleIOPersistentVolumeSourceAssertion ¶
type ScaleIOPersistentVolumeSourceAssertion struct {
Gateway Opt[string]
System Opt[string]
SecretRef SecretReferenceAssertion
SSLEnabled Opt[bool]
ProtectionDomain Opt[string]
StoragePool Opt[string]
StorageMode Opt[string]
VolumeName Opt[string]
FSType Opt[string]
ReadOnly Opt[bool]
}
ScaleIOPersistentVolumeSourceAssertion is the assertion struct for ScaleIOPersistentVolumeSource.
func (ScaleIOPersistentVolumeSourceAssertion) IsAssertable ¶
func (_ ScaleIOPersistentVolumeSourceAssertion) IsAssertable()
IsAssertable marks ScaleIOPersistentVolumeSourceAssertion as an Assertable.
type ScaleIOVolumeSourceAssertion ¶
type ScaleIOVolumeSourceAssertion struct {
Gateway Opt[string]
System Opt[string]
SecretRef CoreLocalObjectReferenceAssertion
SSLEnabled Opt[bool]
ProtectionDomain Opt[string]
StoragePool Opt[string]
StorageMode Opt[string]
VolumeName Opt[string]
FSType Opt[string]
ReadOnly Opt[bool]
}
ScaleIOVolumeSourceAssertion is the assertion struct for ScaleIOVolumeSource.
func (ScaleIOVolumeSourceAssertion) IsAssertable ¶
func (_ ScaleIOVolumeSourceAssertion) IsAssertable()
IsAssertable marks ScaleIOVolumeSourceAssertion as an Assertable.
type ScopeSelectorAssertion ¶
type ScopeSelectorAssertion struct {
MatchExpressions Opt[[]ScopedResourceSelectorRequirementAssertion]
}
ScopeSelectorAssertion is the assertion struct for ScopeSelector.
func (ScopeSelectorAssertion) IsAssertable ¶
func (_ ScopeSelectorAssertion) IsAssertable()
IsAssertable marks ScopeSelectorAssertion as an Assertable.
type ScopedResourceSelectorRequirementAssertion ¶
type ScopedResourceSelectorRequirementAssertion struct {
ScopeName Opt[v11.ResourceQuotaScope]
Operator Opt[v11.ScopeSelectorOperator]
Values Opt[[]string]
}
ScopedResourceSelectorRequirementAssertion is the assertion struct for ScopedResourceSelectorRequirement.
func (ScopedResourceSelectorRequirementAssertion) IsAssertable ¶
func (_ ScopedResourceSelectorRequirementAssertion) IsAssertable()
IsAssertable marks ScopedResourceSelectorRequirementAssertion as an Assertable.
type ScrapeClassAssertion ¶
type ScrapeClassAssertion struct {
Name Opt[string]
Default Opt[*bool]
FallbackScrapeProtocol Opt[*v1.ScrapeProtocol]
TLSConfig MonitoringTLSConfigAssertion
Authorization AuthorizationAssertion
Relabelings Opt[[]RelabelConfigAssertion]
MetricRelabelings Opt[[]RelabelConfigAssertion]
AttachMetadata AttachMetadataAssertion
}
ScrapeClassAssertion is the assertion struct for ScrapeClass.
func (ScrapeClassAssertion) IsAssertable ¶
func (_ ScrapeClassAssertion) IsAssertable()
IsAssertable marks ScrapeClassAssertion as an Assertable.
type SeccompProfileAssertion ¶
type SeccompProfileAssertion struct {
Type Opt[v11.SeccompProfileType]
LocalhostProfile Opt[*string]
}
SeccompProfileAssertion is the assertion struct for SeccompProfile.
func (SeccompProfileAssertion) IsAssertable ¶
func (_ SeccompProfileAssertion) IsAssertable()
IsAssertable marks SeccompProfileAssertion as an Assertable.
type SecretAssertion ¶
type SecretAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Immutable Opt[*bool]
Data Opt[map[string][]byte]
StringData Opt[map[string]string]
Type Opt[v11.SecretType]
}
SecretAssertion is the assertion struct for Secret.
func (SecretAssertion) IsAssertable ¶
func (_ SecretAssertion) IsAssertable()
IsAssertable marks SecretAssertion as an Assertable.
type SecretEnvSourceAssertion ¶
type SecretEnvSourceAssertion struct {
LocalObjectReference CoreLocalObjectReferenceAssertion
Optional Opt[*bool]
}
SecretEnvSourceAssertion is the assertion struct for SecretEnvSource.
func (SecretEnvSourceAssertion) IsAssertable ¶
func (_ SecretEnvSourceAssertion) IsAssertable()
IsAssertable marks SecretEnvSourceAssertion as an Assertable.
type SecretKeySelectorAssertion ¶
type SecretKeySelectorAssertion struct {
LocalObjectReference CoreLocalObjectReferenceAssertion
Key Opt[string]
Optional Opt[*bool]
}
SecretKeySelectorAssertion is the assertion struct for SecretKeySelector.
func (SecretKeySelectorAssertion) IsAssertable ¶
func (_ SecretKeySelectorAssertion) IsAssertable()
IsAssertable marks SecretKeySelectorAssertion as an Assertable.
type SecretObjectReferenceAssertion ¶
type SecretObjectReferenceAssertion struct {
Group Opt[*v18.Group]
Kind Opt[*v18.Kind]
Name Opt[v18.ObjectName]
Namespace Opt[*v18.Namespace]
}
SecretObjectReferenceAssertion is the assertion struct for SecretObjectReference.
func (SecretObjectReferenceAssertion) IsAssertable ¶
func (_ SecretObjectReferenceAssertion) IsAssertable()
IsAssertable marks SecretObjectReferenceAssertion as an Assertable.
type SecretOrConfigMapAssertion ¶
type SecretOrConfigMapAssertion struct {
Secret SecretKeySelectorAssertion
ConfigMap ConfigMapKeySelectorAssertion
}
SecretOrConfigMapAssertion is the assertion struct for SecretOrConfigMap.
func (SecretOrConfigMapAssertion) IsAssertable ¶
func (_ SecretOrConfigMapAssertion) IsAssertable()
IsAssertable marks SecretOrConfigMapAssertion as an Assertable.
type SecretProjectionAssertion ¶
type SecretProjectionAssertion struct {
LocalObjectReference CoreLocalObjectReferenceAssertion
Items Opt[[]KeyToPathAssertion]
Optional Opt[*bool]
}
SecretProjectionAssertion is the assertion struct for SecretProjection.
func (SecretProjectionAssertion) IsAssertable ¶
func (_ SecretProjectionAssertion) IsAssertable()
IsAssertable marks SecretProjectionAssertion as an Assertable.
type SecretReferenceAssertion ¶
SecretReferenceAssertion is the assertion struct for SecretReference.
func (SecretReferenceAssertion) IsAssertable ¶
func (_ SecretReferenceAssertion) IsAssertable()
IsAssertable marks SecretReferenceAssertion as an Assertable.
type SecretVolumeSourceAssertion ¶
type SecretVolumeSourceAssertion struct {
SecretName Opt[string]
Items Opt[[]KeyToPathAssertion]
DefaultMode Opt[*int32]
Optional Opt[*bool]
}
SecretVolumeSourceAssertion is the assertion struct for SecretVolumeSource.
func (SecretVolumeSourceAssertion) IsAssertable ¶
func (_ SecretVolumeSourceAssertion) IsAssertable()
IsAssertable marks SecretVolumeSourceAssertion as an Assertable.
type SecurityContextAssertion ¶
type SecurityContextAssertion struct {
Capabilities CapabilitiesAssertion
Privileged Opt[*bool]
SELinuxOptions SELinuxOptionsAssertion
WindowsOptions WindowsSecurityContextOptionsAssertion
RunAsUser Opt[*int64]
RunAsGroup Opt[*int64]
RunAsNonRoot Opt[*bool]
ReadOnlyRootFilesystem Opt[*bool]
AllowPrivilegeEscalation Opt[*bool]
ProcMount Opt[*v11.ProcMountType]
SeccompProfile SeccompProfileAssertion
AppArmorProfile AppArmorProfileAssertion
}
SecurityContextAssertion is the assertion struct for SecurityContext.
func (SecurityContextAssertion) IsAssertable ¶
func (_ SecurityContextAssertion) IsAssertable()
IsAssertable marks SecurityContextAssertion as an Assertable.
type SerializedReferenceAssertion ¶
type SerializedReferenceAssertion struct {
TypeMeta TypeMetaAssertion
Reference CoreObjectReferenceAssertion
}
SerializedReferenceAssertion is the assertion struct for SerializedReference.
func (SerializedReferenceAssertion) IsAssertable ¶
func (_ SerializedReferenceAssertion) IsAssertable()
IsAssertable marks SerializedReferenceAssertion as an Assertable.
type ServerAddressByClientCIDRAssertion ¶
ServerAddressByClientCIDRAssertion is the assertion struct for ServerAddressByClientCIDR.
func (ServerAddressByClientCIDRAssertion) IsAssertable ¶
func (_ ServerAddressByClientCIDRAssertion) IsAssertable()
IsAssertable marks ServerAddressByClientCIDRAssertion as an Assertable.
type ServiceAccountAssertion ¶
type ServiceAccountAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Secrets Opt[[]CoreObjectReferenceAssertion]
ImagePullSecrets Opt[[]CoreLocalObjectReferenceAssertion]
AutomountServiceAccountToken Opt[*bool]
}
ServiceAccountAssertion is the assertion struct for ServiceAccount.
func (ServiceAccountAssertion) IsAssertable ¶
func (_ ServiceAccountAssertion) IsAssertable()
IsAssertable marks ServiceAccountAssertion as an Assertable.
type ServiceAccountTokenProjectionAssertion ¶
type ServiceAccountTokenProjectionAssertion struct {
Audience Opt[string]
ExpirationSeconds Opt[*int64]
Path Opt[string]
}
ServiceAccountTokenProjectionAssertion is the assertion struct for ServiceAccountTokenProjection.
func (ServiceAccountTokenProjectionAssertion) IsAssertable ¶
func (_ ServiceAccountTokenProjectionAssertion) IsAssertable()
IsAssertable marks ServiceAccountTokenProjectionAssertion as an Assertable.
type ServiceAssertion ¶
type ServiceAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec ServiceSpecAssertion
Status Opt[v11.ServiceStatus]
}
ServiceAssertion is the assertion struct for Service.
func (ServiceAssertion) IsAssertable ¶
func (_ ServiceAssertion) IsAssertable()
IsAssertable marks ServiceAssertion as an Assertable.
type ServiceBackendPortAssertion ¶
ServiceBackendPortAssertion is the assertion struct for ServiceBackendPort.
func (ServiceBackendPortAssertion) IsAssertable ¶
func (_ ServiceBackendPortAssertion) IsAssertable()
IsAssertable marks ServiceBackendPortAssertion as an Assertable.
type ServiceCIDRAssertion ¶
type ServiceCIDRAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec ServiceCIDRSpecAssertion
Status Opt[v14.ServiceCIDRStatus]
}
ServiceCIDRAssertion is the assertion struct for ServiceCIDR.
func (ServiceCIDRAssertion) IsAssertable ¶
func (_ ServiceCIDRAssertion) IsAssertable()
IsAssertable marks ServiceCIDRAssertion as an Assertable.
type ServiceCIDRSpecAssertion ¶
ServiceCIDRSpecAssertion is the assertion struct for ServiceCIDRSpec.
func (ServiceCIDRSpecAssertion) IsAssertable ¶
func (_ ServiceCIDRSpecAssertion) IsAssertable()
IsAssertable marks ServiceCIDRSpecAssertion as an Assertable.
type ServiceMonitorAssertion ¶
type ServiceMonitorAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec ServiceMonitorSpecAssertion
Status Opt[v1.ConfigResourceStatus]
}
ServiceMonitorAssertion is the assertion struct for ServiceMonitor.
func (ServiceMonitorAssertion) IsAssertable ¶
func (_ ServiceMonitorAssertion) IsAssertable()
IsAssertable marks ServiceMonitorAssertion as an Assertable.
type ServiceMonitorSpecAssertion ¶
type ServiceMonitorSpecAssertion struct {
JobLabel Opt[string]
TargetLabels Opt[[]string]
PodTargetLabels Opt[[]string]
Endpoints Opt[[]EndpointAssertion]
Selector LabelSelectorAssertion
SelectorMechanism Opt[*v1.SelectorMechanism]
NamespaceSelector NamespaceSelectorAssertion
SampleLimit Opt[*uint64]
ScrapeProtocols Opt[[]v1.ScrapeProtocol]
FallbackScrapeProtocol Opt[*v1.ScrapeProtocol]
TargetLimit Opt[*uint64]
LabelLimit Opt[*uint64]
LabelNameLengthLimit Opt[*uint64]
LabelValueLengthLimit Opt[*uint64]
NativeHistogramConfig NativeHistogramConfigAssertion
KeepDroppedTargets Opt[*uint64]
AttachMetadata AttachMetadataAssertion
ScrapeClassName Opt[*string]
BodySizeLimit Opt[*v1.ByteSize]
ServiceDiscoveryRole Opt[*v1.ServiceDiscoveryRole]
}
ServiceMonitorSpecAssertion is the assertion struct for ServiceMonitorSpec.
func (ServiceMonitorSpecAssertion) IsAssertable ¶
func (_ ServiceMonitorSpecAssertion) IsAssertable()
IsAssertable marks ServiceMonitorSpecAssertion as an Assertable.
type ServicePortAssertion ¶
type ServicePortAssertion struct {
Name Opt[string]
Protocol Opt[v11.Protocol]
AppProtocol Opt[*string]
Port Opt[int32]
TargetPort IntOrStringAssertion
NodePort Opt[int32]
}
ServicePortAssertion is the assertion struct for ServicePort.
func (ServicePortAssertion) IsAssertable ¶
func (_ ServicePortAssertion) IsAssertable()
IsAssertable marks ServicePortAssertion as an Assertable.
type ServiceProxyOptionsAssertion ¶
type ServiceProxyOptionsAssertion struct {
TypeMeta TypeMetaAssertion
Path Opt[string]
}
ServiceProxyOptionsAssertion is the assertion struct for ServiceProxyOptions.
func (ServiceProxyOptionsAssertion) IsAssertable ¶
func (_ ServiceProxyOptionsAssertion) IsAssertable()
IsAssertable marks ServiceProxyOptionsAssertion as an Assertable.
type ServiceSpecAssertion ¶
type ServiceSpecAssertion struct {
Ports Opt[[]ServicePortAssertion]
Selector Opt[map[string]string]
ClusterIP Opt[string]
ClusterIPs Opt[[]string]
Type Opt[v11.ServiceType]
ExternalIPs Opt[[]string]
SessionAffinity Opt[v11.ServiceAffinity]
LoadBalancerIP Opt[string]
LoadBalancerSourceRanges Opt[[]string]
ExternalName Opt[string]
ExternalTrafficPolicy Opt[v11.ServiceExternalTrafficPolicy]
HealthCheckNodePort Opt[int32]
PublishNotReadyAddresses Opt[bool]
SessionAffinityConfig SessionAffinityConfigAssertion
IPFamilies Opt[[]v11.IPFamily]
IPFamilyPolicy Opt[*v11.IPFamilyPolicy]
AllocateLoadBalancerNodePorts Opt[*bool]
LoadBalancerClass Opt[*string]
InternalTrafficPolicy Opt[*v11.ServiceInternalTrafficPolicy]
TrafficDistribution Opt[*string]
}
ServiceSpecAssertion is the assertion struct for ServiceSpec.
func (ServiceSpecAssertion) IsAssertable ¶
func (_ ServiceSpecAssertion) IsAssertable()
IsAssertable marks ServiceSpecAssertion as an Assertable.
type SessionAffinityConfigAssertion ¶
type SessionAffinityConfigAssertion struct {
ClientIP ClientIPConfigAssertion
}
SessionAffinityConfigAssertion is the assertion struct for SessionAffinityConfig.
func (SessionAffinityConfigAssertion) IsAssertable ¶
func (_ SessionAffinityConfigAssertion) IsAssertable()
IsAssertable marks SessionAffinityConfigAssertion as an Assertable.
type SessionPersistenceAssertion ¶
type SessionPersistenceAssertion struct {
SessionName Opt[*string]
AbsoluteTimeout Opt[*v18.Duration]
IdleTimeout Opt[*v18.Duration]
Type Opt[*v18.SessionPersistenceType]
CookieConfig CookieConfigAssertion
}
SessionPersistenceAssertion is the assertion struct for SessionPersistence.
func (SessionPersistenceAssertion) IsAssertable ¶
func (_ SessionPersistenceAssertion) IsAssertable()
IsAssertable marks SessionPersistenceAssertion as an Assertable.
type ShardInfoAssertion ¶
ShardInfoAssertion is the assertion struct for ShardInfo.
func (ShardInfoAssertion) IsAssertable ¶
func (_ ShardInfoAssertion) IsAssertable()
IsAssertable marks ShardInfoAssertion as an Assertable.
type ShardRetentionPolicyAssertion ¶
type ShardRetentionPolicyAssertion struct {
WhenScaled Opt[*v1.WhenScaledRetentionType]
Retain RetainConfigAssertion
}
ShardRetentionPolicyAssertion is the assertion struct for ShardRetentionPolicy.
func (ShardRetentionPolicyAssertion) IsAssertable ¶
func (_ ShardRetentionPolicyAssertion) IsAssertable()
IsAssertable marks ShardRetentionPolicyAssertion as an Assertable.
type ShardingStrategyAssertion ¶
type ShardingStrategyAssertion struct {
Mode Opt[*v1.ShardingStrategyMode]
Topology TopologyShardingStrategyAssertion
}
ShardingStrategyAssertion is the assertion struct for ShardingStrategy.
func (ShardingStrategyAssertion) IsAssertable ¶
func (_ ShardingStrategyAssertion) IsAssertable()
IsAssertable marks ShardingStrategyAssertion as an Assertable.
type Sigv4Assertion ¶
type Sigv4Assertion struct {
Region Opt[string]
AccessKey SecretKeySelectorAssertion
SecretKey SecretKeySelectorAssertion
Profile Opt[string]
RoleArn Opt[string]
ExternalID Opt[string]
UseFIPSSTSEndpoint Opt[*bool]
}
Sigv4Assertion is the assertion struct for Sigv4.
func (Sigv4Assertion) IsAssertable ¶
func (_ Sigv4Assertion) IsAssertable()
IsAssertable marks Sigv4Assertion as an Assertable.
type SleepActionAssertion ¶
SleepActionAssertion is the assertion struct for SleepAction.
func (SleepActionAssertion) IsAssertable ¶
func (_ SleepActionAssertion) IsAssertable()
IsAssertable marks SleepActionAssertion as an Assertable.
type StatefulSetAssertion ¶
type StatefulSetAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec StatefulSetSpecAssertion
Status Opt[v12.StatefulSetStatus]
}
StatefulSetAssertion is the assertion struct for StatefulSet.
func (StatefulSetAssertion) IsAssertable ¶
func (_ StatefulSetAssertion) IsAssertable()
IsAssertable marks StatefulSetAssertion as an Assertable.
type StatefulSetConditionAssertion ¶
type StatefulSetConditionAssertion struct {
Type Opt[v12.StatefulSetConditionType]
Status Opt[v11.ConditionStatus]
LastTransitionTime TimeAssertion
Reason Opt[string]
Message Opt[string]
}
StatefulSetConditionAssertion is the assertion struct for StatefulSetCondition.
func (StatefulSetConditionAssertion) IsAssertable ¶
func (_ StatefulSetConditionAssertion) IsAssertable()
IsAssertable marks StatefulSetConditionAssertion as an Assertable.
type StatefulSetOrdinalsAssertion ¶
StatefulSetOrdinalsAssertion is the assertion struct for StatefulSetOrdinals.
func (StatefulSetOrdinalsAssertion) IsAssertable ¶
func (_ StatefulSetOrdinalsAssertion) IsAssertable()
IsAssertable marks StatefulSetOrdinalsAssertion as an Assertable.
type StatefulSetPersistentVolumeClaimRetentionPolicyAssertion ¶
type StatefulSetPersistentVolumeClaimRetentionPolicyAssertion struct {
WhenDeleted Opt[v12.PersistentVolumeClaimRetentionPolicyType]
WhenScaled Opt[v12.PersistentVolumeClaimRetentionPolicyType]
}
StatefulSetPersistentVolumeClaimRetentionPolicyAssertion is the assertion struct for StatefulSetPersistentVolumeClaimRetentionPolicy.
func (StatefulSetPersistentVolumeClaimRetentionPolicyAssertion) IsAssertable ¶
func (_ StatefulSetPersistentVolumeClaimRetentionPolicyAssertion) IsAssertable()
IsAssertable marks StatefulSetPersistentVolumeClaimRetentionPolicyAssertion as an Assertable.
type StatefulSetSpecAssertion ¶
type StatefulSetSpecAssertion struct {
Replicas Opt[*int32]
Selector LabelSelectorAssertion
Template PodTemplateSpecAssertion
VolumeClaimTemplates Opt[[]PersistentVolumeClaimAssertion]
ServiceName Opt[string]
PodManagementPolicy Opt[v12.PodManagementPolicyType]
UpdateStrategy AppsStatefulSetUpdateStrategyAssertion
RevisionHistoryLimit Opt[*int32]
MinReadySeconds Opt[int32]
PersistentVolumeClaimRetentionPolicy StatefulSetPersistentVolumeClaimRetentionPolicyAssertion
Ordinals StatefulSetOrdinalsAssertion
}
StatefulSetSpecAssertion is the assertion struct for StatefulSetSpec.
func (StatefulSetSpecAssertion) IsAssertable ¶
func (_ StatefulSetSpecAssertion) IsAssertable()
IsAssertable marks StatefulSetSpecAssertion as an Assertable.
type StatusCauseAssertion ¶
StatusCauseAssertion is the assertion struct for StatusCause.
func (StatusCauseAssertion) IsAssertable ¶
func (_ StatusCauseAssertion) IsAssertable()
IsAssertable marks StatusCauseAssertion as an Assertable.
type StatusDetailsAssertion ¶
type StatusDetailsAssertion struct {
Name Opt[string]
Group Opt[string]
Kind Opt[string]
UID Opt[types.UID]
Causes Opt[[]StatusCauseAssertion]
RetryAfterSeconds Opt[int32]
}
StatusDetailsAssertion is the assertion struct for StatusDetails.
func (StatusDetailsAssertion) IsAssertable ¶
func (_ StatusDetailsAssertion) IsAssertable()
IsAssertable marks StatusDetailsAssertion as an Assertable.
type StorageClassAssertion ¶
type StorageClassAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Provisioner Opt[string]
Parameters Opt[map[string]string]
ReclaimPolicy Opt[*v11.PersistentVolumeReclaimPolicy]
MountOptions Opt[[]string]
AllowVolumeExpansion Opt[*bool]
VolumeBindingMode Opt[*v16.VolumeBindingMode]
AllowedTopologies Opt[[]TopologySelectorTermAssertion]
}
StorageClassAssertion is the assertion struct for StorageClass.
func (StorageClassAssertion) IsAssertable ¶
func (_ StorageClassAssertion) IsAssertable()
IsAssertable marks StorageClassAssertion as an Assertable.
type StorageOSPersistentVolumeSourceAssertion ¶
type StorageOSPersistentVolumeSourceAssertion struct {
VolumeName Opt[string]
VolumeNamespace Opt[string]
FSType Opt[string]
ReadOnly Opt[bool]
SecretRef CoreObjectReferenceAssertion
}
StorageOSPersistentVolumeSourceAssertion is the assertion struct for StorageOSPersistentVolumeSource.
func (StorageOSPersistentVolumeSourceAssertion) IsAssertable ¶
func (_ StorageOSPersistentVolumeSourceAssertion) IsAssertable()
IsAssertable marks StorageOSPersistentVolumeSourceAssertion as an Assertable.
type StorageOSVolumeSourceAssertion ¶
type StorageOSVolumeSourceAssertion struct {
VolumeName Opt[string]
VolumeNamespace Opt[string]
FSType Opt[string]
ReadOnly Opt[bool]
SecretRef CoreLocalObjectReferenceAssertion
}
StorageOSVolumeSourceAssertion is the assertion struct for StorageOSVolumeSource.
func (StorageOSVolumeSourceAssertion) IsAssertable ¶
func (_ StorageOSVolumeSourceAssertion) IsAssertable()
IsAssertable marks StorageOSVolumeSourceAssertion as an Assertable.
type StorageSchemeGroupVersionAssertion ¶
StorageSchemeGroupVersionAssertion is the assertion struct for GroupVersion.
func (StorageSchemeGroupVersionAssertion) IsAssertable ¶
func (_ StorageSchemeGroupVersionAssertion) IsAssertable()
IsAssertable marks StorageSchemeGroupVersionAssertion as an Assertable.
type StorageSpecAssertion ¶
type StorageSpecAssertion struct {
DisableMountSubPath Opt[bool]
EmptyDir EmptyDirVolumeSourceAssertion
Ephemeral EphemeralVolumeSourceAssertion
VolumeClaimTemplate EmbeddedPersistentVolumeClaimAssertion
}
StorageSpecAssertion is the assertion struct for StorageSpec.
func (StorageSpecAssertion) IsAssertable ¶
func (_ StorageSpecAssertion) IsAssertable()
IsAssertable marks StorageSpecAssertion as an Assertable.
type SubjectAltNameAssertion ¶
type SubjectAltNameAssertion struct {
Type Opt[v18.SubjectAltNameType]
Hostname Opt[v18.Hostname]
URI Opt[v18.AbsoluteURI]
}
SubjectAltNameAssertion is the assertion struct for SubjectAltName.
func (SubjectAltNameAssertion) IsAssertable ¶
func (_ SubjectAltNameAssertion) IsAssertable()
IsAssertable marks SubjectAltNameAssertion as an Assertable.
type SubjectAssertion ¶
type SubjectAssertion struct {
Kind Opt[string]
APIGroup Opt[string]
Name Opt[string]
Namespace Opt[string]
}
SubjectAssertion is the assertion struct for Subject.
func (SubjectAssertion) IsAssertable ¶
func (_ SubjectAssertion) IsAssertable()
IsAssertable marks SubjectAssertion as an Assertable.
type SuccessPolicyAssertion ¶
type SuccessPolicyAssertion struct {
Rules Opt[[]SuccessPolicyRuleAssertion]
}
SuccessPolicyAssertion is the assertion struct for SuccessPolicy.
func (SuccessPolicyAssertion) IsAssertable ¶
func (_ SuccessPolicyAssertion) IsAssertable()
IsAssertable marks SuccessPolicyAssertion as an Assertable.
type SuccessPolicyRuleAssertion ¶
SuccessPolicyRuleAssertion is the assertion struct for SuccessPolicyRule.
func (SuccessPolicyRuleAssertion) IsAssertable ¶
func (_ SuccessPolicyRuleAssertion) IsAssertable()
IsAssertable marks SuccessPolicyRuleAssertion as an Assertable.
type SupportedFeatureAssertion ¶
type SupportedFeatureAssertion struct {
Name Opt[v18.FeatureName]
}
SupportedFeatureAssertion is the assertion struct for SupportedFeature.
func (SupportedFeatureAssertion) IsAssertable ¶
func (_ SupportedFeatureAssertion) IsAssertable()
IsAssertable marks SupportedFeatureAssertion as an Assertable.
type SysctlAssertion ¶
SysctlAssertion is the assertion struct for Sysctl.
func (SysctlAssertion) IsAssertable ¶
func (_ SysctlAssertion) IsAssertable()
IsAssertable marks SysctlAssertion as an Assertable.
type TCPSocketActionAssertion ¶
type TCPSocketActionAssertion struct {
Port IntOrStringAssertion
Host Opt[string]
}
TCPSocketActionAssertion is the assertion struct for TCPSocketAction.
func (TCPSocketActionAssertion) IsAssertable ¶
func (_ TCPSocketActionAssertion) IsAssertable()
IsAssertable marks TCPSocketActionAssertion as an Assertable.
type TLSFilesConfigAssertion ¶
TLSFilesConfigAssertion is the assertion struct for TLSFilesConfig.
func (TLSFilesConfigAssertion) IsAssertable ¶
func (_ TLSFilesConfigAssertion) IsAssertable()
IsAssertable marks TLSFilesConfigAssertion as an Assertable.
type TLSPortConfigAssertion ¶
type TLSPortConfigAssertion struct {
Port Opt[v18.PortNumber]
TLS ApisTLSConfigAssertion
}
TLSPortConfigAssertion is the assertion struct for TLSPortConfig.
func (TLSPortConfigAssertion) IsAssertable ¶
func (_ TLSPortConfigAssertion) IsAssertable()
IsAssertable marks TLSPortConfigAssertion as an Assertable.
type TLSRouteAssertion ¶
type TLSRouteAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec TLSRouteSpecAssertion
Status Opt[v18.TLSRouteStatus]
}
TLSRouteAssertion is the assertion struct for TLSRoute.
func (TLSRouteAssertion) IsAssertable ¶
func (_ TLSRouteAssertion) IsAssertable()
IsAssertable marks TLSRouteAssertion as an Assertable.
type TLSRouteRuleAssertion ¶
type TLSRouteRuleAssertion struct {
Name Opt[*v18.SectionName]
BackendRefs Opt[[]BackendRefAssertion]
}
TLSRouteRuleAssertion is the assertion struct for TLSRouteRule.
func (TLSRouteRuleAssertion) IsAssertable ¶
func (_ TLSRouteRuleAssertion) IsAssertable()
IsAssertable marks TLSRouteRuleAssertion as an Assertable.
type TLSRouteSpecAssertion ¶
type TLSRouteSpecAssertion struct {
CommonRouteSpec CommonRouteSpecAssertion
Hostnames Opt[[]v18.Hostname]
Rules Opt[[]TLSRouteRuleAssertion]
}
TLSRouteSpecAssertion is the assertion struct for TLSRouteSpec.
func (TLSRouteSpecAssertion) IsAssertable ¶
func (_ TLSRouteSpecAssertion) IsAssertable()
IsAssertable marks TLSRouteSpecAssertion as an Assertable.
type TSDBSpecAssertion ¶
TSDBSpecAssertion is the assertion struct for TSDBSpec.
func (TSDBSpecAssertion) IsAssertable ¶
func (_ TSDBSpecAssertion) IsAssertable()
IsAssertable marks TSDBSpecAssertion as an Assertable.
type TableAssertion ¶
type TableAssertion struct {
TypeMeta TypeMetaAssertion
ListMeta ListMetaAssertion
ColumnDefinitions Opt[[]TableColumnDefinitionAssertion]
Rows Opt[[]TableRowAssertion]
}
TableAssertion is the assertion struct for Table.
func (TableAssertion) IsAssertable ¶
func (_ TableAssertion) IsAssertable()
IsAssertable marks TableAssertion as an Assertable.
type TableColumnDefinitionAssertion ¶
type TableColumnDefinitionAssertion struct {
Name Opt[string]
Type Opt[string]
Format Opt[string]
Description Opt[string]
Priority Opt[int32]
}
TableColumnDefinitionAssertion is the assertion struct for TableColumnDefinition.
func (TableColumnDefinitionAssertion) IsAssertable ¶
func (_ TableColumnDefinitionAssertion) IsAssertable()
IsAssertable marks TableColumnDefinitionAssertion as an Assertable.
type TableOptionsAssertion ¶
type TableOptionsAssertion struct {
TypeMeta TypeMetaAssertion
NoHeaders Opt[bool]
IncludeObject Opt[v17.IncludeObjectPolicy]
}
TableOptionsAssertion is the assertion struct for TableOptions.
func (TableOptionsAssertion) IsAssertable ¶
func (_ TableOptionsAssertion) IsAssertable()
IsAssertable marks TableOptionsAssertion as an Assertable.
type TableRowAssertion ¶
type TableRowAssertion struct {
Cells Opt[[]any]
Conditions Opt[[]TableRowConditionAssertion]
Object Opt[runtime.RawExtension]
}
TableRowAssertion is the assertion struct for TableRow.
func (TableRowAssertion) IsAssertable ¶
func (_ TableRowAssertion) IsAssertable()
IsAssertable marks TableRowAssertion as an Assertable.
type TableRowConditionAssertion ¶
type TableRowConditionAssertion struct {
Type Opt[v17.RowConditionType]
Status Opt[v17.ConditionStatus]
Reason Opt[string]
Message Opt[string]
}
TableRowConditionAssertion is the assertion struct for TableRowCondition.
func (TableRowConditionAssertion) IsAssertable ¶
func (_ TableRowConditionAssertion) IsAssertable()
IsAssertable marks TableRowConditionAssertion as an Assertable.
type TaintAssertion ¶
type TaintAssertion struct {
Key Opt[string]
Value Opt[string]
Effect Opt[v11.TaintEffect]
TimeAdded TimeAssertion
}
TaintAssertion is the assertion struct for Taint.
func (TaintAssertion) IsAssertable ¶
func (_ TaintAssertion) IsAssertable()
IsAssertable marks TaintAssertion as an Assertable.
type ThanosRulerAssertion ¶
type ThanosRulerAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec ThanosRulerSpecAssertion
Status Opt[v1.ThanosRulerStatus]
}
ThanosRulerAssertion is the assertion struct for ThanosRuler.
func (ThanosRulerAssertion) IsAssertable ¶
func (_ ThanosRulerAssertion) IsAssertable()
IsAssertable marks ThanosRulerAssertion as an Assertable.
type ThanosRulerSpecAssertion ¶
type ThanosRulerSpecAssertion struct {
Version Opt[*string]
PodMetadata EmbeddedObjectMetadataAssertion
Image Opt[string]
ImagePullPolicy Opt[v11.PullPolicy]
ImagePullSecrets Opt[[]CoreLocalObjectReferenceAssertion]
Paused Opt[bool]
Replicas Opt[*int32]
NodeSelector Opt[map[string]string]
SchedulerName Opt[string]
Resources ResourceRequirementsAssertion
Affinity AffinityAssertion
Tolerations Opt[[]TolerationAssertion]
TopologySpreadConstraints Opt[[]CoreTopologySpreadConstraintAssertion]
SecurityContext PodSecurityContextAssertion
DNSPolicy Opt[*v1.DNSPolicy]
DNSConfig MonitoringPodDNSConfigAssertion
EnableServiceLinks Opt[*bool]
PriorityClassName Opt[string]
ServiceName Opt[*string]
ServiceAccountName Opt[string]
Storage StorageSpecAssertion
Volumes Opt[[]VolumeAssertion]
VolumeMounts Opt[[]VolumeMountAssertion]
ObjectStorageConfig SecretKeySelectorAssertion
ObjectStorageConfigFile Opt[*string]
ListenLocal Opt[bool]
PodManagementPolicy Opt[*v1.PodManagementPolicyType]
UpdateStrategy MonitoringStatefulSetUpdateStrategyAssertion
QueryEndpoints Opt[[]string]
QueryConfig SecretKeySelectorAssertion
AlertManagersURL Opt[[]string]
AlertManagersConfig SecretKeySelectorAssertion
RuleSelector LabelSelectorAssertion
RuleNamespaceSelector LabelSelectorAssertion
EnforcedNamespaceLabel Opt[string]
ExcludedFromEnforcement Opt[[]MonitoringObjectReferenceAssertion]
PrometheusRulesExcludedFromEnforce Opt[[]PrometheusRuleExcludeConfigAssertion]
LogLevel Opt[string]
LogFormat Opt[string]
PortName Opt[string]
EvaluationInterval Opt[v1.Duration]
ResendDelay Opt[*v1.Duration]
RuleOutageTolerance Opt[*v1.Duration]
RuleQueryOffset Opt[*v1.Duration]
RuleConcurrentEval Opt[*int32]
RuleGracePeriod Opt[*v1.Duration]
Retention Opt[v1.Duration]
Containers Opt[[]ContainerAssertion]
InitContainers Opt[[]ContainerAssertion]
TracingConfig SecretKeySelectorAssertion
TracingConfigFile Opt[string]
Labels Opt[map[string]string]
AlertDropLabels Opt[[]string]
ExternalPrefix Opt[string]
RoutePrefix Opt[string]
GRPCServerTLSConfig GRPCServerTLSConfigAssertion
AlertQueryURL Opt[string]
MinReadySeconds Opt[*int32]
AlertRelabelConfigs SecretKeySelectorAssertion
AlertRelabelConfigFile Opt[*string]
HostAliases Opt[[]MonitoringHostAliasAssertion]
AdditionalArgs Opt[[]ArgumentAssertion]
Web ThanosRulerWebSpecAssertion
RemoteWrite Opt[[]RemoteWriteSpecAssertion]
TerminationGracePeriodSeconds Opt[*int64]
EnableFeatures Opt[[]v1.EnableFeature]
HostUsers Opt[*bool]
}
ThanosRulerSpecAssertion is the assertion struct for ThanosRulerSpec.
func (ThanosRulerSpecAssertion) IsAssertable ¶
func (_ ThanosRulerSpecAssertion) IsAssertable()
IsAssertable marks ThanosRulerSpecAssertion as an Assertable.
type ThanosRulerWebSpecAssertion ¶
type ThanosRulerWebSpecAssertion struct {
WebConfigFileFields WebConfigFileFieldsAssertion
}
ThanosRulerWebSpecAssertion is the assertion struct for ThanosRulerWebSpec.
func (ThanosRulerWebSpecAssertion) IsAssertable ¶
func (_ ThanosRulerWebSpecAssertion) IsAssertable()
IsAssertable marks ThanosRulerWebSpecAssertion as an Assertable.
type ThanosSpecAssertion ¶
type ThanosSpecAssertion struct {
Image Opt[*string]
Version Opt[*string]
Tag Opt[*string]
SHA Opt[*string]
BaseImage Opt[*string]
Resources ResourceRequirementsAssertion
ObjectStorageConfig SecretKeySelectorAssertion
ObjectStorageConfigFile Opt[*string]
ListenLocal Opt[bool]
GRPCListenLocal Opt[bool]
HTTPListenLocal Opt[bool]
TracingConfig SecretKeySelectorAssertion
TracingConfigFile Opt[string]
GRPCServerTLSConfig GRPCServerTLSConfigAssertion
LogLevel Opt[string]
LogFormat Opt[string]
MinTime Opt[string]
BlockDuration Opt[v1.Duration]
ReadyTimeout Opt[v1.Duration]
GetConfigInterval Opt[v1.Duration]
GetConfigTimeout Opt[v1.Duration]
VolumeMounts Opt[[]VolumeMountAssertion]
AdditionalArgs Opt[[]ArgumentAssertion]
}
ThanosSpecAssertion is the assertion struct for ThanosSpec.
func (ThanosSpecAssertion) IsAssertable ¶
func (_ ThanosSpecAssertion) IsAssertable()
IsAssertable marks ThanosSpecAssertion as an Assertable.
type TimeAssertion ¶
TimeAssertion is the assertion struct for Time.
func (TimeAssertion) IsAssertable ¶
func (_ TimeAssertion) IsAssertable()
IsAssertable marks TimeAssertion as an Assertable.
type TimestampAssertion ¶
TimestampAssertion is the assertion struct for Timestamp.
func (TimestampAssertion) IsAssertable ¶
func (_ TimestampAssertion) IsAssertable()
IsAssertable marks TimestampAssertion as an Assertable.
type TokenRequestAssertion ¶
TokenRequestAssertion is the assertion struct for TokenRequest.
func (TokenRequestAssertion) IsAssertable ¶
func (_ TokenRequestAssertion) IsAssertable()
IsAssertable marks TokenRequestAssertion as an Assertable.
type TolerationAssertion ¶
type TolerationAssertion struct {
Key Opt[string]
Operator Opt[v11.TolerationOperator]
Value Opt[string]
Effect Opt[v11.TaintEffect]
TolerationSeconds Opt[*int64]
}
TolerationAssertion is the assertion struct for Toleration.
func (TolerationAssertion) IsAssertable ¶
func (_ TolerationAssertion) IsAssertable()
IsAssertable marks TolerationAssertion as an Assertable.
type TopologySelectorLabelRequirementAssertion ¶
TopologySelectorLabelRequirementAssertion is the assertion struct for TopologySelectorLabelRequirement.
func (TopologySelectorLabelRequirementAssertion) IsAssertable ¶
func (_ TopologySelectorLabelRequirementAssertion) IsAssertable()
IsAssertable marks TopologySelectorLabelRequirementAssertion as an Assertable.
type TopologySelectorTermAssertion ¶
type TopologySelectorTermAssertion struct {
MatchLabelExpressions Opt[[]TopologySelectorLabelRequirementAssertion]
}
TopologySelectorTermAssertion is the assertion struct for TopologySelectorTerm.
func (TopologySelectorTermAssertion) IsAssertable ¶
func (_ TopologySelectorTermAssertion) IsAssertable()
IsAssertable marks TopologySelectorTermAssertion as an Assertable.
type TopologyShardingStrategyAssertion ¶
type TopologyShardingStrategyAssertion struct {
ExternalLabelName Opt[*string]
Values Opt[[]string]
}
TopologyShardingStrategyAssertion is the assertion struct for TopologyShardingStrategy.
func (TopologyShardingStrategyAssertion) IsAssertable ¶
func (_ TopologyShardingStrategyAssertion) IsAssertable()
IsAssertable marks TopologyShardingStrategyAssertion as an Assertable.
type TracingConfigAssertion ¶
type TracingConfigAssertion struct {
ClientType Opt[*string]
Endpoint Opt[string]
SamplingFraction QuantityAssertion
Insecure Opt[*bool]
Headers Opt[map[string]string]
Compression Opt[*string]
Timeout Opt[*v1.Duration]
TLSConfig MonitoringTLSConfigAssertion
}
TracingConfigAssertion is the assertion struct for TracingConfig.
func (TracingConfigAssertion) IsAssertable ¶
func (_ TracingConfigAssertion) IsAssertable()
IsAssertable marks TracingConfigAssertion as an Assertable.
type TypeMetaAssertion ¶
TypeMetaAssertion is the assertion struct for TypeMeta.
func (TypeMetaAssertion) IsAssertable ¶
func (_ TypeMetaAssertion) IsAssertable()
IsAssertable marks TypeMetaAssertion as an Assertable.
type TypedLocalObjectReferenceAssertion ¶
type TypedLocalObjectReferenceAssertion struct {
APIGroup Opt[*string]
Kind Opt[string]
Name Opt[string]
}
TypedLocalObjectReferenceAssertion is the assertion struct for TypedLocalObjectReference.
func (TypedLocalObjectReferenceAssertion) IsAssertable ¶
func (_ TypedLocalObjectReferenceAssertion) IsAssertable()
IsAssertable marks TypedLocalObjectReferenceAssertion as an Assertable.
type TypedObjectReferenceAssertion ¶
type TypedObjectReferenceAssertion struct {
APIGroup Opt[*string]
Kind Opt[string]
Name Opt[string]
Namespace Opt[*string]
}
TypedObjectReferenceAssertion is the assertion struct for TypedObjectReference.
func (TypedObjectReferenceAssertion) IsAssertable ¶
func (_ TypedObjectReferenceAssertion) IsAssertable()
IsAssertable marks TypedObjectReferenceAssertion as an Assertable.
type UncountedTerminatedPodsAssertion ¶
UncountedTerminatedPodsAssertion is the assertion struct for UncountedTerminatedPods.
func (UncountedTerminatedPodsAssertion) IsAssertable ¶
func (_ UncountedTerminatedPodsAssertion) IsAssertable()
IsAssertable marks UncountedTerminatedPodsAssertion as an Assertable.
type UnversionedAssertion ¶
UnversionedAssertion is the assertion struct for GroupVersion.
func (UnversionedAssertion) IsAssertable ¶
func (_ UnversionedAssertion) IsAssertable()
IsAssertable marks UnversionedAssertion as an Assertable.
type UpdateOptionsAssertion ¶
type UpdateOptionsAssertion struct {
TypeMeta TypeMetaAssertion
DryRun Opt[[]string]
FieldManager Opt[string]
FieldValidation Opt[string]
}
UpdateOptionsAssertion is the assertion struct for UpdateOptions.
func (UpdateOptionsAssertion) IsAssertable ¶
func (_ UpdateOptionsAssertion) IsAssertable()
IsAssertable marks UpdateOptionsAssertion as an Assertable.
type VolumeAssertion ¶
type VolumeAssertion struct {
Name Opt[string]
VolumeSource VolumeSourceAssertion
}
VolumeAssertion is the assertion struct for Volume.
func (VolumeAssertion) IsAssertable ¶
func (_ VolumeAssertion) IsAssertable()
IsAssertable marks VolumeAssertion as an Assertable.
type VolumeAttachmentAssertion ¶
type VolumeAttachmentAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
Spec VolumeAttachmentSpecAssertion
Status Opt[v16.VolumeAttachmentStatus]
}
VolumeAttachmentAssertion is the assertion struct for VolumeAttachment.
func (VolumeAttachmentAssertion) IsAssertable ¶
func (_ VolumeAttachmentAssertion) IsAssertable()
IsAssertable marks VolumeAttachmentAssertion as an Assertable.
type VolumeAttachmentSourceAssertion ¶
type VolumeAttachmentSourceAssertion struct {
PersistentVolumeName Opt[*string]
InlineVolumeSpec PersistentVolumeSpecAssertion
}
VolumeAttachmentSourceAssertion is the assertion struct for VolumeAttachmentSource.
func (VolumeAttachmentSourceAssertion) IsAssertable ¶
func (_ VolumeAttachmentSourceAssertion) IsAssertable()
IsAssertable marks VolumeAttachmentSourceAssertion as an Assertable.
type VolumeAttachmentSpecAssertion ¶
type VolumeAttachmentSpecAssertion struct {
Attacher Opt[string]
Source VolumeAttachmentSourceAssertion
NodeName Opt[string]
}
VolumeAttachmentSpecAssertion is the assertion struct for VolumeAttachmentSpec.
func (VolumeAttachmentSpecAssertion) IsAssertable ¶
func (_ VolumeAttachmentSpecAssertion) IsAssertable()
IsAssertable marks VolumeAttachmentSpecAssertion as an Assertable.
type VolumeAttributesClassAssertion ¶
type VolumeAttributesClassAssertion struct {
TypeMeta TypeMetaAssertion
ObjectMeta ObjectMetaAssertion
DriverName Opt[string]
Parameters Opt[map[string]string]
}
VolumeAttributesClassAssertion is the assertion struct for VolumeAttributesClass.
func (VolumeAttributesClassAssertion) IsAssertable ¶
func (_ VolumeAttributesClassAssertion) IsAssertable()
IsAssertable marks VolumeAttributesClassAssertion as an Assertable.
type VolumeDeviceAssertion ¶
VolumeDeviceAssertion is the assertion struct for VolumeDevice.
func (VolumeDeviceAssertion) IsAssertable ¶
func (_ VolumeDeviceAssertion) IsAssertable()
IsAssertable marks VolumeDeviceAssertion as an Assertable.
type VolumeErrorAssertion ¶
type VolumeErrorAssertion struct {
Time TimeAssertion
Message Opt[string]
ErrorCode Opt[*int32]
}
VolumeErrorAssertion is the assertion struct for VolumeError.
func (VolumeErrorAssertion) IsAssertable ¶
func (_ VolumeErrorAssertion) IsAssertable()
IsAssertable marks VolumeErrorAssertion as an Assertable.
type VolumeMountAssertion ¶
type VolumeMountAssertion struct {
Name Opt[string]
ReadOnly Opt[bool]
RecursiveReadOnly Opt[*v11.RecursiveReadOnlyMode]
MountPath Opt[string]
SubPath Opt[string]
MountPropagation Opt[*v11.MountPropagationMode]
SubPathExpr Opt[string]
}
VolumeMountAssertion is the assertion struct for VolumeMount.
func (VolumeMountAssertion) IsAssertable ¶
func (_ VolumeMountAssertion) IsAssertable()
IsAssertable marks VolumeMountAssertion as an Assertable.
type VolumeNodeAffinityAssertion ¶
type VolumeNodeAffinityAssertion struct {
Required NodeSelectorAssertion
}
VolumeNodeAffinityAssertion is the assertion struct for VolumeNodeAffinity.
func (VolumeNodeAffinityAssertion) IsAssertable ¶
func (_ VolumeNodeAffinityAssertion) IsAssertable()
IsAssertable marks VolumeNodeAffinityAssertion as an Assertable.
type VolumeNodeResourcesAssertion ¶
VolumeNodeResourcesAssertion is the assertion struct for VolumeNodeResources.
func (VolumeNodeResourcesAssertion) IsAssertable ¶
func (_ VolumeNodeResourcesAssertion) IsAssertable()
IsAssertable marks VolumeNodeResourcesAssertion as an Assertable.
type VolumeProjectionAssertion ¶
type VolumeProjectionAssertion struct {
Secret SecretProjectionAssertion
DownwardAPI DownwardAPIProjectionAssertion
ConfigMap ConfigMapProjectionAssertion
ServiceAccountToken ServiceAccountTokenProjectionAssertion
ClusterTrustBundle ClusterTrustBundleProjectionAssertion
PodCertificate PodCertificateProjectionAssertion
}
VolumeProjectionAssertion is the assertion struct for VolumeProjection.
func (VolumeProjectionAssertion) IsAssertable ¶
func (_ VolumeProjectionAssertion) IsAssertable()
IsAssertable marks VolumeProjectionAssertion as an Assertable.
type VolumeResourceRequirementsAssertion ¶
type VolumeResourceRequirementsAssertion struct {
Limits Opt[v11.ResourceList]
Requests Opt[v11.ResourceList]
}
VolumeResourceRequirementsAssertion is the assertion struct for VolumeResourceRequirements.
func (VolumeResourceRequirementsAssertion) IsAssertable ¶
func (_ VolumeResourceRequirementsAssertion) IsAssertable()
IsAssertable marks VolumeResourceRequirementsAssertion as an Assertable.
type VolumeSourceAssertion ¶
type VolumeSourceAssertion struct {
HostPath HostPathVolumeSourceAssertion
EmptyDir EmptyDirVolumeSourceAssertion
GCEPersistentDisk GCEPersistentDiskVolumeSourceAssertion
AWSElasticBlockStore AWSElasticBlockStoreVolumeSourceAssertion
GitRepo GitRepoVolumeSourceAssertion
Secret SecretVolumeSourceAssertion
NFS NFSVolumeSourceAssertion
ISCSI ISCSIVolumeSourceAssertion
Glusterfs GlusterfsVolumeSourceAssertion
PersistentVolumeClaim PersistentVolumeClaimVolumeSourceAssertion
RBD RBDVolumeSourceAssertion
FlexVolume FlexVolumeSourceAssertion
Cinder CinderVolumeSourceAssertion
CephFS CephFSVolumeSourceAssertion
Flocker FlockerVolumeSourceAssertion
DownwardAPI DownwardAPIVolumeSourceAssertion
FC FCVolumeSourceAssertion
AzureFile AzureFileVolumeSourceAssertion
ConfigMap ConfigMapVolumeSourceAssertion
VsphereVolume VsphereVirtualDiskVolumeSourceAssertion
Quobyte QuobyteVolumeSourceAssertion
AzureDisk AzureDiskVolumeSourceAssertion
PhotonPersistentDisk PhotonPersistentDiskVolumeSourceAssertion
Projected ProjectedVolumeSourceAssertion
PortworxVolume PortworxVolumeSourceAssertion
ScaleIO ScaleIOVolumeSourceAssertion
StorageOS StorageOSVolumeSourceAssertion
CSI CSIVolumeSourceAssertion
Ephemeral EphemeralVolumeSourceAssertion
Image ImageVolumeSourceAssertion
}
VolumeSourceAssertion is the assertion struct for VolumeSource.
func (VolumeSourceAssertion) IsAssertable ¶
func (_ VolumeSourceAssertion) IsAssertable()
IsAssertable marks VolumeSourceAssertion as an Assertable.
type VsphereVirtualDiskVolumeSourceAssertion ¶
type VsphereVirtualDiskVolumeSourceAssertion struct {
VolumePath Opt[string]
FSType Opt[string]
StoragePolicyName Opt[string]
StoragePolicyID Opt[string]
}
VsphereVirtualDiskVolumeSourceAssertion is the assertion struct for VsphereVirtualDiskVolumeSource.
func (VsphereVirtualDiskVolumeSourceAssertion) IsAssertable ¶
func (_ VsphereVirtualDiskVolumeSourceAssertion) IsAssertable()
IsAssertable marks VsphereVirtualDiskVolumeSourceAssertion as an Assertable.
type WatchEventAssertion ¶
type WatchEventAssertion struct {
Type Opt[string]
Object Opt[runtime.RawExtension]
}
WatchEventAssertion is the assertion struct for WatchEvent.
func (WatchEventAssertion) IsAssertable ¶
func (_ WatchEventAssertion) IsAssertable()
IsAssertable marks WatchEventAssertion as an Assertable.
type WebConfigFileFieldsAssertion ¶
type WebConfigFileFieldsAssertion struct {
TLSConfig WebTLSConfigAssertion
HTTPConfig WebHTTPConfigAssertion
}
WebConfigFileFieldsAssertion is the assertion struct for WebConfigFileFields.
func (WebConfigFileFieldsAssertion) IsAssertable ¶
func (_ WebConfigFileFieldsAssertion) IsAssertable()
IsAssertable marks WebConfigFileFieldsAssertion as an Assertable.
type WebHTTPConfigAssertion ¶
type WebHTTPConfigAssertion struct {
HTTP2 Opt[*bool]
Headers WebHTTPHeadersAssertion
}
WebHTTPConfigAssertion is the assertion struct for WebHTTPConfig.
func (WebHTTPConfigAssertion) IsAssertable ¶
func (_ WebHTTPConfigAssertion) IsAssertable()
IsAssertable marks WebHTTPConfigAssertion as an Assertable.
type WebHTTPHeadersAssertion ¶
type WebHTTPHeadersAssertion struct {
ContentSecurityPolicy Opt[string]
XFrameOptions Opt[string]
XContentTypeOptions Opt[string]
XXSSProtection Opt[string]
StrictTransportSecurity Opt[string]
}
WebHTTPHeadersAssertion is the assertion struct for WebHTTPHeaders.
func (WebHTTPHeadersAssertion) IsAssertable ¶
func (_ WebHTTPHeadersAssertion) IsAssertable()
IsAssertable marks WebHTTPHeadersAssertion as an Assertable.
type WebTLSConfigAssertion ¶
type WebTLSConfigAssertion struct {
Cert SecretOrConfigMapAssertion
CertFile Opt[*string]
KeySecret SecretKeySelectorAssertion
KeyFile Opt[*string]
ClientCA SecretOrConfigMapAssertion
ClientCAFile Opt[*string]
ClientAuthType Opt[*string]
MinVersion Opt[*string]
MaxVersion Opt[*string]
CipherSuites Opt[[]string]
PreferServerCipherSuites Opt[*bool]
CurvePreferences Opt[[]string]
}
WebTLSConfigAssertion is the assertion struct for WebTLSConfig.
func (WebTLSConfigAssertion) IsAssertable ¶
func (_ WebTLSConfigAssertion) IsAssertable()
IsAssertable marks WebTLSConfigAssertion as an Assertable.
type WeightedPodAffinityTermAssertion ¶
type WeightedPodAffinityTermAssertion struct {
Weight Opt[int32]
PodAffinityTerm PodAffinityTermAssertion
}
WeightedPodAffinityTermAssertion is the assertion struct for WeightedPodAffinityTerm.
func (WeightedPodAffinityTermAssertion) IsAssertable ¶
func (_ WeightedPodAffinityTermAssertion) IsAssertable()
IsAssertable marks WeightedPodAffinityTermAssertion as an Assertable.
type WindowsSecurityContextOptionsAssertion ¶
type WindowsSecurityContextOptionsAssertion struct {
GMSACredentialSpecName Opt[*string]
GMSACredentialSpec Opt[*string]
RunAsUserName Opt[*string]
HostProcess Opt[*bool]
}
WindowsSecurityContextOptionsAssertion is the assertion struct for WindowsSecurityContextOptions.
func (WindowsSecurityContextOptionsAssertion) IsAssertable ¶
func (_ WindowsSecurityContextOptionsAssertion) IsAssertable()
IsAssertable marks WindowsSecurityContextOptionsAssertion as an Assertable.
type WorkloadBindingAssertion ¶
type WorkloadBindingAssertion struct {
Group Opt[string]
Resource Opt[string]
Name Opt[string]
Namespace Opt[string]
Conditions Opt[[]ConfigResourceConditionAssertion]
}
WorkloadBindingAssertion is the assertion struct for WorkloadBinding.
func (WorkloadBindingAssertion) IsAssertable ¶
func (_ WorkloadBindingAssertion) IsAssertable()
IsAssertable marks WorkloadBindingAssertion as an Assertable.
type ZeroAssertion ¶
type ZeroAssertion struct{}
ZeroAssertion is the assertion struct for int64Amount.
func (ZeroAssertion) IsAssertable ¶
func (_ ZeroAssertion) IsAssertable()
IsAssertable marks ZeroAssertion as an Assertable.