Documentation ¶
Index ¶
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePublisherID(input interface{}, key string) (warnings []string, errors []error)
- type ClusterId
- type GetOperationResponse
- type ListByClusterCompleteResult
- type ListByClusterOperationResponse
- type Publisher
- type PublisherId
- type PublisherOperationPredicate
- type PublisherProperties
- type PublishersClient
- func (c PublishersClient) Get(ctx context.Context, id PublisherId) (result GetOperationResponse, err error)
- func (c PublishersClient) ListByCluster(ctx context.Context, id ClusterId) (result ListByClusterOperationResponse, err error)
- func (c PublishersClient) ListByClusterComplete(ctx context.Context, id ClusterId) (ListByClusterCompleteResult, error)
- func (c PublishersClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate PublisherOperationPredicate) (result ListByClusterCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
func ValidatePublisherID ¶
ValidatePublisherID checks that 'input' can be parsed as a Publisher ID
Types ¶
type ClusterId ¶
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type GetOperationResponse ¶
type ListByClusterCompleteResult ¶
type ListByClusterCompleteResult struct {
Items []Publisher
}
type Publisher ¶
type Publisher struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PublisherProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PublisherId ¶
type PublisherId struct { SubscriptionId string ResourceGroupName string ClusterName string PublisherName string }
PublisherId is a struct representing the Resource ID for a Publisher
func NewPublisherID ¶
func NewPublisherID(subscriptionId string, resourceGroupName string, clusterName string, publisherName string) PublisherId
NewPublisherID returns a new PublisherId struct
func ParsePublisherID ¶
func ParsePublisherID(input string) (*PublisherId, error)
ParsePublisherID parses 'input' into a PublisherId
func ParsePublisherIDInsensitively ¶
func ParsePublisherIDInsensitively(input string) (*PublisherId, error)
ParsePublisherIDInsensitively parses 'input' case-insensitively into a PublisherId note: this method should only be used for API response data and not user input
func (PublisherId) Segments ¶
func (id PublisherId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Publisher ID
func (PublisherId) String ¶
func (id PublisherId) String() string
String returns a human-readable description of this Publisher ID
type PublisherOperationPredicate ¶
func (PublisherOperationPredicate) Matches ¶
func (p PublisherOperationPredicate) Matches(input Publisher) bool
type PublisherProperties ¶
type PublisherProperties struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
}
type PublishersClient ¶
type PublishersClient struct {
Client *resourcemanager.Client
}
func NewPublishersClientWithBaseURI ¶
func NewPublishersClientWithBaseURI(sdkApi sdkEnv.Api) (*PublishersClient, error)
func (PublishersClient) Get ¶
func (c PublishersClient) Get(ctx context.Context, id PublisherId) (result GetOperationResponse, err error)
Get ...
func (PublishersClient) ListByCluster ¶
func (c PublishersClient) ListByCluster(ctx context.Context, id ClusterId) (result ListByClusterOperationResponse, err error)
ListByCluster ...
func (PublishersClient) ListByClusterComplete ¶
func (c PublishersClient) ListByClusterComplete(ctx context.Context, id ClusterId) (ListByClusterCompleteResult, error)
ListByClusterComplete retrieves all the results into a single object
func (PublishersClient) ListByClusterCompleteMatchingPredicate ¶
func (c PublishersClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate PublisherOperationPredicate) (result ListByClusterCompleteResult, err error)
ListByClusterCompleteMatchingPredicate retrieves all the results and then applies the predicate