Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AddToScheme = localSchemeBuilder.AddToScheme
View Source
var Codecs = serializer.NewCodecFactory(Scheme)
View Source
var ParameterCodec = runtime.NewParameterCodec(Scheme)
View Source
var Scheme = runtime.NewScheme()
Functions ¶
func NewKubeConfigClient ¶
NewKubeConfigClient returns the kubeconfig and the client created from the kubeconfig.
func SetConfigDefaults ¶
Types ¶
type FnClient ¶
type FnClient interface { Namespace(ns string) *fnClient EnforceNamespace() *fnClient Create(ctx context.Context, fn *openfunction.Function, opts metav1.CreateOptions) (result *openfunction.Function, err error) Get(ctx context.Context, name string, opts metav1.GetOptions) (result *openfunction.Function, err error) List(ctx context.Context, namespaceIfScoped bool, options metav1.ListOptions) (*openfunction.FunctionList, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error Apply(ctx context.Context, fn *openfunction.Function, opts metav1.ApplyOptions) (result *openfunction.Function, err error) GetBuilder(ctx context.Context, name string, opts metav1.GetOptions) (result *openfunction.Builder, err error) ListBuilder(ctx context.Context, namespaceIfScoped bool, opts metav1.ListOptions) (result *openfunction.BuilderList, err error) GetServing(ctx context.Context, name string, opts metav1.GetOptions) (result *openfunction.Serving, err error) ListServing(ctx context.Context, namespaceIfScoped bool, opts metav1.ListOptions) (result *openfunction.ServingList, err error) }
func NewFakeClient ¶
func NewFakeFnClient ¶
Click to show internal directories.
Click to hide internal directories.