v1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1 is a generated protocol buffer package.

It is generated from these files:

k8s.io/kubernetes/pkg/apis/meta/v1/generated.proto

It has these top-level messages:

APIGroup
APIGroupList
APIResource
APIResourceList
APIVersions
DeleteOptions
Duration
ExportOptions
GetOptions
GroupKind
GroupResource
GroupVersion
GroupVersionForDiscovery
GroupVersionKind
GroupVersionResource
LabelSelector
LabelSelectorRequirement
ListMeta
ListOptions
ObjectMeta
OwnerReference
Preconditions
RootPaths
ServerAddressByClientCIDR
Status
StatusCause
StatusDetails
Time
Timestamp
TypeMeta
Verbs
WatchEvent

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type APIGroup

type APIGroup struct {
	// name is the name of the group.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// versions are the versions supported in this group.
	Versions []*GroupVersionForDiscovery `protobuf:"bytes,2,rep,name=versions" json:"versions,omitempty"`
	// preferredVersion is the version preferred by the API server, which
	// probably is the storage version.
	// +optional
	PreferredVersion *GroupVersionForDiscovery `protobuf:"bytes,3,opt,name=preferredVersion" json:"preferredVersion,omitempty"`
	// a map of client CIDR to server address that is serving this group.
	// This is to help clients reach servers in the most network-efficient way possible.
	// Clients can use the appropriate server address as per the CIDR that they match.
	// In case of multiple matches, clients should use the longest matching CIDR.
	// The server returns only those CIDRs that it thinks that the client can match.
	// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
	// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
	ServerAddressByClientCIDRs []*ServerAddressByClientCIDR `protobuf:"bytes,4,rep,name=serverAddressByClientCIDRs" json:"serverAddressByClientCIDRs,omitempty"`
	XXX_unrecognized           []byte                       `json:"-"`
}

APIGroup contains the name, the supported versions, and the preferred version of a group.

func (*APIGroup) Descriptor

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

func (*APIGroup) GetName

func (m *APIGroup) GetName() string

func (*APIGroup) GetPreferredVersion

func (m *APIGroup) GetPreferredVersion() *GroupVersionForDiscovery

func (*APIGroup) GetServerAddressByClientCIDRs

func (m *APIGroup) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR

func (*APIGroup) GetVersions

func (m *APIGroup) GetVersions() []*GroupVersionForDiscovery

func (*APIGroup) Marshal

func (m *APIGroup) Marshal() (dAtA []byte, err error)

func (*APIGroup) MarshalTo

func (m *APIGroup) MarshalTo(dAtA []byte) (int, error)

func (*APIGroup) ProtoMessage

func (*APIGroup) ProtoMessage()

func (*APIGroup) Reset

func (m *APIGroup) Reset()

func (*APIGroup) Size

func (m *APIGroup) Size() (n int)

func (*APIGroup) String

func (m *APIGroup) String() string

func (*APIGroup) Unmarshal

func (m *APIGroup) Unmarshal(dAtA []byte) error

type APIGroupList

type APIGroupList struct {
	// groups is a list of APIGroup.
	Groups           []*APIGroup `protobuf:"bytes,1,rep,name=groups" json:"groups,omitempty"`
	XXX_unrecognized []byte      `json:"-"`
}

APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.

func (*APIGroupList) Descriptor

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

func (*APIGroupList) GetGroups

func (m *APIGroupList) GetGroups() []*APIGroup

func (*APIGroupList) Marshal

func (m *APIGroupList) Marshal() (dAtA []byte, err error)

func (*APIGroupList) MarshalTo

func (m *APIGroupList) MarshalTo(dAtA []byte) (int, error)

func (*APIGroupList) ProtoMessage

func (*APIGroupList) ProtoMessage()

func (*APIGroupList) Reset

func (m *APIGroupList) Reset()

func (*APIGroupList) Size

func (m *APIGroupList) Size() (n int)

func (*APIGroupList) String

func (m *APIGroupList) String() string

func (*APIGroupList) Unmarshal

func (m *APIGroupList) Unmarshal(dAtA []byte) error

type APIResource

