Documentation ¶
Index ¶
- type UserAssert
- func (u *UserAssert) HasComment(expected string) *UserAssert
- func (u *UserAssert) HasCreatedOn(expected time.Time) *UserAssert
- func (w *UserAssert) HasCreatedOnNotEmpty() *UserAssert
- func (u *UserAssert) HasDaysToExpiry(expected string) *UserAssert
- func (w *UserAssert) HasDaysToExpiryNotEmpty() *UserAssert
- func (u *UserAssert) HasDefaultNamespace(expected string) *UserAssert
- func (w *UserAssert) HasDefaultNamespaceId(expected sdk.DatabaseObjectIdentifier) *UserAssert
- func (u *UserAssert) HasDefaultRole(expected string) *UserAssert
- func (u *UserAssert) HasDefaultSecondaryRoles(expected string) *UserAssert
- func (u *UserAssert) HasDefaultWarehouse(expected string) *UserAssert
- func (w *UserAssert) HasDefaults(name string) *UserAssert
- func (u *UserAssert) HasDisabled(expected bool) *UserAssert
- func (u *UserAssert) HasDisplayName(expected string) *UserAssert
- func (u *UserAssert) HasEmail(expected string) *UserAssert
- func (u *UserAssert) HasExpiresAtTime(expected time.Time) *UserAssert
- func (w *UserAssert) HasExpiresAtTimeEmpty() *UserAssert
- func (w *UserAssert) HasExpiresAtTimeNotEmpty() *UserAssert
- func (u *UserAssert) HasExtAuthnDuo(expected bool) *UserAssert
- func (u *UserAssert) HasExtAuthnUid(expected string) *UserAssert
- func (u *UserAssert) HasFirstName(expected string) *UserAssert
- func (u *UserAssert) HasHasPassword(expected bool) *UserAssert
- func (u *UserAssert) HasHasRsaPublicKey(expected bool) *UserAssert
- func (u *UserAssert) HasLastName(expected string) *UserAssert
- func (u *UserAssert) HasLastSuccessLogin(expected time.Time) *UserAssert
- func (w *UserAssert) HasLastSuccessLoginEmpty() *UserAssert
- func (u *UserAssert) HasLockedUntilTime(expected time.Time) *UserAssert
- func (w *UserAssert) HasLockedUntilTimeEmpty() *UserAssert
- func (w *UserAssert) HasLockedUntilTimeNotEmpty() *UserAssert
- func (u *UserAssert) HasLoginName(expected string) *UserAssert
- func (u *UserAssert) HasMinsToBypassMfa(expected string) *UserAssert
- func (u *UserAssert) HasMinsToUnlock(expected string) *UserAssert
- func (u *UserAssert) HasMustChangePassword(expected bool) *UserAssert
- func (u *UserAssert) HasName(expected string) *UserAssert
- func (u *UserAssert) HasOwner(expected string) *UserAssert
- func (u *UserAssert) HasSnowflakeLock(expected bool) *UserAssert
- type WarehouseAssert
- func (w *WarehouseAssert) HasAutoResume(expected bool) *WarehouseAssert
- func (w *WarehouseAssert) HasAutoSuspend(expected int) *WarehouseAssert
- func (w *WarehouseAssert) HasAvailable(expected float64) *WarehouseAssert
- func (w *WarehouseAssert) HasComment(expected string) *WarehouseAssert
- func (w *WarehouseAssert) HasCreatedOn(expected time.Time) *WarehouseAssert
- func (w *WarehouseAssert) HasEnableQueryAcceleration(expected bool) *WarehouseAssert
- func (w *WarehouseAssert) HasIsCurrent(expected bool) *WarehouseAssert
- func (w *WarehouseAssert) HasIsDefault(expected bool) *WarehouseAssert
- func (w *WarehouseAssert) HasMaxClusterCount(expected int) *WarehouseAssert
- func (w *WarehouseAssert) HasMinClusterCount(expected int) *WarehouseAssert
- func (w *WarehouseAssert) HasName(expected string) *WarehouseAssert
- func (w *WarehouseAssert) HasOther(expected float64) *WarehouseAssert
- func (w *WarehouseAssert) HasOwner(expected string) *WarehouseAssert
- func (w *WarehouseAssert) HasOwnerRoleType(expected string) *WarehouseAssert
- func (w *WarehouseAssert) HasProvisioning(expected float64) *WarehouseAssert
- func (w *WarehouseAssert) HasQueryAccelerationMaxScaleFactor(expected int) *WarehouseAssert
- func (w *WarehouseAssert) HasQueued(expected int) *WarehouseAssert
- func (w *WarehouseAssert) HasQuiescing(expected float64) *WarehouseAssert
- func (w *WarehouseAssert) HasResourceMonitor(expected sdk.AccountObjectIdentifier) *WarehouseAssert
- func (w *WarehouseAssert) HasResumedOn(expected time.Time) *WarehouseAssert
- func (w *WarehouseAssert) HasRunning(expected int) *WarehouseAssert
- func (w *WarehouseAssert) HasScalingPolicy(expected sdk.ScalingPolicy) *WarehouseAssert
- func (w *WarehouseAssert) HasSize(expected sdk.WarehouseSize) *WarehouseAssert
- func (w *WarehouseAssert) HasStartedClusters(expected int) *WarehouseAssert
- func (w *WarehouseAssert) HasState(expected sdk.WarehouseState) *WarehouseAssert
- func (w *WarehouseAssert) HasStateOneOf(expected ...sdk.WarehouseState) *WarehouseAssert
- func (w *WarehouseAssert) HasType(expected sdk.WarehouseType) *WarehouseAssert
- func (w *WarehouseAssert) HasUpdatedOn(expected time.Time) *WarehouseAssert
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserAssert ¶
type UserAssert struct { *assert.SnowflakeObjectAssert[sdk.User, sdk.AccountObjectIdentifier] }
func User ¶
func User(t *testing.T, id sdk.AccountObjectIdentifier) *UserAssert
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) 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) 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) HasSnowflakeLock ¶
func (u *UserAssert) HasSnowflakeLock(expected bool) *UserAssert
type WarehouseAssert ¶
type WarehouseAssert struct { *assert.SnowflakeObjectAssert[sdk.Warehouse, sdk.AccountObjectIdentifier] }
func Warehouse ¶
func Warehouse(t *testing.T, id sdk.AccountObjectIdentifier) *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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.