objectassert

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountAssert added in v1.0.0

func Account added in v1.0.0

func AccountFromObject added in v1.0.0

func AccountFromObject(t *testing.T, account *sdk.Account) *AccountAssert

func (*AccountAssert) HasAccountLocator added in v1.0.0

func (a *AccountAssert) HasAccountLocator(expected string) *AccountAssert

func (*AccountAssert) HasAccountLocatorURL added in v1.0.0

func (a *AccountAssert) HasAccountLocatorURL(expected string) *AccountAssert

func (*AccountAssert) HasAccountName added in v1.0.0

func (a *AccountAssert) HasAccountName(expected string) *AccountAssert

func (*AccountAssert) HasAccountOldUrlLastUsed added in v1.0.0

func (a *AccountAssert) HasAccountOldUrlLastUsed(expected time.Time) *AccountAssert

func (*AccountAssert) HasAccountOldUrlSavedOn added in v1.0.0

func (a *AccountAssert) HasAccountOldUrlSavedOn(expected time.Time) *AccountAssert

func (*AccountAssert) HasAccountURL added in v1.0.0

func (a *AccountAssert) HasAccountURL(expected string) *AccountAssert

func (*AccountAssert) HasComment added in v1.0.0

func (a *AccountAssert) HasComment(expected string) *AccountAssert

func (*AccountAssert) HasConsumptionBillingEntityName added in v1.0.0

func (a *AccountAssert) HasConsumptionBillingEntityName(expected string) *AccountAssert

func (*AccountAssert) HasCreatedOn added in v1.0.0

func (a *AccountAssert) HasCreatedOn(expected time.Time) *AccountAssert

func (*AccountAssert) HasDroppedOn added in v1.0.0

func (a *AccountAssert) HasDroppedOn(expected time.Time) *AccountAssert

func (*AccountAssert) HasEdition added in v1.0.0

func (a *AccountAssert) HasEdition(expected sdk.AccountEdition) *AccountAssert

func (*AccountAssert) HasIsEventsAccount added in v1.0.0

func (a *AccountAssert) HasIsEventsAccount(expected bool) *AccountAssert

func (*AccountAssert) HasIsOrgAdmin added in v1.0.0

func (a *AccountAssert) HasIsOrgAdmin(expected bool) *AccountAssert

func (*AccountAssert) HasIsOrganizationAccount added in v1.0.0

func (a *AccountAssert) HasIsOrganizationAccount(expected bool) *AccountAssert

func (*AccountAssert) HasManagedAccounts added in v1.0.0

func (a *AccountAssert) HasManagedAccounts(expected int) *AccountAssert

func (*AccountAssert) HasMarketplaceConsumerBillingEntityName added in v1.0.0

func (a *AccountAssert) HasMarketplaceConsumerBillingEntityName(expected string) *AccountAssert

func (*AccountAssert) HasMarketplaceProviderBillingEntityName added in v1.0.0

func (a *AccountAssert) HasMarketplaceProviderBillingEntityName(expected string) *AccountAssert

func (*AccountAssert) HasMovedOn added in v1.0.0

func (a *AccountAssert) HasMovedOn(expected string) *AccountAssert

func (*AccountAssert) HasMovedToOrganization added in v1.0.0

func (a *AccountAssert) HasMovedToOrganization(expected string) *AccountAssert

func (*AccountAssert) HasOldAccountURL added in v1.0.0

func (a *AccountAssert) HasOldAccountURL(expected string) *AccountAssert

func (*AccountAssert) HasOrganizationName added in v1.0.0

func (a *AccountAssert) HasOrganizationName(expected string) *AccountAssert

func (*AccountAssert) HasOrganizationOldUrl added in v1.0.0

func (a *AccountAssert) HasOrganizationOldUrl(expected string) *AccountAssert

func (*AccountAssert) HasOrganizationOldUrlLastUsed added in v1.0.0

func (a *AccountAssert) HasOrganizationOldUrlLastUsed(expected time.Time) *AccountAssert

func (*AccountAssert) HasOrganizationOldUrlSavedOn added in v1.0.0

func (a *AccountAssert) HasOrganizationOldUrlSavedOn(expected time.Time) *AccountAssert

func (*AccountAssert) HasOrganizationUrlExpirationOn added in v1.0.0

func (a *AccountAssert) HasOrganizationUrlExpirationOn(expected time.Time) *AccountAssert

func (*AccountAssert) HasRegionGroup added in v1.0.0

func (a *AccountAssert) HasRegionGroup(expected string) *AccountAssert

func (*AccountAssert) HasRestoredOn added in v1.0.0

func (a *AccountAssert) HasRestoredOn(expected time.Time) *AccountAssert

func (*AccountAssert) HasScheduledDeletionTime added in v1.0.0

func (a *AccountAssert) HasScheduledDeletionTime(expected time.Time) *AccountAssert

func (*AccountAssert) HasSnowflakeRegion added in v1.0.0

func (a *AccountAssert) HasSnowflakeRegion(expected string) *AccountAssert

type AuthenticationPolicyAssert added in v0.96.0

type AuthenticationPolicyAssert struct {
	*assert.SnowflakeObjectAssert[sdk.AuthenticationPolicy, sdk.SchemaObjectIdentifier]
}

func AuthenticationPolicy added in v0.96.0

func AuthenticationPolicy(t *testing.T, id sdk.SchemaObjectIdentifier) *AuthenticationPolicyAssert

func AuthenticationPolicyFromObject added in v0.96.0

func AuthenticationPolicyFromObject(t *testing.T, authenticationPolicy *sdk.AuthenticationPolicy) *AuthenticationPolicyAssert

func (*AuthenticationPolicyAssert) HasComment added in v0.96.0

func (*AuthenticationPolicyAssert) HasCreatedOn added in v0.96.0

func (*AuthenticationPolicyAssert) HasCreatedOnNotEmpty added in v0.96.0

func (a *AuthenticationPolicyAssert) HasCreatedOnNotEmpty() *AuthenticationPolicyAssert

func (*AuthenticationPolicyAssert) HasDatabaseName added in v0.96.0

func (a *AuthenticationPolicyAssert) HasDatabaseName(expected string) *AuthenticationPolicyAssert

func (*AuthenticationPolicyAssert) HasName added in v0.96.0

func (*AuthenticationPolicyAssert) HasOptions added in v0.96.0

func (*AuthenticationPolicyAssert) HasOwner added in v0.96.0

func (*AuthenticationPolicyAssert) HasOwnerRoleType added in v0.96.0

func (a *AuthenticationPolicyAssert) HasOwnerRoleType(expected string) *AuthenticationPolicyAssert

func (*AuthenticationPolicyAssert) HasSchemaName added in v0.96.0

func (a *AuthenticationPolicyAssert) HasSchemaName(expected string) *AuthenticationPolicyAssert

type ConnectionAssert added in v0.98.0

func Connection added in v0.98.0

func ConnectionFromObject added in v0.98.0

func ConnectionFromObject(t *testing.T, connection *sdk.Connection) *ConnectionAssert

func (*ConnectionAssert) HasAccountLocator added in v0.98.0

func (c *ConnectionAssert) HasAccountLocator(expected string) *ConnectionAssert

func (*ConnectionAssert) HasAccountName added in v0.98.0

func (c *ConnectionAssert) HasAccountName(expected string) *ConnectionAssert

func (*ConnectionAssert) HasComment added in v0.98.0

func (c *ConnectionAssert) HasComment(expected string) *ConnectionAssert

func (*ConnectionAssert) HasConnectionUrl added in v0.98.0

func (c *ConnectionAssert) HasConnectionUrl(expected string) *ConnectionAssert

func (*ConnectionAssert) HasConnectionUrlNotEmpty added in v0.98.0

func (c *ConnectionAssert) HasConnectionUrlNotEmpty() *ConnectionAssert