type APIResource struct {
	// name is the name of the resource.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// namespaced indicates if a resource is namespaced or not.
	Namespaced *bool `protobuf:"varint,2,opt,name=namespaced" json:"namespaced,omitempty"`
	// kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
	Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
	// verbs is a list of supported kube verbs (this includes get, list, watch, create,
	// update, patch, delete, deletecollection, and proxy)
	Verbs *Verbs `protobuf:"bytes,4,opt,name=verbs" json:"verbs,omitempty"`
	// shortNames is a list of suggested short names of the resource.
	ShortNames       []string `protobuf:"bytes,5,rep,name=shortNames" json:"shortNames,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

APIResource specifies the name of a resource and whether it is namespaced.

func (*APIResource) Descriptor

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

func (*APIResource) GetKind

func (m *APIResource) GetKind() string

func (*APIResource) GetName

func (m *APIResource) GetName() string

func (*APIResource) GetNamespaced

func (m *APIResource) GetNamespaced() bool

func (*APIResource) GetShortNames

func (m *APIResource) GetShortNames() []string

func (*APIResource) GetVerbs

func (m *APIResource) GetVerbs() *Verbs

func (*APIResource) Marshal

func (m *APIResource) Marshal() (dAtA []byte, err error)

func (*APIResource) MarshalTo

func (m *APIResource) MarshalTo(dAtA []byte) (int, error)

func (*APIResource) ProtoMessage

func (*APIResource) ProtoMessage()

func (*APIResource) Reset

func (m *APIResource) Reset()

func (*APIResource) Size

func (m *APIResource) Size() (n int)

func (*APIResource) String

func (m *APIResource) String() string

func (*APIResource) Unmarshal

func (m *APIResource) Unmarshal(dAtA []byte) error

type APIResourceList

type APIResourceList struct {
	// groupVersion is the group and version this APIResourceList is for.
	GroupVersion *string `protobuf:"bytes,1,opt,name=groupVersion" json:"groupVersion,omitempty"`
	// resources contains the name of the resources and if they are namespaced.
	Resources        []*APIResource `protobuf:"bytes,2,rep,name=resources" json:"resources,omitempty"`
	XXX_unrecognized []byte         `json:"-"`
}

APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.

func (*APIResourceList) Descriptor

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

func (*APIResourceList) GetGroupVersion

func (m *APIResourceList) GetGroupVersion() string

func (*APIResourceList) GetResources

func (m *APIResourceList) GetResources() []*APIResource

func (*APIResourceList) Marshal

func (m *APIResourceList) Marshal() (dAtA []byte, err error)

func (*APIResourceList) MarshalTo

func (m *APIResourceList) MarshalTo(dAtA []byte) (int, error)

func (*APIResourceList) ProtoMessage

func (*APIResourceList) ProtoMessage()

func (*APIResourceList) Reset

func (m *APIResourceList) Reset()

func (*APIResourceList) Size

func (m *APIResourceList) Size() (n int)

func (*APIResourceList) String

func (m *APIResourceList) String() string

func (*APIResourceList) Unmarshal

func (m *APIResourceList) Unmarshal(dAtA []byte) error

type APIVersions

type APIVersions struct {
	// versions are the api versions that are available.
	Versions []string `protobuf:"bytes,1,rep,name=versions" json:"versions,omitempty"`
	// a map of client CIDR to server address that is serving this group.
	// This is to help clients reach servers in the most network-efficient way possible.
	// Clients can use the appropriate server address as per the CIDR that they match.
	// In case of multiple matches, clients should use the longest matching CIDR.
	// The server returns only those CIDRs that it thinks that the client can match.
	// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
	// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
	ServerAddressByClientCIDRs []*ServerAddressByClientCIDR `protobuf:"bytes,2,rep,name=serverAddressByClientCIDRs" json:"serverAddressByClientCIDRs,omitempty"`
	XXX_unrecognized           []byte                       `json:"-"`
}

APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*APIVersions) Descriptor

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

func (*APIVersions) GetServerAddressByClientCIDRs

func (m *APIVersions) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR

func (*APIVersions) GetVersions

func (m *APIVersions) GetVersions() []string

func (*APIVersions) Marshal

func (m *APIVersions) Marshal() (dAtA []byte, err error)

func (*APIVersions) MarshalTo

func (m *APIVersions) MarshalTo(dAtA []byte) (int, error)

func (*APIVersions) ProtoMessage

func (*APIVersions) ProtoMessage()

func (*APIVersions) Reset

func (m *APIVersions) Reset()

func (*APIVersions) Size

func (m *APIVersions) Size() (n int)

func (*APIVersions) String

func (m *APIVersions) String() string

func (*APIVersions) Unmarshal

func (m *APIVersions) Unmarshal(dAtA []byte) error

type DeleteOptions

type DeleteOptions struct {
	// The duration in seconds before the object should be deleted. Value must be non-negative integer.
	// The value zero indicates delete immediately. If this value is nil, the default grace period for the
	// specified type will be used.
	// Defaults to a per object value if not specified. zero means delete immediately.
	// +optional
	GracePeriodSeconds *int64 `protobuf:"varint,1,opt,name=gracePeriodSeconds" json:"gracePeriodSeconds,omitempty"`
	// Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
	// returned.
	// +optional
	Preconditions *Preconditions `protobuf:"bytes,2,opt,name=preconditions" json:"preconditions,omitempty"`
	// Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
	// Should the dependent objects be orphaned. If true/false, the "orphan"
	// finalizer will be added to/removed from the object's finalizers list.
	// Either this field or PropagationPolicy may be set, but not both.
	// +optional
	OrphanDependents *bool `protobuf:"varint,3,opt,name=orphanDependents" json:"orphanDependents,omitempty"`
	// Whether and how garbage collection will be performed.
	// Either this field or OrphanDependents may be set, but not both.
	// The default policy is decided by the existing finalizer set in the
	// metadata.finalizers and the resource-specific default policy.
	// +optional
	PropagationPolicy *string `protobuf:"bytes,4,opt,name=propagationPolicy" json:"propagationPolicy,omitempty"`
	XXX_unrecognized  []byte  `json:"-"`
}

DeleteOptions may be provided when deleting an API object.

func (*DeleteOptions) Descriptor

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

func (*DeleteOptions) GetGracePeriodSeconds

func (m *DeleteOptions) GetGracePeriodSeconds() int64

func (*DeleteOptions) GetOrphanDependents

func (m *DeleteOptions) GetOrphanDependents() bool

func (*DeleteOptions) GetPreconditions

func (m *DeleteOptions) GetPreconditions() *Preconditions

func (*DeleteOptions) GetPropagationPolicy

func (m *DeleteOptions) GetPropagationPolicy() string

func (*DeleteOptions) Marshal

func (m *DeleteOptions) Marshal() (dAtA []byte, err error)

func (*DeleteOptions) MarshalTo

func (m *DeleteOptions) MarshalTo(dAtA []byte) (int, error)

func (*DeleteOptions) ProtoMessage

func (*DeleteOptions) ProtoMessage()

func (*DeleteOptions) Reset

func (m *DeleteOptions) Reset()

func (*DeleteOptions) Size

func (m *DeleteOptions) Size() (n int)

func (*DeleteOptions) String

func (m *DeleteOptions) String() string

func (*DeleteOptions) Unmarshal

func (m *DeleteOptions) Unmarshal(dAtA []byte) error

type Duration

type Duration struct {
	Duration         *int64 `protobuf:"varint,1,opt,name=duration" json:"duration,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Duration is a wrapper around time.Duration which supports correct marshaling to YAML and JSON. In particular, it marshals into strings, which can be used as map keys in json.

func (*Duration) Descriptor

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

func (*Duration) GetDuration

func (m *Duration) GetDuration() int64

func (*Duration) Marshal

func (m *Duration) Marshal() (dAtA []byte, err error)

func (*Duration) MarshalTo

func (m *Duration) MarshalTo(dAtA []byte) (int, error)

func (*Duration) ProtoMessage

func (*Duration) ProtoMessage()

func (*Duration) Reset

func (m *Duration) Reset()

func (*Duration) Size

func (m *Duration) Size() (n int)

func (*Duration) String

func (m *Duration) String() string

func (*Duration) Unmarshal

func (m *Duration) Unmarshal(dAtA []byte) error

type ExportOptions

type ExportOptions struct {
	// Should this value be exported.  Export strips fields that a user can not specify.
	Export *bool `protobuf:"varint,1,opt,name=export" json:"export,omitempty"`
	// Should the export be exact.  Exact export maintains cluster-specific fields like 'Namespace'.
	Exact            *bool  `protobuf:"varint,2,opt,name=exact" json:"exact,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

ExportOptions is the query options to the standard REST get call.

func (*ExportOptions) Descriptor

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

func (*ExportOptions) GetExact

func (m *ExportOptions) GetExact() bool

func (*ExportOptions) GetExport

func (m *ExportOptions) GetExport() bool

func (*ExportOptions) Marshal

func (m *ExportOptions) Marshal() (dAtA []byte, err error)

func (*ExportOptions) MarshalTo

func (m *ExportOptions) MarshalTo(dAtA []byte) (int, error)

func (*ExportOptions) ProtoMessage

func (*ExportOptions) ProtoMessage()

func (*ExportOptions) Reset

func (m *ExportOptions) Reset()

func (*ExportOptions) Size

func (m *ExportOptions) Size() (n int)

func (*ExportOptions) String

func (m *ExportOptions) String() string

func (*ExportOptions) Unmarshal

func (m *ExportOptions) Unmarshal(dAtA []byte) error

type GetOptions

type GetOptions struct {
	// When specified:
	// - if unset, then the result is returned from remote storage based on quorum-read flag;
	// - if it's 0, then we simply return what we currently have in cache, no guarantee;
	// - if set to non zero, then the result is at least as fresh as given rv.
	ResourceVersion  *string `protobuf:"bytes,1,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

GetOptions is the standard query options to the standard REST get call.

func (*GetOptions) Descriptor

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

func (*GetOptions) GetResourceVersion

func (m *GetOptions) GetResourceVersion() string

func (*GetOptions) Marshal

func (m *GetOptions) Marshal() (dAtA []byte, err error)

func (*GetOptions) MarshalTo

func (m *GetOptions) MarshalTo(dAtA []byte) (int, error)

func (*GetOptions) ProtoMessage

func (*GetOptions) ProtoMessage()

func (*GetOptions) Reset

func (m *GetOptions) Reset()

func (*GetOptions) Size

func (m *GetOptions) Size() (n int)

func (*GetOptions) String

func (m *GetOptions) String() string

func (*GetOptions) Unmarshal

func (m *GetOptions) Unmarshal(dAtA []byte) error

type GroupKind

type GroupKind struct {
	Group            *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
	Kind             *string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying concepts during lookup stages without having partially valid types

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*GroupKind) Descriptor

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

func (*GroupKind) GetGroup

func (m *GroupKind) GetGroup() string

func (*GroupKind) GetKind

func (m *GroupKind) GetKind() string

func (*GroupKind) Marshal

func (m *GroupKind) Marshal() (dAtA []byte, err error)

func (*GroupKind) MarshalTo

func (m *GroupKind) MarshalTo(dAtA []byte) (int, error)

func (*GroupKind) ProtoMessage

func (*GroupKind) ProtoMessage()

func (*GroupKind) Reset

func (m *GroupKind) Reset()

func (*GroupKind) Size

func (m *GroupKind) Size() (n int)

func (*GroupKind) String

func (m *GroupKind) String() string

func (*GroupKind) Unmarshal

func (m *GroupKind) Unmarshal(dAtA []byte) error

type GroupResource

type GroupResource struct {
	Group            *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
	Resource         *string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

GroupResource specifies a Group and a Resource, but does not force a version. This is useful for identifying concepts during lookup stages without having partially valid types

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*GroupResource) Descriptor

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

func (*GroupResource) GetGroup

func (m *GroupResource) GetGroup() string

func (*GroupResource) GetResource

func (m *GroupResource) GetResource() string

func (*GroupResource) Marshal

func (m *GroupResource) Marshal() (dAtA []byte, err error)

func (*GroupResource) MarshalTo

func (m *GroupResource) MarshalTo(dAtA []byte) (int, error)

func (*GroupResource) ProtoMessage

func (*GroupResource) ProtoMessage()

func (*GroupResource) Reset

func (m *GroupResource) Reset()

func (*GroupResource) Size

func (m *GroupResource) Size() (n int)

func (*GroupResource) String

func (m *GroupResource) String() string

func (*GroupResource) Unmarshal

func (m *GroupResource) Unmarshal(dAtA []byte) error

type GroupVersion

type GroupVersion struct {
	Group            *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
	Version          *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

GroupVersion contains the "group" and the "version", which uniquely identifies the API.

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*GroupVersion) Descriptor

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

func (*GroupVersion) GetGroup

func (m *GroupVersion) GetGroup() string

func (*GroupVersion) GetVersion

func (m *GroupVersion) GetVersion() string

func (*GroupVersion) Marshal

func (m *GroupVersion) Marshal() (dAtA []byte, err error)

func (*GroupVersion) MarshalTo

func (m *GroupVersion) MarshalTo(dAtA []byte) (int, error)

func (*GroupVersion) ProtoMessage

func (*GroupVersion) ProtoMessage()

func (*GroupVersion) Reset

func (m *GroupVersion) Reset()

func (*GroupVersion) Size

func (m *GroupVersion) Size() (n int)

func (*GroupVersion) String

func (m *GroupVersion) String() string

func (*GroupVersion) Unmarshal

func (m *GroupVersion) Unmarshal(dAtA []byte) error

type GroupVersionForDiscovery

type GroupVersionForDiscovery struct {
	// groupVersion specifies the API group and version in the form "group/version"
	GroupVersion *string `protobuf:"bytes,1,opt,name=groupVersion" json:"groupVersion,omitempty"`
	// version specifies the version in the form of "version". This is to save
	// the clients the trouble of splitting the GroupVersion.
	Version          *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.

func (*GroupVersionForDiscovery) Descriptor

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

func (*GroupVersionForDiscovery) GetGroupVersion

func (m *GroupVersionForDiscovery) GetGroupVersion() string

func (*GroupVersionForDiscovery) GetVersion

func (m *GroupVersionForDiscovery) GetVersion() string

func (*GroupVersionForDiscovery) Marshal

func (m *GroupVersionForDiscovery) Marshal() (dAtA []byte, err error)

func (*GroupVersionForDiscovery) MarshalTo

func (m *GroupVersionForDiscovery) MarshalTo(dAtA []byte) (int, error)

func (*GroupVersionForDiscovery) ProtoMessage

func (*GroupVersionForDiscovery) ProtoMessage()

func (*GroupVersionForDiscovery) Reset

func (m *GroupVersionForDiscovery) Reset()

func (*GroupVersionForDiscovery) Size

func (m *GroupVersionForDiscovery) Size() (n int)

func (*GroupVersionForDiscovery) String

func (m *GroupVersionForDiscovery) String() string

func (*GroupVersionForDiscovery) Unmarshal

func (m *GroupVersionForDiscovery) Unmarshal(dAtA []byte) error

type GroupVersionKind

type GroupVersionKind struct {
	Group            *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
	Version          *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	Kind             *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*GroupVersionKind) Descriptor

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

func (*GroupVersionKind) GetGroup

func (m *GroupVersionKind) GetGroup() string

func (*GroupVersionKind) GetKind

func (m *GroupVersionKind) GetKind() string

func (*GroupVersionKind) GetVersion

func (m *GroupVersionKind) GetVersion() string

func (*GroupVersionKind) Marshal

func (m *GroupVersionKind) Marshal() (dAtA []byte, err error)

func (*GroupVersionKind) MarshalTo

func (m *GroupVersionKind) MarshalTo(dAtA []byte) (int, error)

func (*GroupVersionKind) ProtoMessage

func (*GroupVersionKind) ProtoMessage()

func (*GroupVersionKind) Reset

func (m *GroupVersionKind) Reset()

func (*GroupVersionKind) Size

func (m *GroupVersionKind) Size() (n int)

func (*GroupVersionKind) String

func (m *GroupVersionKind) String() string

func (*GroupVersionKind) Unmarshal

func (m *GroupVersionKind) Unmarshal(dAtA []byte) error

type GroupVersionResource

type GroupVersionResource struct {
	Group            *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
	Version          *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
	Resource         *string `protobuf:"bytes,3,opt,name=resource" json:"resource,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling

+protobuf.options.(gogoproto.goproto_stringer)=false

func (*GroupVersionResource) Descriptor

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

func (*GroupVersionResource) GetGroup

func (m *GroupVersionResource) GetGroup() string

func (*GroupVersionResource) GetResource

func (m *GroupVersionResource) GetResource() string

func (*GroupVersionResource) GetVersion

func (m *GroupVersionResource) GetVersion() string

func (*GroupVersionResource) Marshal

func (m *GroupVersionResource) Marshal() (dAtA []byte, err error)

func (*GroupVersionResource) MarshalTo

func (m *GroupVersionResource) MarshalTo(dAtA []byte) (int, error)

func (*GroupVersionResource) ProtoMessage

func (*GroupVersionResource) ProtoMessage()

func (*GroupVersionResource) Reset

func (m *GroupVersionResource) Reset()

func (*GroupVersionResource) Size

func (m *GroupVersionResource) Size() (n int)

func (*GroupVersionResource) String

func (m *GroupVersionResource) String() string

func (*GroupVersionResource) Unmarshal

func (m *GroupVersionResource) Unmarshal(dAtA []byte) error

type LabelSelector

type LabelSelector struct {
	// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
	// map is equivalent to an element of matchExpressions, whose key field is "key", the
	// operator is "In", and the values array contains only "value". The requirements are ANDed.
	// +optional
	MatchLabels map[string]string `` /* 142-byte string literal not displayed */
	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	// +optional
	MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=matchExpressions" json:"matchExpressions,omitempty"`
	XXX_unrecognized []byte                      `json:"-"`
}

A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.

func (*LabelSelector) Descriptor

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

func (*LabelSelector) GetMatchExpressions

func (m *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement

func (*LabelSelector) GetMatchLabels

func (m *LabelSelector) GetMatchLabels() map[string]string

func (*LabelSelector) Marshal

func (m *LabelSelector) Marshal() (dAtA []byte, err error)

func (*LabelSelector) MarshalTo

func (m *LabelSelector) MarshalTo(dAtA []byte) (int, error)

func (*LabelSelector) ProtoMessage

func (*LabelSelector) ProtoMessage()

func (*LabelSelector) Reset

func (m *LabelSelector) Reset()

func (*LabelSelector) Size

func (m *LabelSelector) Size() (n int)

func (*LabelSelector) String

func (m *LabelSelector) String() string

func (*LabelSelector) Unmarshal

func (m *LabelSelector) Unmarshal(dAtA []byte) error

type LabelSelectorRequirement

type LabelSelectorRequirement struct {
	// key is the label key that the selector applies to.
	Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	// operator represents a key's relationship to a set of values.
	// Valid operators ard In, NotIn, Exists and DoesNotExist.
	Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"`
	// values is an array of string values. If the operator is In or NotIn,
	// the values array must be non-empty. If the operator is Exists or DoesNotExist,
	// the values array must be empty. This array is replaced during a strategic
	// merge patch.
	// +optional
	Values           []string `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

func (*LabelSelectorRequirement) Descriptor

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

func (*LabelSelectorRequirement) GetKey

func (m *LabelSelectorRequirement) GetKey() string

func (*LabelSelectorRequirement) GetOperator

func (m *LabelSelectorRequirement) GetOperator() string

func (*LabelSelectorRequirement) GetValues

func (m *LabelSelectorRequirement) GetValues() []string

func (*LabelSelectorRequirement) Marshal

func (m *LabelSelectorRequirement) Marshal() (dAtA []byte, err error)

func (*LabelSelectorRequirement) MarshalTo

func (m *LabelSelectorRequirement) MarshalTo(dAtA []byte) (int, error)

func (*LabelSelectorRequirement) ProtoMessage

func (*LabelSelectorRequirement) ProtoMessage()

func (*LabelSelectorRequirement) Reset

func (m *LabelSelectorRequirement) Reset()

func (*LabelSelectorRequirement) Size

func (m *LabelSelectorRequirement) Size() (n int)

func (*LabelSelectorRequirement) String

func (m *LabelSelectorRequirement) String() string

func (*LabelSelectorRequirement) Unmarshal

func (m *LabelSelectorRequirement) Unmarshal(dAtA []byte) error

type ListMeta

type ListMeta struct {
	// SelfLink is a URL representing this object.
	// Populated by the system.
	// Read-only.
	// +optional
	SelfLink *string `protobuf:"bytes,1,opt,name=selfLink" json:"selfLink,omitempty"`
	// String that identifies the server's internal version of this object that
	// can be used by clients to determine when objects have changed.
	// Value must be treated as opaque by clients and passed unmodified back to the server.
	// Populated by the system.
	// Read-only.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion  *string `protobuf:"bytes,2,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

func (*ListMeta) Descriptor

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

func (*ListMeta) GetResourceVersion

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

func (*ListMeta) Marshal

func (m *ListMeta) Marshal() (dAtA []byte, err error)

func (*ListMeta) MarshalTo

func (m *ListMeta) MarshalTo(dAtA []byte) (int, error)

func (*ListMeta) ProtoMessage

func (*ListMeta) ProtoMessage()

func (*ListMeta) Reset

func (m *ListMeta) Reset()

func (*ListMeta) Size

func (m *ListMeta) Size() (n int)

func (*ListMeta) String

func (m *ListMeta) String() string

func (*ListMeta) Unmarshal

func (m *ListMeta) Unmarshal(dAtA []byte) error

type ListOptions

type ListOptions struct {
	// A selector to restrict the list of returned objects by their labels.
	// Defaults to everything.
	// +optional
	LabelSelector *string `protobuf:"bytes,1,opt,name=labelSelector" json:"labelSelector,omitempty"`
	// A selector to restrict the list of returned objects by their fields.
	// Defaults to everything.
	// +optional
	FieldSelector *string `protobuf:"bytes,2,opt,name=fieldSelector" json:"fieldSelector,omitempty"`
	// Watch for changes to the described resources and return them as a stream of
	// add, update, and remove notifications. Specify resourceVersion.
	// +optional
	Watch *bool `protobuf:"varint,3,opt,name=watch" json:"watch,omitempty"`
	// When specified with a watch call, shows changes that occur after that particular version of a resource.
	// Defaults to changes from the beginning of history.
	// When specified for list:
	// - if unset, then the result is returned from remote storage based on quorum-read flag;
	// - if it's 0, then we simply return what we currently have in cache, no guarantee;
	// - if set to non zero, then the result is at least as fresh as given rv.
	// +optional
	ResourceVersion *string `protobuf:"bytes,4,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
	// Timeout for the list/watch call.
	// +optional
	TimeoutSeconds   *int64 `protobuf:"varint,5,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

ListOptions is the query options to a standard REST list call.

func (*ListOptions) Descriptor

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

func (*ListOptions) GetFieldSelector

func (m *ListOptions) GetFieldSelector() string

func (*ListOptions) GetLabelSelector

func (m *ListOptions) GetLabelSelector() string

func (*ListOptions) GetResourceVersion

func (m *ListOptions) GetResourceVersion() string

func (*ListOptions) GetTimeoutSeconds

func (m *ListOptions) GetTimeoutSeconds() int64

func (*ListOptions) GetWatch

func (m *ListOptions) GetWatch() bool

func (*ListOptions) Marshal

func (m *ListOptions) Marshal() (dAtA []byte, err error)

func (*ListOptions) MarshalTo

func (m *ListOptions) MarshalTo(dAtA []byte) (int, error)

func (*ListOptions) ProtoMessage

func (*ListOptions) ProtoMessage()

func (*ListOptions) Reset

func (m *ListOptions) Reset()

func (*ListOptions) Size

func (m *ListOptions) Size() (n int)

func (*ListOptions) String

func (m *ListOptions) String() string

func (*ListOptions) Unmarshal

func (m *ListOptions) Unmarshal(dAtA []byte) error

type ObjectMeta

type ObjectMeta struct {
	// Name must be unique within a namespace. Is required when creating resources, although
	// some resources may allow a client to request the generation of an appropriate name
	// automatically. Name is primarily intended for creation idempotence and configuration
	// definition.
	// Cannot be updated.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#names
	// +optional
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// GenerateName is an optional prefix, used by the server, to generate a unique
	// name ONLY IF the Name field has not been provided.
	// If this field is used, the name returned to the client will be different
	// than the name passed. This value will also be combined with a unique suffix.
	// The provided value has the same validation rules as the Name field,
	// and may be truncated by the length of the suffix required to make the value
	// unique on the server.
	//
	// If this field is specified and the generated name exists, the server will
	// NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
	// ServerTimeout indicating a unique name could not be found in the time allotted, and the client
	// should retry (optionally after the time indicated in the Retry-After header).
	//
	// Applied only if Name is not specified.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency
	// +optional
	GenerateName *string `protobuf:"bytes,2,opt,name=generateName" json:"generateName,omitempty"`
	// Namespace defines the space within each name must be unique. An empty namespace is
	// equivalent to the "default" namespace, but "default" is the canonical representation.
	// Not all objects are required to be scoped to a namespace - the value of this field for
	// those objects will be empty.
	//
	// Must be a DNS_LABEL.
	// Cannot be updated.
	// More info: http://kubernetes.io/docs/user-guide/namespaces
	// +optional
	Namespace *string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"`
	// SelfLink is a URL representing this object.
	// Populated by the system.
	// Read-only.
	// +optional
	SelfLink *string `protobuf:"bytes,4,opt,name=selfLink" json:"selfLink,omitempty"`
	// UID is the unique in time and space value for this object. It is typically generated by
	// the server on successful creation of a resource and is not allowed to change on PUT
	// operations.
	//
	// Populated by the system.
	// Read-only.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	// +optional
	Uid *string `protobuf:"bytes,5,opt,name=uid" json:"uid,omitempty"`
	// An opaque value that represents the internal version of this object that can
	// be used by clients to determine when objects have changed. May be used for optimistic
	// concurrency, change detection, and the watch operation on a resource or set of resources.
	// Clients must treat these values as opaque and passed unmodified back to the server.
	// They may only be valid for a particular resource or set of resources.
	//
	// Populated by the system.
	// Read-only.
	// Value must be treated as opaque by clients and .
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion *string `protobuf:"bytes,6,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
	// A sequence number representing a specific generation of the desired state.
	// Populated by the system. Read-only.
	// +optional
	Generation *int64 `protobuf:"varint,7,opt,name=generation" json:"generation,omitempty"`
	// CreationTimestamp is a timestamp representing the server time when this object was
	// created. It is not guaranteed to be set in happens-before order across separate operations.
	// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
	//
	// Populated by the system.
	// Read-only.
	// Null for lists.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	CreationTimestamp *Time `protobuf:"bytes,8,opt,name=creationTimestamp" json:"creationTimestamp,omitempty"`
	// DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
	// field is set by the server when a graceful deletion is requested by the user, and is not
	// directly settable by a client. The resource is expected to be deleted (no longer visible
	// from resource lists, and not reachable by name) after the time in this field. Once set,
	// this value may not be unset or be set further into the future, although it may be shortened
	// or the resource may be deleted prior to this time. For example, a user may request that
	// a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination
	// signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard
	// termination signal (SIGKILL) to the container and after cleanup, remove the pod from the
	// API. In the presence of network partitions, this object may still exist after this
	// timestamp, until an administrator or automated process can determine the resource is
	// fully terminated.
	// If not set, graceful deletion of the object has not been requested.
	//
	// Populated by the system when a graceful deletion is requested.
	// Read-only.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata
	// +optional
	DeletionTimestamp *Time `protobuf:"bytes,9,opt,name=deletionTimestamp" json:"deletionTimestamp,omitempty"`
	// Number of seconds allowed for this object to gracefully terminate before
	// it will be removed from the system. Only set when deletionTimestamp is also set.
	// May only be shortened.
	// Read-only.
	// +optional
	DeletionGracePeriodSeconds *int64 `protobuf:"varint,10,opt,name=deletionGracePeriodSeconds" json:"deletionGracePeriodSeconds,omitempty"`
	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: http://kubernetes.io/docs/user-guide/labels
	// +optional
	Labels map[string]string `` /* 133-byte string literal not displayed */
	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: http://kubernetes.io/docs/user-guide/annotations
	// +optional
	Annotations map[string]string `` /* 143-byte string literal not displayed */
	// List of objects depended by this object. If ALL objects in the list have
	// been deleted, this object will be garbage collected. If this object is managed by a controller,
	// then an entry in this list will point to this controller, with the controller field set to true.
	// There cannot be more than one managing controller.
	// +optional
	OwnerReferences []*OwnerReference `protobuf:"bytes,13,rep,name=ownerReferences" json:"ownerReferences,omitempty"`
	// Must be empty before the object is deleted from the registry. Each entry
	// is an identifier for the responsible component that will remove the entry
	// from the list. If the deletionTimestamp of the object is non-nil, entries
	// in this list can only be removed.
	// +optional
	Finalizers []string `protobuf:"bytes,14,rep,name=finalizers" json:"finalizers,omitempty"`
	// The name of the cluster which the object belongs to.
	// This is used to distinguish resources with same name and namespace in different clusters.
	// This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
	// +optional
	ClusterName      *string `protobuf:"bytes,15,opt,name=clusterName" json:"clusterName,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

func (*ObjectMeta) Descriptor

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

func (*ObjectMeta) GetAnnotations

func (m *ObjectMeta) GetAnnotations() map[string]string

func (*ObjectMeta) GetClusterName

func (m *ObjectMeta) GetClusterName() string

func (*ObjectMeta) GetCreationTimestamp

func (m *ObjectMeta) GetCreationTimestamp() *Time

func (*ObjectMeta) GetDeletionGracePeriodSeconds

func (m *ObjectMeta) GetDeletionGracePeriodSeconds() int64

func (*ObjectMeta) GetDeletionTimestamp

func (m *ObjectMeta) GetDeletionTimestamp() *Time

func (*ObjectMeta) GetFinalizers

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

func (*ObjectMeta) GetGenerateName

func (m *ObjectMeta) GetGenerateName() string

func (*ObjectMeta) GetGeneration

func (m *ObjectMeta) GetGeneration() int64

func (*ObjectMeta) GetLabels

func (m *ObjectMeta) GetLabels() map[string]string

func (*ObjectMeta) GetName

func (m *ObjectMeta) GetName() string

func (*ObjectMeta) GetNamespace

func (m *ObjectMeta) GetNamespace() string

func (*ObjectMeta) GetOwnerReferences

func (m *ObjectMeta) GetOwnerReferences() []*OwnerReference

func (*ObjectMeta) GetResourceVersion

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

func (*ObjectMeta) GetUid

func (m *ObjectMeta) GetUid() string

func (*ObjectMeta) Marshal

func (m *ObjectMeta) Marshal() (dAtA []byte, err error)

func (*ObjectMeta) MarshalTo

func (m *ObjectMeta) MarshalTo(dAtA []byte) (int, error)

func (*ObjectMeta) ProtoMessage

func (*ObjectMeta) ProtoMessage()

func (*ObjectMeta) Reset

func (m *ObjectMeta) Reset()

func (*ObjectMeta) Size

func (m *ObjectMeta) Size() (n int)

func (*ObjectMeta) String

func (m *ObjectMeta) String() string

func (*ObjectMeta) Unmarshal

func (m *ObjectMeta) Unmarshal(dAtA []byte) error

type OwnerReference

type OwnerReference struct {
	// API version of the referent.
	ApiVersion *string `protobuf:"bytes,5,opt,name=apiVersion" json:"apiVersion,omitempty"`
	// Kind of the referent.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
	Kind *string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"`
	// Name of the referent.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	// UID of the referent.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	Uid *string `protobuf:"bytes,4,opt,name=uid" json:"uid,omitempty"`
	// If true, this reference points to the managing controller.
	// +optional
	Controller *bool `protobuf:"varint,6,opt,name=controller" json:"controller,omitempty"`
	// If true, AND if the owner has the "foregroundDeletion" finalizer, then
	// the owner cannot be deleted from the key-value store until this
	// reference is removed.
	// Defaults to false.
	// To set this field, a user needs "delete" permission of the owner,
	// otherwise 422 (Unprocessable Entity) will be returned.
	// +optional
	BlockOwnerDeletion *bool  `protobuf:"varint,7,opt,name=blockOwnerDeletion" json:"blockOwnerDeletion,omitempty"`
	XXX_unrecognized   []byte `json:"-"`
}

OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.

func (*OwnerReference) Descriptor

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

func (*OwnerReference) GetApiVersion

func (m *OwnerReference) GetApiVersion() string

func (*OwnerReference) GetBlockOwnerDeletion

func (m *OwnerReference) GetBlockOwnerDeletion() bool

func (*OwnerReference) GetController

func (m *OwnerReference) GetController() bool

func (*OwnerReference) GetKind

func (m *OwnerReference) GetKind() string

func (*OwnerReference) GetName

func (m *OwnerReference) GetName() string

func (*OwnerReference) GetUid

func (m *OwnerReference) GetUid() string

func (*OwnerReference) Marshal

func (m *OwnerReference) Marshal() (dAtA []byte, err error)

func (*OwnerReference) MarshalTo

func (m *OwnerReference) MarshalTo(dAtA []byte) (int, error)

func (*OwnerReference) ProtoMessage

func (*OwnerReference) ProtoMessage()

func (*OwnerReference) Reset

func (m *OwnerReference) Reset()

func (*OwnerReference) Size

func (m *OwnerReference) Size() (n int)

func (*OwnerReference) String

func (m *OwnerReference) String() string

func (*OwnerReference) Unmarshal

func (m *OwnerReference) Unmarshal(dAtA []byte) error

type Preconditions

type Preconditions struct {
	// Specifies the target UID.
	// +optional
	Uid              *string `protobuf:"bytes,1,opt,name=uid" json:"uid,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.

func (*Preconditions) Descriptor

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

func (*Preconditions) GetUid

func (m *Preconditions) GetUid() string

func (*Preconditions) Marshal

func (m *Preconditions) Marshal() (dAtA []byte, err error)

func (*Preconditions) MarshalTo

func (m *Preconditions) MarshalTo(dAtA []byte) (int, error)

func (*Preconditions) ProtoMessage

func (*Preconditions) ProtoMessage()

func (*Preconditions) Reset

func (m *Preconditions) Reset()

func (*Preconditions) Size

func (m *Preconditions) Size() (n int)

func (*Preconditions) String

func (m *Preconditions) String() string

func (*Preconditions) Unmarshal

func (m *Preconditions) Unmarshal(dAtA []byte) error

type RootPaths

type RootPaths struct {
	// paths are the paths available at root.
	Paths            []string `protobuf:"bytes,1,rep,name=paths" json:"paths,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

RootPaths lists the paths available at root. For example: "/healthz", "/apis".

func (*RootPaths) Descriptor

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

func (*RootPaths) GetPaths

func (m *RootPaths) GetPaths() []string

func (*RootPaths) Marshal

func (m *RootPaths) Marshal() (dAtA []byte, err error)

func (*RootPaths) MarshalTo

func (m *RootPaths) MarshalTo(dAtA []byte) (int, error)

func (*RootPaths) ProtoMessage

func (*RootPaths) ProtoMessage()

func (*RootPaths) Reset

func (m *RootPaths) Reset()

func (*RootPaths) Size

func (m *RootPaths) Size() (n int)

func (*RootPaths) String

func (m *RootPaths) String() string

func (*RootPaths) Unmarshal

func (m *RootPaths) Unmarshal(dAtA []byte) error

type ServerAddressByClientCIDR

type ServerAddressByClientCIDR struct {
	// The CIDR with which clients can match their IP to figure out the server address that they should use.
	ClientCIDR *string `protobuf:"bytes,1,opt,name=clientCIDR" json:"clientCIDR,omitempty"`
	// Address of this server, suitable for a client that matches the above CIDR.
	// This can be a hostname, hostname:port, IP or IP:port.
	ServerAddress    *string `protobuf:"bytes,2,opt,name=serverAddress" json:"serverAddress,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.

func (*ServerAddressByClientCIDR) Descriptor

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

func (*ServerAddressByClientCIDR) GetClientCIDR

func (m *ServerAddressByClientCIDR) GetClientCIDR() string

func (*ServerAddressByClientCIDR) GetServerAddress

func (m *ServerAddressByClientCIDR) GetServerAddress() string

func (*ServerAddressByClientCIDR) Marshal

func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error)

func (*ServerAddressByClientCIDR) MarshalTo

func (m *ServerAddressByClientCIDR) MarshalTo(dAtA []byte) (int, error)

func (*ServerAddressByClientCIDR) ProtoMessage

func (*ServerAddressByClientCIDR) ProtoMessage()

func (*ServerAddressByClientCIDR) Reset

func (m *ServerAddressByClientCIDR) Reset()

func (*ServerAddressByClientCIDR) Size

func (m *ServerAddressByClientCIDR) Size() (n int)

func (*ServerAddressByClientCIDR) String

func (m *ServerAddressByClientCIDR) String() string

func (*ServerAddressByClientCIDR) Unmarshal

func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error

type Status

type Status struct {
	// Standard list metadata.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
	// +optional
	Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Status of the operation.
	// One of: "Success" or "Failure".
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status
	// +optional
	Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// A human-readable description of the status of this operation.
	// +optional
	Message *string `protobuf:"bytes,3,opt,name=message" json:"message,omitempty"`
	// A machine-readable description of why this operation is in the
	// "Failure" status. If this value is empty there
	// is no information available. A Reason clarifies an HTTP status
	// code but does not override it.
	// +optional
	Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"`
	// Extended data associated with the reason.  Each reason may define its
	// own extended details. This field is optional and the data returned
	// is not guaranteed to conform to any schema except that defined by
	// the reason type.
	// +optional
	Details *StatusDetails `protobuf:"bytes,5,opt,name=details" json:"details,omitempty"`
	// Suggested HTTP return code for this status, 0 if not set.
	// +optional
	Code             *int32 `protobuf:"varint,6,opt,name=code" json:"code,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Status is a return value for calls that don't return other objects.

func (*Status) Descriptor

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

func (*Status) GetCode

func (m *Status) GetCode() int32

func (*Status) GetDetails

func (m *Status) GetDetails() *StatusDetails

func (*Status) GetMessage

func (m *Status) GetMessage() string

func (*Status) GetMetadata

func (m *Status) GetMetadata() *ListMeta

func (*Status) GetReason

func (m *Status) GetReason() string

func (*Status) GetStatus

func (m *Status) GetStatus() string

func (*Status) Marshal

func (m *Status) Marshal() (dAtA []byte, err error)

func (*Status) MarshalTo

func (m *Status) MarshalTo(dAtA []byte) (int, error)

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) Reset

func (m *Status) Reset()

func (*Status) Size

func (m *Status) Size() (n int)

func (*Status) String

func (m *Status) String() string

func (*Status) Unmarshal

func (m *Status) Unmarshal(dAtA []byte) error

type StatusCause

type StatusCause struct {
	// A machine-readable description of the cause of the error. If this value is
	// empty there is no information available.
	// +optional
	Reason *string `protobuf:"bytes,1,opt,name=reason" json:"reason,omitempty"`
	// A human-readable description of the cause of the error.  This field may be
	// presented as-is to a reader.
	// +optional
	Message *string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"`
	// The field of the resource that has caused this error, as named by its JSON
	// serialization. May include dot and postfix notation for nested attributes.
	// Arrays are zero-indexed.  Fields may appear more than once in an array of
	// causes due to fields having multiple errors.
	// Optional.
	//
	// Examples:
	//   "name" - the field "name" on the current resource
	//   "items[0].name" - the field "name" on the first array entry in "items"
	// +optional
	Field            *string `protobuf:"bytes,3,opt,name=field" json:"field,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.

func (*StatusCause) Descriptor

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

func (*StatusCause) GetField

func (m *StatusCause) GetField() string

func (*StatusCause) GetMessage

func (m *StatusCause) GetMessage() string

func (*StatusCause) GetReason

func (m *StatusCause) GetReason() string

func (*StatusCause) Marshal

func (m *StatusCause) Marshal() (dAtA []byte, err error)

func (*StatusCause) MarshalTo

func (m *StatusCause) MarshalTo(dAtA []byte) (int, error)

func (*StatusCause) ProtoMessage

func (*StatusCause) ProtoMessage()

func (*StatusCause) Reset

func (m *StatusCause) Reset()

func (*StatusCause) Size

func (m *StatusCause) Size() (n int)

func (*StatusCause) String

func (m *StatusCause) String() string

func (*StatusCause) Unmarshal

func (m *StatusCause) Unmarshal(dAtA []byte) error

type StatusDetails

type StatusDetails struct {
	// The name attribute of the resource associated with the status StatusReason
	// (when there is a single name which can be described).
	// +optional
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The group attribute of the resource associated with the status StatusReason.
	// +optional
	Group *string `protobuf:"bytes,2,opt,name=group" json:"group,omitempty"`
	// The kind attribute of the resource associated with the status StatusReason.
	// On some operations may differ from the requested resource Kind.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
	// +optional
	Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
	// The Causes array includes more details associated with the StatusReason
	// failure. Not all StatusReasons may provide detailed causes.
	// +optional
	Causes []*StatusCause `protobuf:"bytes,4,rep,name=causes" json:"causes,omitempty"`
	// If specified, the time in seconds before the operation should be retried.
	// +optional
	RetryAfterSeconds *int32 `protobuf:"varint,5,opt,name=retryAfterSeconds" json:"retryAfterSeconds,omitempty"`
	XXX_unrecognized  []byte `json:"-"`
}

StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.

func (*StatusDetails) Descriptor

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

func (*StatusDetails) GetCauses

func (m *StatusDetails) GetCauses() []*StatusCause

func (*StatusDetails) GetGroup

func (m *StatusDetails) GetGroup() string

func (*StatusDetails) GetKind

func (m *StatusDetails) GetKind() string

func (*StatusDetails) GetName

func (m *StatusDetails) GetName() string

func (*StatusDetails) GetRetryAfterSeconds

func (m *StatusDetails) GetRetryAfterSeconds() int32

func (*StatusDetails) Marshal

func (m *StatusDetails) Marshal() (dAtA []byte, err error)

func (*StatusDetails) MarshalTo

func (m *StatusDetails) MarshalTo(dAtA []byte) (int, error)

func (*StatusDetails) ProtoMessage

func (*StatusDetails) ProtoMessage()

func (*StatusDetails) Reset

func (m *StatusDetails) Reset()

func (*StatusDetails) Size

func (m *StatusDetails) Size() (n int)

func (*StatusDetails) String

func (m *StatusDetails) String() string

func (*StatusDetails) Unmarshal

func (m *StatusDetails) Unmarshal(dAtA []byte) error

type Time

type Time struct {
	// Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be from from 0001-01-01T00:00:00Z to
	// 9999-12-31T23:59:59Z inclusive.
	Seconds *int64 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"`
	// Non-negative fractions of a second at nanosecond resolution. Negative
	// second values with fractions must still have non-negative nanos values
	// that count forward in time. Must be from 0 to 999,999,999
	// inclusive. This field may be limited in precision depending on context.
	Nanos            *int32 `protobuf:"varint,2,opt,name=nanos" json:"nanos,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

+protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false

func (*Time) Descriptor

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

func (*Time) GetNanos

func (m *Time) GetNanos() int32

func (*Time) GetSeconds

func (m *Time) GetSeconds() int64

func (*Time) Marshal

func (m *Time) Marshal() (dAtA []byte, err error)

func (Time) MarshalJSON

func (t Time) MarshalJSON() ([]byte, error)

func (*Time) MarshalTo

func (m *Time) MarshalTo(dAtA []byte) (int, error)

func (*Time) ProtoMessage

func (*Time) ProtoMessage()

func (*Time) Reset

func (m *Time) Reset()

func (*Time) Size

func (m *Time) Size() (n int)

func (*Time) String

func (m *Time) String() string

func (*Time) Unmarshal

func (m *Time) Unmarshal(dAtA []byte) error

func (*Time) UnmarshalJSON

func (t *Time) UnmarshalJSON(p []byte) error

type Timestamp

type Timestamp struct {
	// Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be from from 0001-01-01T00:00:00Z to
	// 9999-12-31T23:59:59Z inclusive.
	Seconds *int64 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"`
	// Non-negative fractions of a second at nanosecond resolution. Negative
	// second values with fractions must still have non-negative nanos values
	// that count forward in time. Must be from 0 to 999,999,999
	// inclusive. This field may be limited in precision depending on context.
	Nanos            *int32 `protobuf:"varint,2,opt,name=nanos" json:"nanos,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

Timestamp is a struct that is equivalent to Time, but intended for protobuf marshalling/unmarshalling. It is generated into a serialization that matches Time. Do not use in Go structs.

func (*Timestamp) Descriptor

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

func (*Timestamp) GetNanos

func (m *Timestamp) GetNanos() int32

func (*Timestamp) GetSeconds

func (m *Timestamp) GetSeconds() int64

func (*Timestamp) Marshal

func (m *Timestamp) Marshal() (dAtA []byte, err error)

func (*Timestamp) MarshalTo

func (m *Timestamp) MarshalTo(dAtA []byte) (int, error)

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) Reset

func (m *Timestamp) Reset()

func (*Timestamp) Size

func (m *Timestamp) Size() (n int)

func (*Timestamp) String

func (m *Timestamp) String() string

func (*Timestamp) Unmarshal

func (m *Timestamp) Unmarshal(dAtA []byte) error

type TypeMeta

type TypeMeta struct {
	// Kind is a string value representing the REST resource this object represents.
	// Servers may infer this from the endpoint the client submits requests to.
	// Cannot be updated.
	// In CamelCase.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
	// +optional
	Kind *string `protobuf:"bytes,1,opt,name=kind" json:"kind,omitempty"`
	// APIVersion defines the versioned schema of this representation of an object.
	// Servers should convert recognized schemas to the latest internal value, and
	// may reject unrecognized values.
	// More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
	// +optional
	ApiVersion       *string `protobuf:"bytes,2,opt,name=apiVersion" json:"apiVersion,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version. Structures that are versioned or persisted should inline TypeMeta.

func (*TypeMeta) Descriptor

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

func (*TypeMeta) GetApiVersion

func (m *TypeMeta) GetApiVersion() string

func (*TypeMeta) GetKind

func (m *TypeMeta) GetKind() string

func (*TypeMeta) Marshal

func (m *TypeMeta) Marshal() (dAtA []byte, err error)

func (*TypeMeta) MarshalTo

func (m *TypeMeta) MarshalTo(dAtA []byte) (int, error)

func (*TypeMeta) ProtoMessage

func (*TypeMeta) ProtoMessage()

func (*TypeMeta) Reset

func (m *TypeMeta) Reset()

func (*TypeMeta) Size

func (m *TypeMeta) Size() (n int)

func (*TypeMeta) String

func (m *TypeMeta) String() string

func (*TypeMeta) Unmarshal

func (m *TypeMeta) Unmarshal(dAtA []byte) error

type Verbs

type Verbs struct {
	Items            []string `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

Verbs masks the value so protobuf can generate

+protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (*Verbs) Descriptor

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

func (*Verbs) GetItems

func (m *Verbs) GetItems() []string

func (*Verbs) Marshal

func (m *Verbs) Marshal() (dAtA []byte, err error)

func (*Verbs) MarshalTo

func (m *Verbs) MarshalTo(dAtA []byte) (int, error)

func (*Verbs) ProtoMessage

func (*Verbs) ProtoMessage()

func (*Verbs) Reset

func (m *Verbs) Reset()

func (*Verbs) Size

func (m *Verbs) Size() (n int)

func (*Verbs) String

func (m *Verbs) String() string

func (*Verbs) Unmarshal

func (m *Verbs) Unmarshal(dAtA []byte) error

type WatchEvent

type WatchEvent struct {
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Object is:
	//  * If Type is Added or Modified: the new state of the object.
	//  * If Type is Deleted: the state of the object immediately before deletion.
	//  * If Type is Error: *Status is recommended; other types may make sense
	//    depending on context.
	Object           *k8s_io_kubernetes_pkg_runtime.RawExtension `protobuf:"bytes,2,opt,name=object" json:"object,omitempty"`
	XXX_unrecognized []byte                                      `json:"-"`
}

Event represents a single event to a watched resource.

+protobuf=true

func (*WatchEvent) Descriptor

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

func (*WatchEvent) GetObject

func (*WatchEvent) GetType

func (m *WatchEvent) GetType() string

func (*WatchEvent) Marshal

func (m *WatchEvent) Marshal() (dAtA []byte, err error)

func (*WatchEvent) MarshalTo

func (m *WatchEvent) MarshalTo(dAtA []byte) (int, error)

func (*WatchEvent) ProtoMessage

func (*WatchEvent) ProtoMessage()

func (*WatchEvent) Reset

func (m *WatchEvent) Reset()

func (*WatchEvent) Size

func (m *WatchEvent) Size() (n int)

func (*WatchEvent) String

func (m *WatchEvent) String() string

func (*WatchEvent) Unmarshal

func (m *WatchEvent) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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