Documentation
¶
Index ¶
- Constants
- Variables
- func IsNotFound(err error) bool
- type BackupConfiguration
- type ClickPipe
- type ClickPipeDestination
- type ClickPipeDestinationColumn
- type ClickPipeDestinationTableDefinition
- type ClickPipeDestinationTableEngine
- type ClickPipeFieldMapping
- type ClickPipeKafkaOffset
- type ClickPipeKafkaSchemaRegistry
- type ClickPipeKafkaSource
- type ClickPipeKafkaSourceCredentials
- type ClickPipeObjectStorageSource
- type ClickPipeScaling
- type ClickPipeScalingRequest
- type ClickPipeSource
- type ClickPipeSourceAccessKey
- type ClickPipeSourceCredentials
- type ClickPipeStateRequest
- type Client
- type ClientImpl
- func (c *ClientImpl) ChangeClickPipeState(ctx context.Context, serviceId string, clickPipeId string, command string) (*ClickPipe, error)
- func (c *ClientImpl) CreateClickPipe(ctx context.Context, serviceId string, clickPipe ClickPipe) (*ClickPipe, error)
- func (c *ClientImpl) CreateService(ctx context.Context, s Service) (*Service, string, error)
- func (c *ClientImpl) DeleteClickPipe(ctx context.Context, serviceId string, clickPipeId string) error
- func (c *ClientImpl) DeleteService(ctx context.Context, serviceId string) (*Service, error)
- func (c *ClientImpl) GetBackupConfiguration(ctx context.Context, serviceId string) (*BackupConfiguration, error)
- func (c *ClientImpl) GetClickPipe(ctx context.Context, serviceId string, clickPipeId string) (*ClickPipe, error)
- func (c *ClientImpl) GetOrgPrivateEndpointConfig(ctx context.Context, cloudProvider string, region string) (*OrgPrivateEndpointConfig, error)
- func (c *ClientImpl) GetOrganizationPrivateEndpoints(ctx context.Context) (*[]PrivateEndpoint, error)
- func (c *ClientImpl) GetService(ctx context.Context, serviceId string) (*Service, error)
- func (c *ClientImpl) GetServicePrivateEndpointConfig(ctx context.Context, serviceId string) (*ServicePrivateEndpointConfig, error)
- func (c *ClientImpl) ScalingClickPipe(ctx context.Context, serviceId string, clickPipeId string, ...) (*ClickPipe, error)
- func (c *ClientImpl) UpdateBackupConfiguration(ctx context.Context, serviceId string, b BackupConfiguration) (*BackupConfiguration, error)
- func (c *ClientImpl) UpdateOrganizationPrivateEndpoints(ctx context.Context, orgUpdate OrganizationUpdate) (*[]PrivateEndpoint, error)
- func (c *ClientImpl) UpdateReplicaScaling(ctx context.Context, serviceId string, s ReplicaScalingUpdate) (*Service, error)
- func (c *ClientImpl) UpdateService(ctx context.Context, serviceId string, s ServiceUpdate) (*Service, error)
- func (c *ClientImpl) UpdateServicePassword(ctx context.Context, serviceId string, u ServicePasswordUpdate) (*ServicePasswordUpdateResult, error)
- func (c *ClientImpl) WaitForClickPipeState(ctx context.Context, serviceId string, clickPipeId string, ...) (clickPipe *ClickPipe, err error)
- func (c *ClientImpl) WaitForServiceState(ctx context.Context, serviceId string, stateChecker func(string) bool, ...) error
- type ClientMock
- func (mmChangeClickPipeState *ClientMock) ChangeClickPipeState(ctx context.Context, serviceId string, clickPipeId string, command string) (cp1 *ClickPipe, err error)
- func (mmChangeClickPipeState *ClientMock) ChangeClickPipeStateAfterCounter() uint64
- func (mmChangeClickPipeState *ClientMock) ChangeClickPipeStateBeforeCounter() uint64
- func (mmCreateClickPipe *ClientMock) CreateClickPipe(ctx context.Context, serviceId string, clickPipe ClickPipe) (cp1 *ClickPipe, err error)
- func (mmCreateClickPipe *ClientMock) CreateClickPipeAfterCounter() uint64
- func (mmCreateClickPipe *ClientMock) CreateClickPipeBeforeCounter() uint64
- func (mmCreateService *ClientMock) CreateService(ctx context.Context, s Service) (sp1 *Service, s1 string, err error)
- func (mmCreateService *ClientMock) CreateServiceAfterCounter() uint64
- func (mmCreateService *ClientMock) CreateServiceBeforeCounter() uint64
- func (mmDeleteClickPipe *ClientMock) DeleteClickPipe(ctx context.Context, serviceId string, clickPipeId string) (err error)
- func (mmDeleteClickPipe *ClientMock) DeleteClickPipeAfterCounter() uint64
- func (mmDeleteClickPipe *ClientMock) DeleteClickPipeBeforeCounter() uint64
- func (mmDeleteService *ClientMock) DeleteService(ctx context.Context, serviceId string) (sp1 *Service, err error)
- func (mmDeleteService *ClientMock) DeleteServiceAfterCounter() uint64
- func (mmDeleteService *ClientMock) DeleteServiceBeforeCounter() uint64
- func (mmGetBackupConfiguration *ClientMock) GetBackupConfiguration(ctx context.Context, serviceId string) (bp1 *BackupConfiguration, err error)
- func (mmGetBackupConfiguration *ClientMock) GetBackupConfigurationAfterCounter() uint64
- func (mmGetBackupConfiguration *ClientMock) GetBackupConfigurationBeforeCounter() uint64
- func (mmGetClickPipe *ClientMock) GetClickPipe(ctx context.Context, serviceId string, clickPipeId string) (cp1 *ClickPipe, err error)
- func (mmGetClickPipe *ClientMock) GetClickPipeAfterCounter() uint64
- func (mmGetClickPipe *ClientMock) GetClickPipeBeforeCounter() uint64
- func (mmGetOrgPrivateEndpointConfig *ClientMock) GetOrgPrivateEndpointConfig(ctx context.Context, cloudProvider string, region string) (op1 *OrgPrivateEndpointConfig, err error)
- func (mmGetOrgPrivateEndpointConfig *ClientMock) GetOrgPrivateEndpointConfigAfterCounter() uint64
- func (mmGetOrgPrivateEndpointConfig *ClientMock) GetOrgPrivateEndpointConfigBeforeCounter() uint64
- func (mmGetOrganizationPrivateEndpoints *ClientMock) GetOrganizationPrivateEndpoints(ctx context.Context) (pap1 *[]PrivateEndpoint, err error)
- func (mmGetOrganizationPrivateEndpoints *ClientMock) GetOrganizationPrivateEndpointsAfterCounter() uint64
- func (mmGetOrganizationPrivateEndpoints *ClientMock) GetOrganizationPrivateEndpointsBeforeCounter() uint64
- func (mmGetService *ClientMock) GetService(ctx context.Context, serviceId string) (sp1 *Service, err error)
- func (mmGetService *ClientMock) GetServiceAfterCounter() uint64
- func (mmGetService *ClientMock) GetServiceBeforeCounter() uint64
- func (m *ClientMock) MinimockChangeClickPipeStateDone() bool
- func (m *ClientMock) MinimockChangeClickPipeStateInspect()
- func (m *ClientMock) MinimockCreateClickPipeDone() bool
- func (m *ClientMock) MinimockCreateClickPipeInspect()
- func (m *ClientMock) MinimockCreateServiceDone() bool
- func (m *ClientMock) MinimockCreateServiceInspect()
- func (m *ClientMock) MinimockDeleteClickPipeDone() bool
- func (m *ClientMock) MinimockDeleteClickPipeInspect()
- func (m *ClientMock) MinimockDeleteServiceDone() bool
- func (m *ClientMock) MinimockDeleteServiceInspect()
- func (m *ClientMock) MinimockFinish()
- func (m *ClientMock) MinimockGetBackupConfigurationDone() bool
- func (m *ClientMock) MinimockGetBackupConfigurationInspect()
- func (m *ClientMock) MinimockGetClickPipeDone() bool
- func (m *ClientMock) MinimockGetClickPipeInspect()
- func (m *ClientMock) MinimockGetOrgPrivateEndpointConfigDone() bool
- func (m *ClientMock) MinimockGetOrgPrivateEndpointConfigInspect()
- func (m *ClientMock) MinimockGetOrganizationPrivateEndpointsDone() bool
- func (m *ClientMock) MinimockGetOrganizationPrivateEndpointsInspect()
- func (m *ClientMock) MinimockGetServiceDone() bool
- func (m *ClientMock) MinimockGetServiceInspect()
- func (m *ClientMock) MinimockScalingClickPipeDone() bool
- func (m *ClientMock) MinimockScalingClickPipeInspect()
- func (m *ClientMock) MinimockUpdateBackupConfigurationDone() bool
- func (m *ClientMock) MinimockUpdateBackupConfigurationInspect()
- func (m *ClientMock) MinimockUpdateOrganizationPrivateEndpointsDone() bool
- func (m *ClientMock) MinimockUpdateOrganizationPrivateEndpointsInspect()
- func (m *ClientMock) MinimockUpdateReplicaScalingDone() bool
- func (m *ClientMock) MinimockUpdateReplicaScalingInspect()
- func (m *ClientMock) MinimockUpdateServiceDone() bool
- func (m *ClientMock) MinimockUpdateServiceInspect()
- func (m *ClientMock) MinimockUpdateServicePasswordDone() bool
- func (m *ClientMock) MinimockUpdateServicePasswordInspect()
- func (m *ClientMock) MinimockWait(timeout mm_time.Duration)
- func (m *ClientMock) MinimockWaitForClickPipeStateDone() bool
- func (m *ClientMock) MinimockWaitForClickPipeStateInspect()
- func (m *ClientMock) MinimockWaitForServiceStateDone() bool
- func (m *ClientMock) MinimockWaitForServiceStateInspect()
- func (mmScalingClickPipe *ClientMock) ScalingClickPipe(ctx context.Context, serviceId string, clickPipeId string, ...) (cp1 *ClickPipe, err error)
- func (mmScalingClickPipe *ClientMock) ScalingClickPipeAfterCounter() uint64
- func (mmScalingClickPipe *ClientMock) ScalingClickPipeBeforeCounter() uint64
- func (mmUpdateBackupConfiguration *ClientMock) UpdateBackupConfiguration(ctx context.Context, serviceId string, b BackupConfiguration) (bp1 *BackupConfiguration, err error)
- func (mmUpdateBackupConfiguration *ClientMock) UpdateBackupConfigurationAfterCounter() uint64
- func (mmUpdateBackupConfiguration *ClientMock) UpdateBackupConfigurationBeforeCounter() uint64
- func (mmUpdateOrganizationPrivateEndpoints *ClientMock) UpdateOrganizationPrivateEndpoints(ctx context.Context, orgUpdate OrganizationUpdate) (pap1 *[]PrivateEndpoint, err error)
- func (mmUpdateOrganizationPrivateEndpoints *ClientMock) UpdateOrganizationPrivateEndpointsAfterCounter() uint64
- func (mmUpdateOrganizationPrivateEndpoints *ClientMock) UpdateOrganizationPrivateEndpointsBeforeCounter() uint64
- func (mmUpdateReplicaScaling *ClientMock) UpdateReplicaScaling(ctx context.Context, serviceId string, s ReplicaScalingUpdate) (sp1 *Service, err error)
- func (mmUpdateReplicaScaling *ClientMock) UpdateReplicaScalingAfterCounter() uint64
- func (mmUpdateReplicaScaling *ClientMock) UpdateReplicaScalingBeforeCounter() uint64
- func (mmUpdateService *ClientMock) UpdateService(ctx context.Context, serviceId string, s ServiceUpdate) (sp1 *Service, err error)
- func (mmUpdateService *ClientMock) UpdateServiceAfterCounter() uint64
- func (mmUpdateService *ClientMock) UpdateServiceBeforeCounter() uint64
- func (mmUpdateServicePassword *ClientMock) UpdateServicePassword(ctx context.Context, serviceId string, u ServicePasswordUpdate) (sp1 *ServicePasswordUpdateResult, err error)
- func (mmUpdateServicePassword *ClientMock) UpdateServicePasswordAfterCounter() uint64
- func (mmUpdateServicePassword *ClientMock) UpdateServicePasswordBeforeCounter() uint64
- func (mmWaitForClickPipeState *ClientMock) WaitForClickPipeState(ctx context.Context, serviceId string, clickPipeId string, ...) (cp1 *ClickPipe, err error)
- func (mmWaitForClickPipeState *ClientMock) WaitForClickPipeStateAfterCounter() uint64
- func (mmWaitForClickPipeState *ClientMock) WaitForClickPipeStateBeforeCounter() uint64
- func (mmWaitForServiceState *ClientMock) WaitForServiceState(ctx context.Context, serviceId string, stateChecker func(string) bool, ...) (err error)
- func (mmWaitForServiceState *ClientMock) WaitForServiceStateAfterCounter() uint64
- func (mmWaitForServiceState *ClientMock) WaitForServiceStateBeforeCounter() uint64
- type ClientMockChangeClickPipeStateExpectation
- type ClientMockChangeClickPipeStateExpectationOrigins
- type ClientMockChangeClickPipeStateParamPtrs
- type ClientMockChangeClickPipeStateParams
- type ClientMockChangeClickPipeStateResults
- type ClientMockCreateClickPipeExpectation
- type ClientMockCreateClickPipeExpectationOrigins
- type ClientMockCreateClickPipeParamPtrs
- type ClientMockCreateClickPipeParams
- type ClientMockCreateClickPipeResults
- type ClientMockCreateServiceExpectation
- type ClientMockCreateServiceExpectationOrigins
- type ClientMockCreateServiceParamPtrs
- type ClientMockCreateServiceParams
- type ClientMockCreateServiceResults
- type ClientMockDeleteClickPipeExpectation
- type ClientMockDeleteClickPipeExpectationOrigins
- type ClientMockDeleteClickPipeParamPtrs
- type ClientMockDeleteClickPipeParams
- type ClientMockDeleteClickPipeResults
- type ClientMockDeleteServiceExpectation
- type ClientMockDeleteServiceExpectationOrigins
- type ClientMockDeleteServiceParamPtrs
- type ClientMockDeleteServiceParams
- type ClientMockDeleteServiceResults
- type ClientMockGetBackupConfigurationExpectation
- type ClientMockGetBackupConfigurationExpectationOrigins
- type ClientMockGetBackupConfigurationParamPtrs
- type ClientMockGetBackupConfigurationParams
- type ClientMockGetBackupConfigurationResults
- type ClientMockGetClickPipeExpectation
- type ClientMockGetClickPipeExpectationOrigins
- type ClientMockGetClickPipeParamPtrs
- type ClientMockGetClickPipeParams
- type ClientMockGetClickPipeResults
- type ClientMockGetOrgPrivateEndpointConfigExpectation
- type ClientMockGetOrgPrivateEndpointConfigExpectationOrigins
- type ClientMockGetOrgPrivateEndpointConfigParamPtrs
- type ClientMockGetOrgPrivateEndpointConfigParams
- type ClientMockGetOrgPrivateEndpointConfigResults
- type ClientMockGetOrganizationPrivateEndpointsExpectation
- type ClientMockGetOrganizationPrivateEndpointsExpectationOrigins
- type ClientMockGetOrganizationPrivateEndpointsParamPtrs
- type ClientMockGetOrganizationPrivateEndpointsParams
- type ClientMockGetOrganizationPrivateEndpointsResults
- type ClientMockGetServiceExpectation
- type ClientMockGetServiceExpectationOrigins
- type ClientMockGetServiceParamPtrs
- type ClientMockGetServiceParams
- type ClientMockGetServiceResults
- type ClientMockScalingClickPipeExpectation
- type ClientMockScalingClickPipeExpectationOrigins
- type ClientMockScalingClickPipeParamPtrs
- type ClientMockScalingClickPipeParams
- type ClientMockScalingClickPipeResults
- type ClientMockUpdateBackupConfigurationExpectation
- type ClientMockUpdateBackupConfigurationExpectationOrigins
- type ClientMockUpdateBackupConfigurationParamPtrs
- type ClientMockUpdateBackupConfigurationParams
- type ClientMockUpdateBackupConfigurationResults
- type ClientMockUpdateOrganizationPrivateEndpointsExpectation
- type ClientMockUpdateOrganizationPrivateEndpointsExpectationOrigins
- type ClientMockUpdateOrganizationPrivateEndpointsParamPtrs
- type ClientMockUpdateOrganizationPrivateEndpointsParams
- type ClientMockUpdateOrganizationPrivateEndpointsResults
- type ClientMockUpdateReplicaScalingExpectation
- type ClientMockUpdateReplicaScalingExpectationOrigins
- type ClientMockUpdateReplicaScalingParamPtrs
- type ClientMockUpdateReplicaScalingParams
- type ClientMockUpdateReplicaScalingResults
- type ClientMockUpdateServiceExpectation
- type ClientMockUpdateServiceExpectationOrigins
- type ClientMockUpdateServiceParamPtrs
- type ClientMockUpdateServiceParams
- type ClientMockUpdateServicePasswordExpectation
- type ClientMockUpdateServicePasswordExpectationOrigins
- type ClientMockUpdateServicePasswordParamPtrs
- type ClientMockUpdateServicePasswordParams
- type ClientMockUpdateServicePasswordResults
- type ClientMockUpdateServiceResults
- type ClientMockWaitForClickPipeStateExpectation
- type ClientMockWaitForClickPipeStateExpectationOrigins
- type ClientMockWaitForClickPipeStateParamPtrs
- type ClientMockWaitForClickPipeStateParams
- type ClientMockWaitForClickPipeStateResults
- type ClientMockWaitForServiceStateExpectation
- type ClientMockWaitForServiceStateExpectationOrigins
- type ClientMockWaitForServiceStateParamPtrs
- type ClientMockWaitForServiceStateParams
- type ClientMockWaitForServiceStateResults
- type Endpoint
- type IpAccess
- type IpAccessUpdate
- type OrgPrivateEndpointConfig
- type OrgPrivateEndpointsUpdate
- type OrgResult
- type OrganizationUpdate
- type PrivateEndpoint
- type PrivateEndpointIdsUpdate
- type ReplicaScalingUpdate
- type ResponseWithResult
- type Service
- type ServiceBody
- type ServiceManagedEncryption
- type ServicePasswordUpdate
- type ServicePasswordUpdateResult
- type ServicePrivateEndpointConfig
- type ServiceResponseResult
- type ServiceStateUpdate
- type ServiceUpdate
Constants ¶
const ( ClickPipeRunningState = "Running" ClickPipeStoppedState = "Stopped" )
const ( ClickPipeStateStart = "start" ClickPipeStateStop = "stop" )
const ( ClickPipeJSONEachRowFormat = "JSONEachRow" ClickPipeAvroFormat = "Avro" ClickPipeAvroConfluentFormat = "AvroConfluent" ClickPipeCSVFormat = "CSV" ClickPipeCSVWithNamesFormat = "CSVWithNames" ClickPipeParquetFormat = "Parquet" )
const ( ClickPipeAuthenticationIAMRole = "IAM_ROLE" ClickPipeAuthenticationIAMUser = "IAM_USER" ClickPipeKafkaAuthenticationPlain = "PLAIN" ClickPipeKafkaAuthenticationScramSha256 = "SCRAM-SHA-256" ClickPipeKafkaAuthenticationScramSha512 = "SCRAM-SHA-512" )
const ( ClickPipeKafkaSourceType = "kafka" ClickPipeKafkaRedpandaSourceType = "redpanda" ClickPipeKafkaConfluentSourceType = "confluent" ClickPipeKafkaMSKSourceType = "msk" ClickPipeKafkaWarpStreamSourceType = "warpstream" ClickPipeKafkaAzureEventHubSourceType = "azureeventhub" )
const ( ClickPipeObjectStorageS3Type = "s3" ClickPipeObjectStorageGCSType = "gcs" )
const ( ClickPipeObjectStorageCompressionAuto = "auto" ClickPipeObjectStorageCompressionGZIP = "gzip" ClickPipeObjectStorageCompressionBrotli = "brotli" ClickPipeObjectStorageCompressionBr = "br" ClickPipeObjectStorageCompressionXZ = "xz" ClickPipeObjectStorageCompressionLZMA = "LZMA" ClickPipeObjectStorageCompressionZstd = "zstd" )
const ( ClickPipeKafkaOffsetFromBeginningStrategy = "from_beginning" ClickPipeKafkaOffsetFromLatestStrategy = "from_latest" ClickPipeKafkaOffsetFromTimestampStrategy = "from_timestamp" )
const ( TierDevelopment = "development" TierProduction = "production" ReleaseChannelDefault = "default" ReleaseChannelFast = "fast" StateProvisioning = "provisioning" StateStopped = "stopped" StateStopping = "stopping" ResponseHeaderRateLimitReset = "X-RateLimit-Reset" )
Variables ¶
var ClickPipeKafkaAuthenticationMethods = []string{ ClickPipeKafkaAuthenticationPlain, ClickPipeKafkaAuthenticationScramSha256, ClickPipeKafkaAuthenticationScramSha512, ClickPipeAuthenticationIAMRole, ClickPipeAuthenticationIAMUser, }
var ClickPipeKafkaFormats = []string{ ClickPipeJSONEachRowFormat, ClickPipeAvroFormat, ClickPipeAvroConfluentFormat, }
var ClickPipeKafkaOffsetStrategies = []string{ ClickPipeKafkaOffsetFromBeginningStrategy, ClickPipeKafkaOffsetFromLatestStrategy, ClickPipeKafkaOffsetFromTimestampStrategy, }
var ClickPipeKafkaSourceTypes = []string{ ClickPipeKafkaSourceType, ClickPipeKafkaRedpandaSourceType, ClickPipeKafkaConfluentSourceType, ClickPipeKafkaMSKSourceType, ClickPipeKafkaWarpStreamSourceType, ClickPipeKafkaAzureEventHubSourceType, }
var ClickPipeObjectStorageAuthenticationMethods = []string{ ClickPipeAuthenticationIAMRole, ClickPipeAuthenticationIAMUser, }
var ClickPipeObjectStorageCompressions = []string{ ClickPipeObjectStorageCompressionAuto, ClickPipeObjectStorageCompressionGZIP, ClickPipeObjectStorageCompressionBrotli, ClickPipeObjectStorageCompressionBr, ClickPipeObjectStorageCompressionXZ, ClickPipeObjectStorageCompressionLZMA, ClickPipeObjectStorageCompressionZstd, }
var ClickPipeObjectStorageFormats = []string{ ClickPipeJSONEachRowFormat, ClickPipeCSVFormat, ClickPipeCSVWithNamesFormat, ClickPipeParquetFormat, }
var ClickPipeObjectStorageTypes = []string{ ClickPipeObjectStorageS3Type, ClickPipeObjectStorageGCSType, }
Functions ¶
func IsNotFound ¶ added in v1.0.0
Types ¶
type BackupConfiguration ¶ added in v1.2.0
type ClickPipe ¶
type ClickPipe struct {
ID string `json:"id,omitempty"`
Name string `json:"name"`
Description string `json:"description"`
Scaling *ClickPipeScaling `json:"scaling,omitempty"`
State string `json:"state,omitempty"`
Source ClickPipeSource `json:"source"`
Destination ClickPipeDestination `json:"destination"`
FieldMappings []ClickPipeFieldMapping `json:"fieldMappings"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
type ClickPipeDestination ¶
type ClickPipeDestination struct {
Database string `json:"database"`
Table string `json:"table"`
ManagedTable bool `json:"managedTable"`
TableDefinition *ClickPipeDestinationTableDefinition `json:"tableDefinition,omitempty"`
Columns []ClickPipeDestinationColumn `json:"columns"`
}
type ClickPipeDestinationTableDefinition ¶
type ClickPipeDestinationTableDefinition struct {
Engine ClickPipeDestinationTableEngine `json:"engine"`
SortingKey []string `json:"sortingKey"`
PartitionBy *string `json:"partitionBy,omitempty"`
PrimaryKey *string `json:"primaryKey,omitempty"`
}
type ClickPipeDestinationTableEngine ¶
type ClickPipeDestinationTableEngine struct {
Type string `json:"type"`
}
type ClickPipeFieldMapping ¶
type ClickPipeKafkaOffset ¶
type ClickPipeKafkaSchemaRegistry ¶
type ClickPipeKafkaSchemaRegistry struct {
URL string `json:"url"`
Authentication string `json:"authentication"`
Credentials *ClickPipeSourceCredentials `json:"credentials,omitempty"`
}
type ClickPipeKafkaSource ¶
type ClickPipeKafkaSource struct {
Type string `json:"type"`
Format string `json:"format"`
Brokers string `json:"brokers"`
Topics string `json:"topics"`
ConsumerGroup *string `json:"consumerGroup,omitempty"`
Offset *ClickPipeKafkaOffset `json:"offset,omitempty"`
SchemaRegistry *ClickPipeKafkaSchemaRegistry `json:"schemaRegistry,omitempty"`
Authentication string `json:"authentication"`
Credentials *ClickPipeKafkaSourceCredentials `json:"credentials,omitempty"`
IAMRole *string `json:"iamRole,omitempty"`
CACertificate *string `json:"caCertificate,omitempty"`
}
type ClickPipeKafkaSourceCredentials ¶
type ClickPipeKafkaSourceCredentials struct {
*ClickPipeSourceCredentials
*ClickPipeSourceAccessKey
ConnectionString *string `json:"connectionString,omitempty"`
}
type ClickPipeObjectStorageSource ¶
type ClickPipeObjectStorageSource struct {
Type string `json:"type"`
Format string `json:"format"`
URL string `json:"url"`
Delimiter *string `json:"delimiter,omitempty"`
Compression *string `json:"compression,omitempty"`
IsContinuous bool `json:"isContinuous"`
Authentication *string `json:"authentication,omitempty"`
AccessKey *ClickPipeSourceAccessKey `json:"accessKey,omitempty"`
IAMRole *string `json:"iamRole,omitempty"`
}
type ClickPipeScaling ¶
type ClickPipeScaling struct {
Replicas *int64 `json:"replicas,omitempty"`
}
type ClickPipeScalingRequest ¶
type ClickPipeSource ¶
type ClickPipeSource struct {
Kafka *ClickPipeKafkaSource `json:"kafka,omitempty"`
ObjectStorage *ClickPipeObjectStorageSource `json:"objectStorage,omitempty"`
ValidateSamples bool `json:"validateSamples,omitempty"`
}
type ClickPipeStateRequest ¶
type ClickPipeStateRequest struct {
Command string `json:"command"`
}
type Client ¶
type Client interface {
GetService(ctx context.Context, serviceId string) (*Service, error)
GetOrgPrivateEndpointConfig(ctx context.Context, cloudProvider string, region string) (*OrgPrivateEndpointConfig, error)
CreateService(ctx context.Context, s Service) (*Service, string, error)
WaitForServiceState(ctx context.Context, serviceId string, stateChecker func(string) bool, maxWaitSeconds int) error
UpdateService(ctx context.Context, serviceId string, s ServiceUpdate) (*Service, error)
UpdateReplicaScaling(ctx context.Context, serviceId string, s ReplicaScalingUpdate) (*Service, error)
UpdateServicePassword(ctx context.Context, serviceId string, u ServicePasswordUpdate) (*ServicePasswordUpdateResult, error)
DeleteService(ctx context.Context, serviceId string) (*Service, error)
GetOrganizationPrivateEndpoints(ctx context.Context) (*[]PrivateEndpoint, error)
UpdateOrganizationPrivateEndpoints(ctx context.Context, orgUpdate OrganizationUpdate) (*[]PrivateEndpoint, error)
GetBackupConfiguration(ctx context.Context, serviceId string) (*BackupConfiguration, error)
UpdateBackupConfiguration(ctx context.Context, serviceId string, b BackupConfiguration) (*BackupConfiguration, error)
GetClickPipe(ctx context.Context, serviceId string, clickPipeId string) (*ClickPipe, error)
CreateClickPipe(ctx context.Context, serviceId string, clickPipe ClickPipe) (*ClickPipe, error)
WaitForClickPipeState(ctx context.Context, serviceId string, clickPipeId string, stateChecker func(string) bool, maxWaitSeconds uint64) (*ClickPipe, error)
ScalingClickPipe(ctx context.Context, serviceId string, clickPipeId string, request ClickPipeScaling) (*ClickPipe, error)
ChangeClickPipeState(ctx context.Context, serviceId string, clickPipeId string, command string) (*ClickPipe, error)
DeleteClickPipe(ctx context.Context, serviceId string, clickPipeId string) error
}
type ClientImpl ¶
type ClientImpl struct {
BaseUrl string
HttpClient *http.Client
OrganizationId string
TokenKey string
TokenSecret string
}
func (*ClientImpl) ChangeClickPipeState ¶
func (*ClientImpl) CreateClickPipe ¶
func (*ClientImpl) CreateService ¶
func (*ClientImpl) DeleteClickPipe ¶
func (*ClientImpl) DeleteService ¶
func (*ClientImpl) GetBackupConfiguration ¶ added in v1.2.0
func (c *ClientImpl) GetBackupConfiguration(ctx context.Context, serviceId string) (*BackupConfiguration, error)
func (*ClientImpl) GetClickPipe ¶
func (*ClientImpl) GetOrgPrivateEndpointConfig ¶
func (c *ClientImpl) GetOrgPrivateEndpointConfig(ctx context.Context, cloudProvider string, region string) (*OrgPrivateEndpointConfig, error)
func (*ClientImpl) GetOrganizationPrivateEndpoints ¶
func (c *ClientImpl) GetOrganizationPrivateEndpoints(ctx context.Context) (*[]PrivateEndpoint, error)
func (*ClientImpl) GetService ¶
GetService - Returns service by ID
func (*ClientImpl) GetServicePrivateEndpointConfig ¶ added in v1.2.0
func (c *ClientImpl) GetServicePrivateEndpointConfig(ctx context.Context, serviceId string) (*ServicePrivateEndpointConfig, error)
func (*ClientImpl) ScalingClickPipe ¶
func (c *ClientImpl) ScalingClickPipe(ctx context.Context, serviceId string, clickPipeId string, request ClickPipeScaling) (*ClickPipe, error)
func (*ClientImpl) UpdateBackupConfiguration ¶ added in v1.2.0
func (c *ClientImpl) UpdateBackupConfiguration(ctx context.Context, serviceId string, b BackupConfiguration) (*BackupConfiguration, error)
func (*ClientImpl) UpdateOrganizationPrivateEndpoints ¶
func (c *ClientImpl) UpdateOrganizationPrivateEndpoints(ctx context.Context, orgUpdate OrganizationUpdate) (*[]PrivateEndpoint, error)
func (*ClientImpl) UpdateReplicaScaling ¶ added in v1.1.0
func (c *ClientImpl) UpdateReplicaScaling(ctx context.Context, serviceId string, s ReplicaScalingUpdate) (*Service, error)
func (*ClientImpl) UpdateService ¶
func (c *ClientImpl) UpdateService(ctx context.Context, serviceId string, s ServiceUpdate) (*Service, error)
func (*ClientImpl) UpdateServicePassword ¶
func (c *ClientImpl) UpdateServicePassword(ctx context.Context, serviceId string, u ServicePasswordUpdate) (*ServicePasswordUpdateResult, error)
func (*ClientImpl) WaitForClickPipeState ¶
func (*ClientImpl) WaitForServiceState ¶ added in v1.0.0
type ClientMock ¶
type ClientMock struct {
ChangeClickPipeStateMock mClientMockChangeClickPipeState
CreateClickPipeMock mClientMockCreateClickPipe
CreateServiceMock mClientMockCreateService
DeleteClickPipeMock mClientMockDeleteClickPipe
DeleteServiceMock mClientMockDeleteService
GetBackupConfigurationMock mClientMockGetBackupConfiguration
GetClickPipeMock mClientMockGetClickPipe
GetOrgPrivateEndpointConfigMock mClientMockGetOrgPrivateEndpointConfig
GetOrganizationPrivateEndpointsMock mClientMockGetOrganizationPrivateEndpoints
GetServiceMock mClientMockGetService
ScalingClickPipeMock mClientMockScalingClickPipe
UpdateBackupConfigurationMock mClientMockUpdateBackupConfiguration
UpdateOrganizationPrivateEndpointsMock mClientMockUpdateOrganizationPrivateEndpoints
UpdateReplicaScalingMock mClientMockUpdateReplicaScaling
UpdateServiceMock mClientMockUpdateService
UpdateServicePasswordMock mClientMockUpdateServicePassword
WaitForClickPipeStateMock mClientMockWaitForClickPipeState
WaitForServiceStateMock mClientMockWaitForServiceState
// contains filtered or unexported fields
}
ClientMock implements Client
func NewClientMock ¶
func NewClientMock(t minimock.Tester) *ClientMock
NewClientMock returns a mock for Client
func (*ClientMock) ChangeClickPipeState ¶
func (mmChangeClickPipeState *ClientMock) ChangeClickPipeState(ctx context.Context, serviceId string, clickPipeId string, command string) (cp1 *ClickPipe, err error)
ChangeClickPipeState implements Client
func (*ClientMock) ChangeClickPipeStateAfterCounter ¶
func (mmChangeClickPipeState *ClientMock) ChangeClickPipeStateAfterCounter() uint64
ChangeClickPipeStateAfterCounter returns a count of finished ClientMock.ChangeClickPipeState invocations
func (*ClientMock) ChangeClickPipeStateBeforeCounter ¶
func (mmChangeClickPipeState *ClientMock) ChangeClickPipeStateBeforeCounter() uint64
ChangeClickPipeStateBeforeCounter returns a count of ClientMock.ChangeClickPipeState invocations
func (*ClientMock) CreateClickPipe ¶
func (mmCreateClickPipe *ClientMock) CreateClickPipe(ctx context.Context, serviceId string, clickPipe ClickPipe) (cp1 *ClickPipe, err error)
CreateClickPipe implements Client
func (*ClientMock) CreateClickPipeAfterCounter ¶
func (mmCreateClickPipe *ClientMock) CreateClickPipeAfterCounter() uint64
CreateClickPipeAfterCounter returns a count of finished ClientMock.CreateClickPipe invocations
func (*ClientMock) CreateClickPipeBeforeCounter ¶
func (mmCreateClickPipe *ClientMock) CreateClickPipeBeforeCounter() uint64
CreateClickPipeBeforeCounter returns a count of ClientMock.CreateClickPipe invocations
func (*ClientMock) CreateService ¶
func (mmCreateService *ClientMock) CreateService(ctx context.Context, s Service) (sp1 *Service, s1 string, err error)
CreateService implements Client
func (*ClientMock) CreateServiceAfterCounter ¶
func (mmCreateService *ClientMock) CreateServiceAfterCounter() uint64
CreateServiceAfterCounter returns a count of finished ClientMock.CreateService invocations
func (*ClientMock) CreateServiceBeforeCounter ¶
func (mmCreateService *ClientMock) CreateServiceBeforeCounter() uint64
CreateServiceBeforeCounter returns a count of ClientMock.CreateService invocations
func (*ClientMock) DeleteClickPipe ¶
func (mmDeleteClickPipe *ClientMock) DeleteClickPipe(ctx context.Context, serviceId string, clickPipeId string) (err error)
DeleteClickPipe implements Client
func (*ClientMock) DeleteClickPipeAfterCounter ¶
func (mmDeleteClickPipe *ClientMock) DeleteClickPipeAfterCounter() uint64
DeleteClickPipeAfterCounter returns a count of finished ClientMock.DeleteClickPipe invocations
func (*ClientMock) DeleteClickPipeBeforeCounter ¶
func (mmDeleteClickPipe *ClientMock) DeleteClickPipeBeforeCounter() uint64
DeleteClickPipeBeforeCounter returns a count of ClientMock.DeleteClickPipe invocations
func (*ClientMock) DeleteService ¶
func (mmDeleteService *ClientMock) DeleteService(ctx context.Context, serviceId string) (sp1 *Service, err error)
DeleteService implements Client
func (*ClientMock) DeleteServiceAfterCounter ¶
func (mmDeleteService *ClientMock) DeleteServiceAfterCounter() uint64
DeleteServiceAfterCounter returns a count of finished ClientMock.DeleteService invocations
func (*ClientMock) DeleteServiceBeforeCounter ¶
func (mmDeleteService *ClientMock) DeleteServiceBeforeCounter() uint64
DeleteServiceBeforeCounter returns a count of ClientMock.DeleteService invocations
func (*ClientMock) GetBackupConfiguration ¶ added in v1.2.0
func (mmGetBackupConfiguration *ClientMock) GetBackupConfiguration(ctx context.Context, serviceId string) (bp1 *BackupConfiguration, err error)
GetBackupConfiguration implements Client
func (*ClientMock) GetBackupConfigurationAfterCounter ¶ added in v1.2.0
func (mmGetBackupConfiguration *ClientMock) GetBackupConfigurationAfterCounter() uint64
GetBackupConfigurationAfterCounter returns a count of finished ClientMock.GetBackupConfiguration invocations
func (*ClientMock) GetBackupConfigurationBeforeCounter ¶ added in v1.2.0
func (mmGetBackupConfiguration *ClientMock) GetBackupConfigurationBeforeCounter() uint64
GetBackupConfigurationBeforeCounter returns a count of ClientMock.GetBackupConfiguration invocations
func (*ClientMock) GetClickPipe ¶
func (mmGetClickPipe *ClientMock) GetClickPipe(ctx context.Context, serviceId string, clickPipeId string) (cp1 *ClickPipe, err error)
GetClickPipe implements Client
func (*ClientMock) GetClickPipeAfterCounter ¶
func (mmGetClickPipe *ClientMock) GetClickPipeAfterCounter() uint64
GetClickPipeAfterCounter returns a count of finished ClientMock.GetClickPipe invocations
func (*ClientMock) GetClickPipeBeforeCounter ¶
func (mmGetClickPipe *ClientMock) GetClickPipeBeforeCounter() uint64
GetClickPipeBeforeCounter returns a count of ClientMock.GetClickPipe invocations
func (*ClientMock) GetOrgPrivateEndpointConfig ¶
func (mmGetOrgPrivateEndpointConfig *ClientMock) GetOrgPrivateEndpointConfig(ctx context.Context, cloudProvider string, region string) (op1 *OrgPrivateEndpointConfig, err error)
GetOrgPrivateEndpointConfig implements Client
func (*ClientMock) GetOrgPrivateEndpointConfigAfterCounter ¶
func (mmGetOrgPrivateEndpointConfig *ClientMock) GetOrgPrivateEndpointConfigAfterCounter() uint64
GetOrgPrivateEndpointConfigAfterCounter returns a count of finished ClientMock.GetOrgPrivateEndpointConfig invocations
func (*ClientMock) GetOrgPrivateEndpointConfigBeforeCounter ¶
func (mmGetOrgPrivateEndpointConfig *ClientMock) GetOrgPrivateEndpointConfigBeforeCounter() uint64
GetOrgPrivateEndpointConfigBeforeCounter returns a count of ClientMock.GetOrgPrivateEndpointConfig invocations
func (*ClientMock) GetOrganizationPrivateEndpoints ¶
func (mmGetOrganizationPrivateEndpoints *ClientMock) GetOrganizationPrivateEndpoints(ctx context.Context) (pap1 *[]PrivateEndpoint, err error)
GetOrganizationPrivateEndpoints implements Client
func (*ClientMock) GetOrganizationPrivateEndpointsAfterCounter ¶
func (mmGetOrganizationPrivateEndpoints *ClientMock) GetOrganizationPrivateEndpointsAfterCounter() uint64
GetOrganizationPrivateEndpointsAfterCounter returns a count of finished ClientMock.GetOrganizationPrivateEndpoints invocations
func (*ClientMock) GetOrganizationPrivateEndpointsBeforeCounter ¶
func (mmGetOrganizationPrivateEndpoints *ClientMock) GetOrganizationPrivateEndpointsBeforeCounter() uint64
GetOrganizationPrivateEndpointsBeforeCounter returns a count of ClientMock.GetOrganizationPrivateEndpoints invocations
func (*ClientMock) GetService ¶
func (mmGetService *ClientMock) GetService(ctx context.Context, serviceId string) (sp1 *Service, err error)
GetService implements Client
func (*ClientMock) GetServiceAfterCounter ¶
func (mmGetService *ClientMock) GetServiceAfterCounter() uint64
GetServiceAfterCounter returns a count of finished ClientMock.GetService invocations
func (*ClientMock) GetServiceBeforeCounter ¶
func (mmGetService *ClientMock) GetServiceBeforeCounter() uint64
GetServiceBeforeCounter returns a count of ClientMock.GetService invocations
func (*ClientMock) MinimockChangeClickPipeStateDone ¶
func (m *ClientMock) MinimockChangeClickPipeStateDone() bool
MinimockChangeClickPipeStateDone returns true if the count of the ChangeClickPipeState invocations corresponds the number of defined expectations
func (*ClientMock) MinimockChangeClickPipeStateInspect ¶
func (m *ClientMock) MinimockChangeClickPipeStateInspect()
MinimockChangeClickPipeStateInspect logs each unmet expectation
func (*ClientMock) MinimockCreateClickPipeDone ¶
func (m *ClientMock) MinimockCreateClickPipeDone() bool
MinimockCreateClickPipeDone returns true if the count of the CreateClickPipe invocations corresponds the number of defined expectations
func (*ClientMock) MinimockCreateClickPipeInspect ¶
func (m *ClientMock) MinimockCreateClickPipeInspect()
MinimockCreateClickPipeInspect logs each unmet expectation
func (*ClientMock) MinimockCreateServiceDone ¶
func (m *ClientMock) MinimockCreateServiceDone() bool
MinimockCreateServiceDone returns true if the count of the CreateService invocations corresponds the number of defined expectations
func (*ClientMock) MinimockCreateServiceInspect ¶
func (m *ClientMock) MinimockCreateServiceInspect()
MinimockCreateServiceInspect logs each unmet expectation
func (*ClientMock) MinimockDeleteClickPipeDone ¶
func (m *ClientMock) MinimockDeleteClickPipeDone() bool
MinimockDeleteClickPipeDone returns true if the count of the DeleteClickPipe invocations corresponds the number of defined expectations
func (*ClientMock) MinimockDeleteClickPipeInspect ¶
func (m *ClientMock) MinimockDeleteClickPipeInspect()
MinimockDeleteClickPipeInspect logs each unmet expectation
func (*ClientMock) MinimockDeleteServiceDone ¶
func (m *ClientMock) MinimockDeleteServiceDone() bool
MinimockDeleteServiceDone returns true if the count of the DeleteService invocations corresponds the number of defined expectations
func (*ClientMock) MinimockDeleteServiceInspect ¶
func (m *ClientMock) MinimockDeleteServiceInspect()
MinimockDeleteServiceInspect logs each unmet expectation
func (*ClientMock) MinimockFinish ¶
func (m *ClientMock) MinimockFinish()
MinimockFinish checks that all mocked methods have been called the expected number of times
func (*ClientMock) MinimockGetBackupConfigurationDone ¶ added in v1.2.0
func (m *ClientMock) MinimockGetBackupConfigurationDone() bool
MinimockGetBackupConfigurationDone returns true if the count of the GetBackupConfiguration invocations corresponds the number of defined expectations
func (*ClientMock) MinimockGetBackupConfigurationInspect ¶ added in v1.2.0
func (m *ClientMock) MinimockGetBackupConfigurationInspect()
MinimockGetBackupConfigurationInspect logs each unmet expectation
func (*ClientMock) MinimockGetClickPipeDone ¶
func (m *ClientMock) MinimockGetClickPipeDone() bool
MinimockGetClickPipeDone returns true if the count of the GetClickPipe invocations corresponds the number of defined expectations
func (*ClientMock) MinimockGetClickPipeInspect ¶
func (m *ClientMock) MinimockGetClickPipeInspect()
MinimockGetClickPipeInspect logs each unmet expectation
func (*ClientMock) MinimockGetOrgPrivateEndpointConfigDone ¶
func (m *ClientMock) MinimockGetOrgPrivateEndpointConfigDone() bool
MinimockGetOrgPrivateEndpointConfigDone returns true if the count of the GetOrgPrivateEndpointConfig invocations corresponds the number of defined expectations
func (*ClientMock) MinimockGetOrgPrivateEndpointConfigInspect ¶
func (m *ClientMock) MinimockGetOrgPrivateEndpointConfigInspect()
MinimockGetOrgPrivateEndpointConfigInspect logs each unmet expectation
func (*ClientMock) MinimockGetOrganizationPrivateEndpointsDone ¶
func (m *ClientMock) MinimockGetOrganizationPrivateEndpointsDone() bool
MinimockGetOrganizationPrivateEndpointsDone returns true if the count of the GetOrganizationPrivateEndpoints invocations corresponds the number of defined expectations
func (*ClientMock) MinimockGetOrganizationPrivateEndpointsInspect ¶
func (m *ClientMock) MinimockGetOrganizationPrivateEndpointsInspect()
MinimockGetOrganizationPrivateEndpointsInspect logs each unmet expectation
func (*ClientMock) MinimockGetServiceDone ¶
func (m *ClientMock) MinimockGetServiceDone() bool
MinimockGetServiceDone returns true if the count of the GetService invocations corresponds the number of defined expectations
func (*ClientMock) MinimockGetServiceInspect ¶
func (m *ClientMock) MinimockGetServiceInspect()
MinimockGetServiceInspect logs each unmet expectation
func (*ClientMock) MinimockScalingClickPipeDone ¶
func (m *ClientMock) MinimockScalingClickPipeDone() bool
MinimockScalingClickPipeDone returns true if the count of the ScalingClickPipe invocations corresponds the number of defined expectations
func (*ClientMock) MinimockScalingClickPipeInspect ¶
func (m *ClientMock) MinimockScalingClickPipeInspect()
MinimockScalingClickPipeInspect logs each unmet expectation
func (*ClientMock) MinimockUpdateBackupConfigurationDone ¶ added in v1.2.0
func (m *ClientMock) MinimockUpdateBackupConfigurationDone() bool
MinimockUpdateBackupConfigurationDone returns true if the count of the UpdateBackupConfiguration invocations corresponds the number of defined expectations
func (*ClientMock) MinimockUpdateBackupConfigurationInspect ¶ added in v1.2.0
func (m *ClientMock) MinimockUpdateBackupConfigurationInspect()
MinimockUpdateBackupConfigurationInspect logs each unmet expectation
func (*ClientMock) MinimockUpdateOrganizationPrivateEndpointsDone ¶
func (m *ClientMock) MinimockUpdateOrganizationPrivateEndpointsDone() bool
MinimockUpdateOrganizationPrivateEndpointsDone returns true if the count of the UpdateOrganizationPrivateEndpoints invocations corresponds the number of defined expectations
func (*ClientMock) MinimockUpdateOrganizationPrivateEndpointsInspect ¶
func (m *ClientMock) MinimockUpdateOrganizationPrivateEndpointsInspect()
MinimockUpdateOrganizationPrivateEndpointsInspect logs each unmet expectation
func (*ClientMock) MinimockUpdateReplicaScalingDone ¶ added in v1.1.0
func (m *ClientMock) MinimockUpdateReplicaScalingDone() bool
MinimockUpdateReplicaScalingDone returns true if the count of the UpdateReplicaScaling invocations corresponds the number of defined expectations
func (*ClientMock) MinimockUpdateReplicaScalingInspect ¶ added in v1.1.0
func (m *ClientMock) MinimockUpdateReplicaScalingInspect()
MinimockUpdateReplicaScalingInspect logs each unmet expectation
func (*ClientMock) MinimockUpdateServiceDone ¶
func (m *ClientMock) MinimockUpdateServiceDone() bool
MinimockUpdateServiceDone returns true if the count of the UpdateService invocations corresponds the number of defined expectations
func (*ClientMock) MinimockUpdateServiceInspect ¶
func (m *ClientMock) MinimockUpdateServiceInspect()
MinimockUpdateServiceInspect logs each unmet expectation
func (*ClientMock) MinimockUpdateServicePasswordDone ¶
func (m *ClientMock) MinimockUpdateServicePasswordDone() bool
MinimockUpdateServicePasswordDone returns true if the count of the UpdateServicePassword invocations corresponds the number of defined expectations
func (*ClientMock) MinimockUpdateServicePasswordInspect ¶
func (m *ClientMock) MinimockUpdateServicePasswordInspect()
MinimockUpdateServicePasswordInspect logs each unmet expectation
func (*ClientMock) MinimockWait ¶
func (m *ClientMock) MinimockWait(timeout mm_time.Duration)
MinimockWait waits for all mocked methods to be called the expected number of times
func (*ClientMock) MinimockWaitForClickPipeStateDone ¶
func (m *ClientMock) MinimockWaitForClickPipeStateDone() bool
MinimockWaitForClickPipeStateDone returns true if the count of the WaitForClickPipeState invocations corresponds the number of defined expectations
func (*ClientMock) MinimockWaitForClickPipeStateInspect ¶
func (m *ClientMock) MinimockWaitForClickPipeStateInspect()
MinimockWaitForClickPipeStateInspect logs each unmet expectation
func (*ClientMock) MinimockWaitForServiceStateDone ¶ added in v1.0.0
func (m *ClientMock) MinimockWaitForServiceStateDone() bool
MinimockWaitForServiceStateDone returns true if the count of the WaitForServiceState invocations corresponds the number of defined expectations
func (*ClientMock) MinimockWaitForServiceStateInspect ¶ added in v1.0.0
func (m *ClientMock) MinimockWaitForServiceStateInspect()
MinimockWaitForServiceStateInspect logs each unmet expectation
func (*ClientMock) ScalingClickPipe ¶
func (mmScalingClickPipe *ClientMock) ScalingClickPipe(ctx context.Context, serviceId string, clickPipeId string, request ClickPipeScaling) (cp1 *ClickPipe, err error)
ScalingClickPipe implements Client
func (*ClientMock) ScalingClickPipeAfterCounter ¶
func (mmScalingClickPipe *ClientMock) ScalingClickPipeAfterCounter() uint64
ScalingClickPipeAfterCounter returns a count of finished ClientMock.ScalingClickPipe invocations
func (*ClientMock) ScalingClickPipeBeforeCounter ¶
func (mmScalingClickPipe *ClientMock) ScalingClickPipeBeforeCounter() uint64
ScalingClickPipeBeforeCounter returns a count of ClientMock.ScalingClickPipe invocations
func (*ClientMock) UpdateBackupConfiguration ¶ added in v1.2.0
func (mmUpdateBackupConfiguration *ClientMock) UpdateBackupConfiguration(ctx context.Context, serviceId string, b BackupConfiguration) (bp1 *BackupConfiguration, err error)
UpdateBackupConfiguration implements Client
func (*ClientMock) UpdateBackupConfigurationAfterCounter ¶ added in v1.2.0
func (mmUpdateBackupConfiguration *ClientMock) UpdateBackupConfigurationAfterCounter() uint64
UpdateBackupConfigurationAfterCounter returns a count of finished ClientMock.UpdateBackupConfiguration invocations
func (*ClientMock) UpdateBackupConfigurationBeforeCounter ¶ added in v1.2.0
func (mmUpdateBackupConfiguration *ClientMock) UpdateBackupConfigurationBeforeCounter() uint64
UpdateBackupConfigurationBeforeCounter returns a count of ClientMock.UpdateBackupConfiguration invocations
func (*ClientMock) UpdateOrganizationPrivateEndpoints ¶
func (mmUpdateOrganizationPrivateEndpoints *ClientMock) UpdateOrganizationPrivateEndpoints(ctx context.Context, orgUpdate OrganizationUpdate) (pap1 *[]PrivateEndpoint, err error)
UpdateOrganizationPrivateEndpoints implements Client
func (*ClientMock) UpdateOrganizationPrivateEndpointsAfterCounter ¶
func (mmUpdateOrganizationPrivateEndpoints *ClientMock) UpdateOrganizationPrivateEndpointsAfterCounter() uint64
UpdateOrganizationPrivateEndpointsAfterCounter returns a count of finished ClientMock.UpdateOrganizationPrivateEndpoints invocations
func (*ClientMock) UpdateOrganizationPrivateEndpointsBeforeCounter ¶
func (mmUpdateOrganizationPrivateEndpoints *ClientMock) UpdateOrganizationPrivateEndpointsBeforeCounter() uint64
UpdateOrganizationPrivateEndpointsBeforeCounter returns a count of ClientMock.UpdateOrganizationPrivateEndpoints invocations
func (*ClientMock) UpdateReplicaScaling ¶ added in v1.1.0
func (mmUpdateReplicaScaling *ClientMock) UpdateReplicaScaling(ctx context.Context, serviceId string, s ReplicaScalingUpdate) (sp1 *Service, err error)
UpdateReplicaScaling implements Client
func (*ClientMock) UpdateReplicaScalingAfterCounter ¶ added in v1.1.0
func (mmUpdateReplicaScaling *ClientMock) UpdateReplicaScalingAfterCounter() uint64
UpdateReplicaScalingAfterCounter returns a count of finished ClientMock.UpdateReplicaScaling invocations
func (*ClientMock) UpdateReplicaScalingBeforeCounter ¶ added in v1.1.0
func (mmUpdateReplicaScaling *ClientMock) UpdateReplicaScalingBeforeCounter() uint64
UpdateReplicaScalingBeforeCounter returns a count of ClientMock.UpdateReplicaScaling invocations
func (*ClientMock) UpdateService ¶
func (mmUpdateService *ClientMock) UpdateService(ctx context.Context, serviceId string, s ServiceUpdate) (sp1 *Service, err error)
UpdateService implements Client
func (*ClientMock) UpdateServiceAfterCounter ¶
func (mmUpdateService *ClientMock) UpdateServiceAfterCounter() uint64
UpdateServiceAfterCounter returns a count of finished ClientMock.UpdateService invocations
func (*ClientMock) UpdateServiceBeforeCounter ¶
func (mmUpdateService *ClientMock) UpdateServiceBeforeCounter() uint64
UpdateServiceBeforeCounter returns a count of ClientMock.UpdateService invocations
func (*ClientMock) UpdateServicePassword ¶
func (mmUpdateServicePassword *ClientMock) UpdateServicePassword(ctx context.Context, serviceId string, u ServicePasswordUpdate) (sp1 *ServicePasswordUpdateResult, err error)
UpdateServicePassword implements Client
func (*ClientMock) UpdateServicePasswordAfterCounter ¶
func (mmUpdateServicePassword *ClientMock) UpdateServicePasswordAfterCounter() uint64
UpdateServicePasswordAfterCounter returns a count of finished ClientMock.UpdateServicePassword invocations
func (*ClientMock) UpdateServicePasswordBeforeCounter ¶
func (mmUpdateServicePassword *ClientMock) UpdateServicePasswordBeforeCounter() uint64
UpdateServicePasswordBeforeCounter returns a count of ClientMock.UpdateServicePassword invocations
func (*ClientMock) WaitForClickPipeState ¶
func (mmWaitForClickPipeState *ClientMock) WaitForClickPipeState(ctx context.Context, serviceId string, clickPipeId string, stateChecker func(string) bool, maxWaitSeconds uint64) (cp1 *ClickPipe, err error)
WaitForClickPipeState implements Client
func (*ClientMock) WaitForClickPipeStateAfterCounter ¶
func (mmWaitForClickPipeState *ClientMock) WaitForClickPipeStateAfterCounter() uint64
WaitForClickPipeStateAfterCounter returns a count of finished ClientMock.WaitForClickPipeState invocations
func (*ClientMock) WaitForClickPipeStateBeforeCounter ¶
func (mmWaitForClickPipeState *ClientMock) WaitForClickPipeStateBeforeCounter() uint64
WaitForClickPipeStateBeforeCounter returns a count of ClientMock.WaitForClickPipeState invocations
func (*ClientMock) WaitForServiceState ¶ added in v1.0.0
func (mmWaitForServiceState *ClientMock) WaitForServiceState(ctx context.Context, serviceId string, stateChecker func(string) bool, maxWaitSeconds int) (err error)
WaitForServiceState implements Client
func (*ClientMock) WaitForServiceStateAfterCounter ¶ added in v1.0.0
func (mmWaitForServiceState *ClientMock) WaitForServiceStateAfterCounter() uint64
WaitForServiceStateAfterCounter returns a count of finished ClientMock.WaitForServiceState invocations
func (*ClientMock) WaitForServiceStateBeforeCounter ¶ added in v1.0.0
func (mmWaitForServiceState *ClientMock) WaitForServiceStateBeforeCounter() uint64
WaitForServiceStateBeforeCounter returns a count of ClientMock.WaitForServiceState invocations
type ClientMockChangeClickPipeStateExpectation ¶
type ClientMockChangeClickPipeStateExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockChangeClickPipeStateExpectation specifies expectation struct of the Client.ChangeClickPipeState
func (*ClientMockChangeClickPipeStateExpectation) Then ¶
func (e *ClientMockChangeClickPipeStateExpectation) Then(cp1 *ClickPipe, err error) *ClientMock
Then sets up Client.ChangeClickPipeState return parameters for the expectation previously defined by the When method
type ClientMockChangeClickPipeStateExpectationOrigins ¶
type ClientMockChangeClickPipeStateExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockChangeClickPipeStateOrigins contains origins of expectations of the Client.ChangeClickPipeState
type ClientMockChangeClickPipeStateParamPtrs ¶
type ClientMockChangeClickPipeStateParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockChangeClickPipeStateParamPtrs contains pointers to parameters of the Client.ChangeClickPipeState
type ClientMockChangeClickPipeStateParams ¶
type ClientMockChangeClickPipeStateParams struct {
// contains filtered or unexported fields
}
ClientMockChangeClickPipeStateParams contains parameters of the Client.ChangeClickPipeState
type ClientMockChangeClickPipeStateResults ¶
type ClientMockChangeClickPipeStateResults struct {
// contains filtered or unexported fields
}
ClientMockChangeClickPipeStateResults contains results of the Client.ChangeClickPipeState
type ClientMockCreateClickPipeExpectation ¶
type ClientMockCreateClickPipeExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockCreateClickPipeExpectation specifies expectation struct of the Client.CreateClickPipe
func (*ClientMockCreateClickPipeExpectation) Then ¶
func (e *ClientMockCreateClickPipeExpectation) Then(cp1 *ClickPipe, err error) *ClientMock
Then sets up Client.CreateClickPipe return parameters for the expectation previously defined by the When method
type ClientMockCreateClickPipeExpectationOrigins ¶
type ClientMockCreateClickPipeExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockCreateClickPipeOrigins contains origins of expectations of the Client.CreateClickPipe
type ClientMockCreateClickPipeParamPtrs ¶
type ClientMockCreateClickPipeParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockCreateClickPipeParamPtrs contains pointers to parameters of the Client.CreateClickPipe
type ClientMockCreateClickPipeParams ¶
type ClientMockCreateClickPipeParams struct {
// contains filtered or unexported fields
}
ClientMockCreateClickPipeParams contains parameters of the Client.CreateClickPipe
type ClientMockCreateClickPipeResults ¶
type ClientMockCreateClickPipeResults struct {
// contains filtered or unexported fields
}
ClientMockCreateClickPipeResults contains results of the Client.CreateClickPipe
type ClientMockCreateServiceExpectation ¶
type ClientMockCreateServiceExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockCreateServiceExpectation specifies expectation struct of the Client.CreateService
func (*ClientMockCreateServiceExpectation) Then ¶
func (e *ClientMockCreateServiceExpectation) Then(sp1 *Service, s1 string, err error) *ClientMock
Then sets up Client.CreateService return parameters for the expectation previously defined by the When method
type ClientMockCreateServiceExpectationOrigins ¶
type ClientMockCreateServiceExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockCreateServiceOrigins contains origins of expectations of the Client.CreateService
type ClientMockCreateServiceParamPtrs ¶
type ClientMockCreateServiceParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockCreateServiceParamPtrs contains pointers to parameters of the Client.CreateService
type ClientMockCreateServiceParams ¶
type ClientMockCreateServiceParams struct {
// contains filtered or unexported fields
}
ClientMockCreateServiceParams contains parameters of the Client.CreateService
type ClientMockCreateServiceResults ¶
type ClientMockCreateServiceResults struct {
// contains filtered or unexported fields
}
ClientMockCreateServiceResults contains results of the Client.CreateService
type ClientMockDeleteClickPipeExpectation ¶
type ClientMockDeleteClickPipeExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockDeleteClickPipeExpectation specifies expectation struct of the Client.DeleteClickPipe
func (*ClientMockDeleteClickPipeExpectation) Then ¶
func (e *ClientMockDeleteClickPipeExpectation) Then(err error) *ClientMock
Then sets up Client.DeleteClickPipe return parameters for the expectation previously defined by the When method
type ClientMockDeleteClickPipeExpectationOrigins ¶
type ClientMockDeleteClickPipeExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockDeleteClickPipeOrigins contains origins of expectations of the Client.DeleteClickPipe
type ClientMockDeleteClickPipeParamPtrs ¶
type ClientMockDeleteClickPipeParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockDeleteClickPipeParamPtrs contains pointers to parameters of the Client.DeleteClickPipe
type ClientMockDeleteClickPipeParams ¶
type ClientMockDeleteClickPipeParams struct {
// contains filtered or unexported fields
}
ClientMockDeleteClickPipeParams contains parameters of the Client.DeleteClickPipe
type ClientMockDeleteClickPipeResults ¶
type ClientMockDeleteClickPipeResults struct {
// contains filtered or unexported fields
}
ClientMockDeleteClickPipeResults contains results of the Client.DeleteClickPipe
type ClientMockDeleteServiceExpectation ¶
type ClientMockDeleteServiceExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockDeleteServiceExpectation specifies expectation struct of the Client.DeleteService
func (*ClientMockDeleteServiceExpectation) Then ¶
func (e *ClientMockDeleteServiceExpectation) Then(sp1 *Service, err error) *ClientMock
Then sets up Client.DeleteService return parameters for the expectation previously defined by the When method
type ClientMockDeleteServiceExpectationOrigins ¶
type ClientMockDeleteServiceExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockDeleteServiceOrigins contains origins of expectations of the Client.DeleteService
type ClientMockDeleteServiceParamPtrs ¶
type ClientMockDeleteServiceParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockDeleteServiceParamPtrs contains pointers to parameters of the Client.DeleteService
type ClientMockDeleteServiceParams ¶
type ClientMockDeleteServiceParams struct {
// contains filtered or unexported fields
}
ClientMockDeleteServiceParams contains parameters of the Client.DeleteService
type ClientMockDeleteServiceResults ¶
type ClientMockDeleteServiceResults struct {
// contains filtered or unexported fields
}
ClientMockDeleteServiceResults contains results of the Client.DeleteService
type ClientMockGetBackupConfigurationExpectation ¶ added in v1.2.0
type ClientMockGetBackupConfigurationExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockGetBackupConfigurationExpectation specifies expectation struct of the Client.GetBackupConfiguration
func (*ClientMockGetBackupConfigurationExpectation) Then ¶ added in v1.2.0
func (e *ClientMockGetBackupConfigurationExpectation) Then(bp1 *BackupConfiguration, err error) *ClientMock
Then sets up Client.GetBackupConfiguration return parameters for the expectation previously defined by the When method
type ClientMockGetBackupConfigurationExpectationOrigins ¶
type ClientMockGetBackupConfigurationExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockGetBackupConfigurationOrigins contains origins of expectations of the Client.GetBackupConfiguration
type ClientMockGetBackupConfigurationParamPtrs ¶ added in v1.2.0
type ClientMockGetBackupConfigurationParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockGetBackupConfigurationParamPtrs contains pointers to parameters of the Client.GetBackupConfiguration
type ClientMockGetBackupConfigurationParams ¶ added in v1.2.0
type ClientMockGetBackupConfigurationParams struct {
// contains filtered or unexported fields
}
ClientMockGetBackupConfigurationParams contains parameters of the Client.GetBackupConfiguration
type ClientMockGetBackupConfigurationResults ¶ added in v1.2.0
type ClientMockGetBackupConfigurationResults struct {
// contains filtered or unexported fields
}
ClientMockGetBackupConfigurationResults contains results of the Client.GetBackupConfiguration
type ClientMockGetClickPipeExpectation ¶
type ClientMockGetClickPipeExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockGetClickPipeExpectation specifies expectation struct of the Client.GetClickPipe
func (*ClientMockGetClickPipeExpectation) Then ¶
func (e *ClientMockGetClickPipeExpectation) Then(cp1 *ClickPipe, err error) *ClientMock
Then sets up Client.GetClickPipe return parameters for the expectation previously defined by the When method
type ClientMockGetClickPipeExpectationOrigins ¶
type ClientMockGetClickPipeExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockGetClickPipeOrigins contains origins of expectations of the Client.GetClickPipe
type ClientMockGetClickPipeParamPtrs ¶
type ClientMockGetClickPipeParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockGetClickPipeParamPtrs contains pointers to parameters of the Client.GetClickPipe
type ClientMockGetClickPipeParams ¶
type ClientMockGetClickPipeParams struct {
// contains filtered or unexported fields
}
ClientMockGetClickPipeParams contains parameters of the Client.GetClickPipe
type ClientMockGetClickPipeResults ¶
type ClientMockGetClickPipeResults struct {
// contains filtered or unexported fields
}
ClientMockGetClickPipeResults contains results of the Client.GetClickPipe
type ClientMockGetOrgPrivateEndpointConfigExpectation ¶
type ClientMockGetOrgPrivateEndpointConfigExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockGetOrgPrivateEndpointConfigExpectation specifies expectation struct of the Client.GetOrgPrivateEndpointConfig
func (*ClientMockGetOrgPrivateEndpointConfigExpectation) Then ¶
func (e *ClientMockGetOrgPrivateEndpointConfigExpectation) Then(op1 *OrgPrivateEndpointConfig, err error) *ClientMock
Then sets up Client.GetOrgPrivateEndpointConfig return parameters for the expectation previously defined by the When method
type ClientMockGetOrgPrivateEndpointConfigExpectationOrigins ¶
type ClientMockGetOrgPrivateEndpointConfigExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockGetOrgPrivateEndpointConfigOrigins contains origins of expectations of the Client.GetOrgPrivateEndpointConfig
type ClientMockGetOrgPrivateEndpointConfigParamPtrs ¶
type ClientMockGetOrgPrivateEndpointConfigParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockGetOrgPrivateEndpointConfigParamPtrs contains pointers to parameters of the Client.GetOrgPrivateEndpointConfig
type ClientMockGetOrgPrivateEndpointConfigParams ¶
type ClientMockGetOrgPrivateEndpointConfigParams struct {
// contains filtered or unexported fields
}
ClientMockGetOrgPrivateEndpointConfigParams contains parameters of the Client.GetOrgPrivateEndpointConfig
type ClientMockGetOrgPrivateEndpointConfigResults ¶
type ClientMockGetOrgPrivateEndpointConfigResults struct {
// contains filtered or unexported fields
}
ClientMockGetOrgPrivateEndpointConfigResults contains results of the Client.GetOrgPrivateEndpointConfig
type ClientMockGetOrganizationPrivateEndpointsExpectation ¶
type ClientMockGetOrganizationPrivateEndpointsExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockGetOrganizationPrivateEndpointsExpectation specifies expectation struct of the Client.GetOrganizationPrivateEndpoints
func (*ClientMockGetOrganizationPrivateEndpointsExpectation) Then ¶ added in v1.1.0
func (e *ClientMockGetOrganizationPrivateEndpointsExpectation) Then(pap1 *[]PrivateEndpoint, err error) *ClientMock
Then sets up Client.GetOrganizationPrivateEndpoints return parameters for the expectation previously defined by the When method
type ClientMockGetOrganizationPrivateEndpointsExpectationOrigins ¶
type ClientMockGetOrganizationPrivateEndpointsExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockGetOrganizationPrivateEndpointsOrigins contains origins of expectations of the Client.GetOrganizationPrivateEndpoints
type ClientMockGetOrganizationPrivateEndpointsParamPtrs ¶ added in v1.1.0
type ClientMockGetOrganizationPrivateEndpointsParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockGetOrganizationPrivateEndpointsParamPtrs contains pointers to parameters of the Client.GetOrganizationPrivateEndpoints
type ClientMockGetOrganizationPrivateEndpointsParams ¶ added in v1.1.0
type ClientMockGetOrganizationPrivateEndpointsParams struct {
// contains filtered or unexported fields
}
ClientMockGetOrganizationPrivateEndpointsParams contains parameters of the Client.GetOrganizationPrivateEndpoints
type ClientMockGetOrganizationPrivateEndpointsResults ¶
type ClientMockGetOrganizationPrivateEndpointsResults struct {
// contains filtered or unexported fields
}
ClientMockGetOrganizationPrivateEndpointsResults contains results of the Client.GetOrganizationPrivateEndpoints
type ClientMockGetServiceExpectation ¶
type ClientMockGetServiceExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockGetServiceExpectation specifies expectation struct of the Client.GetService
func (*ClientMockGetServiceExpectation) Then ¶
func (e *ClientMockGetServiceExpectation) Then(sp1 *Service, err error) *ClientMock
Then sets up Client.GetService return parameters for the expectation previously defined by the When method
type ClientMockGetServiceExpectationOrigins ¶
type ClientMockGetServiceExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockGetServiceOrigins contains origins of expectations of the Client.GetService
type ClientMockGetServiceParamPtrs ¶
type ClientMockGetServiceParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockGetServiceParamPtrs contains pointers to parameters of the Client.GetService
type ClientMockGetServiceParams ¶
type ClientMockGetServiceParams struct {
// contains filtered or unexported fields
}
ClientMockGetServiceParams contains parameters of the Client.GetService
type ClientMockGetServiceResults ¶
type ClientMockGetServiceResults struct {
// contains filtered or unexported fields
}
ClientMockGetServiceResults contains results of the Client.GetService
type ClientMockScalingClickPipeExpectation ¶
type ClientMockScalingClickPipeExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockScalingClickPipeExpectation specifies expectation struct of the Client.ScalingClickPipe
func (*ClientMockScalingClickPipeExpectation) Then ¶
func (e *ClientMockScalingClickPipeExpectation) Then(cp1 *ClickPipe, err error) *ClientMock
Then sets up Client.ScalingClickPipe return parameters for the expectation previously defined by the When method
type ClientMockScalingClickPipeExpectationOrigins ¶
type ClientMockScalingClickPipeExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockScalingClickPipeOrigins contains origins of expectations of the Client.ScalingClickPipe
type ClientMockScalingClickPipeParamPtrs ¶
type ClientMockScalingClickPipeParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockScalingClickPipeParamPtrs contains pointers to parameters of the Client.ScalingClickPipe
type ClientMockScalingClickPipeParams ¶
type ClientMockScalingClickPipeParams struct {
// contains filtered or unexported fields
}
ClientMockScalingClickPipeParams contains parameters of the Client.ScalingClickPipe
type ClientMockScalingClickPipeResults ¶
type ClientMockScalingClickPipeResults struct {
// contains filtered or unexported fields
}
ClientMockScalingClickPipeResults contains results of the Client.ScalingClickPipe
type ClientMockUpdateBackupConfigurationExpectation ¶ added in v1.2.0
type ClientMockUpdateBackupConfigurationExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockUpdateBackupConfigurationExpectation specifies expectation struct of the Client.UpdateBackupConfiguration
func (*ClientMockUpdateBackupConfigurationExpectation) Then ¶ added in v1.2.0
func (e *ClientMockUpdateBackupConfigurationExpectation) Then(bp1 *BackupConfiguration, err error) *ClientMock
Then sets up Client.UpdateBackupConfiguration return parameters for the expectation previously defined by the When method
type ClientMockUpdateBackupConfigurationExpectationOrigins ¶
type ClientMockUpdateBackupConfigurationExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockUpdateBackupConfigurationOrigins contains origins of expectations of the Client.UpdateBackupConfiguration
type ClientMockUpdateBackupConfigurationParamPtrs ¶ added in v1.2.0
type ClientMockUpdateBackupConfigurationParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockUpdateBackupConfigurationParamPtrs contains pointers to parameters of the Client.UpdateBackupConfiguration
type ClientMockUpdateBackupConfigurationParams ¶ added in v1.2.0
type ClientMockUpdateBackupConfigurationParams struct {
// contains filtered or unexported fields
}
ClientMockUpdateBackupConfigurationParams contains parameters of the Client.UpdateBackupConfiguration
type ClientMockUpdateBackupConfigurationResults ¶ added in v1.2.0
type ClientMockUpdateBackupConfigurationResults struct {
// contains filtered or unexported fields
}
ClientMockUpdateBackupConfigurationResults contains results of the Client.UpdateBackupConfiguration
type ClientMockUpdateOrganizationPrivateEndpointsExpectation ¶
type ClientMockUpdateOrganizationPrivateEndpointsExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockUpdateOrganizationPrivateEndpointsExpectation specifies expectation struct of the Client.UpdateOrganizationPrivateEndpoints
func (*ClientMockUpdateOrganizationPrivateEndpointsExpectation) Then ¶
func (e *ClientMockUpdateOrganizationPrivateEndpointsExpectation) Then(pap1 *[]PrivateEndpoint, err error) *ClientMock
Then sets up Client.UpdateOrganizationPrivateEndpoints return parameters for the expectation previously defined by the When method
type ClientMockUpdateOrganizationPrivateEndpointsExpectationOrigins ¶
type ClientMockUpdateOrganizationPrivateEndpointsExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockUpdateOrganizationPrivateEndpointsOrigins contains origins of expectations of the Client.UpdateOrganizationPrivateEndpoints
type ClientMockUpdateOrganizationPrivateEndpointsParamPtrs ¶
type ClientMockUpdateOrganizationPrivateEndpointsParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockUpdateOrganizationPrivateEndpointsParamPtrs contains pointers to parameters of the Client.UpdateOrganizationPrivateEndpoints
type ClientMockUpdateOrganizationPrivateEndpointsParams ¶
type ClientMockUpdateOrganizationPrivateEndpointsParams struct {
// contains filtered or unexported fields
}
ClientMockUpdateOrganizationPrivateEndpointsParams contains parameters of the Client.UpdateOrganizationPrivateEndpoints
type ClientMockUpdateOrganizationPrivateEndpointsResults ¶
type ClientMockUpdateOrganizationPrivateEndpointsResults struct {
// contains filtered or unexported fields
}
ClientMockUpdateOrganizationPrivateEndpointsResults contains results of the Client.UpdateOrganizationPrivateEndpoints
type ClientMockUpdateReplicaScalingExpectation ¶ added in v1.1.0
type ClientMockUpdateReplicaScalingExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockUpdateReplicaScalingExpectation specifies expectation struct of the Client.UpdateReplicaScaling
func (*ClientMockUpdateReplicaScalingExpectation) Then ¶ added in v1.1.0
func (e *ClientMockUpdateReplicaScalingExpectation) Then(sp1 *Service, err error) *ClientMock
Then sets up Client.UpdateReplicaScaling return parameters for the expectation previously defined by the When method
type ClientMockUpdateReplicaScalingExpectationOrigins ¶
type ClientMockUpdateReplicaScalingExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockUpdateReplicaScalingOrigins contains origins of expectations of the Client.UpdateReplicaScaling
type ClientMockUpdateReplicaScalingParamPtrs ¶ added in v1.1.0
type ClientMockUpdateReplicaScalingParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockUpdateReplicaScalingParamPtrs contains pointers to parameters of the Client.UpdateReplicaScaling
type ClientMockUpdateReplicaScalingParams ¶ added in v1.1.0
type ClientMockUpdateReplicaScalingParams struct {
// contains filtered or unexported fields
}
ClientMockUpdateReplicaScalingParams contains parameters of the Client.UpdateReplicaScaling
type ClientMockUpdateReplicaScalingResults ¶ added in v1.1.0
type ClientMockUpdateReplicaScalingResults struct {
// contains filtered or unexported fields
}
ClientMockUpdateReplicaScalingResults contains results of the Client.UpdateReplicaScaling
type ClientMockUpdateServiceExpectation ¶
type ClientMockUpdateServiceExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockUpdateServiceExpectation specifies expectation struct of the Client.UpdateService
func (*ClientMockUpdateServiceExpectation) Then ¶
func (e *ClientMockUpdateServiceExpectation) Then(sp1 *Service, err error) *ClientMock
Then sets up Client.UpdateService return parameters for the expectation previously defined by the When method
type ClientMockUpdateServiceExpectationOrigins ¶
type ClientMockUpdateServiceExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockUpdateServiceOrigins contains origins of expectations of the Client.UpdateService
type ClientMockUpdateServiceParamPtrs ¶
type ClientMockUpdateServiceParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockUpdateServiceParamPtrs contains pointers to parameters of the Client.UpdateService
type ClientMockUpdateServiceParams ¶
type ClientMockUpdateServiceParams struct {
// contains filtered or unexported fields
}
ClientMockUpdateServiceParams contains parameters of the Client.UpdateService
type ClientMockUpdateServicePasswordExpectation ¶
type ClientMockUpdateServicePasswordExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockUpdateServicePasswordExpectation specifies expectation struct of the Client.UpdateServicePassword
func (*ClientMockUpdateServicePasswordExpectation) Then ¶
func (e *ClientMockUpdateServicePasswordExpectation) Then(sp1 *ServicePasswordUpdateResult, err error) *ClientMock
Then sets up Client.UpdateServicePassword return parameters for the expectation previously defined by the When method
type ClientMockUpdateServicePasswordExpectationOrigins ¶
type ClientMockUpdateServicePasswordExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockUpdateServicePasswordOrigins contains origins of expectations of the Client.UpdateServicePassword
type ClientMockUpdateServicePasswordParamPtrs ¶
type ClientMockUpdateServicePasswordParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockUpdateServicePasswordParamPtrs contains pointers to parameters of the Client.UpdateServicePassword
type ClientMockUpdateServicePasswordParams ¶
type ClientMockUpdateServicePasswordParams struct {
// contains filtered or unexported fields
}
ClientMockUpdateServicePasswordParams contains parameters of the Client.UpdateServicePassword
type ClientMockUpdateServicePasswordResults ¶
type ClientMockUpdateServicePasswordResults struct {
// contains filtered or unexported fields
}
ClientMockUpdateServicePasswordResults contains results of the Client.UpdateServicePassword
type ClientMockUpdateServiceResults ¶
type ClientMockUpdateServiceResults struct {
// contains filtered or unexported fields
}
ClientMockUpdateServiceResults contains results of the Client.UpdateService
type ClientMockWaitForClickPipeStateExpectation ¶
type ClientMockWaitForClickPipeStateExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockWaitForClickPipeStateExpectation specifies expectation struct of the Client.WaitForClickPipeState
func (*ClientMockWaitForClickPipeStateExpectation) Then ¶
func (e *ClientMockWaitForClickPipeStateExpectation) Then(cp1 *ClickPipe, err error) *ClientMock
Then sets up Client.WaitForClickPipeState return parameters for the expectation previously defined by the When method
type ClientMockWaitForClickPipeStateExpectationOrigins ¶
type ClientMockWaitForClickPipeStateExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockWaitForClickPipeStateOrigins contains origins of expectations of the Client.WaitForClickPipeState
type ClientMockWaitForClickPipeStateParamPtrs ¶
type ClientMockWaitForClickPipeStateParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockWaitForClickPipeStateParamPtrs contains pointers to parameters of the Client.WaitForClickPipeState
type ClientMockWaitForClickPipeStateParams ¶
type ClientMockWaitForClickPipeStateParams struct {
// contains filtered or unexported fields
}
ClientMockWaitForClickPipeStateParams contains parameters of the Client.WaitForClickPipeState
type ClientMockWaitForClickPipeStateResults ¶
type ClientMockWaitForClickPipeStateResults struct {
// contains filtered or unexported fields
}
ClientMockWaitForClickPipeStateResults contains results of the Client.WaitForClickPipeState
type ClientMockWaitForServiceStateExpectation ¶ added in v1.0.0
type ClientMockWaitForServiceStateExpectation struct {
Counter uint64
// contains filtered or unexported fields
}
ClientMockWaitForServiceStateExpectation specifies expectation struct of the Client.WaitForServiceState
func (*ClientMockWaitForServiceStateExpectation) Then ¶ added in v1.0.0
func (e *ClientMockWaitForServiceStateExpectation) Then(err error) *ClientMock
Then sets up Client.WaitForServiceState return parameters for the expectation previously defined by the When method
type ClientMockWaitForServiceStateExpectationOrigins ¶
type ClientMockWaitForServiceStateExpectationOrigins struct {
// contains filtered or unexported fields
}
ClientMockWaitForServiceStateOrigins contains origins of expectations of the Client.WaitForServiceState
type ClientMockWaitForServiceStateParamPtrs ¶ added in v1.0.0
type ClientMockWaitForServiceStateParamPtrs struct {
// contains filtered or unexported fields
}
ClientMockWaitForServiceStateParamPtrs contains pointers to parameters of the Client.WaitForServiceState
type ClientMockWaitForServiceStateParams ¶ added in v1.0.0
type ClientMockWaitForServiceStateParams struct {
// contains filtered or unexported fields
}
ClientMockWaitForServiceStateParams contains parameters of the Client.WaitForServiceState
type ClientMockWaitForServiceStateResults ¶ added in v1.0.0
type ClientMockWaitForServiceStateResults struct {
// contains filtered or unexported fields
}
ClientMockWaitForServiceStateResults contains results of the Client.WaitForServiceState
type IpAccessUpdate ¶
type OrgPrivateEndpointConfig ¶
type OrgPrivateEndpointConfig struct {
EndpointServiceId string `json:"endpointServiceId,omitempty"`
}
type OrgPrivateEndpointsUpdate ¶
type OrgPrivateEndpointsUpdate struct {
Add []PrivateEndpoint `json:"add,omitempty"`
Remove []PrivateEndpoint `json:"remove,omitempty"`
}
type OrgResult ¶
type OrgResult struct {
CreatedAt string `json:"createdAt,omitempty"`
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
PrivateEndpoints []PrivateEndpoint `json:"privateEndpoints,omitempty"`
}
type OrganizationUpdate ¶
type OrganizationUpdate struct {
PrivateEndpoints *OrgPrivateEndpointsUpdate `json:"privateEndpoints"`
}
type PrivateEndpoint ¶
type ReplicaScalingUpdate ¶ added in v1.1.0
type ReplicaScalingUpdate struct {
IdleScaling *bool `json:"idleScaling,omitempty"` // bool pointer so that `false“ is not omitted
MinReplicaMemoryGb *int `json:"minReplicaMemoryGb,omitempty"`
MaxReplicaMemoryGb *int `json:"maxReplicaMemoryGb,omitempty"`
NumReplicas *int `json:"numReplicas,omitempty"`
IdleTimeoutMinutes *int `json:"idleTimeoutMinutes,omitempty"`
}
type ResponseWithResult ¶ added in v1.2.0
type ResponseWithResult[T any] struct { Result T `json:"result"` }
type Service ¶
type Service struct {
Id string `json:"id,omitempty"`
BYOCId *string `json:"byocId,omitempty"`
Name string `json:"name"`
Provider string `json:"provider"`
Region string `json:"region"`
Tier string `json:"tier"`
IdleScaling bool `json:"idleScaling"`
IpAccessList []IpAccess `json:"ipAccessList"`
MinTotalMemoryGb *int `json:"minTotalMemoryGb,omitempty"`
MaxTotalMemoryGb *int `json:"maxTotalMemoryGb,omitempty"`
MinReplicaMemoryGb *int `json:"minReplicaMemoryGb,omitempty"`
MaxReplicaMemoryGb *int `json:"maxReplicaMemoryGb,omitempty"`
NumReplicas *int `json:"numReplicas,omitempty"`
IdleTimeoutMinutes *int `json:"idleTimeoutMinutes,omitempty"`
State string `json:"state,omitempty"`
Endpoints []Endpoint `json:"endpoints,omitempty"`
IAMRole string `json:"iamRole,omitempty"`
PrivateEndpointConfig *ServicePrivateEndpointConfig `json:"privateEndpointConfig,omitempty"`
PrivateEndpointIds []string `json:"privateEndpointIds,omitempty"`
EncryptionKey string `json:"encryptionKey,omitempty"`
EncryptionAssumedRoleIdentifier string `json:"encryptionAssumedRoleIdentifier,omitempty"`
BackupConfiguration *BackupConfiguration `json:"backupConfiguration,omitempty"`
ReleaseChannel string `json:"releaseChannel,omitempty"`
}
func (*Service) FixMemoryBounds ¶ added in v1.1.0
func (s *Service) FixMemoryBounds()
FixMemoryBounds ensures the MinTotalMemoryGb and MaxTotalMemoryGb fields are set before doing an API call to create the service This is needed because there is a different interface between the /replicaScaling and the service creation API calls.
type ServiceBody ¶
type ServiceBody struct {
Service Service `json:"service"`
}
type ServicePasswordUpdate ¶
type ServicePasswordUpdateResult ¶
type ServicePasswordUpdateResult struct {
Password string `json:"password,omitempty"`
}
type ServiceResponseResult ¶
type ServiceStateUpdate ¶
type ServiceStateUpdate struct {
Command string `json:"command"`
}
type ServiceUpdate ¶
type ServiceUpdate struct {
Name string `json:"name,omitempty"`
IpAccessList *IpAccessUpdate `json:"ipAccessList,omitempty"`
PrivateEndpointIds *PrivateEndpointIdsUpdate `json:"privateEndpointIds,omitempty"`
ReleaseChannel string `json:"releaseChannel,omitempty"`
}