Documentation ¶
Index ¶
- func ValidateDaprComponentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDaprComponentResiliencyPolicyID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DaprComponentId
- type DaprComponentResiliencyPoliciesClient
- func (c DaprComponentResiliencyPoliciesClient) CreateOrUpdate(ctx context.Context, id DaprComponentResiliencyPolicyId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c DaprComponentResiliencyPoliciesClient) Delete(ctx context.Context, id DaprComponentResiliencyPolicyId) (result DeleteOperationResponse, err error)
- func (c DaprComponentResiliencyPoliciesClient) Get(ctx context.Context, id DaprComponentResiliencyPolicyId) (result GetOperationResponse, err error)
- func (c DaprComponentResiliencyPoliciesClient) List(ctx context.Context, id DaprComponentId) (result ListOperationResponse, err error)
- func (c DaprComponentResiliencyPoliciesClient) ListComplete(ctx context.Context, id DaprComponentId) (ListCompleteResult, error)
- func (c DaprComponentResiliencyPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id DaprComponentId, ...) (result ListCompleteResult, err error)
- type DaprComponentResiliencyPolicy
- type DaprComponentResiliencyPolicyCircuitBreakerPolicyConfiguration
- type DaprComponentResiliencyPolicyConfiguration
- type DaprComponentResiliencyPolicyHTTPRetryBackOffConfiguration
- type DaprComponentResiliencyPolicyHTTPRetryPolicyConfiguration
- type DaprComponentResiliencyPolicyId
- func NewDaprComponentResiliencyPolicyID(subscriptionId string, resourceGroupName string, managedEnvironmentName string, ...) DaprComponentResiliencyPolicyId
- func ParseDaprComponentResiliencyPolicyID(input string) (*DaprComponentResiliencyPolicyId, error)
- func ParseDaprComponentResiliencyPolicyIDInsensitively(input string) (*DaprComponentResiliencyPolicyId, error)
- type DaprComponentResiliencyPolicyOperationPredicate
- type DaprComponentResiliencyPolicyProperties
- type DaprComponentResiliencyPolicyTimeoutPolicyConfiguration
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDaprComponentID ¶
ValidateDaprComponentID checks that 'input' can be parsed as a Dapr Component ID
func ValidateDaprComponentResiliencyPolicyID ¶
func ValidateDaprComponentResiliencyPolicyID(input interface{}, key string) (warnings []string, errors []error)
ValidateDaprComponentResiliencyPolicyID checks that 'input' can be parsed as a Dapr Component Resiliency Policy ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DaprComponentResiliencyPolicy }
type DaprComponentId ¶
type DaprComponentId struct { SubscriptionId string ResourceGroupName string ManagedEnvironmentName string DaprComponentName string }
DaprComponentId is a struct representing the Resource ID for a Dapr Component
func NewDaprComponentID ¶
func NewDaprComponentID(subscriptionId string, resourceGroupName string, managedEnvironmentName string, daprComponentName string) DaprComponentId
NewDaprComponentID returns a new DaprComponentId struct
func ParseDaprComponentID ¶
func ParseDaprComponentID(input string) (*DaprComponentId, error)
ParseDaprComponentID parses 'input' into a DaprComponentId
func ParseDaprComponentIDInsensitively ¶
func ParseDaprComponentIDInsensitively(input string) (*DaprComponentId, error)
ParseDaprComponentIDInsensitively parses 'input' case-insensitively into a DaprComponentId note: this method should only be used for API response data and not user input
func (*DaprComponentId) FromParseResult ¶
func (id *DaprComponentId) FromParseResult(input resourceids.ParseResult) error
func (DaprComponentId) ID ¶
func (id DaprComponentId) ID() string
ID returns the formatted Dapr Component ID
func (DaprComponentId) Segments ¶
func (id DaprComponentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dapr Component ID
func (DaprComponentId) String ¶
func (id DaprComponentId) String() string
String returns a human-readable description of this Dapr Component ID
type DaprComponentResiliencyPoliciesClient ¶
type DaprComponentResiliencyPoliciesClient struct {
Client *resourcemanager.Client
}
func NewDaprComponentResiliencyPoliciesClientWithBaseURI ¶
func NewDaprComponentResiliencyPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*DaprComponentResiliencyPoliciesClient, error)
func (DaprComponentResiliencyPoliciesClient) CreateOrUpdate ¶
func (c DaprComponentResiliencyPoliciesClient) CreateOrUpdate(ctx context.Context, id DaprComponentResiliencyPolicyId, input DaprComponentResiliencyPolicy) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DaprComponentResiliencyPoliciesClient) Delete ¶
func (c DaprComponentResiliencyPoliciesClient) Delete(ctx context.Context, id DaprComponentResiliencyPolicyId) (result DeleteOperationResponse, err error)
Delete ...
func (DaprComponentResiliencyPoliciesClient) Get ¶
func (c DaprComponentResiliencyPoliciesClient) Get(ctx context.Context, id DaprComponentResiliencyPolicyId) (result GetOperationResponse, err error)
Get ...
func (DaprComponentResiliencyPoliciesClient) List ¶
func (c DaprComponentResiliencyPoliciesClient) List(ctx context.Context, id DaprComponentId) (result ListOperationResponse, err error)
List ...
func (DaprComponentResiliencyPoliciesClient) ListComplete ¶
func (c DaprComponentResiliencyPoliciesClient) ListComplete(ctx context.Context, id DaprComponentId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (DaprComponentResiliencyPoliciesClient) ListCompleteMatchingPredicate ¶
func (c DaprComponentResiliencyPoliciesClient) ListCompleteMatchingPredicate(ctx context.Context, id DaprComponentId, predicate DaprComponentResiliencyPolicyOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DaprComponentResiliencyPolicy ¶
type DaprComponentResiliencyPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DaprComponentResiliencyPolicyProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type DaprComponentResiliencyPolicyConfiguration ¶
type DaprComponentResiliencyPolicyConfiguration struct { CircuitBreakerPolicy *DaprComponentResiliencyPolicyCircuitBreakerPolicyConfiguration `json:"circuitBreakerPolicy,omitempty"` HTTPRetryPolicy *DaprComponentResiliencyPolicyHTTPRetryPolicyConfiguration `json:"httpRetryPolicy,omitempty"` TimeoutPolicy *DaprComponentResiliencyPolicyTimeoutPolicyConfiguration `json:"timeoutPolicy,omitempty"` }
type DaprComponentResiliencyPolicyHTTPRetryPolicyConfiguration ¶
type DaprComponentResiliencyPolicyHTTPRetryPolicyConfiguration struct { MaxRetries *int64 `json:"maxRetries,omitempty"` RetryBackOff *DaprComponentResiliencyPolicyHTTPRetryBackOffConfiguration `json:"retryBackOff,omitempty"` }
type DaprComponentResiliencyPolicyId ¶
type DaprComponentResiliencyPolicyId struct { SubscriptionId string ResourceGroupName string ManagedEnvironmentName string DaprComponentName string ResiliencyPolicyName string }
DaprComponentResiliencyPolicyId is a struct representing the Resource ID for a Dapr Component Resiliency Policy
func NewDaprComponentResiliencyPolicyID ¶
func NewDaprComponentResiliencyPolicyID(subscriptionId string, resourceGroupName string, managedEnvironmentName string, daprComponentName string, resiliencyPolicyName string) DaprComponentResiliencyPolicyId
NewDaprComponentResiliencyPolicyID returns a new DaprComponentResiliencyPolicyId struct
func ParseDaprComponentResiliencyPolicyID ¶
func ParseDaprComponentResiliencyPolicyID(input string) (*DaprComponentResiliencyPolicyId, error)
ParseDaprComponentResiliencyPolicyID parses 'input' into a DaprComponentResiliencyPolicyId
func ParseDaprComponentResiliencyPolicyIDInsensitively ¶
func ParseDaprComponentResiliencyPolicyIDInsensitively(input string) (*DaprComponentResiliencyPolicyId, error)
ParseDaprComponentResiliencyPolicyIDInsensitively parses 'input' case-insensitively into a DaprComponentResiliencyPolicyId note: this method should only be used for API response data and not user input
func (*DaprComponentResiliencyPolicyId) FromParseResult ¶
func (id *DaprComponentResiliencyPolicyId) FromParseResult(input resourceids.ParseResult) error
func (DaprComponentResiliencyPolicyId) ID ¶
func (id DaprComponentResiliencyPolicyId) ID() string
ID returns the formatted Dapr Component Resiliency Policy ID
func (DaprComponentResiliencyPolicyId) Segments ¶
func (id DaprComponentResiliencyPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dapr Component Resiliency Policy ID
func (DaprComponentResiliencyPolicyId) String ¶
func (id DaprComponentResiliencyPolicyId) String() string
String returns a human-readable description of this Dapr Component Resiliency Policy ID
type DaprComponentResiliencyPolicyOperationPredicate ¶
type DaprComponentResiliencyPolicyOperationPredicate struct { Id *string Name *string Type *string }
func (DaprComponentResiliencyPolicyOperationPredicate) Matches ¶
func (p DaprComponentResiliencyPolicyOperationPredicate) Matches(input DaprComponentResiliencyPolicy) bool
type DaprComponentResiliencyPolicyProperties ¶
type DaprComponentResiliencyPolicyProperties struct { InboundPolicy *DaprComponentResiliencyPolicyConfiguration `json:"inboundPolicy,omitempty"` OutboundPolicy *DaprComponentResiliencyPolicyConfiguration `json:"outboundPolicy,omitempty"` }
type DaprComponentResiliencyPolicyTimeoutPolicyConfiguration ¶
type DaprComponentResiliencyPolicyTimeoutPolicyConfiguration struct {
ResponseTimeoutInSeconds *int64 `json:"responseTimeoutInSeconds,omitempty"`
}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DaprComponentResiliencyPolicy }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []DaprComponentResiliencyPolicy }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DaprComponentResiliencyPolicy }
Source Files ¶
- client.go
- id_daprcomponent.go
- id_daprcomponentresiliencypolicy.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_daprcomponentresiliencypolicy.go
- model_daprcomponentresiliencypolicycircuitbreakerpolicyconfiguration.go
- model_daprcomponentresiliencypolicyconfiguration.go
- model_daprcomponentresiliencypolicyhttpretrybackoffconfiguration.go
- model_daprcomponentresiliencypolicyhttpretrypolicyconfiguration.go
- model_daprcomponentresiliencypolicyproperties.go
- model_daprcomponentresiliencypolicytimeoutpolicyconfiguration.go
- predicates.go
- version.go