// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type Kubernetes struct {
	Endpoints []KubernetesEndpoint `json:"endpoints,omitempty"`
	// True if the dashboard is running and accessible
	KubernetesDashboardFound *bool                  `json:"kubernetes_dashboard_found,omitempty"`
	Nodes                    []KubernetesNode       `json:"nodes,omitempty"`
	PodNames                 []string               `json:"pod_names,omitempty"`
	Roles                    []KubernetesRole       `json:"roles,omitempty"`
	VersionInfo              *KubernetesVersionInfo `json:"version_info,omitempty"`
}

func (o *Kubernetes) GetEndpoints() []KubernetesEndpoint {
	if o == nil {
		return nil
	}
	return o.Endpoints
}

func (o *Kubernetes) GetKubernetesDashboardFound() *bool {
	if o == nil {
		return nil
	}
	return o.KubernetesDashboardFound
}

func (o *Kubernetes) GetNodes() []KubernetesNode {
	if o == nil {
		return nil
	}
	return o.Nodes
}

func (o *Kubernetes) GetPodNames() []string {
	if o == nil {
		return nil
	}
	return o.PodNames
}

func (o *Kubernetes) GetRoles() []KubernetesRole {
	if o == nil {
		return nil
	}
	return o.Roles
}

func (o *Kubernetes) GetVersionInfo() *KubernetesVersionInfo {
	if o == nil {
		return nil
	}
	return o.VersionInfo
}