func (*ConnectionAssert) HasCreatedOn added in v0.98.0

func (c *ConnectionAssert) HasCreatedOn(expected time.Time) *ConnectionAssert

func (*ConnectionAssert) HasFailoverAllowedToAccounts added in v0.98.0

func (c *ConnectionAssert) HasFailoverAllowedToAccounts(expected ...sdk.AccountIdentifier) *ConnectionAssert

func (*ConnectionAssert) HasIsPrimary added in v0.98.0

func (c *ConnectionAssert) HasIsPrimary(expected bool) *ConnectionAssert

func (*ConnectionAssert) HasName added in v0.98.0

func (c *ConnectionAssert) HasName(expected string) *ConnectionAssert

func (*ConnectionAssert) HasNoComment added in v0.98.0

func (c *ConnectionAssert) HasNoComment() *ConnectionAssert

func (*ConnectionAssert) HasOrganizationName added in v0.98.0

func (c *ConnectionAssert) HasOrganizationName(expected string) *ConnectionAssert

func (*ConnectionAssert) HasPrimary added in v0.98.0

func (*ConnectionAssert) HasPrimaryIdentifier added in v0.98.0

func (c *ConnectionAssert) HasPrimaryIdentifier(expected sdk.ExternalObjectIdentifier) *ConnectionAssert

func (*ConnectionAssert) HasRegionGroup added in v0.98.0

func (c *ConnectionAssert) HasRegionGroup(expected string) *ConnectionAssert

func (*ConnectionAssert) HasSnowflakeRegion added in v0.98.0

func (c *ConnectionAssert) HasSnowflakeRegion(expected string) *ConnectionAssert

type DatabaseAssert added in v0.95.0

func Database added in v0.95.0

func DatabaseFromObject added in v0.95.0

func DatabaseFromObject(t *testing.T, database *sdk.Database) *DatabaseAssert

func (*DatabaseAssert) HasComment added in v0.95.0

func (d *DatabaseAssert) HasComment(expected string) *DatabaseAssert

func (*DatabaseAssert) HasCreatedOn added in v0.95.0

func (d *DatabaseAssert) HasCreatedOn(expected time.Time) *DatabaseAssert

func (*DatabaseAssert) HasDroppedOn added in v0.95.0

func (d *DatabaseAssert) HasDroppedOn(expected time.Time) *DatabaseAssert

func (*DatabaseAssert) HasIsCurrent added in v0.95.0

func (d *DatabaseAssert) HasIsCurrent(expected bool) *DatabaseAssert

func (*DatabaseAssert) HasIsDefault added in v0.95.0

func (d *DatabaseAssert) HasIsDefault(expected bool) *DatabaseAssert

func (*DatabaseAssert) HasKind added in v0.95.0

func (d *DatabaseAssert) HasKind(expected string) *DatabaseAssert

func (*DatabaseAssert) HasName added in v0.95.0

func (d *DatabaseAssert) HasName(expected string) *DatabaseAssert

func (*DatabaseAssert) HasOptions added in v0.95.0

func (d *DatabaseAssert) HasOptions(expected string) *DatabaseAssert

func (*DatabaseAssert) HasOrigin added in v0.95.0

func (*DatabaseAssert) HasOwner added in v0.95.0

func (d *DatabaseAssert) HasOwner(expected string) *DatabaseAssert

func (*DatabaseAssert) HasOwnerRoleType added in v0.95.0

func (d *DatabaseAssert) HasOwnerRoleType(expected string) *DatabaseAssert

func (*DatabaseAssert) HasResourceGroup added in v0.95.0

func (d *DatabaseAssert) HasResourceGroup(expected string) *DatabaseAssert

func (*DatabaseAssert) HasRetentionTime added in v0.95.0

func (d *DatabaseAssert) HasRetentionTime(expected int) *DatabaseAssert

func (*DatabaseAssert) HasTransient added in v0.95.0

func (d *DatabaseAssert) HasTransient(expected bool) *DatabaseAssert

type DatabaseDescribeAssert added in v0.95.0

type DatabaseDescribeAssert struct {
	*assert.SnowflakeObjectAssert[sdk.DatabaseDetails, sdk.AccountObjectIdentifier]
}

TODO [SNOW-1501905]: this file should be fully regenerated when adding and option to assert the results of describe

func DatabaseDescribe added in v0.95.0

func (*DatabaseDescribeAssert) ContainsPublicSchema added in v0.95.0

func (d *DatabaseDescribeAssert) ContainsPublicSchema() *DatabaseDescribeAssert

func (*DatabaseDescribeAssert) DoesNotContainPublicSchema added in v0.95.0

func (d *DatabaseDescribeAssert) DoesNotContainPublicSchema() *DatabaseDescribeAssert

type DatabaseRoleAssert added in v0.95.0

func DatabaseRole added in v0.95.0

func DatabaseRoleFromObject added in v0.95.0

func DatabaseRoleFromObject(t *testing.T, databaseRole *sdk.DatabaseRole) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasComment added in v0.95.0

func (d *DatabaseRoleAssert) HasComment(expected string) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasCreatedOn added in v0.95.0

func (d *DatabaseRoleAssert) HasCreatedOn(expected string) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasDatabaseName added in v0.95.0

func (d *DatabaseRoleAssert) HasDatabaseName(expected string) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasGrantedDatabaseRoles added in v0.95.0

func (d *DatabaseRoleAssert) HasGrantedDatabaseRoles(expected int) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasGrantedToDatabaseRoles added in v0.95.0

func (d *DatabaseRoleAssert) HasGrantedToDatabaseRoles(expected int) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasGrantedToRoles added in v0.95.0

func (d *DatabaseRoleAssert) HasGrantedToRoles(expected int) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasIsCurrent added in v0.95.0

func (d *DatabaseRoleAssert) HasIsCurrent(expected bool) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasIsDefault added in v0.95.0

func (d *DatabaseRoleAssert) HasIsDefault(expected bool) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasIsInherited added in v0.95.0

func (d *DatabaseRoleAssert) HasIsInherited(expected bool) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasName added in v0.95.0

func (d *DatabaseRoleAssert) HasName(expected string) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasOwner added in v0.95.0

func (d *DatabaseRoleAssert) HasOwner(expected string) *DatabaseRoleAssert

func (*DatabaseRoleAssert) HasOwnerRoleType added in v0.95.0

func (d *DatabaseRoleAssert) HasOwnerRoleType(expected string) *DatabaseRoleAssert

type FunctionAssert added in v1.0.0

func Function added in v1.0.0

func FunctionFromObject added in v1.0.0

func FunctionFromObject(t *testing.T, function *sdk.Function) *FunctionAssert

func (*FunctionAssert) HasArgumentsOld added in v1.0.0

func (f *FunctionAssert) HasArgumentsOld(expected []sdk.DataType) *FunctionAssert

func (*FunctionAssert) HasArgumentsRaw added in v1.0.0

func (f *FunctionAssert) HasArgumentsRaw(expected string) *FunctionAssert

func (*FunctionAssert) HasArgumentsRawContains added in v1.0.0

func (f *FunctionAssert) HasArgumentsRawContains(substring string) *FunctionAssert

func (*FunctionAssert) HasCatalogName added in v1.0.0

func (f *FunctionAssert) HasCatalogName(expected string) *FunctionAssert

func (*FunctionAssert) HasCreatedOn added in v1.0.0

func (f *FunctionAssert) HasCreatedOn(expected string) *FunctionAssert

func (*FunctionAssert) HasCreatedOnNotEmpty added in v1.0.0

func (a *FunctionAssert) HasCreatedOnNotEmpty() *FunctionAssert

func (*FunctionAssert) HasDescription added in v1.0.0

func (f *FunctionAssert) HasDescription(expected string) *FunctionAssert

func (*FunctionAssert) HasExactlyExternalAccessIntegrations added in v1.0.0

