k8s

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

README

Kubernetes Support

Kubernetes offers an api from the master node(s) which can be used to get some internal information.

For accessing this api, we need an access token.

AWS

To get the token via AWS IAM Authenticator, you can run:

$ aws-iam-authenticator token -i CLUSTERID

This is a bearer token that can be used on our API side to work with the cluster.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NodeAddressType_name = map[int32]string{
	0: "Hostname",
	1: "ExternalIP",
	3: "InternalIP",
	4: "ExternalDNS",
	5: "InternalDNS",
}
View Source
var NodeAddressType_value = map[string]int32{
	"Hostname":    0,
	"ExternalIP":  1,
	"InternalIP":  3,
	"ExternalDNS": 4,
	"InternalDNS": 5,
}

Functions

func GetAwsK8sAccessToken

func GetAwsK8sAccessToken(k8sClusterId string) (accessToken string)

func GetNodesInternalIpAddresses

func GetNodesInternalIpAddresses(clusterEndpoint string, limit uint, authToken string, certClientFile string) (result []string)

Returns the internal ip addresses of all known nodes of the cluster.

func GetTokenViaAwsIamAuthenticatorClient

func GetTokenViaAwsIamAuthenticatorClient(k8sClusterId string) (accesstoken string)

Types

type AttachedVolume

type AttachedVolume struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AttachedVolume) Descriptor

func (*AttachedVolume) Descriptor() ([]byte, []int)

func (*AttachedVolume) ProtoMessage

func (*AttachedVolume) ProtoMessage()

func (*AttachedVolume) Reset

func (m *AttachedVolume) Reset()

func (*AttachedVolume) String

func (m *AttachedVolume) String() string

func (*AttachedVolume) XXX_DiscardUnknown

func (m *AttachedVolume) XXX_DiscardUnknown()

func (*AttachedVolume) XXX_Marshal

func (m *AttachedVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AttachedVolume) XXX_Merge

func (m *AttachedVolume) XXX_Merge(src proto.Message)

func (*AttachedVolume) XXX_Size

func (m *AttachedVolume) XXX_Size() int

func (*AttachedVolume) XXX_Unmarshal

func (m *AttachedVolume) XXX_Unmarshal(b []byte) error

type AwsIamAuthenticatorResponse

