Documentation ¶
Overview ¶
Copyright 2023 The Radius Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2023 The Radius Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetResourceProviderSummary ¶
func NewGetResourceProviderSummary(opts armrpc_controller.Options) (armrpc_controller.Controller, error)
NewGetResourceProviderSummary creates a new controller for listing resources stored in a resource group.
func NewListResourceProviderSummaries ¶
func NewListResourceProviderSummaries(opts armrpc_controller.Options) (armrpc_controller.Controller, error)
NewListResourceProviderSummaries creates a new controller for listing the summaries of all resource providers.
Types ¶
type GetResourceProviderSummary ¶
type GetResourceProviderSummary struct { armrpc_controller.Operation[*datamodel.ResourceProviderSummary, datamodel.ResourceProviderSummary] }
GetResourceProviderSummary is the controller implementation to get the list of resources stored in a resource group.
func (*GetResourceProviderSummary) Run ¶
func (r *GetResourceProviderSummary) Run(ctx context.Context, w http.ResponseWriter, req *http.Request) (armrpc_rest.Response, error)
Run implements controller.Controller.
type ListResourceProviderSummaries ¶
type ListResourceProviderSummaries struct { armrpc_controller.Operation[*datamodel.ResourceProviderSummary, datamodel.ResourceProviderSummary] }
ListResourceProviderSummaries is the controller implementation to list the summaries of all resource providers.
func (*ListResourceProviderSummaries) Run ¶
func (r *ListResourceProviderSummaries) Run(ctx context.Context, w http.ResponseWriter, req *http.Request) (armrpc_rest.Response, error)
Run implements controller.Controller.