apiserver

package
v0.0.0-...-8e80975 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "platform-as-code"
View Source
const GroupVersion = "v1"
View Source
const INSTANCE_QUERY_PARAM = "instance"
View Source
const KIND_QUERY_PARAM = "kind"
View Source
const NAMESPACE_QUERY_PARAM = "namespace"

Variables

View Source
var (
	Scheme             = runtime.NewScheme()
	Codecs             = serializer.NewCodecFactory(Scheme)
	SchemeBuilder      = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme        = SchemeBuilder.AddToScheme
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}
)

Functions

func GetManPage

func GetManPage(customResourceKind string, namespace string) string

func InstallKubePlusPaths

func InstallKubePlusPaths()

Types

type CompletedConfig

type CompletedConfig struct {
	// contains filtered or unexported fields
}

func (CompletedConfig) New

func (c CompletedConfig) New() (*DiscoveryServer, error)

New returns a new instance of DiscoveryServer from the given config.

type Config

type Config struct {
	GenericConfig *genericapiserver.RecommendedConfig
	ExtraConfig   ExtraConfig
}

func (*Config) Complete

func (cfg *Config) Complete() CompletedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

type DiscoveryServer

type DiscoveryServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

DiscoveryServer contains state for a Kubernetes cluster master/api server.

type ExtraConfig

type ExtraConfig struct {
}

Jump to

Keyboard shortcuts

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