func (f *FunctionAssert) HasExactlyExternalAccessIntegrations(integrations ...sdk.AccountObjectIdentifier) *FunctionAssert

func (*FunctionAssert) HasExactlySecrets added in v1.0.0

func (f *FunctionAssert) HasExactlySecrets(expectedSecrets map[string]sdk.SchemaObjectIdentifier) *FunctionAssert

func (*FunctionAssert) HasExternalAccessIntegrations added in v1.0.0

func (f *FunctionAssert) HasExternalAccessIntegrations(expected string) *FunctionAssert

func (*FunctionAssert) HasExternalAccessIntegrationsNil added in v1.0.0

func (a *FunctionAssert) HasExternalAccessIntegrationsNil() *FunctionAssert

func (*FunctionAssert) HasIsAggregate added in v1.0.0

func (f *FunctionAssert) HasIsAggregate(expected bool) *FunctionAssert

func (*FunctionAssert) HasIsAnsi added in v1.0.0

func (f *FunctionAssert) HasIsAnsi(expected bool) *FunctionAssert

func (*FunctionAssert) HasIsBuiltin added in v1.0.0

func (f *FunctionAssert) HasIsBuiltin(expected bool) *FunctionAssert

func (*FunctionAssert) HasIsDataMetric added in v1.0.0

func (f *FunctionAssert) HasIsDataMetric(expected bool) *FunctionAssert

func (*FunctionAssert) HasIsExternalFunction added in v1.0.0

func (f *FunctionAssert) HasIsExternalFunction(expected bool) *FunctionAssert

func (*FunctionAssert) HasIsMemoizable added in v1.0.0

func (f *FunctionAssert) HasIsMemoizable(expected bool) *FunctionAssert

func (*FunctionAssert) HasIsSecure added in v1.0.0

func (f *FunctionAssert) HasIsSecure(expected bool) *FunctionAssert

func (*FunctionAssert) HasIsTableFunction added in v1.0.0

func (f *FunctionAssert) HasIsTableFunction(expected bool) *FunctionAssert

func (*FunctionAssert) HasLanguage added in v1.0.0

func (f *FunctionAssert) HasLanguage(expected string) *FunctionAssert

func (*FunctionAssert) HasMaxNumArguments added in v1.0.0

func (f *FunctionAssert) HasMaxNumArguments(expected int) *FunctionAssert

func (*FunctionAssert) HasMinNumArguments added in v1.0.0

func (f *FunctionAssert) HasMinNumArguments(expected int) *FunctionAssert

func (*FunctionAssert) HasName added in v1.0.0

func (f *FunctionAssert) HasName(expected string) *FunctionAssert

func (*FunctionAssert) HasSchemaName added in v1.0.0

func (f *FunctionAssert) HasSchemaName(expected string) *FunctionAssert

func (*FunctionAssert) HasSecrets added in v1.0.0

func (f *FunctionAssert) HasSecrets(expected string) *FunctionAssert

func (*FunctionAssert) HasValidForClustering added in v1.0.0

func (f *FunctionAssert) HasValidForClustering(expected bool) *FunctionAssert

type FunctionDetailsAssert added in v1.0.0

TODO [SNOW-1501905]: this file should be fully regenerated when adding and option to assert the results of describe

func FunctionDetails added in v1.0.0

func (*FunctionDetailsAssert) ContainsExactlySecrets added in v1.0.0

func (f *FunctionDetailsAssert) ContainsExactlySecrets(secrets map[string]sdk.SchemaObjectIdentifier) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasBody added in v1.0.0

