custom-resources: kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1 Index | Files

package v1alpha1

import "kmodules.xyz/custom-resources/apis/appcatalog/v1alpha1"

+groupName=appcatalog.appscode.com

Index

Package Files

appbinding_helpers.go appbinding_types.go doc.go generated.pb.go openapi_generated.go register.go zz_generated.deepcopy.go

Constants

const (
    KeyUsername = "username"
    KeyPassword = "password"
)
const (
    ResourceKindApp = "AppBinding"
    ResourceApps    = "appbindings"
    ResourceApp     = "appbinding"
)

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 (
    // 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 = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: appcatalog.GroupName, Version: "v1alpha1"}

func GetOpenAPIDefinitions Uses

func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition

func Kind Uses

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type AddKeyTransform Uses

type AddKeyTransform struct {
    // The name of the key to add
    Key string `json:"key" protobuf:"bytes,1,opt,name=key"`
    // The binary value (possibly non-string) to add to the Secret under the specified key. If both
    // value and stringValue are specified, then value is ignored and stringValue is stored.
    Value []byte `json:"value" protobuf:"bytes,2,opt,name=value"`
    // The string (non-binary) value to add to the Secret under the specified key.
    StringValue *string `json:"stringValue" protobuf:"bytes,3,opt,name=stringValue"`
}

AddKeyTransform specifies that Service Catalog should add an additional entry to the Secret associated with the ServiceBinding. For example, given the following AddKeyTransform:

{"key": "CONNECTION_POOL_SIZE", "stringValue": "10"}

the following entry will appear in the Secret:

"CONNECTION_POOL_SIZE": "10"

Note that this transform should only be used to add non-sensitive (non-secret) values. To add sensitive information, the AddKeysFromTransform should be used instead.

func (*AddKeyTransform) DeepCopy Uses

func (in *AddKeyTransform) DeepCopy() *AddKeyTransform

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

func (*AddKeyTransform) DeepCopyInto Uses

func (in *AddKeyTransform) DeepCopyInto(out *AddKeyTransform)

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

func (*AddKeyTransform) Descriptor Uses

func (*AddKeyTransform) Descriptor() ([]byte, []int)

func (*AddKeyTransform) Marshal Uses

func (m *AddKeyTransform) Marshal() (dAtA []byte, err error)

func (*AddKeyTransform) MarshalTo Uses

func (m *AddKeyTransform) MarshalTo(dAtA []byte) (int, error)

func (*AddKeyTransform) MarshalToSizedBuffer Uses

func (m *AddKeyTransform) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddKeyTransform) ProtoMessage Uses

func (*AddKeyTransform) ProtoMessage()

func (*AddKeyTransform) Reset Uses

func (m *AddKeyTransform) Reset()

func (*AddKeyTransform) Size Uses

func (m *AddKeyTransform) Size() (n int)

func (*AddKeyTransform) String Uses

func (this *AddKeyTransform) String() string

func (*AddKeyTransform) Unmarshal Uses

func (m *AddKeyTransform) Unmarshal(dAtA []byte) error

func (*AddKeyTransform) XXX_DiscardUnknown Uses

func (m *AddKeyTransform) XXX_DiscardUnknown()

func (*AddKeyTransform) XXX_Marshal Uses

func (m *AddKeyTransform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddKeyTransform) XXX_Merge Uses

func (m *AddKeyTransform) XXX_Merge(src proto.Message)

func (*AddKeyTransform) XXX_Size Uses

func (m *AddKeyTransform) XXX_Size() int

func (*AddKeyTransform) XXX_Unmarshal Uses

func (m *AddKeyTransform) XXX_Unmarshal(b []byte) error

type AddKeysFromTransform Uses

type AddKeysFromTransform struct {
    // The reference to the Secret that should be merged into the credentials Secret.
    SecretRef *ObjectReference `json:"secretRef,omitempty" protobuf:"bytes,1,opt,name=secretRef"`
}

AddKeysFromTransform specifies that Service Catalog should merge an existing secret into the Secret associated with the ServiceBinding. For example, given the following AddKeysFromTransform:

{"secretRef": {"namespace": "foo", "name": "bar"}}

the entries of the Secret "bar" from Namespace "foo" will be merged into the credentials Secret.

