Documentation ¶
Overview ¶
Package v1beta1 contains the API Registration API, which is responsible for registering an API `Group`/`Version` with another kubernetes like API server. The `APIService` holds information about the other API server in `APIServiceSpec` type as well as general `TypeMeta` and `ObjectMeta`. The `APIServiceSpec` type have the main configuration needed to do the aggregation. Any request coming for specified `Group`/`Version` will be directed to the service defined by `ServiceReference` (on port 443) after validating the target using provided `CABundle` or skipping validation if development flag `InsecureSkipTLSVerify` is set. `Priority` is controlling the order of this API group in the overall discovery document. The return status is a set of conditions for this aggregation. Currently there is only one condition named "Available", if true, it means the api/server requests will be redirected to specified API server.
Index ¶
- Constants
- Variables
- func Convert_apiregistration_APIServiceCondition_To_v1beta1_APIServiceCondition(in *apiregistration.APIServiceCondition, out *APIServiceCondition, ...) error
- func Convert_apiregistration_APIServiceList_To_v1beta1_APIServiceList(in *apiregistration.APIServiceList, out *APIServiceList, s conversion.Scope) error
- func Convert_apiregistration_APIServiceSpec_To_v1beta1_APIServiceSpec(in *apiregistration.APIServiceSpec, out *APIServiceSpec, s conversion.Scope) error
- func Convert_apiregistration_APIServiceStatus_To_v1beta1_APIServiceStatus(in *apiregistration.APIServiceStatus, out *APIServiceStatus, ...) error
- func Convert_apiregistration_APIService_To_v1beta1_APIService(in *apiregistration.APIService, out *APIService, s conversion.Scope) error
- func Convert_apiregistration_ServiceReference_To_v1beta1_ServiceReference(in *apiregistration.ServiceReference, out *ServiceReference, ...) error
- func Convert_v1beta1_APIServiceCondition_To_apiregistration_APIServiceCondition(in *APIServiceCondition, out *apiregistration.APIServiceCondition, ...) error
- func Convert_v1beta1_APIServiceList_To_apiregistration_APIServiceList(in *APIServiceList, out *apiregistration.APIServiceList, s conversion.Scope) error
- func Convert_v1beta1_APIServiceSpec_To_apiregistration_APIServiceSpec(in *APIServiceSpec, out *apiregistration.APIServiceSpec, s conversion.Scope) error
- func Convert_v1beta1_APIServiceStatus_To_apiregistration_APIServiceStatus(in *APIServiceStatus, out *apiregistration.APIServiceStatus, ...) error
- func Convert_v1beta1_APIService_To_apiregistration_APIService(in *APIService, out *apiregistration.APIService, s conversion.Scope) error
- func Convert_v1beta1_ServiceReference_To_apiregistration_ServiceReference(in *ServiceReference, out *apiregistration.ServiceReference, ...) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_ServiceReference(obj *ServiceReference)
- func SetObjectDefaults_APIService(in *APIService)
- func SetObjectDefaults_APIServiceList(in *APIServiceList)
- type APIService
- func (in *APIService) APILifecycleDeprecated() (major, minor int)
- func (in *APIService) APILifecycleIntroduced() (major, minor int)
- func (in *APIService) APILifecycleRemoved() (major, minor int)
- func (in *APIService) APILifecycleReplacement() schema.GroupVersionKind
- func (in *APIService) DeepCopy() *APIService
- func (in *APIService) DeepCopyInto(out *APIService)
- func (in *APIService) DeepCopyObject() runtime.Object
- func (*APIService) Descriptor() ([]byte, []int)
- func (m *APIService) Marshal() (dAtA []byte, err error)
- func (m *APIService) MarshalTo(dAtA []byte) (int, error)
- func (m *APIService) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*APIService) ProtoMessage()
- func (m *APIService) Reset()
- func (m *APIService) Size() (n int)
- func (this *APIService) String() string
- func (m *APIService) Unmarshal(dAtA []byte) error
- func (m *APIService) XXX_DiscardUnknown()
- func (m *APIService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *APIService) XXX_Merge(src proto.Message)
- func (m *APIService) XXX_Size() int
- func (m *APIService) XXX_Unmarshal(b []byte) error
- type APIServiceCondition
- func (in *APIServiceCondition) DeepCopy() *APIServiceCondition
- func (in *APIServiceCondition) DeepCopyInto(out *APIServiceCondition)
- func (*APIServiceCondition) Descriptor() ([]byte, []int)
- func (m *APIServiceCondition) Marshal() (dAtA []byte, err error)
- func (m *APIServiceCondition) MarshalTo(dAtA []byte) (int, error)
- func (m *APIServiceCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*APIServiceCondition) ProtoMessage()
- func (m *APIServiceCondition) Reset()
- func (m *APIServiceCondition) Size() (n int)
- func (this *APIServiceCondition) String() string
- func (m *APIServiceCondition) Unmarshal(dAtA []byte) error
- func (m *APIServiceCondition) XXX_DiscardUnknown()
- func (m *APIServiceCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *APIServiceCondition) XXX_Merge(src proto.Message)
- func (m *APIServiceCondition) XXX_Size() int
- func (m *APIServiceCondition) XXX_Unmarshal(b []byte) error
- type APIServiceConditionType
- type APIServiceList
- func (in *APIServiceList) APILifecycleDeprecated() (major, minor int)
- func (in *APIServiceList) APILifecycleIntroduced() (major, minor int)
- func (in *APIServiceList) APILifecycleRemoved() (major, minor int)
- func (in *APIServiceList) APILifecycleReplacement() schema.GroupVersionKind
- func (in *APIServiceList) DeepCopy() *APIServiceList
- func (in *APIServiceList) DeepCopyInto(out *APIServiceList)
- func (in *APIServiceList) DeepCopyObject() runtime.Object
- func (*APIServiceList) Descriptor() ([]byte, []int)
- func (m *APIServiceList) Marshal() (dAtA []byte, err error)
- func (m *APIServiceList) MarshalTo(dAtA []byte) (int, error)
- func (m *APIServiceList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*APIServiceList) ProtoMessage()
- func (m *APIServiceList) Reset()
- func (m *APIServiceList) Size() (n int)
- func (this *APIServiceList) String() string
- func (m *APIServiceList) Unmarshal(dAtA []byte) error
- func (m *APIServiceList) XXX_DiscardUnknown()
- func (m *APIServiceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *APIServiceList) XXX_Merge(src proto.Message)
- func (m *APIServiceList) XXX_Size() int
- func (m *APIServiceList) XXX_Unmarshal(b []byte) error
- type APIServiceSpec
- func (in *APIServiceSpec) DeepCopy() *APIServiceSpec
- func (in *APIServiceSpec) DeepCopyInto(out *APIServiceSpec)
- func (*APIServiceSpec) Descriptor() ([]byte, []int)
- func (m *APIServiceSpec) Marshal() (dAtA []byte, err error)
- func (m *APIServiceSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *APIServiceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*APIServiceSpec) ProtoMessage()
- func (m *APIServiceSpec) Reset()
- func (m *APIServiceSpec) Size() (n int)
- func (this *APIServiceSpec) String() string
- func (m *APIServiceSpec) Unmarshal(dAtA []byte) error
- func (m *APIServiceSpec) XXX_DiscardUnknown()
- func (m *APIServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *APIServiceSpec) XXX_Merge(src proto.Message)
- func (m *APIServiceSpec) XXX_Size() int
- func (m *APIServiceSpec) XXX_Unmarshal(b []byte) error
- type APIServiceStatus
- func (in *APIServiceStatus) DeepCopy() *APIServiceStatus
- func (in *APIServiceStatus) DeepCopyInto(out *APIServiceStatus)
- func (*APIServiceStatus) Descriptor() ([]byte, []int)
- func (m *APIServiceStatus) Marshal() (dAtA []byte, err error)
- func (m *APIServiceStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *APIServiceStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*APIServiceStatus) ProtoMessage()
- func (m *APIServiceStatus) Reset()
- func (m *APIServiceStatus) Size() (n int)
- func (this *APIServiceStatus) String() string
- func (m *APIServiceStatus) Unmarshal(dAtA []byte) error
- func (m *APIServiceStatus) XXX_DiscardUnknown()
- func (m *APIServiceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *APIServiceStatus) XXX_Merge(src proto.Message)
- func (m *APIServiceStatus) XXX_Size() int
- func (m *APIServiceStatus) XXX_Unmarshal(b []byte) error
- type ConditionStatus
- type ServiceReference
- func (in *ServiceReference) DeepCopy() *ServiceReference
- func (in *ServiceReference) DeepCopyInto(out *ServiceReference)
- func (*ServiceReference) Descriptor() ([]byte, []int)
- func (m *ServiceReference) Marshal() (dAtA []byte, err error)
- func (m *ServiceReference) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceReference) ProtoMessage()
- func (m *ServiceReference) Reset()
- func (m *ServiceReference) Size() (n int)
- func (this *ServiceReference) String() string
- func (m *ServiceReference) Unmarshal(dAtA []byte) error
- func (m *ServiceReference) XXX_DiscardUnknown()
- func (m *ServiceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceReference) XXX_Merge(src proto.Message)
- func (m *ServiceReference) XXX_Size() int
- func (m *ServiceReference) XXX_Unmarshal(b []byte) error
Constants ¶
const GroupName = "apiregistration.k8s.io"
GroupName is the API group for apiregistration
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // SchemeBuilder is the scheme builder with scheme init functions to run for this API package // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder // AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_apiregistration_APIServiceCondition_To_v1beta1_APIServiceCondition ¶
func Convert_apiregistration_APIServiceCondition_To_v1beta1_APIServiceCondition(in *apiregistration.APIServiceCondition, out *APIServiceCondition, s conversion.Scope) error
Convert_apiregistration_APIServiceCondition_To_v1beta1_APIServiceCondition is an autogenerated conversion function.
func Convert_apiregistration_APIServiceList_To_v1beta1_APIServiceList ¶
func Convert_apiregistration_APIServiceList_To_v1beta1_APIServiceList(in *apiregistration.APIServiceList, out *APIServiceList, s conversion.Scope) error
Convert_apiregistration_APIServiceList_To_v1beta1_APIServiceList is an autogenerated conversion function.
func Convert_apiregistration_APIServiceSpec_To_v1beta1_APIServiceSpec ¶
func Convert_apiregistration_APIServiceSpec_To_v1beta1_APIServiceSpec(in *apiregistration.APIServiceSpec, out *APIServiceSpec, s conversion.Scope) error
Convert_apiregistration_APIServiceSpec_To_v1beta1_APIServiceSpec is an autogenerated conversion function.
func Convert_apiregistration_APIServiceStatus_To_v1beta1_APIServiceStatus ¶
func Convert_apiregistration_APIServiceStatus_To_v1beta1_APIServiceStatus(in *apiregistration.APIServiceStatus, out *APIServiceStatus, s conversion.Scope) error
Convert_apiregistration_APIServiceStatus_To_v1beta1_APIServiceStatus is an autogenerated conversion function.
func Convert_apiregistration_APIService_To_v1beta1_APIService ¶
func Convert_apiregistration_APIService_To_v1beta1_APIService(in *apiregistration.APIService, out *APIService, s conversion.Scope) error
Convert_apiregistration_APIService_To_v1beta1_APIService is an autogenerated conversion function.
func Convert_apiregistration_ServiceReference_To_v1beta1_ServiceReference ¶
func Convert_apiregistration_ServiceReference_To_v1beta1_ServiceReference(in *apiregistration.ServiceReference, out *ServiceReference, s conversion.Scope) error
Convert_apiregistration_ServiceReference_To_v1beta1_ServiceReference is an autogenerated conversion function.
func Convert_v1beta1_APIServiceCondition_To_apiregistration_APIServiceCondition ¶
func Convert_v1beta1_APIServiceCondition_To_apiregistration_APIServiceCondition(in *APIServiceCondition, out *apiregistration.APIServiceCondition, s conversion.Scope) error
Convert_v1beta1_APIServiceCondition_To_apiregistration_APIServiceCondition is an autogenerated conversion function.
func Convert_v1beta1_APIServiceList_To_apiregistration_APIServiceList ¶
func Convert_v1beta1_APIServiceList_To_apiregistration_APIServiceList(in *APIServiceList, out *apiregistration.APIServiceList, s conversion.Scope) error
Convert_v1beta1_APIServiceList_To_apiregistration_APIServiceList is an autogenerated conversion function.
func Convert_v1beta1_APIServiceSpec_To_apiregistration_APIServiceSpec ¶
func Convert_v1beta1_APIServiceSpec_To_apiregistration_APIServiceSpec(in *APIServiceSpec, out *apiregistration.APIServiceSpec, s conversion.Scope) error
Convert_v1beta1_APIServiceSpec_To_apiregistration_APIServiceSpec is an autogenerated conversion function.
func Convert_v1beta1_APIServiceStatus_To_apiregistration_APIServiceStatus ¶
func Convert_v1beta1_APIServiceStatus_To_apiregistration_APIServiceStatus(in *APIServiceStatus, out *apiregistration.APIServiceStatus, s conversion.Scope) error
Convert_v1beta1_APIServiceStatus_To_apiregistration_APIServiceStatus is an autogenerated conversion function.
func Convert_v1beta1_APIService_To_apiregistration_APIService ¶
func Convert_v1beta1_APIService_To_apiregistration_APIService(in *APIService, out *apiregistration.APIService, s conversion.Scope) error
Convert_v1beta1_APIService_To_apiregistration_APIService is an autogenerated conversion function.
func Convert_v1beta1_ServiceReference_To_apiregistration_ServiceReference ¶
func Convert_v1beta1_ServiceReference_To_apiregistration_ServiceReference(in *ServiceReference, out *apiregistration.ServiceReference, s conversion.Scope) error
Convert_v1beta1_ServiceReference_To_apiregistration_ServiceReference is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
func SetDefaults_ServiceReference ¶
func SetDefaults_ServiceReference(obj *ServiceReference)
SetDefaults_ServiceReference sets defaults for AuditSync Webhook's ServiceReference
func SetObjectDefaults_APIService ¶
func SetObjectDefaults_APIService(in *APIService)
func SetObjectDefaults_APIServiceList ¶
func SetObjectDefaults_APIServiceList(in *APIServiceList)
Types ¶
type APIService ¶
type APIService struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Spec contains information for locating and communicating with a server Spec APIServiceSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status contains derived information about an API server Status APIServiceStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
APIService represents a server for a particular GroupVersion. Name must be "version.group".
func (*APIService) APILifecycleDeprecated ¶ added in v0.19.0
func (in *APIService) APILifecycleDeprecated() (major, minor int)
APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (*APIService) APILifecycleIntroduced ¶ added in v0.19.0
func (in *APIService) APILifecycleIntroduced() (major, minor int)
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (*APIService) APILifecycleRemoved ¶ added in v0.19.0
func (in *APIService) APILifecycleRemoved() (major, minor int)
APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (*APIService) APILifecycleReplacement ¶ added in v0.19.0
func (in *APIService) APILifecycleReplacement() schema.GroupVersionKind
APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
func (*APIService) DeepCopy ¶
func (in *APIService) DeepCopy() *APIService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIService.
func (*APIService) DeepCopyInto ¶
func (in *APIService) DeepCopyInto(out *APIService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIService) DeepCopyObject ¶
func (in *APIService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*APIService) Descriptor ¶
func (*APIService) Descriptor() ([]byte, []int)
func (*APIService) Marshal ¶
func (m *APIService) Marshal() (dAtA []byte, err error)
func (*APIService) MarshalToSizedBuffer ¶ added in v0.16.4
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 (this *APIService) String() string
func (*APIService) Unmarshal ¶
func (m *APIService) Unmarshal(dAtA []byte) error
func (*APIService) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *APIService) XXX_DiscardUnknown()
func (*APIService) XXX_Marshal ¶ added in v0.16.4
func (m *APIService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*APIService) XXX_Merge ¶ added in v0.16.4
func (m *APIService) XXX_Merge(src proto.Message)
func (*APIService) XXX_Size ¶ added in v0.16.4
func (m *APIService) XXX_Size() int
func (*APIService) XXX_Unmarshal ¶ added in v0.16.4
func (m *APIService) XXX_Unmarshal(b []byte) error
type APIServiceCondition ¶
type APIServiceCondition struct { // Type is the type of the condition. Type APIServiceConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=APIServiceConditionType"` // Status is the status of the condition. // Can be True, False, Unknown. Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"` // Last time the condition transitioned from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"` // Unique, one-word, CamelCase reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"` // Human-readable message indicating details about last transition. // +optional Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"` }
APIServiceCondition describes the state of an APIService at a particular point
func (*APIServiceCondition) DeepCopy ¶
func (in *APIServiceCondition) DeepCopy() *APIServiceCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceCondition.
func (*APIServiceCondition) DeepCopyInto ¶
func (in *APIServiceCondition) DeepCopyInto(out *APIServiceCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIServiceCondition) Descriptor ¶
func (*APIServiceCondition) Descriptor() ([]byte, []int)
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 v0.16.4
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 (this *APIServiceCondition) String() string
func (*APIServiceCondition) Unmarshal ¶
func (m *APIServiceCondition) Unmarshal(dAtA []byte) error
func (*APIServiceCondition) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *APIServiceCondition) XXX_DiscardUnknown()
func (*APIServiceCondition) XXX_Marshal ¶ added in v0.16.4
func (m *APIServiceCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*APIServiceCondition) XXX_Merge ¶ added in v0.16.4
func (m *APIServiceCondition) XXX_Merge(src proto.Message)
func (*APIServiceCondition) XXX_Size ¶ added in v0.16.4
func (m *APIServiceCondition) XXX_Size() int
func (*APIServiceCondition) XXX_Unmarshal ¶ added in v0.16.4
func (m *APIServiceCondition) XXX_Unmarshal(b []byte) error
type APIServiceConditionType ¶
type APIServiceConditionType string
APIServiceConditionType is a valid value for APIServiceCondition.Type
const ( // Available indicates that the service exists and is reachable Available APIServiceConditionType = "Available" )
type APIServiceList ¶
type APIServiceList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of APIService Items []APIService `json:"items" protobuf:"bytes,2,rep,name=items"` }
APIServiceList is a list of APIService objects.
func (*APIServiceList) APILifecycleDeprecated ¶ added in v0.19.0
func (in *APIServiceList) APILifecycleDeprecated() (major, minor int)
APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (*APIServiceList) APILifecycleIntroduced ¶ added in v0.19.0
func (in *APIServiceList) APILifecycleIntroduced() (major, minor int)
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (*APIServiceList) APILifecycleRemoved ¶ added in v0.19.0
func (in *APIServiceList) APILifecycleRemoved() (major, minor int)
APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (*APIServiceList) APILifecycleReplacement ¶ added in v0.19.0
func (in *APIServiceList) APILifecycleReplacement() schema.GroupVersionKind
APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
func (*APIServiceList) DeepCopy ¶
func (in *APIServiceList) DeepCopy() *APIServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceList.
func (*APIServiceList) DeepCopyInto ¶
func (in *APIServiceList) DeepCopyInto(out *APIServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIServiceList) DeepCopyObject ¶
func (in *APIServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*APIServiceList) Descriptor ¶
func (*APIServiceList) Descriptor() ([]byte, []int)
func (*APIServiceList) Marshal ¶
func (m *APIServiceList) Marshal() (dAtA []byte, err error)
func (*APIServiceList) MarshalToSizedBuffer ¶ added in v0.16.4
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 (this *APIServiceList) String() string
func (*APIServiceList) Unmarshal ¶
func (m *APIServiceList) Unmarshal(dAtA []byte) error
func (*APIServiceList) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *APIServiceList) XXX_DiscardUnknown()
func (*APIServiceList) XXX_Marshal ¶ added in v0.16.4
func (m *APIServiceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*APIServiceList) XXX_Merge ¶ added in v0.16.4
func (m *APIServiceList) XXX_Merge(src proto.Message)
func (*APIServiceList) XXX_Size ¶ added in v0.16.4
func (m *APIServiceList) XXX_Size() int
func (*APIServiceList) XXX_Unmarshal ¶ added in v0.16.4
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 `json:"service,omitempty" protobuf:"bytes,1,opt,name=service"` // Group is the API group name this server hosts Group string `json:"group,omitempty" protobuf:"bytes,2,opt,name=group"` // Version is the API version this server hosts. For example, "v1" Version string `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"` // InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. // This is strongly discouraged. You should use the CABundle instead. InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty" protobuf:"varint,4,opt,name=insecureSkipTLSVerify"` // 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 `json:"caBundle,omitempty" protobuf:"bytes,5,opt,name=caBundle"` // GroupPriorityMinimum 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 GroupPriorityMinimum 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 `json:"groupPriorityMinimum" protobuf:"varint,7,opt,name=groupPriorityMinimum"` // 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 `json:"versionPriority" protobuf:"varint,8,opt,name=versionPriority"` }
APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.
func (*APIServiceSpec) DeepCopy ¶
func (in *APIServiceSpec) DeepCopy() *APIServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceSpec.
func (*APIServiceSpec) DeepCopyInto ¶
func (in *APIServiceSpec) DeepCopyInto(out *APIServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIServiceSpec) Descriptor ¶
func (*APIServiceSpec) Descriptor() ([]byte, []int)
func (*APIServiceSpec) Marshal ¶
func (m *APIServiceSpec) Marshal() (dAtA []byte, err error)
func (*APIServiceSpec) MarshalToSizedBuffer ¶ added in v0.16.4
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 (this *APIServiceSpec) String() string
func (*APIServiceSpec) Unmarshal ¶
func (m *APIServiceSpec) Unmarshal(dAtA []byte) error
func (*APIServiceSpec) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *APIServiceSpec) XXX_DiscardUnknown()
func (*APIServiceSpec) XXX_Marshal ¶ added in v0.16.4
func (m *APIServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*APIServiceSpec) XXX_Merge ¶ added in v0.16.4
func (m *APIServiceSpec) XXX_Merge(src proto.Message)
func (*APIServiceSpec) XXX_Size ¶ added in v0.16.4
func (m *APIServiceSpec) XXX_Size() int
func (*APIServiceSpec) XXX_Unmarshal ¶ added in v0.16.4
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 `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` }
APIServiceStatus contains derived information about an API server
func (*APIServiceStatus) DeepCopy ¶
func (in *APIServiceStatus) DeepCopy() *APIServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServiceStatus.
func (*APIServiceStatus) DeepCopyInto ¶
func (in *APIServiceStatus) DeepCopyInto(out *APIServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIServiceStatus) Descriptor ¶
func (*APIServiceStatus) Descriptor() ([]byte, []int)
func (*APIServiceStatus) Marshal ¶
func (m *APIServiceStatus) Marshal() (dAtA []byte, err error)
func (*APIServiceStatus) MarshalToSizedBuffer ¶ added in v0.16.4
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 (this *APIServiceStatus) String() string
func (*APIServiceStatus) Unmarshal ¶
func (m *APIServiceStatus) Unmarshal(dAtA []byte) error
func (*APIServiceStatus) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *APIServiceStatus) XXX_DiscardUnknown()
func (*APIServiceStatus) XXX_Marshal ¶ added in v0.16.4
func (m *APIServiceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*APIServiceStatus) XXX_Merge ¶ added in v0.16.4
func (m *APIServiceStatus) XXX_Merge(src proto.Message)
func (*APIServiceStatus) XXX_Size ¶ added in v0.16.4
func (m *APIServiceStatus) XXX_Size() int
func (*APIServiceStatus) XXX_Unmarshal ¶ added in v0.16.4
func (m *APIServiceStatus) XXX_Unmarshal(b []byte) error
type ConditionStatus ¶
type ConditionStatus string
ConditionStatus indicates the status of a condition (true, false, or unknown).
const ( ConditionTrue ConditionStatus = "True" ConditionFalse ConditionStatus = "False" ConditionUnknown ConditionStatus = "Unknown" )
These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.
type ServiceReference ¶
type ServiceReference struct { // Namespace is the namespace of the service Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"` // Name is the name of the service Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"` // 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 `json:"port,omitempty" protobuf:"varint,3,opt,name=port"` }
ServiceReference holds a reference to Service.legacy.k8s.io
func (*ServiceReference) DeepCopy ¶
func (in *ServiceReference) DeepCopy() *ServiceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
func (*ServiceReference) DeepCopyInto ¶
func (in *ServiceReference) DeepCopyInto(out *ServiceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceReference) Descriptor ¶
func (*ServiceReference) Descriptor() ([]byte, []int)
func (*ServiceReference) Marshal ¶
func (m *ServiceReference) Marshal() (dAtA []byte, err error)
func (*ServiceReference) MarshalToSizedBuffer ¶ added in v0.16.4
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 (this *ServiceReference) String() string
func (*ServiceReference) Unmarshal ¶
func (m *ServiceReference) Unmarshal(dAtA []byte) error
func (*ServiceReference) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *ServiceReference) XXX_DiscardUnknown()
func (*ServiceReference) XXX_Marshal ¶ added in v0.16.4
func (m *ServiceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceReference) XXX_Merge ¶ added in v0.16.4
func (m *ServiceReference) XXX_Merge(src proto.Message)
func (*ServiceReference) XXX_Size ¶ added in v0.16.4
func (m *ServiceReference) XXX_Size() int
func (*ServiceReference) XXX_Unmarshal ¶ added in v0.16.4
func (m *ServiceReference) XXX_Unmarshal(b []byte) error