Documentation ¶
Index ¶
- func ValidateDaprComponentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateManagedEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DaprComponent
- type DaprComponentId
- type DaprComponentOperationPredicate
- type DaprComponentProperties
- type DaprComponentsClient
- func (c DaprComponentsClient) CreateOrUpdate(ctx context.Context, id DaprComponentId, input DaprComponent) (result CreateOrUpdateOperationResponse, err error)
- func (c DaprComponentsClient) Delete(ctx context.Context, id DaprComponentId) (result DeleteOperationResponse, err error)
- func (c DaprComponentsClient) Get(ctx context.Context, id DaprComponentId) (result GetOperationResponse, err error)
- func (c DaprComponentsClient) List(ctx context.Context, id ManagedEnvironmentId) (resp ListOperationResponse, err error)
- func (c DaprComponentsClient) ListComplete(ctx context.Context, id ManagedEnvironmentId) (ListCompleteResult, error)
- func (c DaprComponentsClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedEnvironmentId, ...) (resp ListCompleteResult, err error)
- func (c DaprComponentsClient) ListSecrets(ctx context.Context, id DaprComponentId) (result ListSecretsOperationResponse, err error)
- type DaprMetadata
- type DaprSecret
- type DaprSecretsCollection
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ListSecretsOperationResponse
- type ManagedEnvironmentId
- type Secret
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 ValidateManagedEnvironmentID ¶
func ValidateManagedEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagedEnvironmentID checks that 'input' can be parsed as a Managed Environment ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *DaprComponent }
type DaprComponent ¶
type DaprComponent struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DaprComponentProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
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) 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 DaprComponentOperationPredicate ¶
func (DaprComponentOperationPredicate) Matches ¶
func (p DaprComponentOperationPredicate) Matches(input DaprComponent) bool
type DaprComponentProperties ¶
type DaprComponentProperties struct { ComponentType *string `json:"componentType,omitempty"` IgnoreErrors *bool `json:"ignoreErrors,omitempty"` InitTimeout *string `json:"initTimeout,omitempty"` Metadata *[]DaprMetadata `json:"metadata,omitempty"` Scopes *[]string `json:"scopes,omitempty"` Secrets *[]Secret `json:"secrets,omitempty"` Version *string `json:"version,omitempty"` }
type DaprComponentsClient ¶
type DaprComponentsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewDaprComponentsClientWithBaseURI ¶
func NewDaprComponentsClientWithBaseURI(endpoint string) DaprComponentsClient
func (DaprComponentsClient) CreateOrUpdate ¶
func (c DaprComponentsClient) CreateOrUpdate(ctx context.Context, id DaprComponentId, input DaprComponent) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DaprComponentsClient) Delete ¶
func (c DaprComponentsClient) Delete(ctx context.Context, id DaprComponentId) (result DeleteOperationResponse, err error)
Delete ...
func (DaprComponentsClient) Get ¶
func (c DaprComponentsClient) Get(ctx context.Context, id DaprComponentId) (result GetOperationResponse, err error)
Get ...
func (DaprComponentsClient) List ¶
func (c DaprComponentsClient) List(ctx context.Context, id ManagedEnvironmentId) (resp ListOperationResponse, err error)
List ...
func (DaprComponentsClient) ListComplete ¶
func (c DaprComponentsClient) ListComplete(ctx context.Context, id ManagedEnvironmentId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (DaprComponentsClient) ListCompleteMatchingPredicate ¶
func (c DaprComponentsClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedEnvironmentId, predicate DaprComponentOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (DaprComponentsClient) ListSecrets ¶
func (c DaprComponentsClient) ListSecrets(ctx context.Context, id DaprComponentId) (result ListSecretsOperationResponse, err error)
ListSecrets ...
type DaprMetadata ¶
type DaprSecret ¶ added in v0.20220930.1112029
type DaprSecretsCollection ¶
type DaprSecretsCollection struct {
Value []DaprSecret `json:"value"`
}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *DaprComponent }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []DaprComponent
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]DaprComponent // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ListSecretsOperationResponse ¶
type ListSecretsOperationResponse struct { HttpResponse *http.Response Model *DaprSecretsCollection }
type ManagedEnvironmentId ¶
type ManagedEnvironmentId struct { SubscriptionId string ResourceGroupName string ManagedEnvironmentName string }
ManagedEnvironmentId is a struct representing the Resource ID for a Managed Environment
func NewManagedEnvironmentID ¶
func NewManagedEnvironmentID(subscriptionId string, resourceGroupName string, managedEnvironmentName string) ManagedEnvironmentId
NewManagedEnvironmentID returns a new ManagedEnvironmentId struct
func ParseManagedEnvironmentID ¶
func ParseManagedEnvironmentID(input string) (*ManagedEnvironmentId, error)
ParseManagedEnvironmentID parses 'input' into a ManagedEnvironmentId
func ParseManagedEnvironmentIDInsensitively ¶
func ParseManagedEnvironmentIDInsensitively(input string) (*ManagedEnvironmentId, error)
ParseManagedEnvironmentIDInsensitively parses 'input' case-insensitively into a ManagedEnvironmentId note: this method should only be used for API response data and not user input
func (ManagedEnvironmentId) ID ¶
func (id ManagedEnvironmentId) ID() string
ID returns the formatted Managed Environment ID
func (ManagedEnvironmentId) Segments ¶
func (id ManagedEnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Environment ID
func (ManagedEnvironmentId) String ¶
func (id ManagedEnvironmentId) String() string
String returns a human-readable description of this Managed Environment ID
Source Files ¶
- client.go
- id_daprcomponent.go
- id_managedenvironment.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listsecrets_autorest.go
- model_daprcomponent.go
- model_daprcomponentproperties.go
- model_daprmetadata.go
- model_daprsecret.go
- model_daprsecretscollection.go
- model_secret.go
- predicates.go
- version.go