func (*AddKeysFromTransform) DeepCopy Uses

func (in *AddKeysFromTransform) DeepCopy() *AddKeysFromTransform

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

func (*AddKeysFromTransform) DeepCopyInto Uses

func (in *AddKeysFromTransform) DeepCopyInto(out *AddKeysFromTransform)

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

func (*AddKeysFromTransform) Descriptor Uses

func (*AddKeysFromTransform) Descriptor() ([]byte, []int)

func (*AddKeysFromTransform) Marshal Uses

func (m *AddKeysFromTransform) Marshal() (dAtA []byte, err error)

func (*AddKeysFromTransform) MarshalTo Uses

func (m *AddKeysFromTransform) MarshalTo(dAtA []byte) (int, error)

func (*AddKeysFromTransform) MarshalToSizedBuffer Uses

func (m *AddKeysFromTransform) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddKeysFromTransform) ProtoMessage Uses

func (*AddKeysFromTransform) ProtoMessage()

func (*AddKeysFromTransform) Reset Uses

func (m *AddKeysFromTransform) Reset()

func (*AddKeysFromTransform) Size Uses

func (m *AddKeysFromTransform) Size() (n int)

func (*AddKeysFromTransform) String Uses

func (this *AddKeysFromTransform) String() string

func (*AddKeysFromTransform) Unmarshal Uses

func (m *AddKeysFromTransform) Unmarshal(dAtA []byte) error

func (*AddKeysFromTransform) XXX_DiscardUnknown Uses

func (m *AddKeysFromTransform) XXX_DiscardUnknown()

func (*AddKeysFromTransform) XXX_Marshal Uses

func (m *AddKeysFromTransform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddKeysFromTransform) XXX_Merge Uses

func (m *AddKeysFromTransform) XXX_Merge(src proto.Message)

func (*AddKeysFromTransform) XXX_Size Uses

func (m *AddKeysFromTransform) XXX_Size() int

func (*AddKeysFromTransform) XXX_Unmarshal Uses

func (m *AddKeysFromTransform) XXX_Unmarshal(b []byte) error

type AppBinding Uses

type AppBinding struct {
    metav1.TypeMeta   `json:",inline,omitempty"`
    metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    Spec              AppBindingSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=appbindings,singular=appbinding,categories={catalog,appscode,all} +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Version",type="string",JSONPath=".spec.version" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (AppBinding) AppGroupResource Uses

func (a AppBinding) AppGroupResource() (string, string)

func (AppBinding) CustomResourceDefinition Uses

func (_ AppBinding) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*AppBinding) DeepCopy Uses

func (in *AppBinding) DeepCopy() *AppBinding

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

func (*AppBinding) DeepCopyInto Uses

func (in *AppBinding) DeepCopyInto(out *AppBinding)

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

func (*AppBinding) DeepCopyObject Uses

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

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

func (*AppBinding) Descriptor Uses

func (*AppBinding) Descriptor() ([]byte, []int)

func (AppBinding) Host Uses

func (a AppBinding) Host() (string, error)

func (AppBinding) Hostname Uses

func (a AppBinding) Hostname() (string, error)

func (*AppBinding) Marshal Uses

func (m *AppBinding) Marshal() (dAtA []byte, err error)

func (*AppBinding) MarshalTo Uses

func (m *AppBinding) MarshalTo(dAtA []byte) (int, error)

func (*AppBinding) MarshalToSizedBuffer Uses

func (m *AppBinding) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (AppBinding) Port Uses

func (a AppBinding) Port() (int32, error)

func (*AppBinding) ProtoMessage Uses

func (*AppBinding) ProtoMessage()

func (*AppBinding) Reset Uses

func (m *AppBinding) Reset()

func (*AppBinding) Size Uses

func (m *AppBinding) Size() (n int)

func (*AppBinding) String Uses

func (this *AppBinding) String() string

func (AppBinding) TransformSecret Uses

func (a AppBinding) TransformSecret(kc kubernetes.Interface, credentials map[string][]byte) error

xref: https://github.com/kubernetes-sigs/service-catalog/blob/a204c0d26c60b42121aa608c39a179680e499d2a/pkg/controller/controller_binding.go#L605