func (f *FunctionDetailsAssert) HasBody(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasBodyNil added in v1.0.0

func (*FunctionDetailsAssert) HasExactlyExternalAccessIntegrations added in v1.0.0

func (f *FunctionDetailsAssert) HasExactlyExternalAccessIntegrations(integrations ...sdk.AccountObjectIdentifier) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasExactlyExternalAccessIntegrationsNormalizedInAnyOrder added in v1.0.0

func (f *FunctionDetailsAssert) HasExactlyExternalAccessIntegrationsNormalizedInAnyOrder(integrations ...sdk.AccountObjectIdentifier) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasExactlyImportsNormalizedInAnyOrder added in v1.0.0

func (f *FunctionDetailsAssert) HasExactlyImportsNormalizedInAnyOrder(imports ...sdk.NormalizedPath) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasExactlyPackagesInAnyOrder added in v1.0.0

func (f *FunctionDetailsAssert) HasExactlyPackagesInAnyOrder(packages ...string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasExactlySecrets added in v1.0.0

func (f *FunctionDetailsAssert) HasExactlySecrets(expectedSecrets map[string]sdk.SchemaObjectIdentifier) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasExternalAccessIntegrations added in v1.0.0

func (f *FunctionDetailsAssert) HasExternalAccessIntegrations(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasExternalAccessIntegrationsNil added in v1.0.0

func (f *FunctionDetailsAssert) HasExternalAccessIntegrationsNil() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasHandler added in v1.0.0

func (f *FunctionDetailsAssert) HasHandler(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasHandlerNil added in v1.0.0

func (f *FunctionDetailsAssert) HasHandlerNil() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasImports added in v1.0.0

func (f *FunctionDetailsAssert) HasImports(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasImportsNil added in v1.0.0

func (f *FunctionDetailsAssert) HasImportsNil() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasInstalledPackages added in v1.0.0

func (f *FunctionDetailsAssert) HasInstalledPackages(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasInstalledPackagesNil added in v1.0.0

func (f *FunctionDetailsAssert) HasInstalledPackagesNil() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasInstalledPackagesNotEmpty added in v1.0.0

func (f *FunctionDetailsAssert) HasInstalledPackagesNotEmpty() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasIsAggregate added in v1.0.0

func (f *FunctionDetailsAssert) HasIsAggregate(expected bool) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasIsAggregateNil added in v1.0.0

func (f *FunctionDetailsAssert) HasIsAggregateNil() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasLanguage added in v1.0.0

func (f *FunctionDetailsAssert) HasLanguage(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasNormalizedTargetPath added in v1.0.0

func (f *FunctionDetailsAssert) HasNormalizedTargetPath(expectedStageLocation string, expectedPathOnStage string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasNormalizedTargetPathNil added in v1.0.0

func (f *FunctionDetailsAssert) HasNormalizedTargetPathNil() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasNullHandling added in v1.0.0

func (f *FunctionDetailsAssert) HasNullHandling(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasNullHandlingNil added in v1.0.0

func (f *FunctionDetailsAssert) HasNullHandlingNil() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasPackages added in v1.0.0

func (f *FunctionDetailsAssert) HasPackages(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasPackagesNil added in v1.0.0

func (f *FunctionDetailsAssert) HasPackagesNil() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasReturnDataType added in v1.0.0

func (f *FunctionDetailsAssert) HasReturnDataType(expectedDataType datatypes.DataType) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasReturnNotNull added in v1.0.0

func (f *FunctionDetailsAssert) HasReturnNotNull(expected bool) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasReturns added in v1.0.0

func (f *FunctionDetailsAssert) HasReturns(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasRuntimeVersion added in v1.0.0

func (f *FunctionDetailsAssert) HasRuntimeVersion(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasRuntimeVersionNil added in v1.0.0

func (f *FunctionDetailsAssert) HasRuntimeVersionNil() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasSecrets added in v1.0.0

func (f *FunctionDetailsAssert) HasSecrets(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasSecretsNil added in v1.0.0

func (f *FunctionDetailsAssert) HasSecretsNil() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasSignature added in v1.0.0

func (f *FunctionDetailsAssert) HasSignature(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasTargetPath added in v1.0.0

func (f *FunctionDetailsAssert) HasTargetPath(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasTargetPathNil added in v1.0.0

func (f *FunctionDetailsAssert) HasTargetPathNil() *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasVolatility added in v1.0.0

func (f *FunctionDetailsAssert) HasVolatility(expected string) *FunctionDetailsAssert

func (*FunctionDetailsAssert) HasVolatilityNil added in v1.0.0

func (f *FunctionDetailsAssert) HasVolatilityNil() *FunctionDetailsAssert

type MaskingPolicyAssert added in v0.96.0

type MaskingPolicyAssert struct {
	*assert.SnowflakeObjectAssert[sdk.MaskingPolicy, sdk.SchemaObjectIdentifier]
}

func MaskingPolicy added in v0.96.0

func MaskingPolicyFromObject added in v0.96.0

func MaskingPolicyFromObject(t *testing.T, maskingPolicy *sdk.MaskingPolicy) *MaskingPolicyAssert

func (*MaskingPolicyAssert) HasComment added in v0.96.0

func (m *MaskingPolicyAssert) HasComment(expected string) *MaskingPolicyAssert

func (*MaskingPolicyAssert) HasCreatedOn added in v0.96.0

func (m *MaskingPolicyAssert) HasCreatedOn(expected time.Time) *MaskingPolicyAssert

func (*MaskingPolicyAssert) HasDatabaseName added in v0.96.0

func (m *MaskingPolicyAssert) HasDatabaseName(expected string) *MaskingPolicyAssert

func (*MaskingPolicyAssert) HasExemptOtherPolicies added in v0.96.0

func (m *MaskingPolicyAssert) HasExemptOtherPolicies(expected bool) *MaskingPolicyAssert

func (*MaskingPolicyAssert) HasKind added in v0.96.0

func (m *MaskingPolicyAssert) HasKind(expected string) *MaskingPolicyAssert

func (*MaskingPolicyAssert) HasName added in v0.96.0

func (m *MaskingPolicyAssert) HasName(expected string) *MaskingPolicyAssert

func (*MaskingPolicyAssert) HasOwner added in v0.96.0

func (m *MaskingPolicyAssert) HasOwner(expected string) *MaskingPolicyAssert

func (*MaskingPolicyAssert) HasOwnerRoleType added in v0.96.0

func (m *MaskingPolicyAssert) HasOwnerRoleType(expected string) *MaskingPolicyAssert

func (*MaskingPolicyAssert) HasSchemaName added in v0.96.0

func (m *MaskingPolicyAssert) HasSchemaName(expected string) *MaskingPolicyAssert

type ProcedureAssert added in v1.0.0

func Procedure added in v1.0.0

func ProcedureFromObject added in v1.0.0

func ProcedureFromObject(t *testing.T, procedure *sdk.Procedure) *ProcedureAssert

func (*ProcedureAssert) HasArgumentsOld added in v1.0.0

func (p *ProcedureAssert) HasArgumentsOld(expected []sdk.DataType) *ProcedureAssert

func (*ProcedureAssert) HasArgumentsRaw added in v1.0.0

func (p *ProcedureAssert) HasArgumentsRaw(expected string) *ProcedureAssert

func (*ProcedureAssert) HasArgumentsRawContains added in v1.0.0

func (p *ProcedureAssert) HasArgumentsRawContains(substring string) *ProcedureAssert

func (*ProcedureAssert) HasCatalogName added in v1.0.0

func (p *ProcedureAssert) HasCatalogName(expected string) *ProcedureAssert

func (*ProcedureAssert) HasCreatedOn added in v1.0.0

func (p *ProcedureAssert) HasCreatedOn(expected string) *ProcedureAssert

func (*ProcedureAssert) HasCreatedOnNotEmpty added in v1.0.0

func (a *ProcedureAssert) HasCreatedOnNotEmpty() *ProcedureAssert

func (*ProcedureAssert) HasDescription added in v1.0.0

func (p *ProcedureAssert) HasDescription(expected string) *ProcedureAssert

func (*ProcedureAssert) HasExactlyExternalAccessIntegrations added in v1.0.0

func (f *ProcedureAssert) HasExactlyExternalAccessIntegrations(integrations ...sdk.AccountObjectIdentifier) *ProcedureAssert

func (*ProcedureAssert) HasExternalAccessIntegrations added in v1.0.0

func (p *ProcedureAssert) HasExternalAccessIntegrations(expected string) *ProcedureAssert

func (*ProcedureAssert) HasExternalAccessIntegrationsNil added in v1.0.0

func (a *ProcedureAssert) HasExternalAccessIntegrationsNil() *ProcedureAssert

func (*ProcedureAssert) HasIsAggregate added in v1.0.0

func (p *ProcedureAssert) HasIsAggregate(expected bool) *ProcedureAssert

func (*ProcedureAssert) HasIsAnsi added in v1.0.0

func (p *ProcedureAssert) HasIsAnsi(expected bool) *ProcedureAssert

func (*ProcedureAssert) HasIsBuiltin added in v1.0.0

func (p *ProcedureAssert) HasIsBuiltin(expected bool) *ProcedureAssert

func (*ProcedureAssert) HasIsSecure added in v1.0.0

func (p *ProcedureAssert) HasIsSecure(expected bool) *ProcedureAssert

func (*ProcedureAssert) HasIsTableFunction added in v1.0.0

func (p *ProcedureAssert) HasIsTableFunction(expected bool) *ProcedureAssert

func (*ProcedureAssert) HasMaxNumArguments added in v1.0.0

func (p *ProcedureAssert) HasMaxNumArguments(expected int) *ProcedureAssert

func (*ProcedureAssert) HasMinNumArguments added in v1.0.0

func (p *ProcedureAssert) HasMinNumArguments(expected int) *ProcedureAssert

func (*ProcedureAssert) HasName added in v1.0.0

func (p *ProcedureAssert) HasName(expected string) *ProcedureAssert

func (*ProcedureAssert) HasSchemaName added in v1.0.0

func (p *ProcedureAssert) HasSchemaName(expected string) *ProcedureAssert

func (*ProcedureAssert) HasSecrets added in v1.0.0

func (p *ProcedureAssert) HasSecrets(expected string) *ProcedureAssert

func (*ProcedureAssert) HasSecretsNil added in v1.0.0

func (a *ProcedureAssert) HasSecretsNil() *ProcedureAssert

func (*ProcedureAssert) HasValidForClustering added in v1.0.0

func (p *ProcedureAssert) HasValidForClustering(expected bool) *ProcedureAssert

type ProcedureDetailsAssert added in v1.0.0

TODO [SNOW-1501905]: this file should be fully regenerated when adding and option to assert the results of describe

func ProcedureDetails added in v1.0.0

func (*ProcedureDetailsAssert) ContainsExactlySecrets added in v1.0.0

func (f *ProcedureDetailsAssert) ContainsExactlySecrets(secrets map[string]sdk.SchemaObjectIdentifier) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasBody added in v1.0.0

func (*ProcedureDetailsAssert) HasBodyNil added in v1.0.0

func (*ProcedureDetailsAssert) HasExactlyExternalAccessIntegrations added in v1.0.0

func (f *ProcedureDetailsAssert) HasExactlyExternalAccessIntegrations(integrations ...sdk.AccountObjectIdentifier) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasExactlyExternalAccessIntegrationsNormalizedInAnyOrder added in v1.0.0

func (f *ProcedureDetailsAssert) HasExactlyExternalAccessIntegrationsNormalizedInAnyOrder(integrations ...sdk.AccountObjectIdentifier) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasExactlyImportsNormalizedInAnyOrder added in v1.0.0

func (f *ProcedureDetailsAssert) HasExactlyImportsNormalizedInAnyOrder(imports ...sdk.NormalizedPath) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasExactlyPackagesInAnyOrder added in v1.0.0

func (f *ProcedureDetailsAssert) HasExactlyPackagesInAnyOrder(packages ...string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasExactlySecrets added in v1.0.0

func (f *ProcedureDetailsAssert) HasExactlySecrets(expectedSecrets map[string]sdk.SchemaObjectIdentifier) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasExecuteAs added in v1.0.0

func (f *ProcedureDetailsAssert) HasExecuteAs(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasExternalAccessIntegrations added in v1.0.0

func (f *ProcedureDetailsAssert) HasExternalAccessIntegrations(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasExternalAccessIntegrationsNil added in v1.0.0

func (f *ProcedureDetailsAssert) HasExternalAccessIntegrationsNil() *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasHandler added in v1.0.0

func (f *ProcedureDetailsAssert) HasHandler(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasHandlerNil added in v1.0.0

func (f *ProcedureDetailsAssert) HasHandlerNil() *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasImports added in v1.0.0

func (f *ProcedureDetailsAssert) HasImports(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasImportsNil added in v1.0.0

func (f *ProcedureDetailsAssert) HasImportsNil() *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasInstalledPackages added in v1.0.0

func (f *ProcedureDetailsAssert) HasInstalledPackages(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasInstalledPackagesNil added in v1.0.0

func (f *ProcedureDetailsAssert) HasInstalledPackagesNil() *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasInstalledPackagesNotEmpty added in v1.0.0

func (f *ProcedureDetailsAssert) HasInstalledPackagesNotEmpty() *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasLanguage added in v1.0.0

func (f *ProcedureDetailsAssert) HasLanguage(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasNormalizedTargetPath added in v1.0.0

func (f *ProcedureDetailsAssert) HasNormalizedTargetPath(expectedStageLocation string, expectedPathOnStage string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasNormalizedTargetPathNil added in v1.0.0

func (f *ProcedureDetailsAssert) HasNormalizedTargetPathNil() *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasNullHandling added in v1.0.0

func (f *ProcedureDetailsAssert) HasNullHandling(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasNullHandlingNil added in v1.0.0

func (f *ProcedureDetailsAssert) HasNullHandlingNil() *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasPackages added in v1.0.0

func (f *ProcedureDetailsAssert) HasPackages(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasPackagesNil added in v1.0.0

func (f *ProcedureDetailsAssert) HasPackagesNil() *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasReturnDataType added in v1.0.0

func (f *ProcedureDetailsAssert) HasReturnDataType(expectedDataType datatypes.DataType) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasReturnNotNull added in v1.0.0

func (f *ProcedureDetailsAssert) HasReturnNotNull(expected bool) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasReturns added in v1.0.0

func (f *ProcedureDetailsAssert) HasReturns(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasRuntimeVersion added in v1.0.0

func (f *ProcedureDetailsAssert) HasRuntimeVersion(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasRuntimeVersionNil added in v1.0.0

func (f *ProcedureDetailsAssert) HasRuntimeVersionNil() *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasSecrets added in v1.0.0

func (f *ProcedureDetailsAssert) HasSecrets(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasSecretsNil added in v1.0.0

func (f *ProcedureDetailsAssert) HasSecretsNil() *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasSignature added in v1.0.0

func (f *ProcedureDetailsAssert) HasSignature(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasSnowparkVersion added in v1.0.0

func (f *ProcedureDetailsAssert) HasSnowparkVersion(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasTargetPath added in v1.0.0

func (f *ProcedureDetailsAssert) HasTargetPath(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasTargetPathNil added in v1.0.0

func (f *ProcedureDetailsAssert) HasTargetPathNil() *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasVolatility added in v1.0.0

func (f *ProcedureDetailsAssert) HasVolatility(expected string) *ProcedureDetailsAssert

func (*ProcedureDetailsAssert) HasVolatilityNil added in v1.0.0

func (f *ProcedureDetailsAssert) HasVolatilityNil() *ProcedureDetailsAssert

type ResourceMonitorAssert added in v0.96.0

type ResourceMonitorAssert struct {
	*assert.SnowflakeObjectAssert[sdk.ResourceMonitor, sdk.AccountObjectIdentifier]
}

func ResourceMonitor added in v0.96.0

func ResourceMonitorFromObject added in v0.96.0

func ResourceMonitorFromObject(t *testing.T, resourceMonitor *sdk.ResourceMonitor) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasComment added in v0.96.0

func (r *ResourceMonitorAssert) HasComment(expected string) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasCreatedOn added in v0.96.0

func (r *ResourceMonitorAssert) HasCreatedOn(expected time.Time) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasCreditQuota added in v0.96.0

func (r *ResourceMonitorAssert) HasCreditQuota(expected float64) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasEndTime added in v0.96.0

func (r *ResourceMonitorAssert) HasEndTime(expected string) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasFrequency added in v0.96.0

func (r *ResourceMonitorAssert) HasFrequency(expected sdk.Frequency) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasLevel added in v0.96.0

func (*ResourceMonitorAssert) HasName added in v0.96.0

func (r *ResourceMonitorAssert) HasName(expected string) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasNonEmptyEndTime added in v0.96.0

func (r *ResourceMonitorAssert) HasNonEmptyEndTime() *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasNonEmptyStartTime added in v0.96.0

func (r *ResourceMonitorAssert) HasNonEmptyStartTime() *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasNotifyAt added in v0.96.0

func (r *ResourceMonitorAssert) HasNotifyAt(expected []int) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasNotifyUsers added in v0.96.0

func (r *ResourceMonitorAssert) HasNotifyUsers(expected []string) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasOwner added in v0.96.0

func (r *ResourceMonitorAssert) HasOwner(expected string) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasRemainingCredits added in v0.96.0

func (r *ResourceMonitorAssert) HasRemainingCredits(expected float64) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasStartTime added in v0.96.0

func (r *ResourceMonitorAssert) HasStartTime(expected string) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasSuspendAt added in v0.96.0

func (r *ResourceMonitorAssert) HasSuspendAt(expected int) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasSuspendImmediateAt added in v0.96.0

func (r *ResourceMonitorAssert) HasSuspendImmediateAt(expected int) *ResourceMonitorAssert

func (*ResourceMonitorAssert) HasUsedCredits added in v0.96.0

func (r *ResourceMonitorAssert) HasUsedCredits(expected float64) *ResourceMonitorAssert

type RowAccessPolicyAssert added in v0.96.0

type RowAccessPolicyAssert struct {
	*assert.SnowflakeObjectAssert[sdk.RowAccessPolicy, sdk.SchemaObjectIdentifier]
}

func RowAccessPolicy added in v0.96.0

func RowAccessPolicy(t *testing.T, id sdk.SchemaObjectIdentifier) *RowAccessPolicyAssert

func RowAccessPolicyFromObject added in v0.96.0

func RowAccessPolicyFromObject(t *testing.T, rowAccessPolicy *sdk.RowAccessPolicy) *RowAccessPolicyAssert

func (*RowAccessPolicyAssert) HasComment added in v0.96.0

func (r *RowAccessPolicyAssert) HasComment(expected string) *RowAccessPolicyAssert

func (*RowAccessPolicyAssert) HasCreatedOn added in v0.96.0

func (r *RowAccessPolicyAssert) HasCreatedOn(expected string) *RowAccessPolicyAssert

func (*RowAccessPolicyAssert) HasDatabaseName added in v0.96.0

func (r *RowAccessPolicyAssert) HasDatabaseName(expected string) *RowAccessPolicyAssert

func (*RowAccessPolicyAssert) HasKind added in v0.96.0

func (r *RowAccessPolicyAssert) HasKind(expected string) *RowAccessPolicyAssert

func (*RowAccessPolicyAssert) HasName added in v0.96.0

func (r *RowAccessPolicyAssert) HasName(expected string) *RowAccessPolicyAssert

func (*RowAccessPolicyAssert) HasOptions added in v0.96.0

func (r *RowAccessPolicyAssert) HasOptions(expected string) *RowAccessPolicyAssert

func (*RowAccessPolicyAssert) HasOwner added in v0.96.0

func (r *RowAccessPolicyAssert) HasOwner(expected string) *RowAccessPolicyAssert

func (*RowAccessPolicyAssert) HasOwnerRoleType added in v0.96.0

func (r *RowAccessPolicyAssert) HasOwnerRoleType(expected string) *RowAccessPolicyAssert

func (*RowAccessPolicyAssert) HasSchemaName added in v0.96.0

func (r *RowAccessPolicyAssert) HasSchemaName(expected string) *RowAccessPolicyAssert

type SecretAssert added in v0.97.0

func Secret added in v0.97.0

func SecretFromObject added in v0.97.0

func SecretFromObject(t *testing.T, secret *sdk.Secret) *SecretAssert

func (*SecretAssert) HasComment added in v0.97.0

func (s *SecretAssert) HasComment(expected string) *SecretAssert

func (*SecretAssert) HasCreatedOn added in v0.97.0

func (s *SecretAssert) HasCreatedOn(expected time.Time) *SecretAssert

func (*SecretAssert) HasDatabaseName added in v0.97.0

func (s *SecretAssert) HasDatabaseName(expected string) *SecretAssert

func (*SecretAssert) HasName added in v0.97.0

func (s *SecretAssert) HasName(expected string) *SecretAssert

func (*SecretAssert) HasOauthScopes added in v0.97.0

func (s *SecretAssert) HasOauthScopes(expected []string) *SecretAssert

func (*SecretAssert) HasOwner added in v0.97.0

func (s *SecretAssert) HasOwner(expected string) *SecretAssert

func (*SecretAssert) HasOwnerRoleType added in v0.97.0

func (s *SecretAssert) HasOwnerRoleType(expected string) *SecretAssert

func (*SecretAssert) HasSchemaName added in v0.97.0

func (s *SecretAssert) HasSchemaName(expected string) *SecretAssert

func (*SecretAssert) HasSecretType added in v0.97.0

func (s *SecretAssert) HasSecretType(expected string) *SecretAssert

type StreamAssert added in v0.97.0

func Stream added in v0.97.0

func StreamFromObject added in v0.97.0

func StreamFromObject(t *testing.T, stream *sdk.Stream) *StreamAssert

func (*StreamAssert) HasBaseTables added in v0.97.0

func (s *StreamAssert) HasBaseTables(expected ...sdk.SchemaObjectIdentifier) *StreamAssert

func (*StreamAssert) HasBaseTablesPartiallyQualified added in v0.98.0

func (s *StreamAssert) HasBaseTablesPartiallyQualified(expected ...string) *StreamAssert

func (*StreamAssert) HasComment added in v0.97.0

func (s *StreamAssert) HasComment(expected string) *StreamAssert

func (*StreamAssert) HasCreatedOn added in v0.97.0

func (s *StreamAssert) HasCreatedOn(expected time.Time) *StreamAssert

func (*StreamAssert) HasDatabaseName added in v0.97.0

func (s *StreamAssert) HasDatabaseName(expected string) *StreamAssert

func (*StreamAssert) HasInvalidReason added in v0.97.0

func (s *StreamAssert) HasInvalidReason(expected string) *StreamAssert

func (*StreamAssert) HasMode added in v0.97.0

func (s *StreamAssert) HasMode(expected sdk.StreamMode) *StreamAssert

func (*StreamAssert) HasName added in v0.97.0

func (s *StreamAssert) HasName(expected string) *StreamAssert

func (*StreamAssert) HasOwner added in v0.97.0

func (s *StreamAssert) HasOwner(expected string) *StreamAssert

func (*StreamAssert) HasOwnerRoleType added in v0.97.0

func (s *StreamAssert) HasOwnerRoleType(expected string) *StreamAssert

func (*StreamAssert) HasSchemaName added in v0.97.0

func (s *StreamAssert) HasSchemaName(expected string) *StreamAssert

func (*StreamAssert) HasSourceType added in v0.97.0

func (s *StreamAssert) HasSourceType(expected sdk.StreamSourceType) *StreamAssert

func (*StreamAssert) HasStageName added in v0.97.0

func (s *StreamAssert) HasStageName(expected string) *StreamAssert

func (*StreamAssert) HasStale added in v0.97.0

func (s *StreamAssert) HasStale(expected bool) *StreamAssert

func (*StreamAssert) HasStaleAfter added in v0.97.0

func (s *StreamAssert) HasStaleAfter(expected time.Time) *StreamAssert

func (*StreamAssert) HasTableId added in v0.97.0

func (s *StreamAssert) HasTableId(expected sdk.SchemaObjectIdentifier) *StreamAssert

func (*StreamAssert) HasTableName added in v0.97.0

func (s *StreamAssert) HasTableName(expected string) *StreamAssert

func (*StreamAssert) HasType added in v0.97.0

func (s *StreamAssert) HasType(expected string) *StreamAssert

type TagAssert added in v0.98.0

func Tag added in v0.98.0

func TagFromObject added in v0.98.0

func TagFromObject(t *testing.T, tag *sdk.Tag) *TagAssert

func (*TagAssert) HasAllowedValues added in v0.98.0

func (s *TagAssert) HasAllowedValues(expected ...string) *TagAssert

func (*TagAssert) HasComment added in v0.98.0

func (t *TagAssert) HasComment(expected string) *TagAssert

func (*TagAssert) HasCreatedOn added in v0.98.0

func (t *TagAssert) HasCreatedOn(expected time.Time) *TagAssert

func (*TagAssert) HasDatabaseName added in v0.98.0

func (t *TagAssert) HasDatabaseName(expected string) *TagAssert

func (*TagAssert) HasName added in v0.98.0

func (t *TagAssert) HasName(expected string) *TagAssert

func (*TagAssert) HasOwner added in v0.98.0

func (t *TagAssert) HasOwner(expected string) *TagAssert

func (*TagAssert) HasOwnerRoleType added in v0.98.0

func (t *TagAssert) HasOwnerRoleType(expected string) *TagAssert

func (*TagAssert) HasSchemaName added in v0.98.0

func (t *TagAssert) HasSchemaName(expected string) *TagAssert

type TaskAssert added in v0.97.0

func Task added in v0.97.0

func TaskFromObject added in v0.97.0

func TaskFromObject(t *testing.T, task *sdk.Task) *TaskAssert

func (*TaskAssert) HasAllowOverlappingExecution added in v0.97.0

func (t *TaskAssert) HasAllowOverlappingExecution(expected bool) *TaskAssert

func (*TaskAssert) HasBudget added in v0.97.0

func (t *TaskAssert) HasBudget(expected string) *TaskAssert

func (*TaskAssert) HasComment added in v0.97.0

func (t *TaskAssert) HasComment(expected string) *TaskAssert

func (*TaskAssert) HasCondition added in v0.97.0

func (t *TaskAssert) HasCondition(expected string) *TaskAssert

func (*TaskAssert) HasConfig added in v0.97.0

func (t *TaskAssert) HasConfig(expected string) *TaskAssert

func (*TaskAssert) HasCreatedOn added in v0.97.0

func (t *TaskAssert) HasCreatedOn(expected string) *TaskAssert

func (*TaskAssert) HasDatabaseName added in v0.97.0

func (t *TaskAssert) HasDatabaseName(expected string) *TaskAssert

func (*TaskAssert) HasDefinition added in v0.97.0

func (t *TaskAssert) HasDefinition(expected string) *TaskAssert

func (*TaskAssert) HasErrorIntegration added in v0.97.0

func (t *TaskAssert) HasErrorIntegration(expected *sdk.AccountObjectIdentifier) *TaskAssert

func (*TaskAssert) HasId added in v0.97.0

func (t *TaskAssert) HasId(expected string) *TaskAssert

func (*TaskAssert) HasLastCommittedOn added in v0.97.0

func (t *TaskAssert) HasLastCommittedOn(expected string) *TaskAssert

func (*TaskAssert) HasLastSuspendedOn added in v0.97.0

func (t *TaskAssert) HasLastSuspendedOn(expected string) *TaskAssert

func (*TaskAssert) HasLastSuspendedReason added in v0.97.0

func (t *TaskAssert) HasLastSuspendedReason(expected string) *TaskAssert

func (*TaskAssert) HasName added in v0.97.0

func (t *TaskAssert) HasName(expected string) *TaskAssert

func (*TaskAssert) HasNotEmptyCreatedOn added in v0.97.0

func (t *TaskAssert) HasNotEmptyCreatedOn() *TaskAssert

func (*TaskAssert) HasNotEmptyId added in v0.97.0

func (t *TaskAssert) HasNotEmptyId() *TaskAssert

func (*TaskAssert) HasOwner added in v0.97.0

func (t *TaskAssert) HasOwner(expected string) *TaskAssert

func (*TaskAssert) HasOwnerRoleType added in v0.97.0

func (t *TaskAssert) HasOwnerRoleType(expected string) *TaskAssert

func (*TaskAssert) HasPredecessorsInAnyOrder added in v0.99.0

func (t *TaskAssert) HasPredecessorsInAnyOrder(ids ...sdk.SchemaObjectIdentifier) *TaskAssert

func (*TaskAssert) HasSchedule added in v0.97.0

func (t *TaskAssert) HasSchedule(expected string) *TaskAssert

func (*TaskAssert) HasSchemaName added in v0.97.0

func (t *TaskAssert) HasSchemaName(expected string) *TaskAssert

func (*TaskAssert) HasState added in v0.97.0

func (t *TaskAssert) HasState(expected sdk.TaskState) *TaskAssert

func (*TaskAssert) HasTaskRelations added in v0.97.0

func (t *TaskAssert) HasTaskRelations(expected sdk.TaskRelations) *TaskAssert

func (*TaskAssert) HasWarehouse added in v0.97.0

func (t *TaskAssert) HasWarehouse(expected *sdk.AccountObjectIdentifier) *TaskAssert

type UserAssert

func UserForIntegrationTests added in v0.95.0

func UserForIntegrationTests(t *testing.T, id sdk.AccountObjectIdentifier, testHelper *helpers.TestClient) *UserAssert

TODO [SNOW-1501905]: the current User func assumes acceptance test client helper, we should paramterize it and change this in the generators

func UserFromObject

func UserFromObject(t *testing.T, user *sdk.User) *UserAssert

func (*UserAssert) HasComment

func (u *UserAssert) HasComment(expected string) *UserAssert

func (*UserAssert) HasCreatedOn

func (u *UserAssert) HasCreatedOn(expected time.Time) *UserAssert

func (*UserAssert) HasCreatedOnNotEmpty

func (w *UserAssert) HasCreatedOnNotEmpty() *UserAssert

func (*UserAssert) HasDaysToExpiry

func (u *UserAssert) HasDaysToExpiry(expected string) *UserAssert

func (*UserAssert) HasDaysToExpiryEmpty added in v0.95.0

func (w *UserAssert) HasDaysToExpiryEmpty() *UserAssert

func (*UserAssert) HasDaysToExpiryNotEmpty

func (w *UserAssert) HasDaysToExpiryNotEmpty() *UserAssert

func (*UserAssert) HasDefaultNamespace

func (u *UserAssert) HasDefaultNamespace(expected string) *UserAssert

func (*UserAssert) HasDefaultNamespaceId

func (w *UserAssert) HasDefaultNamespaceId(expected sdk.DatabaseObjectIdentifier) *UserAssert

func (*UserAssert) HasDefaultRole

func (u *UserAssert) HasDefaultRole(expected string) *UserAssert

func (*UserAssert) HasDefaultSecondaryRoles

func (u *UserAssert) HasDefaultSecondaryRoles(expected string) *UserAssert

func (*UserAssert) HasDefaultWarehouse

func (u *UserAssert) HasDefaultWarehouse(expected string) *UserAssert

func (*UserAssert) HasDefaults

func (w *UserAssert) HasDefaults(name string) *UserAssert

func (*UserAssert) HasDisabled

func (u *UserAssert) HasDisabled(expected bool) *UserAssert

func (*UserAssert) HasDisplayName

func (u *UserAssert) HasDisplayName(expected string) *UserAssert

func (*UserAssert) HasEmail

func (u *UserAssert) HasEmail(expected string) *UserAssert

func (*UserAssert) HasExpiresAtTime

func (u *UserAssert) HasExpiresAtTime(expected time.Time) *UserAssert

func (*UserAssert) HasExpiresAtTimeEmpty

func (w *UserAssert) HasExpiresAtTimeEmpty() *UserAssert

func (*UserAssert) HasExpiresAtTimeNotEmpty

func (w *UserAssert) HasExpiresAtTimeNotEmpty() *UserAssert

func (*UserAssert) HasExtAuthnDuo

func (u *UserAssert) HasExtAuthnDuo(expected bool) *UserAssert

func (*UserAssert) HasExtAuthnUid

func (u *UserAssert) HasExtAuthnUid(expected string) *UserAssert

func (*UserAssert) HasFirstName

func (u *UserAssert) HasFirstName(expected string) *UserAssert

func (*UserAssert) HasHasMfa added in v0.95.0

func (u *UserAssert) HasHasMfa(expected bool) *UserAssert

func (*UserAssert) HasHasPassword

func (u *UserAssert) HasHasPassword(expected bool) *UserAssert

func (*UserAssert) HasHasRsaPublicKey

func (u *UserAssert) HasHasRsaPublicKey(expected bool) *UserAssert

func (*UserAssert) HasLastName

func (u *UserAssert) HasLastName(expected string) *UserAssert

func (*UserAssert) HasLastSuccessLogin

func (u *UserAssert) HasLastSuccessLogin(expected time.Time) *UserAssert

func (*UserAssert) HasLastSuccessLoginEmpty

func (w *UserAssert) HasLastSuccessLoginEmpty() *UserAssert

func (*UserAssert) HasLockedUntilTime

func (u *UserAssert) HasLockedUntilTime(expected time.Time) *UserAssert

func (*UserAssert) HasLockedUntilTimeEmpty

func (w *UserAssert) HasLockedUntilTimeEmpty() *UserAssert

func (*UserAssert) HasLockedUntilTimeNotEmpty

func (w *UserAssert) HasLockedUntilTimeNotEmpty() *UserAssert

func (*UserAssert) HasLoginName

func (u *UserAssert) HasLoginName(expected string) *UserAssert

func (*UserAssert) HasMinsToBypassMfa

func (u *UserAssert) HasMinsToBypassMfa(expected string) *UserAssert

func (*UserAssert) HasMinsToUnlock

func (u *UserAssert) HasMinsToUnlock(expected string) *UserAssert

func (*UserAssert) HasMustChangePassword

func (u *UserAssert) HasMustChangePassword(expected bool) *UserAssert

func (*UserAssert) HasName

func (u *UserAssert) HasName(expected string) *UserAssert

func (*UserAssert) HasOwner

func (u *UserAssert) HasOwner(expected string) *UserAssert

func (*UserAssert) HasOwnerNotEmpty added in v0.95.0

func (w *UserAssert) HasOwnerNotEmpty() *UserAssert

func (*UserAssert) HasSnowflakeLock

func (u *UserAssert) HasSnowflakeLock(expected bool) *UserAssert

func (*UserAssert) HasType added in v0.95.0

func (u *UserAssert) HasType(expected string) *UserAssert

type ViewAssert added in v0.95.0

func View added in v0.95.0

func ViewFromObject added in v0.95.0

func ViewFromObject(t *testing.T, view *sdk.View) *ViewAssert

func (*ViewAssert) HasAggregationPolicyReferences added in v0.95.0

func (v *ViewAssert) HasAggregationPolicyReferences(client *helpers.TestClient, n int) *ViewAssert

func (*ViewAssert) HasChangeTracking added in v0.95.0

func (v *ViewAssert) HasChangeTracking(expected string) *ViewAssert

func (*ViewAssert) HasComment added in v0.95.0

func (v *ViewAssert) HasComment(expected string) *ViewAssert

func (*ViewAssert) HasCreatedOn added in v0.95.0

func (v *ViewAssert) HasCreatedOn(expected string) *ViewAssert

func (*ViewAssert) HasCreatedOnNotEmpty added in v0.95.0

func (w *ViewAssert) HasCreatedOnNotEmpty() *ViewAssert

func (*ViewAssert) HasDatabaseName added in v0.95.0

func (v *ViewAssert) HasDatabaseName(expected string) *ViewAssert

func (*ViewAssert) HasIsMaterialized added in v0.95.0

func (v *ViewAssert) HasIsMaterialized(expected bool) *ViewAssert

func (*ViewAssert) HasIsSecure added in v0.95.0

func (v *ViewAssert) HasIsSecure(expected bool) *ViewAssert

func (*ViewAssert) HasKind added in v0.95.0

func (v *ViewAssert) HasKind(expected string) *ViewAssert

func (*ViewAssert) HasMaskingPolicyReferences added in v0.95.0

func (v *ViewAssert) HasMaskingPolicyReferences(client *helpers.TestClient, n int) *ViewAssert

func (*ViewAssert) HasName added in v0.95.0

func (v *ViewAssert) HasName(expected string) *ViewAssert

func (*ViewAssert) HasNoAggregationPolicyReferences added in v0.95.0

func (v *ViewAssert) HasNoAggregationPolicyReferences(client *helpers.TestClient) *ViewAssert

func (*ViewAssert) HasNoMaskingPolicyReferences added in v0.95.0

func (v *ViewAssert) HasNoMaskingPolicyReferences(client *helpers.TestClient) *ViewAssert

func (*ViewAssert) HasNoProjectionPolicyReferences added in v0.95.0

func (v *ViewAssert) HasNoProjectionPolicyReferences(client *helpers.TestClient) *ViewAssert

func (*ViewAssert) HasNoRowAccessPolicyReferences added in v0.95.0

func (v *ViewAssert) HasNoRowAccessPolicyReferences(client *helpers.TestClient) *ViewAssert

func (*ViewAssert) HasNonEmptyText added in v0.95.0

func (v *ViewAssert) HasNonEmptyText() *ViewAssert

func (*ViewAssert) HasOwner added in v0.95.0

func (v *ViewAssert) HasOwner(expected string) *ViewAssert

func (*ViewAssert) HasOwnerRoleType added in v0.95.0

func (v *ViewAssert) HasOwnerRoleType(expected string) *ViewAssert

func (*ViewAssert) HasProjectionPolicyReferences added in v0.95.0

func (v *ViewAssert) HasProjectionPolicyReferences(client *helpers.TestClient, n int) *ViewAssert

func (*ViewAssert) HasReserved added in v0.95.0

func (v *ViewAssert) HasReserved(expected string) *ViewAssert

func (*ViewAssert) HasRowAccessPolicyReferences added in v0.95.0

func (v *ViewAssert) HasRowAccessPolicyReferences(client *helpers.TestClient, n int) *ViewAssert

func (*ViewAssert) HasSchemaName added in v0.95.0

func (v *ViewAssert) HasSchemaName(expected string) *ViewAssert

func (*ViewAssert) HasText added in v0.95.0

func (v *ViewAssert) HasText(expected string) *ViewAssert

type WarehouseAssert

func WarehouseFromObject

func WarehouseFromObject(t *testing.T, warehouse *sdk.Warehouse) *WarehouseAssert

func (*WarehouseAssert) HasAutoResume

func (w *WarehouseAssert) HasAutoResume(expected bool) *WarehouseAssert

func (*WarehouseAssert) HasAutoSuspend

func (w *WarehouseAssert) HasAutoSuspend(expected int) *WarehouseAssert

func (*WarehouseAssert) HasAvailable

func (w *WarehouseAssert) HasAvailable(expected float64) *WarehouseAssert

func (*WarehouseAssert) HasComment

func (w *WarehouseAssert) HasComment(expected string) *WarehouseAssert

func (*WarehouseAssert) HasCreatedOn

func (w *WarehouseAssert) HasCreatedOn(expected time.Time) *WarehouseAssert

func (*WarehouseAssert) HasEnableQueryAcceleration

func (w *WarehouseAssert) HasEnableQueryAcceleration(expected bool) *WarehouseAssert

func (*WarehouseAssert) HasIsCurrent

func (w *WarehouseAssert) HasIsCurrent(expected bool) *WarehouseAssert

func (*WarehouseAssert) HasIsDefault

func (w *WarehouseAssert) HasIsDefault(expected bool) *WarehouseAssert

func (*WarehouseAssert) HasMaxClusterCount

func (w *WarehouseAssert) HasMaxClusterCount(expected int) *WarehouseAssert

func (*WarehouseAssert) HasMinClusterCount

func (w *WarehouseAssert) HasMinClusterCount(expected int) *WarehouseAssert

func (*WarehouseAssert) HasName

func (w *WarehouseAssert) HasName(expected string) *WarehouseAssert

func (*WarehouseAssert) HasOther

func (w *WarehouseAssert) HasOther(expected float64) *WarehouseAssert

func (*WarehouseAssert) HasOwner

func (w *WarehouseAssert) HasOwner(expected string) *WarehouseAssert

func (*WarehouseAssert) HasOwnerRoleType

func (w *WarehouseAssert) HasOwnerRoleType(expected string) *WarehouseAssert

func (*WarehouseAssert) HasProvisioning

func (w *WarehouseAssert) HasProvisioning(expected float64) *WarehouseAssert

func (*WarehouseAssert) HasQueryAccelerationMaxScaleFactor

func (w *WarehouseAssert) HasQueryAccelerationMaxScaleFactor(expected int) *WarehouseAssert

func (*WarehouseAssert) HasQueued

func (w *WarehouseAssert) HasQueued(expected int) *WarehouseAssert

func (*WarehouseAssert) HasQuiescing

func (w *WarehouseAssert) HasQuiescing(expected float64) *WarehouseAssert

func (*WarehouseAssert) HasResourceMonitor

func (w *WarehouseAssert) HasResourceMonitor(expected sdk.AccountObjectIdentifier) *WarehouseAssert

func (*WarehouseAssert) HasResumedOn

func (w *WarehouseAssert) HasResumedOn(expected time.Time) *WarehouseAssert

func (*WarehouseAssert) HasRunning

func (w *WarehouseAssert) HasRunning(expected int) *WarehouseAssert

func (*WarehouseAssert) HasScalingPolicy

func (w *WarehouseAssert) HasScalingPolicy(expected sdk.ScalingPolicy) *WarehouseAssert

func (*WarehouseAssert) HasSize

func (w *WarehouseAssert) HasSize(expected sdk.WarehouseSize) *WarehouseAssert

func (*WarehouseAssert) HasStartedClusters

func (w *WarehouseAssert) HasStartedClusters(expected int) *WarehouseAssert

func (*WarehouseAssert) HasState

func (w *WarehouseAssert) HasState(expected sdk.WarehouseState) *WarehouseAssert

func (*WarehouseAssert) HasStateOneOf

func (w *WarehouseAssert) HasStateOneOf(expected ...sdk.WarehouseState) *WarehouseAssert

func (*WarehouseAssert) HasType

func (w *WarehouseAssert) HasType(expected sdk.WarehouseType) *WarehouseAssert

func (*WarehouseAssert) HasUpdatedOn

func (w *WarehouseAssert) HasUpdatedOn(expected time.Time) *WarehouseAssert

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL