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.0
type CozyServer struct {
GenericAPIServer *genericapiserver.GenericAPIServer
}
CozyServer holds the state for the Kubernetes master/api server.
Click to show internal directories.
Click to hide internal directories.