func (AppBinding) URL Uses

func (a AppBinding) URL() (string, error)

func (AppBinding) URLTemplate Uses

func (a AppBinding) URLTemplate() (string, error)

func (*AppBinding) Unmarshal Uses

func (m *AppBinding) Unmarshal(dAtA []byte) error

func (*AppBinding) XXX_DiscardUnknown Uses

func (m *AppBinding) XXX_DiscardUnknown()

func (*AppBinding) XXX_Marshal Uses

func (m *AppBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppBinding) XXX_Merge Uses

func (m *AppBinding) XXX_Merge(src proto.Message)

func (*AppBinding) XXX_Size Uses

func (m *AppBinding) XXX_Size() int

func (*AppBinding) XXX_Unmarshal Uses

func (m *AppBinding) XXX_Unmarshal(b []byte) error

type AppBindingList Uses

type AppBindingList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    // Items is a list of AppBinding CRD objects
    Items []AppBinding `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

AppBindingList is a list of Apps

func (*AppBindingList) DeepCopy Uses

func (in *AppBindingList) DeepCopy() *AppBindingList

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

func (*AppBindingList) DeepCopyInto Uses

func (in *AppBindingList) DeepCopyInto(out *AppBindingList)

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

func (*AppBindingList) DeepCopyObject Uses

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

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

func (*AppBindingList) Descriptor Uses

func (*AppBindingList) Descriptor() ([]byte, []int)

func (*AppBindingList) Marshal Uses

func (m *AppBindingList) Marshal() (dAtA []byte, err error)

func (*AppBindingList) MarshalTo Uses

func (m *AppBindingList) MarshalTo(dAtA []byte) (int, error)

func (*AppBindingList) MarshalToSizedBuffer Uses

func (m *AppBindingList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppBindingList) ProtoMessage Uses

func (*AppBindingList) ProtoMessage()

func (*AppBindingList) Reset Uses

func (m *AppBindingList) Reset()

func (*AppBindingList) Size Uses

func (m *AppBindingList) Size() (n int)

func (*AppBindingList) String Uses

func (this *AppBindingList) String() string

func (*AppBindingList) Unmarshal Uses

func (m *AppBindingList) Unmarshal(dAtA []byte) error

func (*AppBindingList) XXX_DiscardUnknown Uses

func (m *AppBindingList) XXX_DiscardUnknown()

func (*AppBindingList) XXX_Marshal Uses

func (m *AppBindingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppBindingList) XXX_Merge Uses

func (m *AppBindingList) XXX_Merge(src proto.Message)

func (*AppBindingList) XXX_Size Uses

func (m *AppBindingList) XXX_Size() int

func (*AppBindingList) XXX_Unmarshal Uses

func (m *AppBindingList) XXX_Unmarshal(b []byte) error

type AppBindingMeta Uses

type AppBindingMeta interface {
    Name() string
    Type() AppType
}

type AppBindingSpec Uses

type AppBindingSpec struct {
    // Type used to facilitate programmatic handling of application.
    // +optional
    Type AppType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=AppType"`

    // Version used to facilitate programmatic handling of application.
    // +optional
    Version string `json:"version,omitempty" protobuf:"bytes,2,opt,name=version"`

    // ClientConfig defines how to communicate with the app.
    // Required
    ClientConfig ClientConfig `json:"clientConfig" protobuf:"bytes,3,opt,name=clientConfig"`

    // Secret is the name of the secret to create in the AppBinding's
    // namespace that will hold the credentials associated with the AppBinding.
    Secret *core.LocalObjectReference `json:"secret,omitempty" protobuf:"bytes,4,opt,name=secret"`

    // List of transformations that should be applied to the credentials
    // associated with the ServiceBinding before they are inserted into the Secret.
    SecretTransforms []SecretTransform `json:"secretTransforms,omitempty" protobuf:"bytes,5,rep,name=secretTransforms"`

    // Parameters is a set of the parameters to be used to connect to the
    // app. The inline YAML/JSON payload to be translated into equivalent
    // JSON object.
    //
    // The Parameters field is NOT secret or secured in any way and should
    // NEVER be used to hold sensitive information. To set parameters that
    // contain secret information, you should ALWAYS store that information
    // in a Secret.
    //
    // +optional
    // +kubebuilder:validation:EmbeddedResource
    // +kubebuilder:pruning:PreserveUnknownFields
    Parameters *runtime.RawExtension `json:"parameters,omitempty" protobuf:"bytes,6,opt,name=parameters"`
}

