v1alpha1

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains types required for v1alpha1 +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=sae.alibaba-cloud.oam.dev

Index

Constants

View Source
const (
	IdentAccessKeyId          = "accessKeyId"
	IdentAccessKeySecret      = "accessKeySecret"
	LabelSAEAPIServer         = "sae.alibaba-cloud.oam.dev/apiserver"
	LabelKeySAEAPIServer      = "true"
	LabelSAEAPIServerRegion   = "sae.alibaba-cloud.oam.dev/apiserver-region"
	DefaultSAEAPIServerRegion = "cn-hangzhou"
)
View Source
const (
	Group   = "sae.alibaba-cloud.oam.dev"
	Version = "v1alpha1"
)
View Source
const SAEAPIServerResource = "saeapiservers"

Variables

View Source
var AddToScheme = func(scheme *runtime.Scheme) error {
	metav1.AddToGroupVersion(scheme, GroupVersion)
	scheme.AddKnownTypes(GroupVersion, &SAEAPIServer{}, &SAEAPIServerList{})
	scheme.AddKnownTypes(GroupVersion, &SAEAPIServerProxyOptions{})
	return nil
}

Functions

func AddFlags

func AddFlags(set *pflag.FlagSet)

func NewProxyRequestEscaper

func NewProxyRequestEscaper(delegate http.Handler) http.Handler

Types

type SAEAPIServer

type SAEAPIServer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec SAEAPIServerSpec `json:"spec,omitempty"`
}

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

func (*SAEAPIServer) ConvertToTable

func (in *SAEAPIServer) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)

func (*SAEAPIServer) Create

func (in *SAEAPIServer) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)

func (*SAEAPIServer) DeepCopy

func (in *SAEAPIServer) DeepCopy() *SAEAPIServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SAEAPIServer.

func (*SAEAPIServer) DeepCopyInto

func (in *SAEAPIServer) DeepCopyInto(out *SAEAPIServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SAEAPIServer) DeepCopyObject

func (in *SAEAPIServer) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SAEAPIServer) Delete

func (in *SAEAPIServer) Delete(ctx context.Context, name string, deleteValidation rest.ValidateObjectFunc, options *metav1.DeleteOptions) (runtime.Object, bool, error)

func (*SAEAPIServer) Destroy

func (in *SAEAPIServer) Destroy()

func (*SAEAPIServer) Get

func (in *SAEAPIServer) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)

func (*SAEAPIServer) GetArbitrarySubResources

func (in *SAEAPIServer) GetArbitrarySubResources() []resource.ArbitrarySubResource

func (*SAEAPIServer) GetGroupVersionResource

func (in *SAEAPIServer) GetGroupVersionResource() schema.GroupVersionResource

func (*SAEAPIServer) GetObjectMeta

func (in *SAEAPIServer) GetObjectMeta() *metav1.ObjectMeta

func (*SAEAPIServer) IsStorageVersion

func (in *SAEAPIServer) IsStorageVersion() bool

func (*SAEAPIServer) List

func (*SAEAPIServer) NamespaceScoped

func (in *SAEAPIServer) NamespaceScoped() bool

func (*SAEAPIServer) New

func (in *SAEAPIServer) New() runtime.Object

func (*SAEAPIServer) NewList

func (in *SAEAPIServer) NewList() runtime.Object

func (*SAEAPIServer) ToTable

func (in *SAEAPIServer) ToTable() *metav1.Table

func (*SAEAPIServer) Update

func (in *SAEAPIServer) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)

type SAEAPIServerCredential

type SAEAPIServerCredential struct {
	AccessKeyId     string `json:"accessKeyId"`
	AccessKeySecret string `json:"accessKeySecret"`
}

func (*SAEAPIServerCredential) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SAEAPIServerCredential.

func (*SAEAPIServerCredential) DeepCopyInto

func (in *SAEAPIServerCredential) DeepCopyInto(out *SAEAPIServerCredential)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SAEAPIServerList

type SAEAPIServerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []SAEAPIServer `json:"items"`
}

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

func (*SAEAPIServerList) DeepCopy

func (in *SAEAPIServerList) DeepCopy() *SAEAPIServerList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SAEAPIServerList.

func (*SAEAPIServerList) DeepCopyInto

func (in *SAEAPIServerList) DeepCopyInto(out *SAEAPIServerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SAEAPIServerList) DeepCopyObject

func (in *SAEAPIServerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SAEAPIServerList) ToTable

func (in *SAEAPIServerList) ToTable() *metav1.Table

type SAEAPIServerProxy

type SAEAPIServerProxy struct{}

func (*SAEAPIServerProxy) Connect

func (*SAEAPIServerProxy) ConnectMethods

func (in *SAEAPIServerProxy) ConnectMethods() []string

func (*SAEAPIServerProxy) DeepCopy

func (in *SAEAPIServerProxy) DeepCopy() *SAEAPIServerProxy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SAEAPIServerProxy.

func (*SAEAPIServerProxy) DeepCopyInto

func (in *SAEAPIServerProxy) DeepCopyInto(out *SAEAPIServerProxy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SAEAPIServerProxy) Destroy

func (in *SAEAPIServerProxy) Destroy()

func (*SAEAPIServerProxy) New

func (in *SAEAPIServerProxy) New() runtime.Object

func (*SAEAPIServerProxy) NewConnectOptions

func (in *SAEAPIServerProxy) NewConnectOptions() (runtime.Object, bool, string)

func (*SAEAPIServerProxy) SubResourceName

func (in *SAEAPIServerProxy) SubResourceName() string

type SAEAPIServerProxyOptions

type SAEAPIServerProxyOptions struct {
	metav1.TypeMeta

	Path string `json:"path"`
}

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

func (*SAEAPIServerProxyOptions) ConvertFromUrlValues

func (in *SAEAPIServerProxyOptions) ConvertFromUrlValues(values *url.Values) error

func (*SAEAPIServerProxyOptions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SAEAPIServerProxyOptions.

func (*SAEAPIServerProxyOptions) DeepCopyInto

func (in *SAEAPIServerProxyOptions) DeepCopyInto(out *SAEAPIServerProxyOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SAEAPIServerProxyOptions) DeepCopyObject

func (in *SAEAPIServerProxyOptions) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SAEAPIServerSpec

type SAEAPIServerSpec struct {
	SAEAPIServerCredential `json:",inline"`
	Region                 string `json:"region,omitempty"`
}

func (*SAEAPIServerSpec) DeepCopy

func (in *SAEAPIServerSpec) DeepCopy() *SAEAPIServerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SAEAPIServerSpec.

func (*SAEAPIServerSpec) DeepCopyInto

func (in *SAEAPIServerSpec) DeepCopyInto(out *SAEAPIServerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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