v1beta1

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1beta1 is a generated protocol buffer package.

It is generated from these files:

k8s.io/kube-aggregator/pkg/apis/apiregistration/v1beta1/generated.proto

It has these top-level messages:

APIService
APIServiceCondition
APIServiceList
APIServiceSpec
APIServiceStatus
ServiceReference

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type APIService

type APIService struct {
	Metadata *k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	// Spec contains information for locating and communicating with a server
	Spec *APIServiceSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"`
	// Status contains derived information about an API server
	Status           *APIServiceStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

APIService represents a server for a particular GroupVersion. Name must be "version.group".

func (*APIService) Descriptor

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

func (*APIService) GetMetadata

func (*APIService) GetSpec

func (m *APIService) GetSpec() *APIServiceSpec

func (*APIService) GetStatus

func (m *APIService) GetStatus() *APIServiceStatus

func (*APIService) Marshal

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

func (*APIService) MarshalTo

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

func (*APIService) ProtoMessage

func (*APIService) ProtoMessage()

func (*APIService) Reset

func (m *APIService) Reset()

func (*APIService) Size

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

func (*APIService) String

func (m *APIService) String() string

func (*APIService) Unmarshal

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

type APIServiceCondition

type APIServiceCondition struct {
	// Type is the type of the condition.
	Type *string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`
	// Status is the status of the condition.
	// Can be True, False, Unknown.
	Status *string `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"`
	// Last time the condition transitioned from one status to another.
	// +optional
	LastTransitionTime *k8s_io_apimachinery_pkg_apis_meta_v1.Time `protobuf:"bytes,3,opt,name=lastTransitionTime" json:"lastTransitionTime,omitempty"`
	// Unique, one-word, CamelCase reason for the condition's last transition.
	// +optional
	Reason *string `protobuf:"bytes,4,opt,name=reason" json:"reason,omitempty"`
	// Human-readable message indicating details about last transition.
	// +optional
	Message          *string `protobuf:"bytes,5,opt,name=message" json:"message,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*APIServiceCondition) Descriptor

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

func (*APIServiceCondition) GetLastTransitionTime

func (*APIServiceCondition) GetMessage

func (m *APIServiceCondition) GetMessage() string

func (*APIServiceCondition) GetReason

func (m *APIServiceCondition) GetReason() string

func (*APIServiceCondition) GetStatus

func (m *APIServiceCondition) GetStatus() string

func (*APIServiceCondition) GetType

func (m *APIServiceCondition) GetType() string

func (*APIServiceCondition) Marshal

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

func (*APIServiceCondition) MarshalTo

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

func (*APIServiceCondition) ProtoMessage

func (*APIServiceCondition) ProtoMessage()

func (*APIServiceCondition) Reset

func (m *APIServiceCondition) Reset()

func (*APIServiceCondition) Size

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

func (*APIServiceCondition) String

func (m *APIServiceCondition) String() string

func (*APIServiceCondition) Unmarshal

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

type APIServiceList

type APIServiceList struct {
	Metadata         *k8s_io_apimachinery_pkg_apis_meta_v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	Items            []*APIService                                  `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	XXX_unrecognized []byte                                         `json:"-"`
}

APIServiceList is a list of APIService objects.

func (*APIServiceList) Descriptor

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

func (*APIServiceList) GetItems

func (m *APIServiceList) GetItems() []*APIService

func (*APIServiceList) GetMetadata

func (*APIServiceList) Marshal

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

func (*APIServiceList) MarshalTo

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

func (*APIServiceList) ProtoMessage

func (*APIServiceList) ProtoMessage()

func (*APIServiceList) Reset

func (m *APIServiceList) Reset()

func (*APIServiceList) Size

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

func (*APIServiceList) String

func (m *APIServiceList) String() string

func (*APIServiceList) Unmarshal

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

type APIServiceSpec

type APIServiceSpec struct {
	// Service is a reference to the service for this API server.  It must communicate
	// on port 443
	// If the Service is nil, that means the handling for the API groupversion is handled locally on this server.
	// The call will simply delegate to the normal handler chain to be fulfilled.
	Service *ServiceReference `protobuf:"bytes,1,opt,name=service" json:"service,omitempty"`
	// Group is the API group name this server hosts
	Group *string `protobuf:"bytes,2,opt,name=group" json:"group,omitempty"`
	// Version is the API version this server hosts.  For example, "v1"
	Version *string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"`
	// InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server.
	// This is strongly discouraged.  You should use the CABundle instead.
	InsecureSkipTLSVerify *bool `protobuf:"varint,4,opt,name=insecureSkipTLSVerify" json:"insecureSkipTLSVerify,omitempty"`
	// CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate.
	CaBundle []byte `protobuf:"bytes,5,opt,name=caBundle" json:"caBundle,omitempty"`
	// GroupPriorityMininum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones.
	// Note that other versions of this group might specify even higher GroupPriorityMininum values such that the whole group gets a higher priority.
	// The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10).
	// The secondary sort is based on the alphabetical comparison of the name of the object.  (v1.bar before v1.foo)
	// We'd recommend something like: *.k8s.io (except extensions) at 18000 and
	// PaaSes (OpenShift, Deis) are recommended to be in the 2000s
	GroupPriorityMinimum *int32 `protobuf:"varint,7,opt,name=groupPriorityMinimum" json:"groupPriorityMinimum,omitempty"`
	// VersionPriority controls the ordering of this API version inside of its group.  Must be greater than zero.
	// The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10).
	// The secondary sort is based on the alphabetical comparison of the name of the object.  (v1.bar before v1.foo)
	// Since it's inside of a group, the number can be small, probably in the 10s.
	VersionPriority  *int32 `protobuf:"varint,8,opt,name=versionPriority" json:"versionPriority,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.

func (*APIServiceSpec) Descriptor

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

func (*APIServiceSpec) GetCaBundle

func (m *APIServiceSpec) GetCaBundle() []byte

func (*APIServiceSpec) GetGroup

func (m *APIServiceSpec) GetGroup() string

func (*APIServiceSpec) GetGroupPriorityMinimum

func (m *APIServiceSpec) GetGroupPriorityMinimum() int32

func (*APIServiceSpec) GetInsecureSkipTLSVerify

func (m *APIServiceSpec) GetInsecureSkipTLSVerify() bool

func (*APIServiceSpec) GetService

func (m *APIServiceSpec) GetService() *ServiceReference

func (*APIServiceSpec) GetVersion

func (m *APIServiceSpec) GetVersion() string

func (*APIServiceSpec) GetVersionPriority

func (m *APIServiceSpec) GetVersionPriority() int32

func (*APIServiceSpec) Marshal

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

func (*APIServiceSpec) MarshalTo

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

func (*APIServiceSpec) ProtoMessage

func (*APIServiceSpec) ProtoMessage()

func (*APIServiceSpec) Reset

func (m *APIServiceSpec) Reset()

func (*APIServiceSpec) Size

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

func (*APIServiceSpec) String

func (m *APIServiceSpec) String() string

func (*APIServiceSpec) Unmarshal

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

type APIServiceStatus

type APIServiceStatus struct {
	// Current service state of apiService.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions       []*APIServiceCondition `protobuf:"bytes,1,rep,name=conditions" json:"conditions,omitempty"`
	XXX_unrecognized []byte                 `json:"-"`
}

APIServiceStatus contains derived information about an API server

func (*APIServiceStatus) Descriptor

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

func (*APIServiceStatus) GetConditions

func (m *APIServiceStatus) GetConditions() []*APIServiceCondition

func (*APIServiceStatus) Marshal

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

func (*APIServiceStatus) MarshalTo

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

func (*APIServiceStatus) ProtoMessage

func (*APIServiceStatus) ProtoMessage()

func (*APIServiceStatus) Reset

func (m *APIServiceStatus) Reset()

func (*APIServiceStatus) Size

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

func (*APIServiceStatus) String

func (m *APIServiceStatus) String() string

func (*APIServiceStatus) Unmarshal

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

type ServiceReference

type ServiceReference struct {
	// Namespace is the namespace of the service
	Namespace *string `protobuf:"bytes,1,opt,name=namespace" json:"namespace,omitempty"`
	// Name is the name of the service
	Name             *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

ServiceReference holds a reference to Service.legacy.k8s.io

func (*ServiceReference) Descriptor

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

func (*ServiceReference) GetName

func (m *ServiceReference) GetName() string

func (*ServiceReference) GetNamespace

func (m *ServiceReference) GetNamespace() string

func (*ServiceReference) Marshal

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

func (*ServiceReference) MarshalTo

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

func (*ServiceReference) ProtoMessage

func (*ServiceReference) ProtoMessage()

func (*ServiceReference) Reset

func (m *ServiceReference) Reset()

func (*ServiceReference) Size

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

func (*ServiceReference) String

func (m *ServiceReference) String() string

func (*ServiceReference) Unmarshal

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

Jump to

Keyboard shortcuts

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