v1

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

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")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)

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.
	// +optional
	ServerAddressByClientCIDRs []*ServerAddressByClientCIDR `protobuf:"bytes,4,rep,name=serverAddressByClientCIDRs" json:"serverAddressByClientCIDRs,omitempty"`
	XXX_NoUnkeyedLiteral       struct{}                     `json:"-"`
	XXX_unrecognized           []byte                       `json:"-"`
	XXX_sizecache              int32                        `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) MarshalToSizedBuffer added in v1.2.1

func (m *APIGroup) MarshalToSizedBuffer(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

func (*APIGroup) XXX_DiscardUnknown added in v1.2.1

func (m *APIGroup) XXX_DiscardUnknown()

func (*APIGroup) XXX_Marshal added in v1.2.1

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

func (*APIGroup) XXX_Merge added in v1.2.1

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

func (*APIGroup) XXX_Size added in v1.2.1

func (m *APIGroup) XXX_Size() int

func (*APIGroup) XXX_Unmarshal added in v1.2.1

func (m *APIGroup) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `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) MarshalToSizedBuffer added in v1.2.1

func (m *APIGroupList) MarshalToSizedBuffer(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

func (*APIGroupList) XXX_DiscardUnknown added in v1.2.1

func (m *APIGroupList) XXX_DiscardUnknown()

func (*APIGroupList) XXX_Marshal added in v1.2.1

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

func (*APIGroupList) XXX_Merge added in v1.2.1

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

func (*APIGroupList) XXX_Size added in v1.2.1

func (m *APIGroupList) XXX_Size() int

func (*APIGroupList) XXX_Unmarshal added in v1.2.1

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

type APIResource

type APIResource struct {
	// name is the plural name of the resource.
	Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// singularName is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
	// The singularName is more correct for reporting status on a single item and both singular and plural are allowed
	// from the kubectl CLI interface.
	SingularName *string `protobuf:"bytes,6,opt,name=singularName" json:"singularName,omitempty"`
	// namespaced indicates if a resource is namespaced or not.
	Namespaced *bool `protobuf:"varint,2,opt,name=namespaced" json:"namespaced,omitempty"`
	// group is the preferred group of the resource.  Empty implies the group of the containing resource list.
	// For subresources, this may have a different value, for example: Scale".
	Group *string `protobuf:"bytes,8,opt,name=group" json:"group,omitempty"`
	// version is the preferred version of the resource.  Empty implies the version of the containing resource list
	// For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
	Version *string `protobuf:"bytes,9,opt,name=version" json:"version,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"`
	// categories is a list of the grouped resources this resource belongs to (e.g. 'all')
	Categories []string `protobuf:"bytes,7,rep,name=categories" json:"categories,omitempty"`
	// The hash value of the storage version, the version this resource is
	// converted to when written to the data store. Value must be treated
	// as opaque by clients. Only equality comparison on the value is valid.
	// This is an alpha feature and may change or be removed in the future.
	// The field is populated by the apiserver only if the
	// StorageVersionHash feature gate is enabled.
	// This field will remain optional even if it graduates.
	// +optional
	StorageVersionHash   *string  `protobuf:"bytes,10,opt,name=storageVersionHash" json:"storageVersionHash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*APIResource) Descriptor

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

func (*APIResource) GetCategories added in v1.0.0

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

func (*APIResource) GetGroup added in v1.0.0

func (m *APIResource) GetGroup() string

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) GetSingularName added in v1.0.0

func (m *APIResource) GetSingularName() string

func (*APIResource) GetStorageVersionHash added in v1.2.2

func (m *APIResource) GetStorageVersionHash() string

func (*APIResource) GetVerbs

func (m *APIResource) GetVerbs() *Verbs

func (*APIResource) GetVersion added in v1.0.0

func (m *APIResource) GetVersion() string

func (*APIResource) Marshal

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

func (*APIResource) MarshalTo

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

func (*APIResource) MarshalToSizedBuffer added in v1.2.1

func (m *APIResource) MarshalToSizedBuffer(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

func (*APIResource) XXX_DiscardUnknown added in v1.2.1

func (m *APIResource) XXX_DiscardUnknown()

func (*APIResource) XXX_Marshal added in v1.2.1

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

func (*APIResource) XXX_Merge added in v1.2.1

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

func (*APIResource) XXX_Size added in v1.2.1

func (m *APIResource) XXX_Size() int

func (*APIResource) XXX_Unmarshal added in v1.2.1

func (m *APIResource) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `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) MarshalToSizedBuffer added in v1.2.1

func (m *APIResourceList) MarshalToSizedBuffer(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

func (*APIResourceList) XXX_DiscardUnknown added in v1.2.1

func (m *APIResourceList) XXX_DiscardUnknown()

func (*APIResourceList) XXX_Marshal added in v1.2.1

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

func (*APIResourceList) XXX_Merge added in v1.2.1

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

func (*APIResourceList) XXX_Size added in v1.2.1

func (m *APIResourceList) XXX_Size() int

func (*APIResourceList) XXX_Unmarshal added in v1.2.1

func (m *APIResourceList) XXX_Unmarshal(b []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_NoUnkeyedLiteral       struct{}                     `json:"-"`
	XXX_unrecognized           []byte                       `json:"-"`
	XXX_sizecache              int32                        `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 +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

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) MarshalToSizedBuffer added in v1.2.1

func (m *APIVersions) MarshalToSizedBuffer(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

func (*APIVersions) XXX_DiscardUnknown added in v1.2.1

func (m *APIVersions) XXX_DiscardUnknown()

func (*APIVersions) XXX_Marshal added in v1.2.1

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

func (*APIVersions) XXX_Merge added in v1.2.1

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

func (*APIVersions) XXX_Size added in v1.2.1

func (m *APIVersions) XXX_Size() int

func (*APIVersions) XXX_Unmarshal added in v1.2.1

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

type Condition added in v1.2.2

type Condition struct {
	// type of condition in CamelCase or in foo.example.com/CamelCase.
	// ---
	// Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
	// useful (see .node.status.conditions), the ability to deconflict is important.
	// The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
	// +kubebuilder:validation:MaxLength=316
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// status of the condition, one of True, False, Unknown.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=True;False;Unknown
	Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// observedGeneration represents the .metadata.generation that the condition was set based upon.
	// For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
	// with respect to the current state of the instance.
	// +optional
	// +kubebuilder:validation:Minimum=0
	ObservedGeneration *int64 `protobuf:"varint,3,opt,name=observedGeneration" json:"observedGeneration,omitempty"`
	// lastTransitionTime is the last time the condition transitioned from one status to another.
	// This should be when the underlying condition changed.  If that is not known, then using the time when the API field changed is acceptable.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type=string
	// +kubebuilder:validation:Format=date-time
	LastTransitionTime *Time `protobuf:"bytes,4,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
	// reason contains a programmatic identifier indicating the reason for the condition's last transition.
	// Producers of specific condition types may define expected values and meanings for this field,
	// and whether the values are considered a guaranteed API.
	// The value should be a CamelCase string.
	// This field may not be empty.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=1024
	// +kubebuilder:validation:MinLength=1
	// +kubebuilder:validation:Pattern=`^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$`
	Reason *string `protobuf:"bytes,5,opt,name=reason" json:"reason,omitempty"`
	// message is a human readable message indicating details about the transition.
	// This may be an empty string.
	// +required
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MaxLength=32768
	Message              *string  `protobuf:"bytes,6,opt,name=message" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example,

type FooStatus struct{
    // Represents the observations of a foo's current state.
    // Known .status.conditions.type are: "Available", "Progressing", and "Degraded"
    // +patchMergeKey=type
    // +patchStrategy=merge
    // +listType=map
    // +listMapKey=type
    Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`

    // other fields
}

func (*Condition) Descriptor added in v1.2.2

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

func (*Condition) GetLastTransitionTime added in v1.2.2

func (m *Condition) GetLastTransitionTime() *Time

func (*Condition) GetMessage added in v1.2.2

func (m *Condition) GetMessage() string

func (*Condition) GetObservedGeneration added in v1.2.2

func (m *Condition) GetObservedGeneration() int64

func (*Condition) GetReason added in v1.2.2

func (m *Condition) GetReason() string

func (*Condition) GetStatus added in v1.2.2

func (m *Condition) GetStatus() string

func (*Condition) GetType added in v1.2.2

func (m *Condition) GetType() string

func (*Condition) Marshal added in v1.2.2

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

func (*Condition) MarshalTo added in v1.2.2

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

func (*Condition) MarshalToSizedBuffer added in v1.2.2

func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Condition) ProtoMessage added in v1.2.2

func (*Condition) ProtoMessage()

func (*Condition) Reset added in v1.2.2

func (m *Condition) Reset()

func (*Condition) Size added in v1.2.2

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

func (*Condition) String added in v1.2.2

func (m *Condition) String() string

func (*Condition) Unmarshal added in v1.2.2

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

func (*Condition) XXX_DiscardUnknown added in v1.2.2

func (m *Condition) XXX_DiscardUnknown()

func (*Condition) XXX_Marshal added in v1.2.2

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

func (*Condition) XXX_Merge added in v1.2.2

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

func (*Condition) XXX_Size added in v1.2.2

func (m *Condition) XXX_Size() int

func (*Condition) XXX_Unmarshal added in v1.2.2

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

type CreateOptions added in v1.2.1

type CreateOptions struct {
	// When present, indicates that modifications should not be
	// persisted. An invalid or unrecognized dryRun directive will
	// result in an error response and no further processing of the
	// request. Valid values are:
	// - All: all dry run stages will be processed
	// +optional
	DryRun []string `protobuf:"bytes,1,rep,name=dryRun" json:"dryRun,omitempty"`
	// fieldManager is a name associated with the actor or entity
	// that is making these changes. The value must be less than or
	// 128 characters long, and only contain printable characters,
	// as defined by https://golang.org/pkg/unicode/#IsPrint.
	// +optional
	FieldManager         *string  `protobuf:"bytes,3,opt,name=fieldManager" json:"fieldManager,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CreateOptions may be provided when creating an API object.

func (*CreateOptions) Descriptor added in v1.2.1

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

func (*CreateOptions) GetDryRun added in v1.2.1

func (m *CreateOptions) GetDryRun() []string

func (*CreateOptions) GetFieldManager added in v1.2.2

func (m *CreateOptions) GetFieldManager() string

func (*CreateOptions) Marshal added in v1.2.1

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

func (*CreateOptions) MarshalTo added in v1.2.1

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

func (*CreateOptions) MarshalToSizedBuffer added in v1.2.1

func (m *CreateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateOptions) ProtoMessage added in v1.2.1

func (*CreateOptions) ProtoMessage()

func (*CreateOptions) Reset added in v1.2.1

func (m *CreateOptions) Reset()

func (*CreateOptions) Size added in v1.2.1

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

func (*CreateOptions) String added in v1.2.1

func (m *CreateOptions) String() string

func (*CreateOptions) Unmarshal added in v1.2.1

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

func (*CreateOptions) XXX_DiscardUnknown added in v1.2.1

func (m *CreateOptions) XXX_DiscardUnknown()

func (*CreateOptions) XXX_Marshal added in v1.2.1

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

func (*CreateOptions) XXX_Merge added in v1.2.1

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

func (*CreateOptions) XXX_Size added in v1.2.1

func (m *CreateOptions) XXX_Size() int

func (*CreateOptions) XXX_Unmarshal added in v1.2.1

func (m *CreateOptions) XXX_Unmarshal(b []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.
	// +k8s:conversion-gen=false
	// +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.
	// Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
	// allow the garbage collector to delete the dependents in the background;
	// 'Foreground' - a cascading policy that deletes all dependents in the
	// foreground.
	// +optional
	PropagationPolicy *string `protobuf:"bytes,4,opt,name=propagationPolicy" json:"propagationPolicy,omitempty"`
	// When present, indicates that modifications should not be
	// persisted. An invalid or unrecognized dryRun directive will
	// result in an error response and no further processing of the
	// request. Valid values are:
	// - All: all dry run stages will be processed
	// +optional
	DryRun               []string `protobuf:"bytes,5,rep,name=dryRun" json:"dryRun,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

DeleteOptions may be provided when deleting an API object.

func (*DeleteOptions) Descriptor

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

func (*DeleteOptions) GetDryRun added in v1.2.1

func (m *DeleteOptions) GetDryRun() []string

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) MarshalToSizedBuffer added in v1.2.1

func (m *DeleteOptions) MarshalToSizedBuffer(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

func (*DeleteOptions) XXX_DiscardUnknown added in v1.2.1

func (m *DeleteOptions) XXX_DiscardUnknown()

func (*DeleteOptions) XXX_Marshal added in v1.2.1

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

func (*DeleteOptions) XXX_Merge added in v1.2.1

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

func (*DeleteOptions) XXX_Size added in v1.2.1

func (m *DeleteOptions) XXX_Size() int

func (*DeleteOptions) XXX_Unmarshal added in v1.2.1

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

type Duration

type Duration struct {
	Duration             *int64   `protobuf:"varint,1,opt,name=duration" json:"duration,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *Duration) MarshalToSizedBuffer(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

func (*Duration) XXX_DiscardUnknown added in v1.2.1

func (m *Duration) XXX_DiscardUnknown()

func (*Duration) XXX_Marshal added in v1.2.1

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

func (*Duration) XXX_Merge added in v1.2.1

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

func (*Duration) XXX_Size added in v1.2.1

func (m *Duration) XXX_Size() int

func (*Duration) XXX_Unmarshal added in v1.2.1

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

type ExportOptions

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

ExportOptions is the query options to the standard REST get call. Deprecated. Planned for removal in 1.18.

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) MarshalToSizedBuffer added in v1.2.1

func (m *ExportOptions) MarshalToSizedBuffer(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

func (*ExportOptions) XXX_DiscardUnknown added in v1.2.1

func (m *ExportOptions) XXX_DiscardUnknown()

func (*ExportOptions) XXX_Marshal added in v1.2.1

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

func (*ExportOptions) XXX_Merge added in v1.2.1

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

func (*ExportOptions) XXX_Size added in v1.2.1

func (m *ExportOptions) XXX_Size() int

func (*ExportOptions) XXX_Unmarshal added in v1.2.1

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

type FieldsV1 added in v1.2.2

type FieldsV1 struct {
	// Raw is the underlying serialization of this object.
	Raw                  []byte   `protobuf:"bytes,1,opt,name=Raw" json:"Raw,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.

Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.

The exact format is defined in sigs.k8s.io/structured-merge-diff +protobuf.options.(gogoproto.goproto_stringer)=false

func (*FieldsV1) Descriptor added in v1.2.2

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

func (*FieldsV1) GetRaw added in v1.2.2

func (m *FieldsV1) GetRaw() []byte

func (*FieldsV1) Marshal added in v1.2.2

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

func (*FieldsV1) MarshalTo added in v1.2.2

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

func (*FieldsV1) MarshalToSizedBuffer added in v1.2.2

func (m *FieldsV1) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FieldsV1) ProtoMessage added in v1.2.2

func (*FieldsV1) ProtoMessage()

func (*FieldsV1) Reset added in v1.2.2

func (m *FieldsV1) Reset()

func (*FieldsV1) Size added in v1.2.2

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

func (*FieldsV1) String added in v1.2.2

func (m *FieldsV1) String() string

func (*FieldsV1) Unmarshal added in v1.2.2

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

func (*FieldsV1) XXX_DiscardUnknown added in v1.2.2

func (m *FieldsV1) XXX_DiscardUnknown()

func (*FieldsV1) XXX_Marshal added in v1.2.2

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

func (*FieldsV1) XXX_Merge added in v1.2.2

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

func (*FieldsV1) XXX_Size added in v1.2.2

func (m *FieldsV1) XXX_Size() int

func (*FieldsV1) XXX_Unmarshal added in v1.2.2

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

type GetOptions

type GetOptions struct {
	// resourceVersion sets a constraint on what resource versions a request may be served from.
	// See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
	// details.
	//
	// Defaults to unset
	// +optional
	ResourceVersion      *string  `protobuf:"bytes,1,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *GetOptions) MarshalToSizedBuffer(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

func (*GetOptions) XXX_DiscardUnknown added in v1.2.1

func (m *GetOptions) XXX_DiscardUnknown()

func (*GetOptions) XXX_Marshal added in v1.2.1

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

func (*GetOptions) XXX_Merge added in v1.2.1

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

func (*GetOptions) XXX_Size added in v1.2.1

func (m *GetOptions) XXX_Size() int

func (*GetOptions) XXX_Unmarshal added in v1.2.1

func (m *GetOptions) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *GroupKind) MarshalToSizedBuffer(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

func (*GroupKind) XXX_DiscardUnknown added in v1.2.1

func (m *GroupKind) XXX_DiscardUnknown()

func (*GroupKind) XXX_Marshal added in v1.2.1

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

func (*GroupKind) XXX_Merge added in v1.2.1

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

func (*GroupKind) XXX_Size added in v1.2.1

func (m *GroupKind) XXX_Size() int

func (*GroupKind) XXX_Unmarshal added in v1.2.1

func (m *GroupKind) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *GroupResource) MarshalToSizedBuffer(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

func (*GroupResource) XXX_DiscardUnknown added in v1.2.1

func (m *GroupResource) XXX_DiscardUnknown()

func (*GroupResource) XXX_Marshal added in v1.2.1

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

func (*GroupResource) XXX_Merge added in v1.2.1

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

func (*GroupResource) XXX_Size added in v1.2.1

func (m *GroupResource) XXX_Size() int

func (*GroupResource) XXX_Unmarshal added in v1.2.1

func (m *GroupResource) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *GroupVersion) MarshalToSizedBuffer(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

func (*GroupVersion) XXX_DiscardUnknown added in v1.2.1

func (m *GroupVersion) XXX_DiscardUnknown()

func (*GroupVersion) XXX_Marshal added in v1.2.1

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

func (*GroupVersion) XXX_Merge added in v1.2.1

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

func (*GroupVersion) XXX_Size added in v1.2.1

func (m *GroupVersion) XXX_Size() int

func (*GroupVersion) XXX_Unmarshal added in v1.2.1

func (m *GroupVersion) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *GroupVersionForDiscovery) MarshalToSizedBuffer(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

func (*GroupVersionForDiscovery) XXX_DiscardUnknown added in v1.2.1

func (m *GroupVersionForDiscovery) XXX_DiscardUnknown()

func (*GroupVersionForDiscovery) XXX_Marshal added in v1.2.1

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

func (*GroupVersionForDiscovery) XXX_Merge added in v1.2.1

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

func (*GroupVersionForDiscovery) XXX_Size added in v1.2.1

func (m *GroupVersionForDiscovery) XXX_Size() int

func (*GroupVersionForDiscovery) XXX_Unmarshal added in v1.2.1

func (m *GroupVersionForDiscovery) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *GroupVersionKind) MarshalToSizedBuffer(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

func (*GroupVersionKind) XXX_DiscardUnknown added in v1.2.1

func (m *GroupVersionKind) XXX_DiscardUnknown()

func (*GroupVersionKind) XXX_Marshal added in v1.2.1

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

func (*GroupVersionKind) XXX_Merge added in v1.2.1

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

func (*GroupVersionKind) XXX_Size added in v1.2.1

func (m *GroupVersionKind) XXX_Size() int

func (*GroupVersionKind) XXX_Unmarshal added in v1.2.1

func (m *GroupVersionKind) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *GroupVersionResource) MarshalToSizedBuffer(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

func (*GroupVersionResource) XXX_DiscardUnknown added in v1.2.1

func (m *GroupVersionResource) XXX_DiscardUnknown()

func (*GroupVersionResource) XXX_Marshal added in v1.2.1

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

func (*GroupVersionResource) XXX_Merge added in v1.2.1

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

func (*GroupVersionResource) XXX_Size added in v1.2.1

func (m *GroupVersionResource) XXX_Size() int

func (*GroupVersionResource) XXX_Unmarshal added in v1.2.1

func (m *GroupVersionResource) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `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. +structType=atomic

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) MarshalToSizedBuffer added in v1.2.1

func (m *LabelSelector) MarshalToSizedBuffer(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

func (*LabelSelector) XXX_DiscardUnknown added in v1.2.1

func (m *LabelSelector) XXX_DiscardUnknown()

func (*LabelSelector) XXX_Marshal added in v1.2.1

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

func (*LabelSelector) XXX_Merge added in v1.2.1

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

func (*LabelSelector) XXX_Size added in v1.2.1

func (m *LabelSelector) XXX_Size() int

func (*LabelSelector) XXX_Unmarshal added in v1.2.1

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

type LabelSelectorRequirement

type LabelSelectorRequirement struct {
	// key is the label key that the selector applies to.
	// +patchMergeKey=key
	// +patchStrategy=merge
	Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
	// operator represents a key's relationship to a set of values.
	// Valid operators are 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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *LabelSelectorRequirement) MarshalToSizedBuffer(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

func (*LabelSelectorRequirement) XXX_DiscardUnknown added in v1.2.1

func (m *LabelSelectorRequirement) XXX_DiscardUnknown()

func (*LabelSelectorRequirement) XXX_Marshal added in v1.2.1

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

func (*LabelSelectorRequirement) XXX_Merge added in v1.2.1

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

func (*LabelSelectorRequirement) XXX_Size added in v1.2.1

func (m *LabelSelectorRequirement) XXX_Size() int

func (*LabelSelectorRequirement) XXX_Unmarshal added in v1.2.1

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

type List added in v1.0.0

type List struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// List of objects
	Items                []*runtime.RawExtension `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                `json:"-"`
	XXX_unrecognized     []byte                  `json:"-"`
	XXX_sizecache        int32                   `json:"-"`
}

List holds a list of objects, which may not be known by the server.

func (*List) Descriptor added in v1.0.0

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

func (*List) GetItems added in v1.0.0

func (m *List) GetItems() []*runtime.RawExtension

func (*List) GetMetadata added in v1.0.0

func (m *List) GetMetadata() *ListMeta

func (*List) Marshal added in v1.0.0

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

func (*List) MarshalTo added in v1.0.0

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

func (*List) MarshalToSizedBuffer added in v1.2.1

func (m *List) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*List) ProtoMessage added in v1.0.0

func (*List) ProtoMessage()

func (*List) Reset added in v1.0.0

func (m *List) Reset()

func (*List) Size added in v1.0.0

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

func (*List) String added in v1.0.0

func (m *List) String() string

func (*List) Unmarshal added in v1.0.0

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

func (*List) XXX_DiscardUnknown added in v1.2.1

func (m *List) XXX_DiscardUnknown()

func (*List) XXX_Marshal added in v1.2.1

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

func (*List) XXX_Merge added in v1.2.1

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

func (*List) XXX_Size added in v1.2.1

func (m *List) XXX_Size() int

func (*List) XXX_Unmarshal added in v1.2.1

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

type ListMeta

type ListMeta struct {
	// selfLink is a URL representing this object.
	// Populated by the system.
	// Read-only.
	//
	// DEPRECATED
	// Kubernetes will stop propagating this field in 1.20 release and the field is planned
	// to be removed in 1.21 release.
	// +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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion *string `protobuf:"bytes,2,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
	// continue may be set if the user set a limit on the number of items returned, and indicates that
	// the server has more data available. The value is opaque and may be used to issue another request
	// to the endpoint that served this list to retrieve the next set of available objects. Continuing a
	// consistent list may not be possible if the server configuration has changed or more than a few
	// minutes have passed. The resourceVersion field returned when using this continue value will be
	// identical to the value in the first response, unless you have received this token from an error
	// message.
	Continue *string `protobuf:"bytes,3,opt,name=continue" json:"continue,omitempty"`
	// remainingItemCount is the number of subsequent items in the list which are not included in this
	// list response. If the list request contained label or field selectors, then the number of
	// remaining items is unknown and the field will be left unset and omitted during serialization.
	// If the list is complete (either because it is not chunking or because this is the last chunk),
	// then there are no more remaining items and this field will be left unset and omitted during
	// serialization.
	// Servers older than v1.15 do not set this field.
	// The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
	// should not rely on the remainingItemCount to be set or to be exact.
	// +optional
	RemainingItemCount   *int64   `protobuf:"varint,4,opt,name=remainingItemCount" json:"remainingItemCount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) GetContinue added in v1.0.0

func (m *ListMeta) GetContinue() string

func (*ListMeta) GetRemainingItemCount added in v1.2.2

func (m *ListMeta) GetRemainingItemCount() int64

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) MarshalToSizedBuffer added in v1.2.1

func (m *ListMeta) MarshalToSizedBuffer(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

func (*ListMeta) XXX_DiscardUnknown added in v1.2.1

func (m *ListMeta) XXX_DiscardUnknown()

func (*ListMeta) XXX_Marshal added in v1.2.1

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

func (*ListMeta) XXX_Merge added in v1.2.1

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

func (*ListMeta) XXX_Size added in v1.2.1

func (m *ListMeta) XXX_Size() int

func (*ListMeta) XXX_Unmarshal added in v1.2.1

func (m *ListMeta) XXX_Unmarshal(b []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"`
	// allowWatchBookmarks requests watch events with type "BOOKMARK".
	// Servers that do not implement bookmarks may ignore this flag and
	// bookmarks are sent at the server's discretion. Clients should not
	// assume bookmarks are returned at any specific interval, nor may they
	// assume the server will send any BOOKMARK event during a session.
	// If this is not a watch, this field is ignored.
	// If the feature gate WatchBookmarks is not enabled in apiserver,
	// this field is ignored.
	// +optional
	AllowWatchBookmarks *bool `protobuf:"varint,9,opt,name=allowWatchBookmarks" json:"allowWatchBookmarks,omitempty"`
	// resourceVersion sets a constraint on what resource versions a request may be served from.
	// See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
	// details.
	//
	// Defaults to unset
	// +optional
	ResourceVersion *string `protobuf:"bytes,4,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
	// resourceVersionMatch determines how resourceVersion is applied to list calls.
	// It is highly recommended that resourceVersionMatch be set for list calls where
	// resourceVersion is set
	// See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for
	// details.
	//
	// Defaults to unset
	// +optional
	ResourceVersionMatch *string `protobuf:"bytes,10,opt,name=resourceVersionMatch" json:"resourceVersionMatch,omitempty"`
	// Timeout for the list/watch call.
	// This limits the duration of the call, regardless of any activity or inactivity.
	// +optional
	TimeoutSeconds *int64 `protobuf:"varint,5,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"`
	// limit is a maximum number of responses to return for a list call. If more items exist, the
	// server will set the `continue` field on the list metadata to a value that can be used with the
	// same initial query to retrieve the next set of results. Setting a limit may return fewer than
	// the requested amount of items (up to zero items) in the event all requested objects are
	// filtered out and clients should only use the presence of the continue field to determine whether
	// more results are available. Servers may choose not to support the limit argument and will return
	// all of the available results. If limit is specified and the continue field is empty, clients may
	// assume that no more results are available. This field is not supported if watch is true.
	//
	// The server guarantees that the objects returned when using continue will be identical to issuing
	// a single list call without a limit - that is, no objects created, modified, or deleted after the
	// first request is issued will be included in any subsequent continued requests. This is sometimes
	// referred to as a consistent snapshot, and ensures that a client that is using limit to receive
	// smaller chunks of a very large result can ensure they see all possible objects. If objects are
	// updated during a chunked list the version of the object that was present at the time the first list
	// result was calculated is returned.
	Limit *int64 `protobuf:"varint,7,opt,name=limit" json:"limit,omitempty"`
	// The continue option should be set when retrieving more results from the server. Since this value is
	// server defined, clients may only use the continue value from a previous query result with identical
	// query parameters (except for the value of continue) and the server may reject a continue value it
	// does not recognize. If the specified continue value is no longer valid whether due to expiration
	// (generally five to fifteen minutes) or a configuration change on the server, the server will
	// respond with a 410 ResourceExpired error together with a continue token. If the client needs a
	// consistent list, it must restart their list without the continue field. Otherwise, the client may
	// send another list request with the token received with the 410 error, the server will respond with
	// a list starting from the next key, but from the latest snapshot, which is inconsistent from the
	// previous list results - objects that are created, modified, or deleted after the first list request
	// will be included in the response, as long as their keys are after the "next key".
	//
	// This field is not supported when watch is true. Clients may start a watch from the last
	// resourceVersion value returned by the server and not miss any modifications.
	Continue             *string  `protobuf:"bytes,8,opt,name=continue" json:"continue,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*ListOptions) Descriptor

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

func (*ListOptions) GetAllowWatchBookmarks added in v1.2.2

func (m *ListOptions) GetAllowWatchBookmarks() bool

func (*ListOptions) GetContinue added in v1.0.0

func (m *ListOptions) GetContinue() string

func (*ListOptions) GetFieldSelector

func (m *ListOptions) GetFieldSelector() string

func (*ListOptions) GetLabelSelector

func (m *ListOptions) GetLabelSelector() string

func (*ListOptions) GetLimit added in v1.0.0

func (m *ListOptions) GetLimit() int64

func (*ListOptions) GetResourceVersion

func (m *ListOptions) GetResourceVersion() string

func (*ListOptions) GetResourceVersionMatch added in v1.2.2

func (m *ListOptions) GetResourceVersionMatch() 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) MarshalToSizedBuffer added in v1.2.1

func (m *ListOptions) MarshalToSizedBuffer(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

func (*ListOptions) XXX_DiscardUnknown added in v1.2.1

func (m *ListOptions) XXX_DiscardUnknown()

func (*ListOptions) XXX_Marshal added in v1.2.1

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

func (*ListOptions) XXX_Merge added in v1.2.1

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

func (*ListOptions) XXX_Size added in v1.2.1

func (m *ListOptions) XXX_Size() int

func (*ListOptions) XXX_Unmarshal added in v1.2.1

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

type ManagedFieldsEntry added in v1.2.2

type ManagedFieldsEntry struct {
	// Manager is an identifier of the workflow managing these fields.
	Manager *string `protobuf:"bytes,1,opt,name=manager" json:"manager,omitempty"`
	// Operation is the type of operation which lead to this ManagedFieldsEntry being created.
	// The only valid values for this field are 'Apply' and 'Update'.
	Operation *string `protobuf:"bytes,2,opt,name=operation" json:"operation,omitempty"`
	// APIVersion defines the version of this resource that this field set
	// applies to. The format is "group/version" just like the top-level
	// APIVersion field. It is necessary to track the version of a field
	// set because it cannot be automatically converted.
	ApiVersion *string `protobuf:"bytes,3,opt,name=apiVersion" json:"apiVersion,omitempty"`
	// Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
	// +optional
	Time *Time `protobuf:"bytes,4,opt,name=time" json:"time,omitempty"`
	// FieldsType is the discriminator for the different fields format and version.
	// There is currently only one possible value: "FieldsV1"
	FieldsType *string `protobuf:"bytes,6,opt,name=fieldsType" json:"fieldsType,omitempty"`
	// FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
	// +optional
	FieldsV1             *FieldsV1 `protobuf:"bytes,7,opt,name=fieldsV1" json:"fieldsV1,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.

func (*ManagedFieldsEntry) Descriptor added in v1.2.2

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

func (*ManagedFieldsEntry) GetApiVersion added in v1.2.2

func (m *ManagedFieldsEntry) GetApiVersion() string

func (*ManagedFieldsEntry) GetFieldsType added in v1.2.2

func (m *ManagedFieldsEntry) GetFieldsType() string

func (*ManagedFieldsEntry) GetFieldsV1 added in v1.2.2

func (m *ManagedFieldsEntry) GetFieldsV1() *FieldsV1

func (*ManagedFieldsEntry) GetManager added in v1.2.2

func (m *ManagedFieldsEntry) GetManager() string

func (*ManagedFieldsEntry) GetOperation added in v1.2.2

func (m *ManagedFieldsEntry) GetOperation() string

func (*ManagedFieldsEntry) GetTime added in v1.2.2

func (m *ManagedFieldsEntry) GetTime() *Time

func (*ManagedFieldsEntry) Marshal added in v1.2.2

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

func (*ManagedFieldsEntry) MarshalTo added in v1.2.2

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

func (*ManagedFieldsEntry) MarshalToSizedBuffer added in v1.2.2

func (m *ManagedFieldsEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ManagedFieldsEntry) ProtoMessage added in v1.2.2

func (*ManagedFieldsEntry) ProtoMessage()

func (*ManagedFieldsEntry) Reset added in v1.2.2

func (m *ManagedFieldsEntry) Reset()

func (*ManagedFieldsEntry) Size added in v1.2.2

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

func (*ManagedFieldsEntry) String added in v1.2.2

func (m *ManagedFieldsEntry) String() string

func (*ManagedFieldsEntry) Unmarshal added in v1.2.2

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

func (*ManagedFieldsEntry) XXX_DiscardUnknown added in v1.2.2

func (m *ManagedFieldsEntry) XXX_DiscardUnknown()

func (*ManagedFieldsEntry) XXX_Marshal added in v1.2.2

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

func (*ManagedFieldsEntry) XXX_Merge added in v1.2.2

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

func (*ManagedFieldsEntry) XXX_Size added in v1.2.2

func (m *ManagedFieldsEntry) XXX_Size() int

func (*ManagedFieldsEntry) XXX_Unmarshal added in v1.2.2

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

type MicroTime added in v1.0.0

type MicroTime struct {
	// Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be 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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

MicroTime is version of Time with microsecond level precision.

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

func (*MicroTime) Descriptor added in v1.0.0

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

func (*MicroTime) GetNanos added in v1.0.0

func (m *MicroTime) GetNanos() int32

func (*MicroTime) GetSeconds added in v1.0.0

func (m *MicroTime) GetSeconds() int64

func (*MicroTime) Marshal added in v1.0.0

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

func (*MicroTime) MarshalTo added in v1.0.0

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

func (*MicroTime) MarshalToSizedBuffer added in v1.2.1

func (m *MicroTime) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MicroTime) ProtoMessage added in v1.0.0

func (*MicroTime) ProtoMessage()

func (*MicroTime) Reset added in v1.0.0

func (m *MicroTime) Reset()

func (*MicroTime) Size added in v1.0.0

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

func (*MicroTime) String added in v1.0.0

func (m *MicroTime) String() string

func (*MicroTime) Unmarshal added in v1.0.0

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

func (*MicroTime) XXX_DiscardUnknown added in v1.2.1

func (m *MicroTime) XXX_DiscardUnknown()

func (*MicroTime) XXX_Marshal added in v1.2.1

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

func (*MicroTime) XXX_Merge added in v1.2.1

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

func (*MicroTime) XXX_Size added in v1.2.1

func (m *MicroTime) XXX_Size() int

func (*MicroTime) XXX_Unmarshal added in v1.2.1

func (m *MicroTime) XXX_Unmarshal(b []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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
	// +optional
	GenerateName *string `protobuf:"bytes,2,opt,name=generateName" json:"generateName,omitempty"`
	// Namespace defines the space within which 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.
	//
	// DEPRECATED
	// Kubernetes will stop propagating this field in 1.20 release and the field is planned
	// to be removed in 1.21 release.
	// +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: https://git.k8s.io/community/contributors/devel/sig-architecture/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: https://git.k8s.io/community/contributors/devel/sig-architecture/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 the
	// finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
	// Once the deletionTimestamp is 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: https://git.k8s.io/community/contributors/devel/sig-architecture/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
	// +patchMergeKey=uid
	// +patchStrategy=merge
	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.
	// Finalizers may be processed and removed in any order.  Order is NOT enforced
	// because it introduces significant risk of stuck finalizers.
	// finalizers is a shared field, any actor with permission can reorder it.
	// If the finalizer list is processed in order, then this can lead to a situation
	// in which the component responsible for the first finalizer in the list is
	// waiting for a signal (field value, external system, or other) produced by a
	// component responsible for a finalizer later in the list, resulting in a deadlock.
	// Without enforced ordering finalizers are free to order amongst themselves and
	// are not vulnerable to ordering changes in the list.
	// +optional
	// +patchStrategy=merge
	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"`
	// ManagedFields maps workflow-id and version to the set of fields
	// that are managed by that workflow. This is mostly for internal
	// housekeeping, and users typically shouldn't need to set or
	// understand this field. A workflow can be the user's name, a
	// controller's name, or the name of a specific apply path like
	// "ci-cd". The set of fields is always in the version that the
	// workflow used when modifying the object.
	//
	// +optional
	ManagedFields        []*ManagedFieldsEntry `protobuf:"bytes,17,rep,name=managedFields" json:"managedFields,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `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) GetManagedFields added in v1.2.2

func (m *ObjectMeta) GetManagedFields() []*ManagedFieldsEntry

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) MarshalToSizedBuffer added in v1.2.1

func (m *ObjectMeta) MarshalToSizedBuffer(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

func (*ObjectMeta) XXX_DiscardUnknown added in v1.2.1

func (m *ObjectMeta) XXX_DiscardUnknown()

func (*ObjectMeta) XXX_Marshal added in v1.2.1

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

func (*ObjectMeta) XXX_Merge added in v1.2.1

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

func (*ObjectMeta) XXX_Size added in v1.2.1

func (m *ObjectMeta) XXX_Size() int

func (*ObjectMeta) XXX_Unmarshal added in v1.2.1

func (m *ObjectMeta) XXX_Unmarshal(b []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: https://git.k8s.io/community/contributors/devel/sig-architecture/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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, 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) MarshalToSizedBuffer added in v1.2.1

func (m *OwnerReference) MarshalToSizedBuffer(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

func (*OwnerReference) XXX_DiscardUnknown added in v1.2.1

func (m *OwnerReference) XXX_DiscardUnknown()

func (*OwnerReference) XXX_Marshal added in v1.2.1

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

func (*OwnerReference) XXX_Merge added in v1.2.1

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

func (*OwnerReference) XXX_Size added in v1.2.1

func (m *OwnerReference) XXX_Size() int

func (*OwnerReference) XXX_Unmarshal added in v1.2.1

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

type PartialObjectMetadata added in v1.2.2

type PartialObjectMetadata struct {
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	Metadata             *ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

PartialObjectMetadata is a generic representation of any object with ObjectMeta. It allows clients to get access to a particular ObjectMeta schema without knowing the details of the version. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*PartialObjectMetadata) Descriptor added in v1.2.2

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

func (*PartialObjectMetadata) GetMetadata added in v1.2.2

func (m *PartialObjectMetadata) GetMetadata() *ObjectMeta

func (*PartialObjectMetadata) Marshal added in v1.2.2

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

func (*PartialObjectMetadata) MarshalTo added in v1.2.2

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

func (*PartialObjectMetadata) MarshalToSizedBuffer added in v1.2.2

func (m *PartialObjectMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PartialObjectMetadata) ProtoMessage added in v1.2.2

func (*PartialObjectMetadata) ProtoMessage()

func (*PartialObjectMetadata) Reset added in v1.2.2

func (m *PartialObjectMetadata) Reset()

func (*PartialObjectMetadata) Size added in v1.2.2

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

func (*PartialObjectMetadata) String added in v1.2.2

func (m *PartialObjectMetadata) String() string

func (*PartialObjectMetadata) Unmarshal added in v1.2.2

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

func (*PartialObjectMetadata) XXX_DiscardUnknown added in v1.2.2

func (m *PartialObjectMetadata) XXX_DiscardUnknown()

func (*PartialObjectMetadata) XXX_Marshal added in v1.2.2

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

func (*PartialObjectMetadata) XXX_Merge added in v1.2.2

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

func (*PartialObjectMetadata) XXX_Size added in v1.2.2

func (m *PartialObjectMetadata) XXX_Size() int

func (*PartialObjectMetadata) XXX_Unmarshal added in v1.2.2

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

type PartialObjectMetadataList added in v1.2.2

type PartialObjectMetadataList struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// items contains each of the included items.
	Items                []*PartialObjectMetadata `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

PartialObjectMetadataList contains a list of objects containing only their metadata +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*PartialObjectMetadataList) Descriptor added in v1.2.2

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

func (*PartialObjectMetadataList) GetItems added in v1.2.2

func (*PartialObjectMetadataList) GetMetadata added in v1.2.2

func (m *PartialObjectMetadataList) GetMetadata() *ListMeta

func (*PartialObjectMetadataList) Marshal added in v1.2.2

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

func (*PartialObjectMetadataList) MarshalTo added in v1.2.2

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

func (*PartialObjectMetadataList) MarshalToSizedBuffer added in v1.2.2

func (m *PartialObjectMetadataList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PartialObjectMetadataList) ProtoMessage added in v1.2.2

func (*PartialObjectMetadataList) ProtoMessage()

func (*PartialObjectMetadataList) Reset added in v1.2.2

func (m *PartialObjectMetadataList) Reset()

func (*PartialObjectMetadataList) Size added in v1.2.2

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

func (*PartialObjectMetadataList) String added in v1.2.2

func (m *PartialObjectMetadataList) String() string

func (*PartialObjectMetadataList) Unmarshal added in v1.2.2

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

func (*PartialObjectMetadataList) XXX_DiscardUnknown added in v1.2.2

func (m *PartialObjectMetadataList) XXX_DiscardUnknown()

func (*PartialObjectMetadataList) XXX_Marshal added in v1.2.2

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

func (*PartialObjectMetadataList) XXX_Merge added in v1.2.2

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

func (*PartialObjectMetadataList) XXX_Size added in v1.2.2

func (m *PartialObjectMetadataList) XXX_Size() int

func (*PartialObjectMetadataList) XXX_Unmarshal added in v1.2.2

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

type Patch added in v1.0.0

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

Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.

func (*Patch) Descriptor added in v1.0.0

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

func (*Patch) Marshal added in v1.0.0

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

func (*Patch) MarshalTo added in v1.0.0

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

func (*Patch) MarshalToSizedBuffer added in v1.2.1

func (m *Patch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Patch) ProtoMessage added in v1.0.0

func (*Patch) ProtoMessage()

func (*Patch) Reset added in v1.0.0

func (m *Patch) Reset()

func (*Patch) Size added in v1.0.0

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

func (*Patch) String added in v1.0.0

func (m *Patch) String() string

func (*Patch) Unmarshal added in v1.0.0

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

func (*Patch) XXX_DiscardUnknown added in v1.2.1

func (m *Patch) XXX_DiscardUnknown()

func (*Patch) XXX_Marshal added in v1.2.1

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

func (*Patch) XXX_Merge added in v1.2.1

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

func (*Patch) XXX_Size added in v1.2.1

func (m *Patch) XXX_Size() int

func (*Patch) XXX_Unmarshal added in v1.2.1

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

type PatchOptions added in v1.2.2

type PatchOptions struct {
	// When present, indicates that modifications should not be
	// persisted. An invalid or unrecognized dryRun directive will
	// result in an error response and no further processing of the
	// request. Valid values are:
	// - All: all dry run stages will be processed
	// +optional
	DryRun []string `protobuf:"bytes,1,rep,name=dryRun" json:"dryRun,omitempty"`
	// Force is going to "force" Apply requests. It means user will
	// re-acquire conflicting fields owned by other people. Force
	// flag must be unset for non-apply patch requests.
	// +optional
	Force *bool `protobuf:"varint,2,opt,name=force" json:"force,omitempty"`
	// fieldManager is a name associated with the actor or entity
	// that is making these changes. The value must be less than or
	// 128 characters long, and only contain printable characters,
	// as defined by https://golang.org/pkg/unicode/#IsPrint. This
	// field is required for apply requests
	// (application/apply-patch) but optional for non-apply patch
	// types (JsonPatch, MergePatch, StrategicMergePatch).
	// +optional
	FieldManager         *string  `protobuf:"bytes,3,opt,name=fieldManager" json:"fieldManager,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

PatchOptions may be provided when patching an API object. PatchOptions is meant to be a superset of UpdateOptions.

func (*PatchOptions) Descriptor added in v1.2.2

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

func (*PatchOptions) GetDryRun added in v1.2.2

func (m *PatchOptions) GetDryRun() []string

func (*PatchOptions) GetFieldManager added in v1.2.2

func (m *PatchOptions) GetFieldManager() string

func (*PatchOptions) GetForce added in v1.2.2

func (m *PatchOptions) GetForce() bool

func (*PatchOptions) Marshal added in v1.2.2

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

func (*PatchOptions) MarshalTo added in v1.2.2

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

func (*PatchOptions) MarshalToSizedBuffer added in v1.2.2

func (m *PatchOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PatchOptions) ProtoMessage added in v1.2.2

func (*PatchOptions) ProtoMessage()

func (*PatchOptions) Reset added in v1.2.2

func (m *PatchOptions) Reset()

func (*PatchOptions) Size added in v1.2.2

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

func (*PatchOptions) String added in v1.2.2

func (m *PatchOptions) String() string

func (*PatchOptions) Unmarshal added in v1.2.2

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

func (*PatchOptions) XXX_DiscardUnknown added in v1.2.2

func (m *PatchOptions) XXX_DiscardUnknown()

func (*PatchOptions) XXX_Marshal added in v1.2.2

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

func (*PatchOptions) XXX_Merge added in v1.2.2

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

func (*PatchOptions) XXX_Size added in v1.2.2

func (m *PatchOptions) XXX_Size() int

func (*PatchOptions) XXX_Unmarshal added in v1.2.2

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

type Preconditions

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

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

func (*Preconditions) Descriptor

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

func (*Preconditions) GetResourceVersion added in v1.2.2

func (m *Preconditions) GetResourceVersion() string

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) MarshalToSizedBuffer added in v1.2.1

func (m *Preconditions) MarshalToSizedBuffer(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

func (*Preconditions) XXX_DiscardUnknown added in v1.2.1

func (m *Preconditions) XXX_DiscardUnknown()

func (*Preconditions) XXX_Marshal added in v1.2.1

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

func (*Preconditions) XXX_Merge added in v1.2.1

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

func (*Preconditions) XXX_Size added in v1.2.1

func (m *Preconditions) XXX_Size() int

func (*Preconditions) XXX_Unmarshal added in v1.2.1

func (m *Preconditions) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *RootPaths) MarshalToSizedBuffer(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

func (*RootPaths) XXX_DiscardUnknown added in v1.2.1

func (m *RootPaths) XXX_DiscardUnknown()

func (*RootPaths) XXX_Marshal added in v1.2.1

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

func (*RootPaths) XXX_Merge added in v1.2.1

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

func (*RootPaths) XXX_Size added in v1.2.1

func (m *RootPaths) XXX_Size() int

func (*RootPaths) XXX_Unmarshal added in v1.2.1

func (m *RootPaths) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *ServerAddressByClientCIDR) MarshalToSizedBuffer(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

func (*ServerAddressByClientCIDR) XXX_DiscardUnknown added in v1.2.1

func (m *ServerAddressByClientCIDR) XXX_DiscardUnknown()

func (*ServerAddressByClientCIDR) XXX_Marshal added in v1.2.1

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

func (*ServerAddressByClientCIDR) XXX_Merge added in v1.2.1

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

func (*ServerAddressByClientCIDR) XXX_Size added in v1.2.1

func (m *ServerAddressByClientCIDR) XXX_Size() int

func (*ServerAddressByClientCIDR) XXX_Unmarshal added in v1.2.1

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

type Status

type Status struct {
	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/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: https://git.k8s.io/community/contributors/devel/sig-architecture/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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *Status) MarshalToSizedBuffer(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

func (*Status) UnmarshalJSON added in v1.1.0

func (s *Status) UnmarshalJSON(data []byte) error

func (*Status) XXX_DiscardUnknown added in v1.2.1

func (m *Status) XXX_DiscardUnknown()

func (*Status) XXX_Marshal added in v1.2.1

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

func (*Status) XXX_Merge added in v1.2.1

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

func (*Status) XXX_Size added in v1.2.1

func (m *Status) XXX_Size() int

func (*Status) XXX_Unmarshal added in v1.2.1

func (m *Status) XXX_Unmarshal(b []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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *StatusCause) MarshalToSizedBuffer(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

func (*StatusCause) XXX_DiscardUnknown added in v1.2.1

func (m *StatusCause) XXX_DiscardUnknown()

func (*StatusCause) XXX_Marshal added in v1.2.1

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

func (*StatusCause) XXX_Merge added in v1.2.1

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

func (*StatusCause) XXX_Size added in v1.2.1

func (m *StatusCause) XXX_Size() int

func (*StatusCause) XXX_Unmarshal added in v1.2.1

func (m *StatusCause) XXX_Unmarshal(b []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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
	// UID of the resource.
	// (when there is a single resource which can be described).
	// More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	// +optional
	Uid *string `protobuf:"bytes,6,opt,name=uid" json:"uid,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. Some errors may indicate
	// the client must take an alternate action - for those errors this field may indicate how long to wait
	// before taking the alternate action.
	// +optional
	RetryAfterSeconds    *int32   `protobuf:"varint,5,opt,name=retryAfterSeconds" json:"retryAfterSeconds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) GetUid added in v1.0.0

func (m *StatusDetails) GetUid() string

func (*StatusDetails) Marshal

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

func (*StatusDetails) MarshalTo

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

func (*StatusDetails) MarshalToSizedBuffer added in v1.2.1

func (m *StatusDetails) MarshalToSizedBuffer(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

func (*StatusDetails) XXX_DiscardUnknown added in v1.2.1

func (m *StatusDetails) XXX_DiscardUnknown()

func (*StatusDetails) XXX_Marshal added in v1.2.1

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

func (*StatusDetails) XXX_Merge added in v1.2.1

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

func (*StatusDetails) XXX_Size added in v1.2.1

func (m *StatusDetails) XXX_Size() int

func (*StatusDetails) XXX_Unmarshal added in v1.2.1

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

type TableOptions added in v1.2.2

type TableOptions struct {
	// includeObject decides whether to include each object along with its columnar information.
	// Specifying "None" will return no object, specifying "Object" will return the full object contents, and
	// specifying "Metadata" (the default) will return the object's metadata in the PartialObjectMetadata kind
	// in version v1beta1 of the meta.k8s.io API group.
	IncludeObject        *string  `protobuf:"bytes,1,opt,name=includeObject" json:"includeObject,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TableOptions are used when a Table is requested by the caller. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TableOptions) Descriptor added in v1.2.2

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

func (*TableOptions) GetIncludeObject added in v1.2.2

func (m *TableOptions) GetIncludeObject() string

func (*TableOptions) Marshal added in v1.2.2

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

func (*TableOptions) MarshalTo added in v1.2.2

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

func (*TableOptions) MarshalToSizedBuffer added in v1.2.2

func (m *TableOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TableOptions) ProtoMessage added in v1.2.2

func (*TableOptions) ProtoMessage()

func (*TableOptions) Reset added in v1.2.2

func (m *TableOptions) Reset()

func (*TableOptions) Size added in v1.2.2

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

func (*TableOptions) String added in v1.2.2

func (m *TableOptions) String() string

func (*TableOptions) Unmarshal added in v1.2.2

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

func (*TableOptions) XXX_DiscardUnknown added in v1.2.2

func (m *TableOptions) XXX_DiscardUnknown()

func (*TableOptions) XXX_Marshal added in v1.2.2

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

func (*TableOptions) XXX_Merge added in v1.2.2

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

func (*TableOptions) XXX_Size added in v1.2.2

func (m *TableOptions) XXX_Size() int

func (*TableOptions) XXX_Unmarshal added in v1.2.2

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

type Time

type Time struct {
	// Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be 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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *Time) MarshalToSizedBuffer(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

func (*Time) XXX_DiscardUnknown added in v1.2.1

func (m *Time) XXX_DiscardUnknown()

func (*Time) XXX_Marshal added in v1.2.1

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

func (*Time) XXX_Merge added in v1.2.1

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

func (*Time) XXX_Size added in v1.2.1

func (m *Time) XXX_Size() int

func (*Time) XXX_Unmarshal added in v1.2.1

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

type Timestamp

type Timestamp struct {
	// Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be 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_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *Timestamp) MarshalToSizedBuffer(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

func (*Timestamp) XXX_DiscardUnknown added in v1.2.1

func (m *Timestamp) XXX_DiscardUnknown()

func (*Timestamp) XXX_Marshal added in v1.2.1

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

func (*Timestamp) XXX_Merge added in v1.2.1

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

func (*Timestamp) XXX_Size added in v1.2.1

func (m *Timestamp) XXX_Size() int

func (*Timestamp) XXX_Unmarshal added in v1.2.1

func (m *Timestamp) XXX_Unmarshal(b []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: https://git.k8s.io/community/contributors/devel/sig-architecture/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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	// +optional
	ApiVersion           *string  `protobuf:"bytes,2,opt,name=apiVersion" json:"apiVersion,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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.

+k8s:deepcopy-gen=false

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) MarshalToSizedBuffer added in v1.2.1

func (m *TypeMeta) MarshalToSizedBuffer(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

func (*TypeMeta) XXX_DiscardUnknown added in v1.2.1

func (m *TypeMeta) XXX_DiscardUnknown()

func (*TypeMeta) XXX_Marshal added in v1.2.1

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

func (*TypeMeta) XXX_Merge added in v1.2.1

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

func (*TypeMeta) XXX_Size added in v1.2.1

func (m *TypeMeta) XXX_Size() int

func (*TypeMeta) XXX_Unmarshal added in v1.2.1

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

type UpdateOptions added in v1.2.1

type UpdateOptions struct {
	// When present, indicates that modifications should not be
	// persisted. An invalid or unrecognized dryRun directive will
	// result in an error response and no further processing of the
	// request. Valid values are:
	// - All: all dry run stages will be processed
	// +optional
	DryRun []string `protobuf:"bytes,1,rep,name=dryRun" json:"dryRun,omitempty"`
	// fieldManager is a name associated with the actor or entity
	// that is making these changes. The value must be less than or
	// 128 characters long, and only contain printable characters,
	// as defined by https://golang.org/pkg/unicode/#IsPrint.
	// +optional
	FieldManager         *string  `protobuf:"bytes,2,opt,name=fieldManager" json:"fieldManager,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

UpdateOptions may be provided when updating an API object. All fields in UpdateOptions should also be present in PatchOptions.

func (*UpdateOptions) Descriptor added in v1.2.1

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

func (*UpdateOptions) GetDryRun added in v1.2.1

func (m *UpdateOptions) GetDryRun() []string

func (*UpdateOptions) GetFieldManager added in v1.2.2

func (m *UpdateOptions) GetFieldManager() string

func (*UpdateOptions) Marshal added in v1.2.1

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

func (*UpdateOptions) MarshalTo added in v1.2.1

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

func (*UpdateOptions) MarshalToSizedBuffer added in v1.2.1

func (m *UpdateOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateOptions) ProtoMessage added in v1.2.1

func (*UpdateOptions) ProtoMessage()

func (*UpdateOptions) Reset added in v1.2.1

func (m *UpdateOptions) Reset()

func (*UpdateOptions) Size added in v1.2.1

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

func (*UpdateOptions) String added in v1.2.1

func (m *UpdateOptions) String() string

func (*UpdateOptions) Unmarshal added in v1.2.1

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

func (*UpdateOptions) XXX_DiscardUnknown added in v1.2.1

func (m *UpdateOptions) XXX_DiscardUnknown()

func (*UpdateOptions) XXX_Marshal added in v1.2.1

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

func (*UpdateOptions) XXX_Merge added in v1.2.1

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

func (*UpdateOptions) XXX_Size added in v1.2.1

func (m *UpdateOptions) XXX_Size() int

func (*UpdateOptions) XXX_Unmarshal added in v1.2.1

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

type Verbs

type Verbs struct {
	Items                []string `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

func (m *Verbs) MarshalToSizedBuffer(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

func (*Verbs) XXX_DiscardUnknown added in v1.2.1

func (m *Verbs) XXX_DiscardUnknown()

func (*Verbs) XXX_Marshal added in v1.2.1

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

func (*Verbs) XXX_Merge added in v1.2.1

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

func (*Verbs) XXX_Size added in v1.2.1

func (m *Verbs) XXX_Size() int

func (*Verbs) XXX_Unmarshal added in v1.2.1

func (m *Verbs) XXX_Unmarshal(b []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               *runtime.RawExtension `protobuf:"bytes,2,opt,name=object" json:"object,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Event represents a single event to a watched resource.

+protobuf=true +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*WatchEvent) Descriptor

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

func (*WatchEvent) GetObject

func (m *WatchEvent) GetObject() *runtime.RawExtension

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) MarshalToSizedBuffer added in v1.2.1

func (m *WatchEvent) MarshalToSizedBuffer(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

func (*WatchEvent) XXX_DiscardUnknown added in v1.2.1

func (m *WatchEvent) XXX_DiscardUnknown()

func (*WatchEvent) XXX_Marshal added in v1.2.1

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

func (*WatchEvent) XXX_Merge added in v1.2.1

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

func (*WatchEvent) XXX_Size added in v1.2.1

func (m *WatchEvent) XXX_Size() int

func (*WatchEvent) XXX_Unmarshal added in v1.2.1

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

Jump to

Keyboard shortcuts

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