AppBindingSpec is the spec for app

func (*AppBindingSpec) DeepCopy Uses

func (in *AppBindingSpec) DeepCopy() *AppBindingSpec

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

func (*AppBindingSpec) DeepCopyInto Uses

func (in *AppBindingSpec) DeepCopyInto(out *AppBindingSpec)

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

func (*AppBindingSpec) Descriptor Uses

func (*AppBindingSpec) Descriptor() ([]byte, []int)

func (*AppBindingSpec) Marshal Uses

func (m *AppBindingSpec) Marshal() (dAtA []byte, err error)

func (*AppBindingSpec) MarshalTo Uses

func (m *AppBindingSpec) MarshalTo(dAtA []byte) (int, error)

func (*AppBindingSpec) MarshalToSizedBuffer Uses

func (m *AppBindingSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppBindingSpec) ProtoMessage Uses

func (*AppBindingSpec) ProtoMessage()

func (*AppBindingSpec) Reset Uses

func (m *AppBindingSpec) Reset()

func (*AppBindingSpec) Size Uses

func (m *AppBindingSpec) Size() (n int)

func (*AppBindingSpec) String Uses

func (this *AppBindingSpec) String() string

func (*AppBindingSpec) Unmarshal Uses

func (m *AppBindingSpec) Unmarshal(dAtA []byte) error

func (*AppBindingSpec) XXX_DiscardUnknown Uses

func (m *AppBindingSpec) XXX_DiscardUnknown()

func (*AppBindingSpec) XXX_Marshal Uses

func (m *AppBindingSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppBindingSpec) XXX_Merge Uses

func (m *AppBindingSpec) XXX_Merge(src proto.Message)

func (*AppBindingSpec) XXX_Size Uses

func (m *AppBindingSpec) XXX_Size() int

func (*AppBindingSpec) XXX_Unmarshal Uses

func (m *AppBindingSpec) XXX_Unmarshal(b []byte) error

type AppReference Uses

type AppReference struct {
    // `namespace` is the namespace of the app.
    // Required
    Namespace string `json:"namespace" protobuf:"bytes,1,opt,name=namespace"`

    // `name` is the name of the app.
    // Required
    Name string `json:"name" protobuf:"bytes,2,opt,name=name"`

    // Parameters is a set of the parameters to be used to override default
    // parameters. The inline YAML/JSON payload to be translated into equivalent
    // JSON object.
    //
    // The Parameters field is NOT secret or secured in any way and should
    // NEVER be used to hold sensitive information.
    //
    // +optional
    // +kubebuilder:validation:EmbeddedResource
    // +kubebuilder:pruning:PreserveUnknownFields
    Parameters *runtime.RawExtension `json:"parameters,omitempty" protobuf:"bytes,3,opt,name=parameters"`
}

func (*AppReference) DeepCopy Uses

func (in *AppReference) DeepCopy() *AppReference

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

func (*AppReference) DeepCopyInto Uses

func (in *AppReference) DeepCopyInto(out *AppReference)

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

func (*AppReference) Descriptor Uses

func (*AppReference) Descriptor() ([]byte, []int)

func (*AppReference) Marshal Uses

func (m *AppReference) Marshal() (dAtA []byte, err error)

func (*AppReference) MarshalTo Uses

func (m *AppReference) MarshalTo(dAtA []byte) (int, error)

func (*AppReference) MarshalToSizedBuffer Uses

func (m *AppReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AppReference) ProtoMessage Uses

func (*AppReference) ProtoMessage()

func (*AppReference) Reset Uses

func (m *AppReference) Reset()

func (*AppReference) Size Uses

func (m *AppReference) Size() (n int)

func (*AppReference) String Uses

func (this *AppReference) String() string

func (*AppReference) Unmarshal Uses

func (m *AppReference) Unmarshal(dAtA []byte) error

func (*AppReference) XXX_DiscardUnknown Uses

func (m *AppReference) XXX_DiscardUnknown()