type AwsIamAuthenticatorResponse struct {
	Kind                 string                     `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	ApiVersion           string                     `protobuf:"bytes,2,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Status               *AwsIamAuthenticatorStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*AwsIamAuthenticatorResponse) Descriptor

func (*AwsIamAuthenticatorResponse) Descriptor() ([]byte, []int)

func (*AwsIamAuthenticatorResponse) GetApiVersion

func (m *AwsIamAuthenticatorResponse) GetApiVersion() string

func (*AwsIamAuthenticatorResponse) GetKind

func (m *AwsIamAuthenticatorResponse) GetKind() string

func (*AwsIamAuthenticatorResponse) GetStatus

func (*AwsIamAuthenticatorResponse) ProtoMessage

func (*AwsIamAuthenticatorResponse) ProtoMessage()

func (*AwsIamAuthenticatorResponse) Reset

func (m *AwsIamAuthenticatorResponse) Reset()

func (*AwsIamAuthenticatorResponse) String

func (m *AwsIamAuthenticatorResponse) String() string

func (*AwsIamAuthenticatorResponse) XXX_DiscardUnknown

func (m *AwsIamAuthenticatorResponse) XXX_DiscardUnknown()

func (*AwsIamAuthenticatorResponse) XXX_Marshal

func (m *AwsIamAuthenticatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AwsIamAuthenticatorResponse) XXX_Merge

func (m *AwsIamAuthenticatorResponse) XXX_Merge(src proto.Message)

func (*AwsIamAuthenticatorResponse) XXX_Size

func (m *AwsIamAuthenticatorResponse) XXX_Size() int

func (*AwsIamAuthenticatorResponse) XXX_Unmarshal

func (m *AwsIamAuthenticatorResponse) XXX_Unmarshal(b []byte) error

type AwsIamAuthenticatorStatus

type AwsIamAuthenticatorStatus struct {
	ExpirationTimestamp  string   `protobuf:"bytes,1,opt,name=expirationTimestamp,proto3" json:"expirationTimestamp,omitempty"`
	Token                string   `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AwsIamAuthenticatorStatus) Descriptor

func (*AwsIamAuthenticatorStatus) Descriptor() ([]byte, []int)

func (*AwsIamAuthenticatorStatus) GetExpirationTimestamp

func (m *AwsIamAuthenticatorStatus) GetExpirationTimestamp() string

func (*AwsIamAuthenticatorStatus) GetToken

func (m *AwsIamAuthenticatorStatus) GetToken() string

func (*AwsIamAuthenticatorStatus) ProtoMessage

func (*AwsIamAuthenticatorStatus) ProtoMessage()

func (*AwsIamAuthenticatorStatus) Reset

func (m *AwsIamAuthenticatorStatus) Reset()

func (*AwsIamAuthenticatorStatus) String

func (m *AwsIamAuthenticatorStatus) String() string

func (*AwsIamAuthenticatorStatus) XXX_DiscardUnknown

func (m *AwsIamAuthenticatorStatus) XXX_DiscardUnknown()

func (*AwsIamAuthenticatorStatus) XXX_Marshal

func (m *AwsIamAuthenticatorStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AwsIamAuthenticatorStatus) XXX_Merge

func (m *AwsIamAuthenticatorStatus) XXX_Merge(src proto.Message)

func (*AwsIamAuthenticatorStatus) XXX_Size

func (m *AwsIamAuthenticatorStatus) XXX_Size() int

func (*AwsIamAuthenticatorStatus) XXX_Unmarshal

func (m *AwsIamAuthenticatorStatus) XXX_Unmarshal(b []byte) error

type ContainerImage

type ContainerImage struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContainerImage) Descriptor

func (*ContainerImage) Descriptor() ([]byte, []int)

func (*ContainerImage) ProtoMessage

func (*ContainerImage) ProtoMessage()

func (*ContainerImage) Reset

func (m *ContainerImage) Reset()

func (*ContainerImage) String

func (m *ContainerImage) String() string

func (*ContainerImage) XXX_DiscardUnknown

func (m *ContainerImage) XXX_DiscardUnknown()

func (*ContainerImage) XXX_Marshal

func (m *ContainerImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContainerImage) XXX_Merge

func (m *ContainerImage) XXX_Merge(src proto.Message)

func (*ContainerImage) XXX_Size

func (m *ContainerImage) XXX_Size() int

func (*ContainerImage) XXX_Unmarshal

func (m *ContainerImage) XXX_Unmarshal(b []byte) error

type ListMeta

type ListMeta struct {
	Continue             string   `protobuf:"bytes,1,opt,name=continue,proto3" json:"continue,omitempty"`
	ResourceVersion      string   `protobuf:"bytes,2,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"`
	SelfLink             string   `protobuf:"bytes,3,opt,name=selfLink,proto3" json:"selfLink,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListMeta) Descriptor

func (*ListMeta) Descriptor() ([]byte, []int)

func (*ListMeta) GetContinue

func (m *ListMeta) GetContinue() string

func (*ListMeta) GetResourceVersion

func (m *ListMeta) GetResourceVersion() string
func (m *ListMeta) GetSelfLink() string

func (*ListMeta) ProtoMessage

func (*ListMeta) ProtoMessage()

func (*ListMeta) Reset

func (m *ListMeta) Reset()

func (*ListMeta) String

func (m *ListMeta) String() string

func (*ListMeta) XXX_DiscardUnknown

func (m *ListMeta) XXX_DiscardUnknown()

func (*ListMeta) XXX_Marshal

func (m *ListMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMeta) XXX_Merge

func (m *ListMeta) XXX_Merge(src proto.Message)

func (*ListMeta) XXX_Size

func (m *ListMeta) XXX_Size() int

func (*ListMeta) XXX_Unmarshal

func (m *ListMeta) XXX_Unmarshal(b []byte) error

type Node

type Node struct {
	ApiVersion           string      `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Kind                 string      `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Metadata             *ObjectMeta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Spec                 *NodeSpec   `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
	Status               *NodeStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Node) Descriptor

func (*Node) Descriptor() ([]byte, []int)

func (*Node) GetApiVersion

func (m *Node) GetApiVersion() string

func (*Node) GetKind

func (m *Node) GetKind() string

func (*Node) GetMetadata

func (m *Node) GetMetadata() *ObjectMeta

func (*Node) GetSpec

func (m *Node) GetSpec() *NodeSpec

func (*Node) GetStatus

func (m *Node) GetStatus() *NodeStatus

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) Reset

func (m *Node) Reset()

func (*Node) String

func (m *Node) String() string

func (*Node) XXX_DiscardUnknown

func (m *Node) XXX_DiscardUnknown()

func (*Node) XXX_Marshal

func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Node) XXX_Merge

func (m *Node) XXX_Merge(src proto.Message)

func (*Node) XXX_Size

func (m *Node) XXX_Size() int

func (*Node) XXX_Unmarshal

func (m *Node) XXX_Unmarshal(b []byte) error

type NodeAddress

type NodeAddress struct {
	Address              string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeAddress) Descriptor

func (*NodeAddress) Descriptor() ([]byte, []int)

func (*NodeAddress) GetAddress

func (m *NodeAddress) GetAddress() string

func (*NodeAddress) GetType

func (m *NodeAddress) GetType() string

func (*NodeAddress) ProtoMessage

func (*NodeAddress) ProtoMessage()

func (*NodeAddress) Reset

func (m *NodeAddress) Reset()

func (*NodeAddress) String

func (m *NodeAddress) String() string

func (*NodeAddress) XXX_DiscardUnknown

func (m *NodeAddress) XXX_DiscardUnknown()

func (*NodeAddress) XXX_Marshal

func (m *NodeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeAddress) XXX_Merge

func (m *NodeAddress) XXX_Merge(src proto.Message)

func (*NodeAddress) XXX_Size

func (m *NodeAddress) XXX_Size() int

func (*NodeAddress) XXX_Unmarshal

func (m *NodeAddress) XXX_Unmarshal(b []byte) error

type NodeAddressType

type NodeAddressType int32
const (
	NodeAddressType_Hostname    NodeAddressType = 0
	NodeAddressType_ExternalIP  NodeAddressType = 1
	NodeAddressType_InternalIP  NodeAddressType = 3
	NodeAddressType_ExternalDNS NodeAddressType = 4
	NodeAddressType_InternalDNS NodeAddressType = 5
)

func (NodeAddressType) EnumDescriptor

func (NodeAddressType) EnumDescriptor() ([]byte, []int)

func (NodeAddressType) String

func (x NodeAddressType) String() string

type NodeCondition

type NodeCondition struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeCondition) Descriptor

func (*NodeCondition) Descriptor() ([]byte, []int)

func (*NodeCondition) ProtoMessage

func (*NodeCondition) ProtoMessage()

func (*NodeCondition) Reset

func (m *NodeCondition) Reset()

func (*NodeCondition) String

func (m *NodeCondition) String() string

func (*NodeCondition) XXX_DiscardUnknown

func (m *NodeCondition) XXX_DiscardUnknown()

func (*NodeCondition) XXX_Marshal

func (m *NodeCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeCondition) XXX_Merge

func (m *NodeCondition) XXX_Merge(src proto.Message)

func (*NodeCondition) XXX_Size

func (m *NodeCondition) XXX_Size() int

func (*NodeCondition) XXX_Unmarshal

func (m *NodeCondition) XXX_Unmarshal(b []byte) error

type NodeList

type NodeList struct {
	Kind                 string    `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	ApiVersion           string    `protobuf:"bytes,2,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
	Items                []*Node   `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	Metadata             *ListMeta `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*NodeList) Descriptor

func (*NodeList) Descriptor() ([]byte, []int)

func (*NodeList) GetApiVersion

func (m *NodeList) GetApiVersion() string

func (*NodeList) GetItems

func (m *NodeList) GetItems() []*Node

func (*NodeList) GetKind

func (m *NodeList) GetKind() string

func (*NodeList) GetMetadata

func (m *NodeList) GetMetadata() *ListMeta

func (*NodeList) ProtoMessage

func (*NodeList) ProtoMessage()

func (*NodeList) Reset

func (m *NodeList) Reset()

func (*NodeList) String

func (m *NodeList) String() string

func (*NodeList) XXX_DiscardUnknown

func (m *NodeList) XXX_DiscardUnknown()

func (*NodeList) XXX_Marshal

func (m *NodeList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeList) XXX_Merge

func (m *NodeList) XXX_Merge(src proto.Message)

func (*NodeList) XXX_Size

func (m *NodeList) XXX_Size() int

func (*NodeList) XXX_Unmarshal

func (m *NodeList) XXX_Unmarshal(b []byte) error

type NodeSpec

type NodeSpec struct {
	ExternalID           string   `protobuf:"bytes,1,opt,name=externalID,proto3" json:"externalID,omitempty"`
	PodCIDR              string   `protobuf:"bytes,2,opt,name=podCIDR,proto3" json:"podCIDR,omitempty"`
	ProviderID           string   `protobuf:"bytes,3,opt,name=providerID,proto3" json:"providerID,omitempty"`
	Unschedulable        bool     `protobuf:"varint,4,opt,name=unschedulable,proto3" json:"unschedulable,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeSpec) Descriptor

func (*NodeSpec) Descriptor() ([]byte, []int)

func (*NodeSpec) GetExternalID

func (m *NodeSpec) GetExternalID() string

func (*NodeSpec) GetPodCIDR

func (m *NodeSpec) GetPodCIDR() string

func (*NodeSpec) GetProviderID

func (m *NodeSpec) GetProviderID() string

func (*NodeSpec) GetUnschedulable

func (m *NodeSpec) GetUnschedulable() bool

func (*NodeSpec) ProtoMessage

func (*NodeSpec) ProtoMessage()

func (*NodeSpec) Reset

func (m *NodeSpec) Reset()

func (*NodeSpec) String

func (m *NodeSpec) String() string

func (*NodeSpec) XXX_DiscardUnknown

func (m *NodeSpec) XXX_DiscardUnknown()

func (*NodeSpec) XXX_Marshal

func (m *NodeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeSpec) XXX_Merge

func (m *NodeSpec) XXX_Merge(src proto.Message)

func (*NodeSpec) XXX_Size

func (m *NodeSpec) XXX_Size() int

func (*NodeSpec) XXX_Unmarshal

func (m *NodeSpec) XXX_Unmarshal(b []byte) error

type NodeStatus

type NodeStatus struct {
	Addresses   []*NodeAddress   `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	Allocatable *any.Any         `protobuf:"bytes,2,opt,name=allocatable,proto3" json:"allocatable,omitempty"`
	Capacity    *any.Any         `protobuf:"bytes,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
	Conditions  []*NodeCondition `protobuf:"bytes,4,rep,name=conditions,proto3" json:"conditions,omitempty"`
	// daemonEndpoints=5
	Images               []*ContainerImage `protobuf:"bytes,6,rep,name=images,proto3" json:"images,omitempty"`
	NodeInfo             *NodeSystemInfo   `protobuf:"bytes,7,opt,name=nodeInfo,proto3" json:"nodeInfo,omitempty"`
	Phase                string            `protobuf:"bytes,8,opt,name=phase,proto3" json:"phase,omitempty"`
	VolumesAttached      []*AttachedVolume `protobuf:"bytes,9,rep,name=volumesAttached,proto3" json:"volumesAttached,omitempty"`
	VolumesInUse         []string          `protobuf:"bytes,10,rep,name=volumesInUse,proto3" json:"volumesInUse,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*NodeStatus) Descriptor

func (*NodeStatus) Descriptor() ([]byte, []int)

func (*NodeStatus) GetAddresses

func (m *NodeStatus) GetAddresses() []*NodeAddress

func (*NodeStatus) GetAllocatable

func (m *NodeStatus) GetAllocatable() *any.Any

func (*NodeStatus) GetCapacity

func (m *NodeStatus) GetCapacity() *any.Any

func (*NodeStatus) GetConditions

func (m *NodeStatus) GetConditions() []*NodeCondition

func (*NodeStatus) GetImages

func (m *NodeStatus) GetImages() []*ContainerImage

func (*NodeStatus) GetNodeInfo

func (m *NodeStatus) GetNodeInfo() *NodeSystemInfo

func (*NodeStatus) GetPhase

func (m *NodeStatus) GetPhase() string

func (*NodeStatus) GetVolumesAttached

func (m *NodeStatus) GetVolumesAttached() []*AttachedVolume

func (*NodeStatus) GetVolumesInUse

func (m *NodeStatus) GetVolumesInUse() []string

func (*NodeStatus) ProtoMessage

func (*NodeStatus) ProtoMessage()

func (*NodeStatus) Reset

func (m *NodeStatus) Reset()

func (*NodeStatus) String

func (m *NodeStatus) String() string

func (*NodeStatus) XXX_DiscardUnknown

func (m *NodeStatus) XXX_DiscardUnknown()

func (*NodeStatus) XXX_Marshal

func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeStatus) XXX_Merge

func (m *NodeStatus) XXX_Merge(src proto.Message)

func (*NodeStatus) XXX_Size

func (m *NodeStatus) XXX_Size() int

func (*NodeStatus) XXX_Unmarshal

func (m *NodeStatus) XXX_Unmarshal(b []byte) error

type NodeSystemInfo

type NodeSystemInfo struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NodeSystemInfo) Descriptor

func (*NodeSystemInfo) Descriptor() ([]byte, []int)

func (*NodeSystemInfo) ProtoMessage

func (*NodeSystemInfo) ProtoMessage()

func (*NodeSystemInfo) Reset

func (m *NodeSystemInfo) Reset()

func (*NodeSystemInfo) String

func (m *NodeSystemInfo) String() string

func (*NodeSystemInfo) XXX_DiscardUnknown

func (m *NodeSystemInfo) XXX_DiscardUnknown()

func (*NodeSystemInfo) XXX_Marshal

func (m *NodeSystemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeSystemInfo) XXX_Merge

func (m *NodeSystemInfo) XXX_Merge(src proto.Message)

func (*NodeSystemInfo) XXX_Size

func (m *NodeSystemInfo) XXX_Size() int

func (*NodeSystemInfo) XXX_Unmarshal

func (m *NodeSystemInfo) XXX_Unmarshal(b []byte) error

type ObjectMeta

type ObjectMeta struct {
	Annotations                *any.Any   `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations,omitempty"`
	ClusterName                string     `protobuf:"bytes,2,opt,name=clusterName,proto3" json:"clusterName,omitempty"`
	CreationTimestamp          string     `protobuf:"bytes,3,opt,name=creationTimestamp,proto3" json:"creationTimestamp,omitempty"`
	DeletionGracePeriodSeconds int32      `protobuf:"varint,4,opt,name=deletionGracePeriodSeconds,proto3" json:"deletionGracePeriodSeconds,omitempty"`
	DeletionTimestamp          string     `protobuf:"bytes,5,opt,name=deletionTimestamp,proto3" json:"deletionTimestamp,omitempty"`
	Finalizers                 []string   `protobuf:"bytes,6,rep,name=finalizers,proto3" json:"finalizers,omitempty"`
	GenerateName               string     `protobuf:"bytes,7,opt,name=generateName,proto3" json:"generateName,omitempty"`
	Generation                 int32      `protobuf:"varint,8,opt,name=generation,proto3" json:"generation,omitempty"`
	Initializers               *any.Any   `protobuf:"bytes,9,opt,name=initializers,proto3" json:"initializers,omitempty"`
	Labels                     *any.Any   `protobuf:"bytes,10,opt,name=labels,proto3" json:"labels,omitempty"`
	Name                       string     `protobuf:"bytes,11,opt,name=name,proto3" json:"name,omitempty"`
	Namespace                  string     `protobuf:"bytes,12,opt,name=namespace,proto3" json:"namespace,omitempty"`
	OwnerReferences            []*any.Any `protobuf:"bytes,13,rep,name=ownerReferences,proto3" json:"ownerReferences,omitempty"`
	ResourceVersion            string     `protobuf:"bytes,14,opt,name=resourceVersion,proto3" json:"resourceVersion,omitempty"`
	SelfLink                   string     `protobuf:"bytes,15,opt,name=selfLink,proto3" json:"selfLink,omitempty"`
	Uid                        string     `protobuf:"bytes,16,opt,name=uid,proto3" json:"uid,omitempty"`
	XXX_NoUnkeyedLiteral       struct{}   `json:"-"`
	XXX_unrecognized           []byte     `json:"-"`
	XXX_sizecache              int32      `json:"-"`
}

func (*ObjectMeta) Descriptor

func (*ObjectMeta) Descriptor() ([]byte, []int)

func (*ObjectMeta) GetAnnotations

func (m *ObjectMeta) GetAnnotations() *any.Any

func (*ObjectMeta) GetClusterName

func (m *ObjectMeta) GetClusterName() string

func (*ObjectMeta) GetCreationTimestamp

func (m *ObjectMeta) GetCreationTimestamp() string

func (*ObjectMeta) GetDeletionGracePeriodSeconds

func (m *ObjectMeta) GetDeletionGracePeriodSeconds() int32

func (*ObjectMeta) GetDeletionTimestamp

func (m *ObjectMeta) GetDeletionTimestamp() string

func (*ObjectMeta) GetFinalizers

func (m *ObjectMeta) GetFinalizers() []string

func (*ObjectMeta) GetGenerateName

func (m *ObjectMeta) GetGenerateName() string

func (*ObjectMeta) GetGeneration

func (m *ObjectMeta) GetGeneration() int32

func (*ObjectMeta) GetInitializers

func (m *ObjectMeta) GetInitializers() *any.Any

func (*ObjectMeta) GetLabels

func (m *ObjectMeta) GetLabels() *any.Any

func (*ObjectMeta) GetName

func (m *ObjectMeta) GetName() string

func (*ObjectMeta) GetNamespace

func (m *ObjectMeta) GetNamespace() string

func (*ObjectMeta) GetOwnerReferences

func (m *ObjectMeta) GetOwnerReferences() []*any.Any

func (*ObjectMeta) GetResourceVersion

func (m *ObjectMeta) GetResourceVersion() string
func (m *ObjectMeta) GetSelfLink() string

func (*ObjectMeta) GetUid

func (m *ObjectMeta) GetUid() string

func (*ObjectMeta) ProtoMessage

func (*ObjectMeta) ProtoMessage()

func (*ObjectMeta) Reset

func (m *ObjectMeta) Reset()

func (*ObjectMeta) String

func (m *ObjectMeta) String() string

func (*ObjectMeta) XXX_DiscardUnknown

func (m *ObjectMeta) XXX_DiscardUnknown()

func (*ObjectMeta) XXX_Marshal

func (m *ObjectMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectMeta) XXX_Merge

func (m *ObjectMeta) XXX_Merge(src proto.Message)

func (*ObjectMeta) XXX_Size

func (m *ObjectMeta) XXX_Size() int

func (*ObjectMeta) XXX_Unmarshal

func (m *ObjectMeta) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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