v1alpha1

package
v1.6.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=apiregistration.k8s.io

Index

Constants

View Source
const GroupName = "apiregistration.k8s.io"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_apiregistration_APIServiceList_To_v1alpha1_APIServiceList

func Convert_apiregistration_APIServiceList_To_v1alpha1_APIServiceList(in *apiregistration.APIServiceList, out *APIServiceList, s conversion.Scope) error

func Convert_apiregistration_APIServiceSpec_To_v1alpha1_APIServiceSpec

func Convert_apiregistration_APIServiceSpec_To_v1alpha1_APIServiceSpec(in *apiregistration.APIServiceSpec, out *APIServiceSpec, s conversion.Scope) error

func Convert_apiregistration_APIServiceStatus_To_v1alpha1_APIServiceStatus

func Convert_apiregistration_APIServiceStatus_To_v1alpha1_APIServiceStatus(in *apiregistration.APIServiceStatus, out *APIServiceStatus, s conversion.Scope) error

func Convert_apiregistration_APIService_To_v1alpha1_APIService

func Convert_apiregistration_APIService_To_v1alpha1_APIService(in *apiregistration.APIService, out *APIService, s conversion.Scope) error

func Convert_apiregistration_ServiceReference_To_v1alpha1_ServiceReference

func Convert_apiregistration_ServiceReference_To_v1alpha1_ServiceReference(in *apiregistration.ServiceReference, out *ServiceReference, s conversion.Scope) error

func Convert_v1alpha1_APIServiceList_To_apiregistration_APIServiceList

func Convert_v1alpha1_APIServiceList_To_apiregistration_APIServiceList(in *APIServiceList, out *apiregistration.APIServiceList, s conversion.Scope) error

func Convert_v1alpha1_APIServiceSpec_To_apiregistration_APIServiceSpec

func Convert_v1alpha1_APIServiceSpec_To_apiregistration_APIServiceSpec(in *APIServiceSpec, out *apiregistration.APIServiceSpec, s conversion.Scope) error

func Convert_v1alpha1_APIServiceStatus_To_apiregistration_APIServiceStatus

func Convert_v1alpha1_APIServiceStatus_To_apiregistration_APIServiceStatus(in *APIServiceStatus, out *apiregistration.APIServiceStatus, s conversion.Scope) error

func Convert_v1alpha1_APIService_To_apiregistration_APIService

func Convert_v1alpha1_APIService_To_apiregistration_APIService(in *APIService, out *apiregistration.APIService, s conversion.Scope) error

func Convert_v1alpha1_ServiceReference_To_apiregistration_ServiceReference

func Convert_v1alpha1_ServiceReference_To_apiregistration_ServiceReference(in *ServiceReference, out *apiregistration.ServiceReference, s conversion.Scope) error

func DeepCopy_v1alpha1_APIService

func DeepCopy_v1alpha1_APIService(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1alpha1_APIServiceList

func DeepCopy_v1alpha1_APIServiceList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1alpha1_APIServiceSpec

func DeepCopy_v1alpha1_APIServiceSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1alpha1_APIServiceStatus

func DeepCopy_v1alpha1_APIServiceStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1alpha1_ServiceReference

func DeepCopy_v1alpha1_ServiceReference(in interface{}, out interface{}, c *conversion.Cloner) error

func RegisterConversions

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDeepCopies

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

Types

type APIService

type APIService struct {
	metav1.TypeMeta   `json:",inline"`
	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) CodecDecodeSelf

func (x *APIService) CodecDecodeSelf(d *codec1978.Decoder)

func (*APIService) CodecEncodeSelf

func (x *APIService) CodecEncodeSelf(e *codec1978.Encoder)

type APIServiceList

type APIServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []APIService `json:"items" protobuf:"bytes,2,rep,name=items"`
}

APIServiceList is a list of APIService objects.

func (*APIServiceList) CodecDecodeSelf

func (x *APIServiceList) CodecDecodeSelf(d *codec1978.Decoder)

func (*APIServiceList) CodecEncodeSelf

func (x *APIServiceList) CodecEncodeSelf(e *codec1978.Encoder)

type APIServiceSpec

type APIServiceSpec struct {
	// Service is a reference to the service for this API server.  It must communicate
	// on port 443
	Service ServiceReference `json:"service" 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.
	CABundle []byte `json:"caBundle" protobuf:"bytes,5,opt,name=caBundle"`

	// Priority controls the ordering of this API group in the overall discovery document that gets served.
	// Client tools like `kubectl` use this ordering to derive preference, so this ordering mechanism is important.
	// Values must be between 1 and 1000
	// The primary sort is based on priority, ordered lowest number to highest (10 before 20).
	// 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 100, extensions at 150
	// PaaSes (OpenShift, Deis) are recommended to be in the 200s
	Priority int64 `json:"priority" protobuf:"varint,6,opt,name=priority"`
}

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

func (*APIServiceSpec) CodecDecodeSelf

func (x *APIServiceSpec) CodecDecodeSelf(d *codec1978.Decoder)

func (*APIServiceSpec) CodecEncodeSelf

func (x *APIServiceSpec) CodecEncodeSelf(e *codec1978.Encoder)

type APIServiceStatus

type APIServiceStatus struct {
}

APIServiceStatus contains derived information about an API server

func (*APIServiceStatus) CodecDecodeSelf

func (x *APIServiceStatus) CodecDecodeSelf(d *codec1978.Decoder)

func (*APIServiceStatus) CodecEncodeSelf

func (x *APIServiceStatus) CodecEncodeSelf(e *codec1978.Encoder)

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

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

func (*ServiceReference) CodecDecodeSelf

func (x *ServiceReference) CodecDecodeSelf(d *codec1978.Decoder)

func (*ServiceReference) CodecEncodeSelf

func (x *ServiceReference) CodecEncodeSelf(e *codec1978.Encoder)

Jump to

Keyboard shortcuts

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