func (*AppReference) XXX_Marshal Uses

func (m *AppReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AppReference) XXX_Merge Uses

func (m *AppReference) XXX_Merge(src proto.Message)

func (*AppReference) XXX_Size Uses

func (m *AppReference) XXX_Size() int

func (*AppReference) XXX_Unmarshal Uses

func (m *AppReference) XXX_Unmarshal(b []byte) error

type AppType Uses

type AppType string
const (
    // AppTypeOpaque is the default. A generic application.
    AppTypeOpaque AppType = "Opaque"
)

type ClientConfig Uses

type ClientConfig struct {
    // `url` gives the location of the app, in standard URL form
    // (`[scheme://]host:port/path`). Exactly one of `url` or `service`
    // must be specified.
    //
    // The `host` should not refer to a service running in the cluster; use
    // the `service` field instead. The host might be resolved via external
    // DNS in some apiservers (e.g., `kube-apiserver` cannot resolve
    // in-cluster DNS as that would be a layering violation). `host` may
    // also be an IP address.
    //
    // A path is optional, and if present may be any string permissible in
    // a URL. You may use the path to pass an arbitrary string to the
    // app, for example, a cluster identifier.
    //
    // Attempting to use a user or basic auth e.g. "user:password@" is not
    // allowed. Fragments ("#...") and query parameters ("?...") are not
    // allowed, either.
    //
    // +optional
    URL *string `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"`

    // `service` is a reference to the service for this app. Either
    // `service` or `url` must be specified.
    //
    // If the webhook is running within the cluster, then you should use `service`.
    //
    // +optional
    Service *ServiceReference `json:"service,omitempty" protobuf:"bytes,2,opt,name=service"`

    // InsecureSkipTLSVerify disables TLS certificate verification when communicating with this app.
    // This is strongly discouraged.  You should use the CABundle instead.
    InsecureSkipTLSVerify bool `json:"insecureSkipTLSVerify,omitempty" protobuf:"varint,3,opt,name=insecureSkipTLSVerify"`

    // CABundle is a PEM encoded CA bundle which will be used to validate the serving certificate of this app.
    // +optional
    CABundle []byte `json:"caBundle,omitempty" protobuf:"bytes,4,opt,name=caBundle"`
}

ClientConfig contains the information to make a connection with an app

func (*ClientConfig) DeepCopy Uses

func (in *ClientConfig) DeepCopy() *ClientConfig

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

func (*ClientConfig) DeepCopyInto Uses

func (in *ClientConfig) DeepCopyInto(out *ClientConfig)

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

func (*ClientConfig) Descriptor Uses

func (*ClientConfig) Descriptor() ([]byte, []int)

func (*ClientConfig) Marshal Uses

func (m *ClientConfig) Marshal() (dAtA []byte, err error)

func (*ClientConfig) MarshalTo Uses

func (m *ClientConfig) MarshalTo(dAtA []byte) (int, error)

func (*ClientConfig) MarshalToSizedBuffer Uses

func (m *ClientConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClientConfig) ProtoMessage Uses

func (*ClientConfig) ProtoMessage()

func (*ClientConfig) Reset Uses

func (m *ClientConfig) Reset()

func (*ClientConfig) Size Uses

func (m *ClientConfig) Size() (n int)

func (*ClientConfig) String Uses

func (this *ClientConfig) String() string

func (*ClientConfig) Unmarshal Uses

func (m *ClientConfig) Unmarshal(dAtA []byte) error

func (*ClientConfig) XXX_DiscardUnknown Uses

func (m *ClientConfig) XXX_DiscardUnknown()

func (*ClientConfig) XXX_Marshal Uses

func (m *ClientConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClientConfig) XXX_Merge Uses

func (m *ClientConfig) XXX_Merge(src proto.Message)

func (*ClientConfig) XXX_Size Uses

func (m *ClientConfig) XXX_Size() int

func (*ClientConfig) XXX_Unmarshal Uses

func (m *ClientConfig) XXX_Unmarshal(b []byte) error

type ObjectReference Uses

