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 ¶
- func NewGetIcon(opts controller.Options) (controller.Controller, error)
- func NewGetResourceProviderSummary(opts armrpc_controller.Options) (armrpc_controller.Controller, error)
- func NewListResourceProviderSummaries(opts armrpc_controller.Options) (armrpc_controller.Controller, error)
- type GetIcon
- type GetResourceProviderSummary
- type ListResourceProviderSummaries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetIcon ¶ added in v0.60.0
func NewGetIcon(opts controller.Options) (controller.Controller, error)
NewGetIcon creates a new GetIcon controller.
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 GetIcon ¶ added in v0.60.0
type GetIcon struct {
controller.Operation[*datamodel.ResourceType, datamodel.ResourceType]
}
GetIcon is the controller implementation to get a resource type's icon by hash.
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.