kubernetes

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 6 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDiscoveryDoc

NewDiscoveryDoc creates a new DiscoveryDoc controller with the given options and returns it, or returns an error if the controller cannot be created.

func NewOpenAPIv2Doc

NewOpenAPIv2Doc creates a new OpenAPIv2Doc controller with the given options and returns it, or returns an error if the controller cannot be created.

func NewOpenAPIv3Doc

NewOpenAPIv3Doc creates a new OpenAPIv3Doc controller with the given options and returns it, or returns an error if the controller cannot be created.

Types

type DiscoveryDoc

type DiscoveryDoc struct {
	armrpc_controller.BaseController
}

DiscoveryDoc is the controller implementation to handle the discovery document.

func (*DiscoveryDoc) Run

Run responds to a request to /apis/api.ucp.dev/v1alpha3 with a 200 OK response and an empty list of CRDs.

type OpenAPIv2Doc

type OpenAPIv2Doc struct {
	armrpc_controller.BaseController
}

OpenAPIv2Doc is the controller implementation to handle the OpenAPIv2Doc endpoint.

func (*OpenAPIv2Doc) Run

Run() responds to a request to /apis/api.ucp.dev/v1alpha3/openapi/v2 with a 200 OK response and a swagger (openapi v2) doc, without logging every request.

type OpenAPIv3Doc

type OpenAPIv3Doc struct {
	armrpc_controller.BaseController
}

OpenAPIv3Doc is the controller implementation to handle the OpenAPIv3Doc endpoint.

func (*OpenAPIv3Doc) Run

Run() responds to a request to /apis/api.ucp.dev/v1alpha3/openapi/v3 with a 200 OK response and a swagger (openapi v3) doc.

Jump to

Keyboard shortcuts

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