type ObjectReference struct {
    // Namespace of the referent.
    Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`
    // Name of the referent.
    Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
}

ObjectReference contains enough information to let you locate the referenced object.

func (*ObjectReference) DeepCopy Uses

func (in *ObjectReference) DeepCopy() *ObjectReference

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

func (*ObjectReference) DeepCopyInto Uses

func (in *ObjectReference) DeepCopyInto(out *ObjectReference)

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

func (*ObjectReference) Descriptor Uses

func (*ObjectReference) Descriptor() ([]byte, []int)

func (*ObjectReference) Marshal Uses

func (m *ObjectReference) Marshal() (dAtA []byte, err error)

func (*ObjectReference) MarshalTo Uses

func (m *ObjectReference) MarshalTo(dAtA []byte) (int, error)

func (*ObjectReference) MarshalToSizedBuffer Uses

func (m *ObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ObjectReference) ProtoMessage Uses

func (*ObjectReference) ProtoMessage()

func (*ObjectReference) Reset Uses

func (m *ObjectReference) Reset()

func (*ObjectReference) Size Uses

func (m *ObjectReference) Size() (n int)

func (*ObjectReference) String Uses

func (this *ObjectReference) String() string

func (*ObjectReference) Unmarshal Uses

func (m *ObjectReference) Unmarshal(dAtA []byte) error

func (*ObjectReference) XXX_DiscardUnknown Uses

func (m *ObjectReference) XXX_DiscardUnknown()

func (*ObjectReference) XXX_Marshal Uses

func (m *ObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectReference) XXX_Merge Uses

func (m *ObjectReference) XXX_Merge(src proto.Message)

func (*ObjectReference) XXX_Size Uses

func (m *ObjectReference) XXX_Size() int

func (*ObjectReference) XXX_Unmarshal Uses

func (m *ObjectReference) XXX_Unmarshal(b []byte) error

type RemoveKeyTransform Uses

type RemoveKeyTransform struct {
    // The key to remove from the Secret
    Key string `json:"key" protobuf:"bytes,1,opt,name=key"`
}

RemoveKeyTransform specifies that one of the credentials keys returned from the broker should not be included in the credentials Secret.

func (*RemoveKeyTransform) DeepCopy Uses

func (in *RemoveKeyTransform) DeepCopy() *RemoveKeyTransform

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

func (*RemoveKeyTransform) DeepCopyInto Uses

func (in *RemoveKeyTransform) DeepCopyInto(out *RemoveKeyTransform)

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

func (*RemoveKeyTransform) Descriptor Uses

func (*RemoveKeyTransform) Descriptor() ([]byte, []int)

func (*RemoveKeyTransform) Marshal Uses

func (m *RemoveKeyTransform) Marshal() (dAtA []byte, err error)

func (*RemoveKeyTransform) MarshalTo Uses

func (m *RemoveKeyTransform) MarshalTo(dAtA []byte) (int, error)

func (*RemoveKeyTransform) MarshalToSizedBuffer Uses

func (m *RemoveKeyTransform) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemoveKeyTransform) ProtoMessage Uses

func (*RemoveKeyTransform) ProtoMessage()

func (*RemoveKeyTransform) Reset Uses

func (m *RemoveKeyTransform) Reset()

func (*RemoveKeyTransform) Size Uses

func (m *RemoveKeyTransform) Size() (n int)

func (*RemoveKeyTransform) String Uses

func (this *RemoveKeyTransform) String() string

func (*RemoveKeyTransform) Unmarshal Uses

func (m *RemoveKeyTransform) Unmarshal(dAtA []byte) error

func (*RemoveKeyTransform) XXX_DiscardUnknown Uses

func (m *RemoveKeyTransform) XXX_DiscardUnknown()

func (*RemoveKeyTransform) XXX_Marshal Uses

func (m *RemoveKeyTransform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveKeyTransform) XXX_Merge Uses

func (m *RemoveKeyTransform) XXX_Merge(src proto.Message)

func (*RemoveKeyTransform) XXX_Size Uses

func (m *RemoveKeyTransform) XXX_Size() int

func (*RemoveKeyTransform) XXX_Unmarshal Uses

func (m *RemoveKeyTransform) XXX_Unmarshal(b []byte) error

type RenameKeyTransform Uses

type RenameKeyTransform struct {
    // The name of the key to rename
    From string `json:"from" protobuf:"bytes,1,opt,name=from"`
    // The new name for the key
    To  string `json:"to" protobuf:"bytes,2,opt,name=to"`
}

RenameKeyTransform specifies that one of the credentials keys returned from the broker should be renamed and stored under a different key in the Secret. For example, given the following credentials entry:

"USERNAME": "johndoe"

and the following RenameKeyTransform:

{"from": "USERNAME", "to": "DB_USER"}

the following entry will appear in the Secret:

"DB_USER": "johndoe"

func (*RenameKeyTransform) DeepCopy Uses

func (in *RenameKeyTransform) DeepCopy() *RenameKeyTransform

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

func (*RenameKeyTransform) DeepCopyInto Uses

func (in *RenameKeyTransform) DeepCopyInto(out *RenameKeyTransform)

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

func (*RenameKeyTransform) Descriptor Uses

func (*RenameKeyTransform) Descriptor() ([]byte, []int)

func (*RenameKeyTransform) Marshal Uses

func (m *RenameKeyTransform) Marshal() (dAtA []byte, err error)

func (*RenameKeyTransform) MarshalTo Uses

func (m *RenameKeyTransform) MarshalTo(dAtA []byte) (int, error)

func (*RenameKeyTransform) MarshalToSizedBuffer Uses

func (m *RenameKeyTransform) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RenameKeyTransform) ProtoMessage Uses

func (*RenameKeyTransform) ProtoMessage()

func (*RenameKeyTransform) Reset Uses

func (m *RenameKeyTransform) Reset()

func (*RenameKeyTransform) Size Uses

func (m *RenameKeyTransform) Size() (n int)

func (*RenameKeyTransform) String Uses

func (this *RenameKeyTransform) String() string

func (*RenameKeyTransform) Unmarshal Uses

func (m *RenameKeyTransform) Unmarshal(dAtA []byte) error

func (*RenameKeyTransform) XXX_DiscardUnknown Uses

func (m *RenameKeyTransform) XXX_DiscardUnknown()

func (*RenameKeyTransform) XXX_Marshal Uses

func (m *RenameKeyTransform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RenameKeyTransform) XXX_Merge Uses

func (m *RenameKeyTransform) XXX_Merge(src proto.Message)

func (*RenameKeyTransform) XXX_Size Uses

func (m *RenameKeyTransform) XXX_Size() int

func (*RenameKeyTransform) XXX_Unmarshal Uses

func (m *RenameKeyTransform) XXX_Unmarshal(b []byte) error

type SecretTransform Uses

type SecretTransform struct {
    // RenameKey represents a transform that renames a credentials Secret entry's key
    RenameKey *RenameKeyTransform `json:"renameKey,omitempty" protobuf:"bytes,1,opt,name=renameKey"`
    // AddKey represents a transform that adds an additional key to the credentials Secret
    AddKey *AddKeyTransform `json:"addKey,omitempty" protobuf:"bytes,2,opt,name=addKey"`
    // AddKeysFrom represents a transform that merges all the entries of an existing Secret
    // into the credentials Secret
    AddKeysFrom *AddKeysFromTransform `json:"addKeysFrom,omitempty" protobuf:"bytes,3,opt,name=addKeysFrom"`
    // RemoveKey represents a transform that removes a credentials Secret entry
    RemoveKey *RemoveKeyTransform `json:"removeKey,omitempty" protobuf:"bytes,4,opt,name=removeKey"`
}

SecretTransform is a single transformation that is applied to the credentials returned from the broker before they are inserted into the Secret associated with the ServiceBinding. Because different brokers providing the same type of service may each return a different credentials structure, users can specify the transformations that should be applied to the Secret to adapt its entries to whatever the service consumer expects. For example, the credentials returned by the broker may include the key "USERNAME", but the consumer requires the username to be exposed under the key "DB_USER" instead. To have the Service Catalog transform the Secret, the following SecretTransform must be specified in ServiceBinding.spec.secretTransform: - {"renameKey": {"from": "USERNAME", "to": "DB_USER"}} Only one of the SecretTransform's members may be specified.

func (*SecretTransform) DeepCopy Uses

func (in *SecretTransform) DeepCopy() *SecretTransform

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

func (*SecretTransform) DeepCopyInto Uses

func (in *SecretTransform) DeepCopyInto(out *SecretTransform)

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

func (*SecretTransform) Descriptor Uses

func (*SecretTransform) Descriptor() ([]byte, []int)

func (*SecretTransform) Marshal Uses

func (m *SecretTransform) Marshal() (dAtA []byte, err error)

func (*SecretTransform) MarshalTo Uses

func (m *SecretTransform) MarshalTo(dAtA []byte) (int, error)

func (*SecretTransform) MarshalToSizedBuffer Uses

func (m *SecretTransform) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretTransform) ProtoMessage Uses

func (*SecretTransform) ProtoMessage()

func (*SecretTransform) Reset Uses

func (m *SecretTransform) Reset()

func (*SecretTransform) Size Uses

func (m *SecretTransform) Size() (n int)

func (*SecretTransform) String Uses

func (this *SecretTransform) String() string

func (*SecretTransform) Unmarshal Uses

func (m *SecretTransform) Unmarshal(dAtA []byte) error

func (*SecretTransform) XXX_DiscardUnknown Uses

func (m *SecretTransform) XXX_DiscardUnknown()

func (*SecretTransform) XXX_Marshal Uses

func (m *SecretTransform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretTransform) XXX_Merge Uses

func (m *SecretTransform) XXX_Merge(src proto.Message)

func (*SecretTransform) XXX_Size Uses

func (m *SecretTransform) XXX_Size() int

func (*SecretTransform) XXX_Unmarshal Uses

func (m *SecretTransform) XXX_Unmarshal(b []byte) error

type ServiceReference Uses

type ServiceReference struct {
    // Specifies which scheme to use, for example: http, https
    // If specified, then it will applied as prefix in this format: scheme://
    // If not specified, then nothing will be prefixed
    Scheme string `json:"scheme" protobuf:"bytes,1,opt,name=scheme"`

    // `name` is the name of the service.
    // Required
    Name string `json:"name" protobuf:"bytes,2,opt,name=name"`

    // The port that will be exposed by this app.
    Port int32 `json:"port" protobuf:"varint,3,opt,name=port"`

    // `path` is an optional URL path which will be sent in any request to
    // this service.
    // +optional
    Path string `json:"path,omitempty" protobuf:"bytes,4,opt,name=path"`

    // `query` is optional encoded query string, without '?' which will be
    // sent in any request to this service.
    // +optional
    Query string `json:"query,omitempty" protobuf:"bytes,5,opt,name=query"`
}

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

func (*ServiceReference) DeepCopy Uses

func (in *ServiceReference) DeepCopy() *ServiceReference

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

func (*ServiceReference) DeepCopyInto Uses

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 Uses

func (*ServiceReference) Descriptor() ([]byte, []int)

func (*ServiceReference) Marshal Uses

func (m *ServiceReference) Marshal() (dAtA []byte, err error)

func (*ServiceReference) MarshalTo Uses

func (m *ServiceReference) MarshalTo(dAtA []byte) (int, error)

func (*ServiceReference) MarshalToSizedBuffer Uses

func (m *ServiceReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceReference) ProtoMessage Uses

func (*ServiceReference) ProtoMessage()

func (*ServiceReference) Reset Uses

func (m *ServiceReference) Reset()

func (*ServiceReference) Size Uses

func (m *ServiceReference) Size() (n int)

func (*ServiceReference) String Uses

func (this *ServiceReference) String() string

func (*ServiceReference) Unmarshal Uses

func (m *ServiceReference) Unmarshal(dAtA []byte) error

func (*ServiceReference) XXX_DiscardUnknown Uses

func (m *ServiceReference) XXX_DiscardUnknown()

func (*ServiceReference) XXX_Marshal Uses

func (m *ServiceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceReference) XXX_Merge Uses

func (m *ServiceReference) XXX_Merge(src proto.Message)

func (*ServiceReference) XXX_Size Uses

func (m *ServiceReference) XXX_Size() int

func (*ServiceReference) XXX_Unmarshal Uses

func (m *ServiceReference) XXX_Unmarshal(b []byte) error

Package v1alpha1 imports 23 packages (graph) and is imported by 79 packages. Updated 2020-09-25. Refresh now. Tools for package owners.