mapping

package
v0.0.0-...-133fb1b Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomResourceDefinition

type CustomResourceDefinition struct {
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              CustomResourceDefinitionSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            CustomResourceDefinitionStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

CustomResourceDefinition object

func ApiextensionsV1beta1CustomResourceDefinition

func ApiextensionsV1beta1CustomResourceDefinition(crd apiextensions_v1beta1.CustomResourceDefinition) *CustomResourceDefinition

ApiextensionsV1beta1CustomResourceDefinition maps a CustomResourceDefinition type from API group apiextensions.k8s.io/v1beta1 to our type.

type CustomResourceDefinitionCondition

type CustomResourceDefinitionCondition struct {
	Type               string      `json:"type" protobuf:"bytes,1,opt,name=type,casttype=CustomResourceDefinitionConditionType"`
	Status             string      `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"`
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	Reason             string      `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	Message            string      `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

CustomResourceDefinitionCondition object

type CustomResourceDefinitionSpec

type CustomResourceDefinitionSpec struct{}

CustomResourceDefinitionSpec object

type CustomResourceDefinitionStatus

type CustomResourceDefinitionStatus struct {
	Conditions []CustomResourceDefinitionCondition `json:"conditions" protobuf:"bytes,1,opt,name=conditions"`
}

CustomResourceDefinitionStatus object

type Deployment

type Deployment struct {
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              DeploymentSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            DeploymentStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Deployment object

func AppsV1Deployment

func AppsV1Deployment(deployment apps_v1.Deployment) *Deployment

AppsV1Deployment maps a Deployment type from API group apps/v1 to our type.

func AppsV1beta1Deployment

func AppsV1beta1Deployment(deployment apps_v1beta1.Deployment) *Deployment

AppsV1beta1Deployment maps a Deployment type from API group apps/v1beta1 to our type.

func AppsV1beta2Deployment

func AppsV1beta2Deployment(deployment apps_v1beta2.Deployment) *Deployment

AppsV1beta2Deployment maps a Deployment type from API group apps/v1beta2 to our type.

type DeploymentSpec

type DeploymentSpec struct {
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
}

DeploymentSpec object

type DeploymentStatus

type DeploymentStatus struct {
	AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,4,opt,name=availableReplicas"`
}

DeploymentStatus object

type ReplicaSet

type ReplicaSet struct {
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ReplicaSetSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            ReplicaSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ReplicaSet object

func AppsV1ReplicaSet

func AppsV1ReplicaSet(replicaSet apps_v1.ReplicaSet) *ReplicaSet

AppsV1ReplicaSet maps a ReplicaSet type from API group apps/v1 to our type.

func AppsV1beta2ReplicaSet

func AppsV1beta2ReplicaSet(replicaSet apps_v1beta2.ReplicaSet) *ReplicaSet

AppsV1beta2ReplicaSet maps a ReplicaSet type from API group apps/v1beta2 to our type.

func ExtensionsV1beta1ReplicaSet

func ExtensionsV1beta1ReplicaSet(replicaSet extensions_v1beta1.ReplicaSet) *ReplicaSet

ExtensionsV1beta1ReplicaSet maps a ReplicaSet type from API group extensions/v1beta1 to our type.

type ReplicaSetSpec

type ReplicaSetSpec struct {
	Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
}

ReplicaSetSpec object

type ReplicaSetStatus

type ReplicaSetStatus struct {
	Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"`
}

ReplicaSetStatus object

type RoleBinding

type RoleBinding struct {
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Subjects          []RoleBindingSubject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
}

RoleBinding object

func RbacV1Beta1RoleBinding

func RbacV1Beta1RoleBinding(rb rbac_v1beta1.RoleBinding) *RoleBinding

RbacV1Beta1RoleBinding maps a RoleBinding type from API group rbac/v1beta1 to our type.

func RbacV1RoleBinding

func RbacV1RoleBinding(rb rbac_v1.RoleBinding) *RoleBinding

RbacV1RoleBinding maps a RoleBinding type from API group rbac/v1 to our type.

type RoleBindingSubject

type RoleBindingSubject struct {
	Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"`
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
}

RoleBindingSubject object

Jump to

Keyboard shortcuts

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