v1alpha1

package
v1.14.0-rc.13 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dapr.io

Index

Constants

View Source
const (
	Kind    = "HTTPEndpoint"
	Version = "v1alpha1"
)

Variables

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

SchemeGroupVersion is group version used to register these objects.

Functions

func GroupKindFromKind added in v1.13.0

func GroupKindFromKind(kind string) schema.GroupKind

GroupKindFromKind takes an unqualified kind and returns back a Group qualified GroupKind.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource.

Types

type Auth

type Auth struct {
	SecretStore string `json:"secretStore"`
}

Auth represents authentication details for the component.

func (*Auth) DeepCopy

func (in *Auth) DeepCopy() *Auth

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

func (*Auth) DeepCopyInto

func (in *Auth) DeepCopyInto(out *Auth)

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

type HTTPEndpoint

type HTTPEndpoint struct {
	metav1.TypeMeta `json:",inline"`
	//+optional
	metav1.ObjectMeta `json:"metadata,omitempty"`
	//+optional
	Spec HTTPEndpointSpec `json:"spec,omitempty"`
	//+optional
	Auth          `json:"auth,omitempty"`
	common.Scoped `json:",inline"`
}

HTTPEndpoint describes a Dapr HTTPEndpoint type for external service invocation. This endpoint can be external to Dapr, or external to the environment.

func (HTTPEndpoint) APIVersion added in v1.14.0

func (HTTPEndpoint) APIVersion() string

func (HTTPEndpoint) ClientObject added in v1.14.0

func (h HTTPEndpoint) ClientObject() client.Object

func (*HTTPEndpoint) DeepCopy

func (in *HTTPEndpoint) DeepCopy() *HTTPEndpoint

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

func (*HTTPEndpoint) DeepCopyInto

func (in *HTTPEndpoint) DeepCopyInto(out *HTTPEndpoint)

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

func (*HTTPEndpoint) DeepCopyObject

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

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

func (HTTPEndpoint) EmptyMetaDeepCopy added in v1.13.0

func (h HTTPEndpoint) EmptyMetaDeepCopy() metav1.Object

EmptyMetaDeepCopy returns a new instance of the component type with the TypeMeta's Kind and APIVersion fields set.

func (HTTPEndpoint) GetName added in v1.13.0

func (h HTTPEndpoint) GetName() string

GetName returns the component name.

func (HTTPEndpoint) GetNamespace added in v1.13.0

func (h HTTPEndpoint) GetNamespace() string

GetNamespace returns the component namespace.

func (HTTPEndpoint) GetScopes added in v1.14.0

func (h HTTPEndpoint) GetScopes() []string

func (HTTPEndpoint) GetSecretStore added in v1.12.0

func (h HTTPEndpoint) GetSecretStore() string

GetSecretStore returns the name of the secret store.

func (HTTPEndpoint) HasTLSClientCert added in v1.12.0

func (h HTTPEndpoint) HasTLSClientCert() bool

HasTLSClientCert returns a bool indicating if the HTTP endpoint contains a tls client cert

func (HTTPEndpoint) HasTLSClientCertSecret added in v1.12.0

func (h HTTPEndpoint) HasTLSClientCertSecret() bool

HasTLSClientCertSecret returns a bool indicating if a tls client cert has a secret reference

func (HTTPEndpoint) HasTLSPrivateKey added in v1.12.0

func (h HTTPEndpoint) HasTLSPrivateKey() bool

HasTLSPrivateKey returns a bool indicating if the HTTP endpoint contains a tls client key

func (HTTPEndpoint) HasTLSPrivateKeySecret added in v1.12.0

func (h HTTPEndpoint) HasTLSPrivateKeySecret() bool

nil returns a bool indicating if a tls private key has a secret reference

func (HTTPEndpoint) HasTLSRootCA added in v1.12.0

func (h HTTPEndpoint) HasTLSRootCA() bool

HasTLSRootCA returns a bool indicating if the HTTP endpoint contains a tls root ca

func (HTTPEndpoint) HasTLSRootCASecret added in v1.12.0

func (h HTTPEndpoint) HasTLSRootCASecret() bool

HasTLSRootCASecret returns a bool indicating if a tls root cert has a secret reference

func (HTTPEndpoint) Kind

func (HTTPEndpoint) Kind() string

Kind returns the component kind.

func (HTTPEndpoint) LogName added in v1.13.0

func (h HTTPEndpoint) LogName() string

LogName returns the name of the component that can be used in logging.

func (HTTPEndpoint) NameValuePairs added in v1.12.0

func (h HTTPEndpoint) NameValuePairs() []common.NameValuePair

NameValuePairs returns the component's headers as name/value pairs

type HTTPEndpointList

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

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

HTTPEndpointList is a list of Dapr HTTPEndpoints.

func (*HTTPEndpointList) DeepCopy

func (in *HTTPEndpointList) DeepCopy() *HTTPEndpointList

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

func (*HTTPEndpointList) DeepCopyInto

func (in *HTTPEndpointList) DeepCopyInto(out *HTTPEndpointList)

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

func (*HTTPEndpointList) DeepCopyObject

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

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

type HTTPEndpointSpec

type HTTPEndpointSpec struct {
	BaseURL string `json:"baseUrl" validate:"required"`
	//+optional
	Headers []common.NameValuePair `json:"headers"`
	//+optional
	ClientTLS *common.TLS `json:"clientTLS,omitempty"`
}

HTTPEndpointSpec describes an access specification for allowing external service invocations.

func (*HTTPEndpointSpec) DeepCopy

func (in *HTTPEndpointSpec) DeepCopy() *HTTPEndpointSpec

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

func (*HTTPEndpointSpec) DeepCopyInto

func (in *HTTPEndpointSpec) DeepCopyInto(out *HTTPEndpointSpec)

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