v1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromUnstructured

func FromUnstructured(obj *unstructured.Unstructured) (*v1.ObjectMeta, error)

func NewAccountServiceServer

func NewAccountServiceServer(c client.Client) v1.AccountServiceServer

func NewDocServiceServer

func NewDocServiceServer() v1.DocServer

func NewInstancesServer

func NewInstancesServer(c client.Client, dynamicClient dynamic.Interface, mapper meta.RESTMapper, scheme *runtime.Scheme) v1.InstancesServiceServer

func NewOfferingServiceServer

func NewOfferingServiceServer(c client.Client, dynamicClient dynamic.Interface, restMapper meta.RESTMapper, scheme *runtime.Scheme) (v1.OfferingServiceServer, error)

func NewProviderServiceServer

func NewProviderServiceServer(c client.Client, dynamicClient dynamic.Interface, restMapper meta.RESTMapper, scheme *runtime.Scheme) (v1.ProviderServiceServer, error)

func NewRegionServiceServer

func NewRegionServiceServer(c client.Client, dynamicClient dynamic.Interface, restMapper meta.RESTMapper, scheme *runtime.Scheme) (v1.RegionServiceServer, error)

func RegisterAccountUsernameFieldIndex

func RegisterAccountUsernameFieldIndex(indexer client.FieldIndexer) error

RegisterAccountUsernameFieldIndex adds a field index for user names in Account.Spec.Subjects.

func SetMetadata

func SetMetadata(obj *unstructured.Unstructured, metadata *v1.ObjectMeta) error

func ToMetav1

func ToMetav1(obj *v1.ObjectMeta) (*metav1.ObjectMeta, error)

Types

type ConvertFunc

type ConvertFunc func(runtime.Object) (*any.Any, error)

type KubeCarrierServer

type KubeCarrierServer struct{}

func (KubeCarrierServer) Version

func (KubeCarrierServer) WhoAmI

func (v KubeCarrierServer) WhoAmI(ctx context.Context, _ *empty.Empty) (*v1.UserInfo, error)

Jump to

Keyboard shortcuts

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