Documentation ¶
Index ¶
- Constants
- func IsNotFound(err error) bool
- type BackupConfiguration
- type Client
- type ClientImpl
- func (c *ClientImpl) CreateService(ctx context.Context, s Service) (*Service, 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) 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) 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) WaitForServiceState(ctx context.Context, serviceId string, stateChecker func(string) bool, ...) error
- type ClientMock
- 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 (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 (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) MinimockCreateServiceDone() bool
- func (m *ClientMock) MinimockCreateServiceInspect()
- 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) 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) 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) MinimockWaitForServiceStateDone() bool
- func (m *ClientMock) MinimockWaitForServiceStateInspect()
- 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 (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 ClientMockCreateServiceExpectation
- type ClientMockCreateServiceParamPtrs
- type ClientMockCreateServiceParams
- type ClientMockCreateServiceResults
- type ClientMockDeleteServiceExpectation
- type ClientMockDeleteServiceParamPtrs
- type ClientMockDeleteServiceParams
- type ClientMockDeleteServiceResults
- type ClientMockGetBackupConfigurationExpectation
- type ClientMockGetBackupConfigurationParamPtrs
- type ClientMockGetBackupConfigurationParams
- type ClientMockGetBackupConfigurationResults
- type ClientMockGetOrgPrivateEndpointConfigExpectation
- type ClientMockGetOrgPrivateEndpointConfigParamPtrs
- type ClientMockGetOrgPrivateEndpointConfigParams
- type ClientMockGetOrgPrivateEndpointConfigResults
- type ClientMockGetOrganizationPrivateEndpointsExpectation
- type ClientMockGetOrganizationPrivateEndpointsParamPtrs
- type ClientMockGetOrganizationPrivateEndpointsParams
- type ClientMockGetOrganizationPrivateEndpointsResults
- type ClientMockGetServiceExpectation
- type ClientMockGetServiceParamPtrs
- type ClientMockGetServiceParams
- type ClientMockGetServiceResults
- type ClientMockUpdateBackupConfigurationExpectation
- type ClientMockUpdateBackupConfigurationParamPtrs
- type ClientMockUpdateBackupConfigurationParams
- type ClientMockUpdateBackupConfigurationResults
- type ClientMockUpdateOrganizationPrivateEndpointsExpectation
- type ClientMockUpdateOrganizationPrivateEndpointsParamPtrs
- type ClientMockUpdateOrganizationPrivateEndpointsParams
- type ClientMockUpdateOrganizationPrivateEndpointsResults
- type ClientMockUpdateReplicaScalingExpectation
- type ClientMockUpdateReplicaScalingParamPtrs
- type ClientMockUpdateReplicaScalingParams
- type ClientMockUpdateReplicaScalingResults
- type ClientMockUpdateServiceExpectation
- type ClientMockUpdateServiceParamPtrs
- type ClientMockUpdateServiceParams
- type ClientMockUpdateServicePasswordExpectation
- type ClientMockUpdateServicePasswordParamPtrs
- type ClientMockUpdateServicePasswordParams
- type ClientMockUpdateServicePasswordResults
- type ClientMockUpdateServiceResults
- type ClientMockWaitForServiceStateExpectation
- 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 ( TierDevelopment = "development" TierProduction = "production" ReleaseChannelDefault = "default" ReleaseChannelFast = "fast" StateProvisioning = "provisioning" StateStopped = "stopped" StateStopping = "stopping" ResponseHeaderRateLimitReset = "X-RateLimit-Reset" )
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶ added in v1.0.0
Types ¶
type BackupConfiguration ¶ added in v1.2.0
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) }
type ClientImpl ¶
type ClientImpl struct { BaseUrl string HttpClient *http.Client OrganizationId string TokenKey string TokenSecret string }
func (*ClientImpl) CreateService ¶
func (*ClientImpl) DeleteService ¶
func (*ClientImpl) GetBackupConfiguration ¶ added in v1.2.0
func (c *ClientImpl) GetBackupConfiguration(ctx context.Context, serviceId string) (*BackupConfiguration, error)
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) 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) WaitForServiceState ¶ added in v1.0.0
type ClientMock ¶
type ClientMock struct { CreateServiceMock mClientMockCreateService DeleteServiceMock mClientMockDeleteService GetBackupConfigurationMock mClientMockGetBackupConfiguration GetOrgPrivateEndpointConfigMock mClientMockGetOrgPrivateEndpointConfig GetOrganizationPrivateEndpointsMock mClientMockGetOrganizationPrivateEndpoints GetServiceMock mClientMockGetService UpdateBackupConfigurationMock mClientMockUpdateBackupConfiguration UpdateOrganizationPrivateEndpointsMock mClientMockUpdateOrganizationPrivateEndpoints UpdateReplicaScalingMock mClientMockUpdateReplicaScaling UpdateServiceMock mClientMockUpdateService UpdateServicePasswordMock mClientMockUpdateServicePassword 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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"` 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:"-"` MaxReplicaMemoryGb *int `json:"-"` 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"` }