apiserver

package
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Scheme defines methods for serializing and deserializing API objects.
	Scheme = runtime.NewScheme()
	// Codecs provides methods for retrieving codecs and serializers for specific
	// versions and content types.
	Codecs            = serializer.NewCodecFactory(Scheme)
	CozyComponentName = "cozy"
)

Functions

This section is empty.

Types

type CompletedConfig

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

CompletedConfig embeds a private pointer that cannot be created outside of this package.

func (CompletedConfig) New

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

New returns a new instance of CozyServer from the given configuration.

type Config

type Config struct {
	GenericConfig  *genericapiserver.RecommendedConfig
	ResourceConfig *config.ResourceConfig
}

Config defines the configuration for the apiserver.

func (*Config) Complete

func (cfg *Config) Complete() CompletedConfig

Complete fills in any fields that are not set but are required for valid operation.

type CozyServer added in v0.37.1

type CozyServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
}

CozyServer holds the state for the Kubernetes master/api server.

Jump to

Keyboard shortcuts

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