unversioned

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package unversioned is a generated protocol buffer package.

It is generated from these files:

k8s.io/kubernetes/pkg/api/unversioned/generated.proto

It has these top-level messages:

APIGroup
APIGroupList
APIResource
APIResourceList
APIVersions
Duration
ExportOptions
GroupKind
GroupResource
GroupVersion
GroupVersionForDiscovery
GroupVersionKind
GroupVersionResource
LabelSelector
LabelSelectorRequirement
ListMeta
RootPaths
ServerAddressByClientCIDR
Status
StatusCause
StatusDetails
Time
Timestamp
TypeMeta

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"`
	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) 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 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 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 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

Jump to

Keyboard shortcuts

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