v1beta1

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: 0

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 APIService

type APIService struct {
	Metadata *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_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `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 (m *APIService) GetMetadata() *v1.ObjectMeta

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

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

func (*APIService) XXX_DiscardUnknown added in v1.2.1

func (m *APIService) XXX_DiscardUnknown()

func (*APIService) XXX_Marshal added in v1.2.1

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

func (*APIService) XXX_Merge added in v1.2.1

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

func (*APIService) XXX_Size added in v1.2.1

func (m *APIService) XXX_Size() int

func (*APIService) XXX_Unmarshal added in v1.2.1

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

APIServiceCondition describes the state of an APIService at a particular point

func (*APIServiceCondition) Descriptor

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

func (*APIServiceCondition) GetLastTransitionTime

func (m *APIServiceCondition) GetLastTransitionTime() *v1.Time

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

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

func (*APIServiceCondition) XXX_DiscardUnknown added in v1.2.1

func (m *APIServiceCondition) XXX_DiscardUnknown()

func (*APIServiceCondition) XXX_Marshal added in v1.2.1

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

func (*APIServiceCondition) XXX_Merge added in v1.2.1

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

func (*APIServiceCondition) XXX_Size added in v1.2.1

func (m *APIServiceCondition) XXX_Size() int

func (*APIServiceCondition) XXX_Unmarshal added in v1.2.1

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

type APIServiceList

type APIServiceList struct {
	Metadata             *v1.ListMeta  `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
	Items                []*APIService `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `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 (m *APIServiceList) GetMetadata() *v1.ListMeta

func (*APIServiceList) Marshal

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

func (*APIServiceList) MarshalTo

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

func (*APIServiceList) MarshalToSizedBuffer added in v1.2.1

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

func (*APIServiceList) XXX_DiscardUnknown added in v1.2.1

func (m *APIServiceList) XXX_DiscardUnknown()

func (*APIServiceList) XXX_Marshal added in v1.2.1

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

func (*APIServiceList) XXX_Merge added in v1.2.1

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

func (*APIServiceList) XXX_Size added in v1.2.1

func (m *APIServiceList) XXX_Size() int

func (*APIServiceList) XXX_Unmarshal added in v1.2.1

func (m *APIServiceList) XXX_Unmarshal(b []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.
	// +optional
	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.
	// If unspecified, system trust roots on the apiserver are used.
	// +listType=atomic
	// +optional
	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).
	// Since it's inside of a group, the number can be small, probably in the 10s.
	// In case of equal version priorities, the version string will be used to compute the order inside a group.
	// If the version string is "kube-like", it will sort above non "kube-like" version strings, which are ordered
	// lexicographically. "Kube-like" versions start with a "v", then are followed by a number (the major version),
	// then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first
	// by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major
	// version, then minor version. An example sorted list of versions:
	// v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.
	VersionPriority      *int32   `protobuf:"varint,8,opt,name=versionPriority" json:"versionPriority,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) MarshalToSizedBuffer added in v1.2.1

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

func (*APIServiceSpec) XXX_DiscardUnknown added in v1.2.1

func (m *APIServiceSpec) XXX_DiscardUnknown()

func (*APIServiceSpec) XXX_Marshal added in v1.2.1

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

func (*APIServiceSpec) XXX_Merge added in v1.2.1

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

func (*APIServiceSpec) XXX_Size added in v1.2.1

func (m *APIServiceSpec) XXX_Size() int

func (*APIServiceSpec) XXX_Unmarshal added in v1.2.1

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

type APIServiceStatus

type APIServiceStatus struct {
	// Current service state of apiService.
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions           []*APIServiceCondition `protobuf:"bytes,1,rep,name=conditions" json:"conditions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `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) MarshalToSizedBuffer added in v1.2.1

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

func (*APIServiceStatus) XXX_DiscardUnknown added in v1.2.1

func (m *APIServiceStatus) XXX_DiscardUnknown()

func (*APIServiceStatus) XXX_Marshal added in v1.2.1

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

func (*APIServiceStatus) XXX_Merge added in v1.2.1

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

func (*APIServiceStatus) XXX_Size added in v1.2.1

func (m *APIServiceStatus) XXX_Size() int

func (*APIServiceStatus) XXX_Unmarshal added in v1.2.1

func (m *APIServiceStatus) XXX_Unmarshal(b []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"`
	// If specified, the port on the service that hosting webhook.
	// Default to 443 for backward compatibility.
	// `port` should be a valid port number (1-65535, inclusive).
	// +optional
	Port                 *int32   `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `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) GetPort added in v1.2.2

func (m *ServiceReference) GetPort() int32

func (*ServiceReference) Marshal

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

func (*ServiceReference) MarshalTo

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

func (*ServiceReference) MarshalToSizedBuffer added in v1.2.1

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

func (*ServiceReference) XXX_DiscardUnknown added in v1.2.1

func (m *ServiceReference) XXX_DiscardUnknown()

func (*ServiceReference) XXX_Marshal added in v1.2.1

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

func (*ServiceReference) XXX_Merge added in v1.2.1

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

func (*ServiceReference) XXX_Size added in v1.2.1

func (m *ServiceReference) XXX_Size() int

func (*ServiceReference) XXX_Unmarshal added in v1.2.1

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

Jump to

Keyboard shortcuts

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