Documentation ¶
Overview ¶
Package k8s provides resources which interface with Kubernetes.
Package k8s provides resources which interface with Kubernetes.
Package k8s provides resources which interface with Kubernetes.
Package k8s provides resources which interface with Kubernetes.
Package k8s provides resources which interface with Kubernetes.
Package k8s provides resources which interface with Kubernetes.
Package k8s provides resources which interface with Kubernetes.
Package k8s provides resources which interface with Kubernetes.
Package k8s provides resources which interface with Kubernetes.
Package k8s provides resources which interface with Kubernetes.
Index ¶
- Constants
- type APIServerConfig
- type APIServerConfigExtension
- type APIServerConfigSpec
- type AdmissionControlConfig
- type AdmissionControlConfigExtension
- type AdmissionControlConfigSpec
- type AdmissionPluginSpec
- type AuditPolicyConfig
- type AuditPolicyConfigExtension
- type AuditPolicyConfigSpec
- type BootstrapManifestsConfig
- type BootstrapManifestsConfigExtension
- type BootstrapManifestsConfigSpec
- type ConfigStatus
- type ConfigStatusExtension
- type ConfigStatusSpec
- type ControllerManagerConfig
- type ControllerManagerConfigExtension
- type ControllerManagerConfigSpec
- type Endpoint
- type EndpointExtension
- type EndpointList
- type EndpointSpec
- type ExtraManifest
- type ExtraManifestsConfig
- type ExtraManifestsConfigExtension
- type ExtraManifestsConfigSpec
- type ExtraVolume
- type KubePrismConfig
- type KubePrismConfigExtension
- type KubePrismConfigSpec
- type KubePrismEndpoint
- type KubePrismEndpoints
- type KubePrismEndpointsExtension
- type KubePrismEndpointsSpec
- type KubePrismStatuses
- type KubePrismStatusesExtension
- type KubePrismStatusesSpec
- type KubeletConfig
- type KubeletConfigExtension
- type KubeletConfigSpec
- type KubeletLifecycle
- type KubeletLifecycleExtension
- type KubeletLifecycleSpec
- type KubeletSpec
- type KubeletSpecExtension
- type KubeletSpecSpec
- type Manifest
- type ManifestExtension
- type ManifestSpec
- type ManifestStatus
- type ManifestStatusExtension
- type ManifestStatusSpec
- type NodeCordonedSpec
- type NodeCordonedSpecExtension
- type NodeCordonedSpecSpec
- type NodeIP
- type NodeIPConfig
- type NodeIPConfigExtension
- type NodeIPConfigSpec
- type NodeIPExtension
- type NodeIPSpec
- type NodeLabelSpec
- type NodeLabelSpecExtension
- type NodeLabelSpecSpec
- type NodeStatus
- type NodeStatusExtension
- type NodeStatusSpec
- type NodeTaintSpec
- type NodeTaintSpecExtension
- type NodeTaintSpecSpec
- type Nodename
- type NodenameExtension
- type NodenameSpec
- type Resources
- type SchedulerConfig
- type SchedulerConfigExtension
- type SchedulerConfigSpec
- type SecretsStatus
- type SecretsStatusExtension
- type SecretsStatusSpec
- type SingleManifest
- type StaticPod
- type StaticPodExtension
- type StaticPodServerStatus
- type StaticPodServerStatusExtension
- type StaticPodServerStatusSpec
- type StaticPodSpec
- type StaticPodStatus
- type StaticPodStatusExtension
- type StaticPodStatusSpec
Constants ¶
const APIServerConfigID = resource.ID(APIServerID)
APIServerConfigID is a singleton resource ID for APIServerConfig.
const APIServerConfigType = resource.Type("APIServerConfigs.kubernetes.talos.dev")
APIServerConfigType is type of APIServerConfig resource.
const APIServerID = "kube-apiserver"
APIServerID is a generic ID for resources related to kube-apiserver.
const AdmissionControlConfigID = resource.ID("admission-control")
AdmissionControlConfigID is a singleton resource ID for AdmissionControlConfig.
const AdmissionControlConfigType = resource.Type("AdmissionControlConfigs.kubernetes.talos.dev")
AdmissionControlConfigType is type of AdmissionControlConfig resource.
const AuditPolicyConfigID = resource.ID("audit-policy")
AuditPolicyConfigID is a singleton resource ID for AuditPolicyConfig.
const AuditPolicyConfigType = resource.Type("AuditPolicyConfigs.kubernetes.talos.dev")
AuditPolicyConfigType is type of AuditPolicyConfig resource.
const BootstrapManifestsConfigID = resource.ID("manifests")
BootstrapManifestsConfigID is a singleton resource ID for BootstrapManifestsConfig.
const BootstrapManifestsConfigType = resource.Type("BootstrapManifestsConfigs.kubernetes.talos.dev")
BootstrapManifestsConfigType is type of BootstrapManifestsConfig resource.
const ConfigStatusStaticPodID = resource.ID("static-pods")
ConfigStatusStaticPodID is resource ID for ConfigStatus resource for static pods.
const ConfigStatusType = resource.Type("ConfigStatuses.kubernetes.talos.dev")
ConfigStatusType is type of ConfigStatus resource.
const ControlPlaneAPIServerEndpointsID = resource.ID("kube-apiserver")
ControlPlaneAPIServerEndpointsID is resource ID for kube-apiserver based Endpoints.
const ControlPlaneDiscoveredEndpointsID = resource.ID("discovery")
ControlPlaneDiscoveredEndpointsID is resource ID for cluster discovery based Endpoints.
const ControlPlaneKubernetesEndpointsID = resource.ID("controlplane")
ControlPlaneKubernetesEndpointsID is resource ID for control plane endpoint-based Endpoints.
const ControlPlaneNamespaceName resource.Namespace = "controlplane"
ControlPlaneNamespaceName contains resources supporting Kubernetes control plane.
const ControllerManagerConfigID = resource.ID(ControllerManagerID)
ControllerManagerConfigID is a singleton resource ID for ControllerManagerConfig.
const ControllerManagerConfigType = resource.Type("ControllerManagerConfigs.kubernetes.talos.dev")
ControllerManagerConfigType is type of ControllerManagerConfig resource.
const ControllerManagerID = "kube-controller-manager"
ControllerManagerID is a generic ID for resources related to kube-controller-manager.
const EndpointType = resource.Type("Endpoints.kubernetes.talos.dev")
EndpointType is type of Endpoint resource.
const ExtraManifestsConfigID = resource.ID("extra-manifests")
ExtraManifestsConfigID is a singleton resource ID for ExtraManifestsConfig.
const ExtraManifestsConfigType = resource.Type("ExtraManifestsConfigs.kubernetes.talos.dev")
ExtraManifestsConfigType is type of ExtraManifestsConfig resource.
const KubePrismConfigID = resource.ID("k8s-loadbalancer-config")
KubePrismConfigID the singleton config resource ID.
const KubePrismConfigType = resource.Type("KubePrismConfigs.kubernetes.talos.dev")
KubePrismConfigType is type of KubePrismConfig resource.
const KubePrismEndpointsID = resource.ID("k8s-cluster")
KubePrismEndpointsID the singleton balancer data resource ID.
const KubePrismEndpointsType = resource.Type("KubePrismEndpoints.kubernetes.talos.dev")
KubePrismEndpointsType is type of KubePrismEndpoints resource.
const KubePrismStatusesID = resource.ID("k8s-loadbalancer")
KubePrismStatusesID the singleton balancer health data resource ID.
const KubePrismStatusesType = resource.Type("KubePrismStatuses.kubernetes.talos.dev")
KubePrismStatusesType is type of KubePrismStatuses resource.
const KubeletConfigType = resource.Type("KubeletConfigs.kubernetes.talos.dev")
KubeletConfigType is type of KubeletConfig resource.
const KubeletID = resource.ID("kubelet")
KubeletID is the ID of KubeletConfig resource.
const KubeletLifecycleID = resource.ID("kubelet")
KubeletLifecycleID is the singleton ID of the resource.
const KubeletLifecycleType = resource.Type("KubeletLifecycles.kubernetes.talos.dev")
KubeletLifecycleType is type of KubeletLifecycle resource.
const KubeletSpecType = resource.Type("KubeletSpecs.kubernetes.talos.dev")
KubeletSpecType is type of KubeletSpec resource.
const ManifestStatusID = resource.ID("manifests")
ManifestStatusID is a singleton resource ID.
const ManifestStatusType = resource.Type("ManifestStatuses.kubernetes.talos.dev")
ManifestStatusType is type of ManifestStatus resource.
const ManifestType = resource.Type("Manifests.kubernetes.talos.dev")
ManifestType is type of Manifest resource.
const NamespaceName resource.Namespace = "k8s"
NamespaceName contains resources supporting Kubernetes components on all node types.
const NodeAddressFilterNoK8s = "no-k8s"
NodeAddressFilterNoK8s is the ID for the node address filter which removes any Kubernetes IPs.
const NodeAddressFilterOnlyK8s = "only-k8s"
NodeAddressFilterOnlyK8s is the ID for the node address filter which leaves only Kubernetes IPs.
const NodeCordonedID = resource.ID("cordoned")
NodeCordonedID is the ID of the NodeCordonedSpec resource.
const NodeCordonedSpecType = resource.Type("NodeCordonedSpecs.k8s.talos.dev")
NodeCordonedSpecType is the type.
const NodeIPConfigType = resource.Type("NodeIPConfigs.kubernetes.talos.dev")
NodeIPConfigType is type of NodeIPConfig resource.
const NodeIPType = resource.Type("NodeIPs.kubernetes.talos.dev")
NodeIPType is type of NodeIP resource.
const NodeLabelSpecType = resource.Type("NodeLabelSpecs.k8s.talos.dev")
NodeLabelSpecType is the type.
const NodeStatusType = resource.Type("NodeStatuses.kubernetes.talos.dev")
NodeStatusType is type of NodeStatus resource.
const NodeTaintSpecType = resource.Type("NodeTaintSpecs.k8s.talos.dev")
NodeTaintSpecType is the type.
const NodenameID = resource.ID("nodename")
NodenameID is a singleton resource ID for Nodename.
const NodenameType = resource.Type("Nodenames.kubernetes.talos.dev")
NodenameType is type of Nodename resource.
const SchedulerConfigID = resource.ID(SchedulerID)
SchedulerConfigID is a singleton resource ID for SchedulerConfig.
const SchedulerConfigType = resource.Type("SchedulerConfigs.kubernetes.talos.dev")
SchedulerConfigType is type of SchedulerConfig resource.
const SchedulerID = "kube-scheduler"
SchedulerID is a generic ID for resources related to kube-scheduler.
const SecretsStatusType = resource.Type("SecretStatuses.kubernetes.talos.dev")
SecretsStatusType is type of SecretsStatus resource.
const StaticPodSecretsStaticPodID = resource.ID("static-pods")
StaticPodSecretsStaticPodID is resource ID for SecretStatus resource for static pods.
const StaticPodServerStatusResourceID = "static-pod-server-status"
StaticPodServerStatusResourceID is the resource ID under which the static pod server status will be saved.
const StaticPodServerStatusType = resource.Type("StaticPodServerStatuses.kubernetes.talos.dev")
StaticPodServerStatusType is type of StaticPodServerStatus resource.
const StaticPodStatusType = resource.Type("StaticPodStatuses.kubernetes.talos.dev")
StaticPodStatusType is type of StaticPodStatus resource.
const StaticPodType = resource.Type("StaticPods.kubernetes.talos.dev")
StaticPodType is type of StaticPod resource.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIServerConfig ¶
type APIServerConfig = typed.Resource[APIServerConfigSpec, APIServerConfigExtension]
APIServerConfig represents configuration for kube-apiserver.
func NewAPIServerConfig ¶
func NewAPIServerConfig() *APIServerConfig
NewAPIServerConfig returns new APIServerConfig resource.
type APIServerConfigExtension ¶ added in v1.4.0
type APIServerConfigExtension struct{}
APIServerConfigExtension defines APIServerConfig resource definition.
func (APIServerConfigExtension) ResourceDefinition ¶ added in v1.4.0
func (APIServerConfigExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
type APIServerConfigSpec ¶
type APIServerConfigSpec struct { Image string `yaml:"image" protobuf:"1"` CloudProvider string `yaml:"cloudProvider" protobuf:"2"` ControlPlaneEndpoint string `yaml:"controlPlaneEndpoint" protobuf:"3"` EtcdServers []string `yaml:"etcdServers" protobuf:"4"` LocalPort int `yaml:"localPort" protobuf:"5"` ServiceCIDRs []string `yaml:"serviceCIDR" protobuf:"6"` ExtraArgs map[string]string `yaml:"extraArgs" protobuf:"7"` ExtraVolumes []ExtraVolume `yaml:"extraVolumes" protobuf:"8"` EnvironmentVariables map[string]string `yaml:"environmentVariables" protobuf:"9"` PodSecurityPolicyEnabled bool `yaml:"podSecurityPolicyEnabled" protobuf:"10"` AdvertisedAddress string `yaml:"advertisedAddress" protobuf:"11"` Resources Resources `yaml:"resources" protobuf:"12"` }
APIServerConfigSpec is configuration for kube-apiserver.
func (APIServerConfigSpec) DeepCopy ¶
func (o APIServerConfigSpec) DeepCopy() APIServerConfigSpec
DeepCopy generates a deep copy of APIServerConfigSpec.
type AdmissionControlConfig ¶
type AdmissionControlConfig = typed.Resource[AdmissionControlConfigSpec, AdmissionControlConfigExtension]
AdmissionControlConfig represents configuration for kube-apiserver Admission Control plugins.
func NewAdmissionControlConfig ¶
func NewAdmissionControlConfig() *AdmissionControlConfig
NewAdmissionControlConfig returns new AdmissionControlConfig resource.
type AdmissionControlConfigExtension ¶ added in v1.4.0
type AdmissionControlConfigExtension struct{}
AdmissionControlConfigExtension defines AdmissionControlConfig resource definition.
func (AdmissionControlConfigExtension) ResourceDefinition ¶ added in v1.4.0
func (AdmissionControlConfigExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
type AdmissionControlConfigSpec ¶
type AdmissionControlConfigSpec struct {
Config []AdmissionPluginSpec `yaml:"config" protobuf:"1"`
}
AdmissionControlConfigSpec is configuration for kube-apiserver.
func (AdmissionControlConfigSpec) DeepCopy ¶
func (o AdmissionControlConfigSpec) DeepCopy() AdmissionControlConfigSpec
DeepCopy generates a deep copy of AdmissionControlConfigSpec.
type AdmissionPluginSpec ¶
type AdmissionPluginSpec struct { Name string `yaml:"name" protobuf:"1"` Configuration map[string]interface{} `yaml:"configuration" protobuf:"2"` }
AdmissionPluginSpec is a single admission plugin configuration Admission Control plugins.
type AuditPolicyConfig ¶
type AuditPolicyConfig = typed.Resource[AuditPolicyConfigSpec, AuditPolicyConfigExtension]
AuditPolicyConfig represents configuration for kube-apiserver audit policy.
func NewAuditPolicyConfig ¶
func NewAuditPolicyConfig() *AuditPolicyConfig
NewAuditPolicyConfig returns new AuditPolicyConfig resource.
type AuditPolicyConfigExtension ¶ added in v1.4.0
type AuditPolicyConfigExtension struct{}
AuditPolicyConfigExtension defines AuditPolicyConfig resource definition.
func (AuditPolicyConfigExtension) ResourceDefinition ¶ added in v1.4.0
func (AuditPolicyConfigExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
type AuditPolicyConfigSpec ¶
type AuditPolicyConfigSpec struct {
Config map[string]interface{} `yaml:"config" protobuf:"1"`
}
AuditPolicyConfigSpec is audit policy configuration for kube-apiserver.
func (AuditPolicyConfigSpec) DeepCopy ¶
func (o AuditPolicyConfigSpec) DeepCopy() AuditPolicyConfigSpec
DeepCopy generates a deep copy of AuditPolicyConfigSpec.
type BootstrapManifestsConfig ¶
type BootstrapManifestsConfig = typed.Resource[BootstrapManifestsConfigSpec, BootstrapManifestsConfigExtension]
BootstrapManifestsConfig represents configuration for bootstrap manifests.
func NewBootstrapManifestsConfig ¶
func NewBootstrapManifestsConfig() *BootstrapManifestsConfig
NewBootstrapManifestsConfig returns new BootstrapManifestsConfig resource.
type BootstrapManifestsConfigExtension ¶ added in v1.4.0
type BootstrapManifestsConfigExtension struct{}
BootstrapManifestsConfigExtension defines BootstrapManifestsConfig resource definition.
func (BootstrapManifestsConfigExtension) ResourceDefinition ¶ added in v1.4.0
func (BootstrapManifestsConfigExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
type BootstrapManifestsConfigSpec ¶
type BootstrapManifestsConfigSpec struct { Server string `yaml:"string" protobuf:"1"` ClusterDomain string `yaml:"clusterDomain" protobuf:"2"` PodCIDRs []string `yaml:"podCIDRs" protobuf:"3"` ProxyEnabled bool `yaml:"proxyEnabled" protobuf:"4"` ProxyImage string `yaml:"proxyImage" protobuf:"5"` ProxyArgs []string `yaml:"proxyArgs" protobuf:"6"` CoreDNSEnabled bool `yaml:"coreDNSEnabled" protobuf:"7"` CoreDNSImage string `yaml:"coreDNSImage" protobuf:"8"` DNSServiceIP string `yaml:"dnsServiceIP" protobuf:"9"` DNSServiceIPv6 string `yaml:"dnsServiceIPv6" protobuf:"10"` FlannelEnabled bool `yaml:"flannelEnabled" protobuf:"11"` FlannelImage string `yaml:"flannelImage" protobuf:"12"` FlannelCNIImage string `yaml:"flannelCNIImage" protobuf:"13"` FlannelExtraArgs []string `yaml:"flannelExtraArgs" protobuf:"16"` PodSecurityPolicyEnabled bool `yaml:"podSecurityPolicyEnabled" protobuf:"14"` TalosAPIServiceEnabled bool `yaml:"talosAPIServiceEnabled" protobuf:"15"` }
BootstrapManifestsConfigSpec is configuration for bootstrap manifests.
func (BootstrapManifestsConfigSpec) DeepCopy ¶
func (o BootstrapManifestsConfigSpec) DeepCopy() BootstrapManifestsConfigSpec
DeepCopy generates a deep copy of BootstrapManifestsConfigSpec.
type ConfigStatus ¶
type ConfigStatus = typed.Resource[ConfigStatusSpec, ConfigStatusExtension]
ConfigStatus resource holds definition of rendered secrets.
func NewConfigStatus ¶
func NewConfigStatus(namespace resource.Namespace, id resource.ID) *ConfigStatus
NewConfigStatus initializes a ConfigStatus resource.
type ConfigStatusExtension ¶ added in v1.4.0
type ConfigStatusExtension struct{}
ConfigStatusExtension provides auxiliary methods for ConfigStatus.
func (ConfigStatusExtension) ResourceDefinition ¶ added in v1.4.0
func (ConfigStatusExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type ConfigStatusSpec ¶
type ConfigStatusSpec struct { Ready bool `yaml:"ready" protobuf:"1"` Version string `yaml:"version" protobuf:"2"` }
ConfigStatusSpec describes status of rendered secrets.
func (ConfigStatusSpec) DeepCopy ¶
func (o ConfigStatusSpec) DeepCopy() ConfigStatusSpec
DeepCopy generates a deep copy of ConfigStatusSpec.
type ControllerManagerConfig ¶
type ControllerManagerConfig = typed.Resource[ControllerManagerConfigSpec, ControllerManagerConfigExtension]
ControllerManagerConfig represents configuration for kube-controller-manager.
func NewControllerManagerConfig ¶
func NewControllerManagerConfig() *ControllerManagerConfig
NewControllerManagerConfig returns new ControllerManagerConfig resource.
type ControllerManagerConfigExtension ¶ added in v1.4.0
type ControllerManagerConfigExtension struct{}
ControllerManagerConfigExtension defines ControllerManagerConfig resource definition.
func (ControllerManagerConfigExtension) ResourceDefinition ¶ added in v1.4.0
func (ControllerManagerConfigExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
type ControllerManagerConfigSpec ¶
type ControllerManagerConfigSpec struct { Enabled bool `yaml:"enabled" protobuf:"1"` Image string `yaml:"image" protobuf:"2"` CloudProvider string `yaml:"cloudProvider" protobuf:"3"` PodCIDRs []string `yaml:"podCIDRs" protobuf:"4"` ServiceCIDRs []string `yaml:"serviceCIDRs" protobuf:"5"` ExtraArgs map[string]string `yaml:"extraArgs" protobuf:"6"` ExtraVolumes []ExtraVolume `yaml:"extraVolumes" protobuf:"7"` EnvironmentVariables map[string]string `yaml:"environmentVariables" protobuf:"8"` Resources Resources `yaml:"resources" protobuf:"9"` }
ControllerManagerConfigSpec is configuration for kube-controller-manager.
func (ControllerManagerConfigSpec) DeepCopy ¶
func (o ControllerManagerConfigSpec) DeepCopy() ControllerManagerConfigSpec
DeepCopy generates a deep copy of ControllerManagerConfigSpec.
type Endpoint ¶
type Endpoint = typed.Resource[EndpointSpec, EndpointExtension]
Endpoint resource holds definition of rendered secrets.
type EndpointExtension ¶ added in v1.4.0
type EndpointExtension struct{}
EndpointExtension provides auxiliary methods for Endpoint.
func (EndpointExtension) ResourceDefinition ¶ added in v1.4.0
func (EndpointExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type EndpointList ¶
EndpointList is a flattened list of endpoints.
func (EndpointList) Merge ¶
func (l EndpointList) Merge(endpoint *Endpoint) EndpointList
Merge endpoints from multiple Endpoint resources into a single list.
func (EndpointList) Strings ¶
func (l EndpointList) Strings() []string
Strings returns a slice of formatted endpoints to string.
type EndpointSpec ¶
EndpointSpec describes status of rendered secrets.
func (EndpointSpec) DeepCopy ¶
func (o EndpointSpec) DeepCopy() EndpointSpec
DeepCopy generates a deep copy of EndpointSpec.
type ExtraManifest ¶
type ExtraManifest struct { Name string `yaml:"name" protobuf:"1"` URL string `yaml:"url" protobuf:"2"` Priority string `yaml:"priority" protobuf:"3"` ExtraHeaders map[string]string `yaml:"extraHeaders" protobuf:"4"` InlineManifest string `yaml:"inlineManifest" protobuf:"5"` }
ExtraManifest defines a single extra manifest to download.
type ExtraManifestsConfig ¶
type ExtraManifestsConfig = typed.Resource[ExtraManifestsConfigSpec, ExtraManifestsConfigExtension]
ExtraManifestsConfig represents configuration for extra bootstrap manifests.
func NewExtraManifestsConfig ¶
func NewExtraManifestsConfig() *ExtraManifestsConfig
NewExtraManifestsConfig returns new ExtraManifestsConfig resource.
type ExtraManifestsConfigExtension ¶ added in v1.4.0
type ExtraManifestsConfigExtension struct{}
ExtraManifestsConfigExtension defines ExtraManifestsConfig resource definition.
func (ExtraManifestsConfigExtension) ResourceDefinition ¶ added in v1.4.0
func (ExtraManifestsConfigExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
type ExtraManifestsConfigSpec ¶
type ExtraManifestsConfigSpec struct {
ExtraManifests []ExtraManifest `yaml:"extraManifests" protobuf:"1"`
}
ExtraManifestsConfigSpec is configuration for extra bootstrap manifests.
func (ExtraManifestsConfigSpec) DeepCopy ¶
func (o ExtraManifestsConfigSpec) DeepCopy() ExtraManifestsConfigSpec
DeepCopy generates a deep copy of ExtraManifestsConfigSpec.
type ExtraVolume ¶
type ExtraVolume struct { Name string `yaml:"name" protobuf:"1"` HostPath string `yaml:"hostPath" protobuf:"2"` MountPath string `yaml:"mountPath" protobuf:"3"` ReadOnly bool `yaml:"readonly" protobuf:"4"` }
ExtraVolume is a configuration of extra volume.
type KubePrismConfig ¶ added in v1.5.0
type KubePrismConfig = typed.Resource[KubePrismConfigSpec, KubePrismConfigExtension]
KubePrismConfig resource holds load balancer health data.
func NewKubePrismConfig ¶ added in v1.5.0
func NewKubePrismConfig(namespace resource.Namespace, id resource.ID) *KubePrismConfig
NewKubePrismConfig initializes an KubePrismConfig resource.
type KubePrismConfigExtension ¶ added in v1.5.0
type KubePrismConfigExtension struct{}
KubePrismConfigExtension provides auxiliary methods for KubePrismConfig.
func (KubePrismConfigExtension) ResourceDefinition ¶ added in v1.5.0
func (KubePrismConfigExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type KubePrismConfigSpec ¶ added in v1.5.0
type KubePrismConfigSpec struct { Host string `yaml:"host" protobuf:"1"` Port int `yaml:"port" protobuf:"2"` Endpoints []KubePrismEndpoint `yaml:"endpoints" protobuf:"3"` }
KubePrismConfigSpec describes KubePrismConfig data.
func (KubePrismConfigSpec) DeepCopy ¶ added in v1.5.0
func (o KubePrismConfigSpec) DeepCopy() KubePrismConfigSpec
DeepCopy generates a deep copy of KubePrismConfigSpec.
type KubePrismEndpoint ¶ added in v1.5.0
type KubePrismEndpoint struct { Host string `yaml:"host" protobuf:"1"` Port uint32 `yaml:"port" protobuf:"2"` }
KubePrismEndpoint holds data for control plane endpoint.
func (KubePrismEndpoint) String ¶ added in v1.5.0
func (e KubePrismEndpoint) String() string
String returns string representation of KubePrismEndpoint.
type KubePrismEndpoints ¶ added in v1.5.0
type KubePrismEndpoints = typed.Resource[KubePrismEndpointsSpec, KubePrismEndpointsExtension]
KubePrismEndpoints resource holds endpoints data.
func NewKubePrismEndpoints ¶ added in v1.5.0
func NewKubePrismEndpoints(namespace resource.Namespace, id resource.ID) *KubePrismEndpoints
NewKubePrismEndpoints initializes an KubePrismEndpoints resource.
type KubePrismEndpointsExtension ¶ added in v1.5.0
type KubePrismEndpointsExtension struct{}
KubePrismEndpointsExtension provides auxiliary methods for KubePrismEndpoints.
func (KubePrismEndpointsExtension) ResourceDefinition ¶ added in v1.5.0
func (KubePrismEndpointsExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type KubePrismEndpointsSpec ¶ added in v1.5.0
type KubePrismEndpointsSpec struct {
Endpoints []KubePrismEndpoint `yaml:"endpoints" protobuf:"1"`
}
KubePrismEndpointsSpec describes KubePrismEndpoints configuration.
func (KubePrismEndpointsSpec) DeepCopy ¶ added in v1.5.0
func (o KubePrismEndpointsSpec) DeepCopy() KubePrismEndpointsSpec
DeepCopy generates a deep copy of KubePrismEndpointsSpec.
type KubePrismStatuses ¶ added in v1.5.0
type KubePrismStatuses = typed.Resource[KubePrismStatusesSpec, KubePrismStatusesExtension]
KubePrismStatuses resource holds load balancer health data.
func NewKubePrismStatuses ¶ added in v1.5.0
func NewKubePrismStatuses(namespace resource.Namespace, id resource.ID) *KubePrismStatuses
NewKubePrismStatuses initializes an KubePrismStatuses resource.
type KubePrismStatusesExtension ¶ added in v1.5.0
type KubePrismStatusesExtension struct{}
KubePrismStatusesExtension provides auxiliary methods for KubePrismStatuses.
func (KubePrismStatusesExtension) ResourceDefinition ¶ added in v1.5.0
func (KubePrismStatusesExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type KubePrismStatusesSpec ¶ added in v1.5.0
type KubePrismStatusesSpec struct { Host string `yaml:"host" protobuf:"1"` Healthy bool `yaml:"healthy" protobuf:"2"` }
KubePrismStatusesSpec describes KubePrismStatuses data.
func (KubePrismStatusesSpec) DeepCopy ¶ added in v1.5.0
func (o KubePrismStatusesSpec) DeepCopy() KubePrismStatusesSpec
DeepCopy generates a deep copy of KubePrismStatusesSpec.
type KubeletConfig ¶
type KubeletConfig = typed.Resource[KubeletConfigSpec, KubeletConfigExtension]
KubeletConfig resource holds source of kubelet configuration.
func NewKubeletConfig ¶
func NewKubeletConfig(namespace resource.Namespace, id resource.ID) *KubeletConfig
NewKubeletConfig initializes an empty KubeletConfig resource.
type KubeletConfigExtension ¶ added in v1.4.0
type KubeletConfigExtension struct{}
KubeletConfigExtension provides auxiliary methods for KubeletConfig.
func (KubeletConfigExtension) ResourceDefinition ¶ added in v1.4.0
func (KubeletConfigExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type KubeletConfigSpec ¶
type KubeletConfigSpec struct { Image string `yaml:"image" protobuf:"1"` ClusterDNS []string `yaml:"clusterDNS" protobuf:"2"` ClusterDomain string `yaml:"clusterDomain" protobuf:"3"` ExtraArgs map[string]string `yaml:"extraArgs,omitempty" protobuf:"4"` ExtraMounts []specs.Mount `yaml:"extraMounts,omitempty" protobuf:"5"` ExtraConfig map[string]any `yaml:"extraConfig,omitempty" protobuf:"6"` CloudProviderExternal bool `yaml:"cloudProviderExternal" protobuf:"7"` DefaultRuntimeSeccompEnabled bool `yaml:"defaultRuntimeSeccompEnabled" protobuf:"8"` SkipNodeRegistration bool `yaml:"skipNodeRegistration" protobuf:"9"` StaticPodListURL string `yaml:"staticPodListURL" protobuf:"10"` DisableManifestsDirectory bool `yaml:"disableManifestsDirectory" protobuf:"11"` EnableFSQuotaMonitoring bool `yaml:"enableFSQuotaMonitoring" protobuf:"12"` CredentialProviderConfig map[string]any `yaml:"credentialProviderConfig,omitempty" protobuf:"13"` }
KubeletConfigSpec holds the source of kubelet configuration.
func (KubeletConfigSpec) DeepCopy ¶
func (o KubeletConfigSpec) DeepCopy() KubeletConfigSpec
DeepCopy generates a deep copy of KubeletConfigSpec.
type KubeletLifecycle ¶
type KubeletLifecycle = typed.Resource[KubeletLifecycleSpec, KubeletLifecycleExtension]
KubeletLifecycle resource exists to signal that the kubelet pods are running.
Components might put finalizers on the KubeletLifecycle resource to signal that additional actions should be taken before the kubelet is about to be shut down.
KubeletLifecycle is mostly about status of the workloads kubelet is running vs. the actual status of the kubelet service itself.
func NewKubeletLifecycle ¶
func NewKubeletLifecycle(namespace resource.Namespace, id resource.ID) *KubeletLifecycle
NewKubeletLifecycle initializes an empty KubeletLifecycle resource.
type KubeletLifecycleExtension ¶ added in v1.4.0
type KubeletLifecycleExtension struct{}
KubeletLifecycleExtension provides auxiliary methods for KubeletLifecycle.
func (KubeletLifecycleExtension) ResourceDefinition ¶ added in v1.4.0
func (KubeletLifecycleExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type KubeletLifecycleSpec ¶
type KubeletLifecycleSpec struct{}
KubeletLifecycleSpec is empty.
func (KubeletLifecycleSpec) DeepCopy ¶
func (o KubeletLifecycleSpec) DeepCopy() KubeletLifecycleSpec
DeepCopy generates a deep copy of KubeletLifecycleSpec.
type KubeletSpec ¶
type KubeletSpec = typed.Resource[KubeletSpecSpec, KubeletSpecExtension]
KubeletSpec resource holds final definition of kubelet runtime configuration.
func NewKubeletSpec ¶
func NewKubeletSpec(namespace resource.Namespace, id resource.ID) *KubeletSpec
NewKubeletSpec initializes an empty KubeletSpec resource.
type KubeletSpecExtension ¶ added in v1.4.0
type KubeletSpecExtension struct{}
KubeletSpecExtension provides auxiliary methods for KubeletSpec.
func (KubeletSpecExtension) ResourceDefinition ¶ added in v1.4.0
func (KubeletSpecExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type KubeletSpecSpec ¶
type KubeletSpecSpec struct { Image string `yaml:"image" protobuf:"1"` Args []string `yaml:"args,omitempty" protobuf:"2"` ExtraMounts []specs.Mount `yaml:"extraMounts,omitempty" protobuf:"3"` ExpectedNodename string `yaml:"expectedNodename,omitempty" protobuf:"4"` Config map[string]any `yaml:"config" protobuf:"5"` CredentialProviderConfig map[string]any `yaml:"credentialProviderConfig,omitempty" protobuf:"6"` }
KubeletSpecSpec holds the source of kubelet configuration.
func (KubeletSpecSpec) DeepCopy ¶
func (o KubeletSpecSpec) DeepCopy() KubeletSpecSpec
DeepCopy generates a deep copy of KubeletSpecSpec.
type Manifest ¶
type Manifest = typed.Resource[ManifestSpec, ManifestExtension]
Manifest resource holds definition of kubelet static pod.
type ManifestExtension ¶ added in v1.4.0
type ManifestExtension struct{}
ManifestExtension provides auxiliary methods for Manifest.
func (ManifestExtension) ResourceDefinition ¶ added in v1.4.0
func (ManifestExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type ManifestSpec ¶
type ManifestSpec struct {
Items []SingleManifest `protobuf:"1" yaml:"items"`
}
ManifestSpec holds the Kubernetes resources spec.
func (ManifestSpec) DeepCopy ¶
func (o ManifestSpec) DeepCopy() ManifestSpec
DeepCopy generates a deep copy of ManifestSpec.
func (ManifestSpec) MarshalYAML ¶
func (spec ManifestSpec) MarshalYAML() (interface{}, error)
MarshalYAML implements yaml.Marshaler.
type ManifestStatus ¶
type ManifestStatus = typed.Resource[ManifestStatusSpec, ManifestStatusExtension]
ManifestStatus resource holds definition of kubelet static pod.
func NewManifestStatus ¶
func NewManifestStatus(namespace resource.Namespace) *ManifestStatus
NewManifestStatus initializes an empty ManifestStatus resource.
type ManifestStatusExtension ¶ added in v1.4.0
type ManifestStatusExtension struct{}
ManifestStatusExtension provides auxiliary methods for ManifestStatus.
func (ManifestStatusExtension) ResourceDefinition ¶ added in v1.4.0
func (ManifestStatusExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type ManifestStatusSpec ¶
type ManifestStatusSpec struct {
ManifestsApplied []string `yaml:"manifestsApplied" protobuf:"1"`
}
ManifestStatusSpec describes manifest application status.
func (ManifestStatusSpec) DeepCopy ¶
func (o ManifestStatusSpec) DeepCopy() ManifestStatusSpec
DeepCopy generates a deep copy of ManifestStatusSpec.
type NodeCordonedSpec ¶ added in v1.5.0
type NodeCordonedSpec = typed.Resource[NodeCordonedSpecSpec, NodeCordonedSpecExtension]
NodeCordonedSpec ...
func NewNodeCordonedSpec ¶ added in v1.5.0
func NewNodeCordonedSpec(id resource.ID) *NodeCordonedSpec
NewNodeCordonedSpec initializes a NodeLabel resource.
type NodeCordonedSpecExtension ¶ added in v1.5.0
type NodeCordonedSpecExtension struct{}
NodeCordonedSpecExtension provides auxiliary methods for NodeLabel.
func (NodeCordonedSpecExtension) ResourceDefinition ¶ added in v1.5.0
func (NodeCordonedSpecExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
type NodeCordonedSpecSpec ¶ added in v1.5.0
type NodeCordonedSpecSpec struct{}
NodeCordonedSpecSpec represents an intention to make a node cordoned (unschedulable).
func (NodeCordonedSpecSpec) DeepCopy ¶ added in v1.5.0
func (o NodeCordonedSpecSpec) DeepCopy() NodeCordonedSpecSpec
DeepCopy generates a deep copy of NodeCordonedSpecSpec.
type NodeIP ¶
type NodeIP = typed.Resource[NodeIPSpec, NodeIPExtension]
NodeIP resource holds definition of Node IP specification.
type NodeIPConfig ¶
type NodeIPConfig = typed.Resource[NodeIPConfigSpec, NodeIPConfigExtension]
NodeIPConfig resource holds definition of Node IP specification.
func NewNodeIPConfig ¶
func NewNodeIPConfig(namespace resource.Namespace, id resource.ID) *NodeIPConfig
NewNodeIPConfig initializes an empty NodeIPConfig resource.
type NodeIPConfigExtension ¶ added in v1.4.0
type NodeIPConfigExtension struct{}
NodeIPConfigExtension provides auxiliary methods for NodeIPConfig.
func (NodeIPConfigExtension) ResourceDefinition ¶ added in v1.4.0
func (NodeIPConfigExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type NodeIPConfigSpec ¶
type NodeIPConfigSpec struct { ValidSubnets []string `yaml:"validSubnets,omitempty" protobuf:"1"` ExcludeSubnets []string `yaml:"excludeSubnets" protobuf:"2"` }
NodeIPConfigSpec holds the Node IP specification.
func (NodeIPConfigSpec) DeepCopy ¶
func (o NodeIPConfigSpec) DeepCopy() NodeIPConfigSpec
DeepCopy generates a deep copy of NodeIPConfigSpec.
type NodeIPExtension ¶ added in v1.4.0
type NodeIPExtension struct{}
NodeIPExtension provides auxiliary methods for NodeIP.
func (NodeIPExtension) ResourceDefinition ¶ added in v1.4.0
func (NodeIPExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type NodeIPSpec ¶
NodeIPSpec holds the Node IP specification.
func (NodeIPSpec) DeepCopy ¶
func (o NodeIPSpec) DeepCopy() NodeIPSpec
DeepCopy generates a deep copy of NodeIPSpec.
type NodeLabelSpec ¶
type NodeLabelSpec = typed.Resource[NodeLabelSpecSpec, NodeLabelSpecExtension]
NodeLabelSpec ...
func NewNodeLabelSpec ¶
func NewNodeLabelSpec(id resource.ID) *NodeLabelSpec
NewNodeLabelSpec initializes a NodeLabel resource.
type NodeLabelSpecExtension ¶ added in v1.4.0
type NodeLabelSpecExtension struct{}
NodeLabelSpecExtension provides auxiliary methods for NodeLabel.
func (NodeLabelSpecExtension) ResourceDefinition ¶ added in v1.4.0
func (NodeLabelSpecExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
type NodeLabelSpecSpec ¶
type NodeLabelSpecSpec struct { Key string `yaml:"key" protobuf:"1"` Value string `yaml:"value" protobuf:"2"` }
NodeLabelSpecSpec represents a label that's attached to a Talos node.
func (NodeLabelSpecSpec) DeepCopy ¶
func (o NodeLabelSpecSpec) DeepCopy() NodeLabelSpecSpec
DeepCopy generates a deep copy of NodeLabelSpecSpec.
type NodeStatus ¶ added in v1.5.0
type NodeStatus = typed.Resource[NodeStatusSpec, NodeStatusExtension]
NodeStatus resource holds Kubernetes NodeStatus.
func NewNodeStatus ¶ added in v1.5.0
func NewNodeStatus(namespace resource.Namespace, id resource.ID) *NodeStatus
NewNodeStatus initializes a NodeStatus resource.
type NodeStatusExtension ¶ added in v1.5.0
type NodeStatusExtension struct{}
NodeStatusExtension provides auxiliary methods for NodeStatus.
func (NodeStatusExtension) ResourceDefinition ¶ added in v1.5.0
func (NodeStatusExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type NodeStatusSpec ¶ added in v1.5.0
type NodeStatusSpec struct { Nodename string `yaml:"nodename" protobuf:"1"` NodeReady bool `yaml:"nodeReady" protobuf:"2"` Unschedulable bool `yaml:"unschedulable" protobuf:"3"` Labels map[string]string `yaml:"labels" protobuf:"4"` Annotations map[string]string `yaml:"annotations" protobuf:"5"` }
NodeStatusSpec describes Kubernetes NodeStatus.
func (NodeStatusSpec) DeepCopy ¶ added in v1.5.0
func (o NodeStatusSpec) DeepCopy() NodeStatusSpec
DeepCopy generates a deep copy of NodeStatusSpec.
type NodeTaintSpec ¶ added in v1.5.0
type NodeTaintSpec = typed.Resource[NodeTaintSpecSpec, NodeTaintSpecExtension]
NodeTaintSpec ...
func NewNodeTaintSpec ¶ added in v1.5.0
func NewNodeTaintSpec(id resource.ID) *NodeTaintSpec
NewNodeTaintSpec initializes a NodeLabel resource.
type NodeTaintSpecExtension ¶ added in v1.5.0
type NodeTaintSpecExtension struct{}
NodeTaintSpecExtension provides auxiliary methods for NodeLabel.
func (NodeTaintSpecExtension) ResourceDefinition ¶ added in v1.5.0
func (NodeTaintSpecExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
type NodeTaintSpecSpec ¶ added in v1.5.0
type NodeTaintSpecSpec struct { Key string `yaml:"key" protobuf:"1"` Effect string `yaml:"effect" protobuf:"2"` Value string `yaml:"value" protobuf:"3"` }
NodeTaintSpecSpec represents a label that's attached to a Talos node.
func (NodeTaintSpecSpec) DeepCopy ¶ added in v1.5.0
func (o NodeTaintSpecSpec) DeepCopy() NodeTaintSpecSpec
DeepCopy generates a deep copy of NodeTaintSpecSpec.
type Nodename ¶
type Nodename = typed.Resource[NodenameSpec, NodenameExtension]
Nodename resource holds Kubernetes nodename.
type NodenameExtension ¶ added in v1.4.0
type NodenameExtension struct{}
NodenameExtension provides auxiliary methods for Nodename.
func (NodenameExtension) ResourceDefinition ¶ added in v1.4.0
func (NodenameExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type NodenameSpec ¶
type NodenameSpec struct { Nodename string `yaml:"nodename" protobuf:"1"` HostnameVersion string `yaml:"hostnameVersion" protobuf:"2"` SkipNodeRegistration bool `yaml:"skipNodeRegistration" protobuf:"3"` }
NodenameSpec describes Kubernetes nodename.
func (NodenameSpec) DeepCopy ¶
func (o NodenameSpec) DeepCopy() NodenameSpec
DeepCopy generates a deep copy of NodenameSpec.
type Resources ¶ added in v1.5.0
type Resources struct { Requests map[string]string `yaml:"requests" protobuf:"1"` Limits map[string]string `yaml:"limits" protobuf:"2"` }
Resources is a configuration of cpu and memory resources.
type SchedulerConfig ¶
type SchedulerConfig = typed.Resource[SchedulerConfigSpec, SchedulerConfigExtension]
SchedulerConfig represents configuration for kube-scheduler.
func NewSchedulerConfig ¶
func NewSchedulerConfig() *SchedulerConfig
NewSchedulerConfig returns new SchedulerConfig resource.
type SchedulerConfigExtension ¶ added in v1.4.0
type SchedulerConfigExtension struct{}
SchedulerConfigExtension defines SchedulerConfig resource definition.
func (SchedulerConfigExtension) ResourceDefinition ¶ added in v1.4.0
func (SchedulerConfigExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements meta.ResourceDefinitionProvider interface.
type SchedulerConfigSpec ¶
type SchedulerConfigSpec struct { Enabled bool `yaml:"enabled" protobuf:"1"` Image string `yaml:"image" protobuf:"2"` ExtraArgs map[string]string `yaml:"extraArgs" protobuf:"3"` ExtraVolumes []ExtraVolume `yaml:"extraVolumes" protobuf:"4"` EnvironmentVariables map[string]string `yaml:"environmentVariables" protobuf:"5"` Resources Resources `yaml:"resources" protobuf:"6"` Config map[string]any `yaml:"config" protobuf:"7"` }
SchedulerConfigSpec is configuration for kube-scheduler.
func (SchedulerConfigSpec) DeepCopy ¶
func (o SchedulerConfigSpec) DeepCopy() SchedulerConfigSpec
DeepCopy generates a deep copy of SchedulerConfigSpec.
type SecretsStatus ¶
type SecretsStatus = typed.Resource[SecretsStatusSpec, SecretsStatusExtension]
SecretsStatus resource holds definition of rendered secrets.
func NewSecretsStatus ¶
func NewSecretsStatus(namespace resource.Namespace, id resource.ID) *SecretsStatus
NewSecretsStatus initializes a SecretsStatus resource.
type SecretsStatusExtension ¶ added in v1.4.0
type SecretsStatusExtension struct{}
SecretsStatusExtension provides auxiliary methods for SecretsStatus.
func (SecretsStatusExtension) ResourceDefinition ¶ added in v1.4.0
func (SecretsStatusExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type SecretsStatusSpec ¶
type SecretsStatusSpec struct { Ready bool `yaml:"ready" protobuf:"1"` Version string `yaml:"version" protobuf:"2"` }
SecretsStatusSpec describes status of rendered secrets.
func (SecretsStatusSpec) DeepCopy ¶
func (o SecretsStatusSpec) DeepCopy() SecretsStatusSpec
DeepCopy generates a deep copy of SecretsStatusSpec.
type SingleManifest ¶
type SingleManifest struct {
Object map[string]interface{} `protobuf:"1" yaml:",inline"`
}
SingleManifest is a single manifest.
type StaticPod ¶
type StaticPod = typed.Resource[StaticPodSpec, StaticPodExtension]
StaticPod resource holds definition of kubelet static pod.
type StaticPodExtension ¶ added in v1.4.0
type StaticPodExtension struct{}
StaticPodExtension provides auxiliary methods for StaticPod.
func (StaticPodExtension) ResourceDefinition ¶ added in v1.4.0
func (StaticPodExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type StaticPodServerStatus ¶
type StaticPodServerStatus = typed.Resource[StaticPodServerStatusSpec, StaticPodServerStatusExtension]
StaticPodServerStatus resource holds definition of kubelet static pod.
func NewStaticPodServerStatus ¶
func NewStaticPodServerStatus(namespace resource.Namespace, id resource.ID) *StaticPodServerStatus
NewStaticPodServerStatus initializes a StaticPodServerStatus resource.
type StaticPodServerStatusExtension ¶ added in v1.4.0
type StaticPodServerStatusExtension struct{}
StaticPodServerStatusExtension provides auxiliary methods for StaticPodServerStatus.
func (StaticPodServerStatusExtension) ResourceDefinition ¶ added in v1.4.0
func (StaticPodServerStatusExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type StaticPodServerStatusSpec ¶
type StaticPodServerStatusSpec struct {
URL string `yaml:"url" protobuf:"1"`
}
StaticPodServerStatusSpec describes static pod spec, it contains marshaled *v1.Pod spec.
func (StaticPodServerStatusSpec) DeepCopy ¶
func (o StaticPodServerStatusSpec) DeepCopy() StaticPodServerStatusSpec
DeepCopy generates a deep copy of StaticPodServerStatusSpec.
type StaticPodSpec ¶
StaticPodSpec describes static pod spec, it contains marshaled *v1.Pod spec.
func (StaticPodSpec) DeepCopy ¶
func (o StaticPodSpec) DeepCopy() StaticPodSpec
DeepCopy generates a deep copy of StaticPodSpec.
func (StaticPodSpec) MarshalYAML ¶
func (spec StaticPodSpec) MarshalYAML() (interface{}, error)
MarshalYAML implements yaml.Marshaler.
type StaticPodStatus ¶
type StaticPodStatus = typed.Resource[StaticPodStatusSpec, StaticPodStatusExtension]
StaticPodStatus resource holds definition of kubelet static pod.
func NewStaticPodStatus ¶
func NewStaticPodStatus(namespace resource.Namespace, id resource.ID) *StaticPodStatus
NewStaticPodStatus initializes a StaticPodStatus resource.
type StaticPodStatusExtension ¶ added in v1.4.0
type StaticPodStatusExtension struct{}
StaticPodStatusExtension provides auxiliary methods for StaticPodStatus.
func (StaticPodStatusExtension) ResourceDefinition ¶ added in v1.4.0
func (StaticPodStatusExtension) ResourceDefinition() meta.ResourceDefinitionSpec
ResourceDefinition implements typed.Extension interface.
type StaticPodStatusSpec ¶
StaticPodStatusSpec describes kubelet static pod status.
func (StaticPodStatusSpec) DeepCopy ¶
func (o StaticPodStatusSpec) DeepCopy() StaticPodStatusSpec
DeepCopy generates a deep copy of StaticPodStatusSpec.
func (StaticPodStatusSpec) MarshalYAML ¶
func (spec StaticPodStatusSpec) MarshalYAML() (interface{}, error)
MarshalYAML implements yaml.Marshaler.
Source Files ¶
- admissioncontrol_config.go
- apiserver_config.go
- auditpolicy_config.go
- config_status.go
- controllermanager_config.go
- deep_copy.generated.go
- endpoint.go
- extramanifests_config.go
- k8s.go
- kubelet_config.go
- kubelet_lifecycle.go
- kubelet_spec.go
- kubeprism.go
- kubeprism_config.go
- kubeprism_endpoints.go
- manifest.go
- manifest_status.go
- manifests_config.go
- node_cordoned_spec.go
- node_label_spec.go
- node_status.go
- node_taint_spec.go
- nodeip.go
- nodeip_config.go
- nodename.go
- scheduler_config.go
- secrets_status.go
- static_pod.go
- static_pod_server_status.go
- static_pod_status.go