resourcegroups

package
v0.26.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

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.

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

View Source
const (
	ResourceGroupType = "System.Resources/resourceGroups"
)

Variables

This section is empty.

Functions

func NewListResourceGroups

func NewListResourceGroups(opts armrpc_controller.Options) (armrpc_controller.Controller, error)

NewListResourceGroups creates a new controller for listing resource groups.

func NewListResources

NewListResources creates a new controller for listing resources stored in a resource group.

Types

type ListResourceGroups

ListResourceGroups is the controller implementation to get the list of UCP resource groups.

func (*ListResourceGroups) Run

Run() function extracts the plane type and name from the request URL, queries the storage client for resource groups in the scope of the plane, creates a response with the list of resource groups and returns an OK response with the list of resource groups.

type ListResources

ListResources is the controller implementation to get the list of resources stored in a resource group.

func (*ListResources) Run

Run implements controller.Controller.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL