Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceGet = ResourceAction("Get") ResourceCreate = ResourceAction("Create") ResourceApply = ResourceAction("Apply") ResourceDelete = ResourceAction("Delete") ResourceAnnotate = ResourceAction("Annotate") ResourceDescribe = ResourceAction("Describe") ResourceLabel = ResourceAction("Label") ResourcePatch = ResourceAction("Patch") ResourceDiff = ResourceAction("Diff") )
View Source
const ( K8sPod = K8SResource("Pod") K8sDeployment = K8SResource("Deployment") K8sService = K8SResource("Service") K8sDaemonSet = K8SResource("DaemonSet") K8sReplicaSet = K8SResource("ReplicaSet") K8sStatefulSet = K8SResource("StatefulSet") K8sHorizontalPodAutoscaler = K8SResource("HorizontalPodAutoscaler") K8sJob = K8SResource("HorizontalPodAutoscaler") K8sNode = K8SResource("Node") K8sNamespace = K8SResource("Namespace") K8sNetworkPolicy = K8SResource("NetworkPolicy") K8sRoleBinding = K8SResource("RoleBinding") K8sClusterRole = K8SResource("ClusterRole") K8sClusterRoleBinding = K8SResource("ClusterRoleBinding") K8sServiceAccount = K8SResource("ServiceAccount") )
View Source
const (
EntranceFileName = "main.k"
)
View Source
const (
K8SObject = ResourceType("K8SObject")
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8SResource ¶
type K8SResource string
type ResourceAction ¶
type ResourceAction string
type ResourceType ¶
type ResourceType string
type UnsupportedErr ¶
type UnsupportedErr struct{}
func (*UnsupportedErr) Error ¶
func (e *UnsupportedErr) Error() string
Click to show internal directories.
Click to hide internal directories.