v1beta1

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package v1beta1 contains the input type for this Function +kubebuilder:object:generate=true +groupName=function-claude-status-transformer.fn.crossplane.io +versionName=v1beta1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS added in v0.2.0

type AWS struct {
	// AWSBedrock provides configurations for working with AWS Bedrock as a
	// model provider.
	// +kubebuilder:validation:Required
	Bedrock Bedrock `json:"bedrock"`
	// Region specifies a specific region when this call is applicable.
	// +optional
	// +kubebuilder:validation:Optional
	// +kubebuilder:default="us-east-1"
	Region string `json:"region"`
	// FunctionConfigReference specifies how the function should authenticate
	// with AWS.
	// +kubebuilder:default={"name": "default"}
	FunctionConfigReference *Reference `json:"functionConfigRef,omitempty"`
}

AWS specifies configurations for working with AWS and ulimately Bedrock.

func (*AWS) DeepCopy added in v0.2.0

func (in *AWS) DeepCopy() *AWS

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

func (*AWS) DeepCopyInto added in v0.2.0

func (in *AWS) DeepCopyInto(out *AWS)

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

type Bedrock added in v0.2.0

type Bedrock struct {
	// ModelID is the Claude model to be used.
	// +kubebuilder:default="us.anthropic.claude-sonnet-4-20250514-v1:0"
	ModelID string `json:"modelID,omitempty"`
}

Bedrock provides configurations for working with AWS Bedrock as a model provider.

func (*Bedrock) DeepCopy added in v0.2.0

func (in *Bedrock) DeepCopy() *Bedrock

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

func (*Bedrock) DeepCopyInto added in v0.2.0

func (in *Bedrock) DeepCopyInto(out *Bedrock)

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

type Reference added in v0.2.0

type Reference struct {
	Name string `json:"name"`
}

Reference is a nameed object reference.

func (*Reference) DeepCopy added in v0.2.0

func (in *Reference) DeepCopy() *Reference

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

func (*Reference) DeepCopyInto added in v0.2.0

func (in *Reference) DeepCopyInto(out *Reference)

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

type StatusTransformation

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

	// AdditionalContext is additional context that the user may provide to help
	// Claude identify the issue.
	AdditionalContext string `json:"additionalContext"`

	// AWS defines authentication and Bedrock configurations.
	// +optional
	// +kubebuilder:validation:Optional
	AWS *AWS `json:"aws"`
}

StatusTransformation can be used to provide input to this Function. +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:resource:scope=Cluster,categories={crossplane,function}

func (*StatusTransformation) DeepCopy

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

func (*StatusTransformation) DeepCopyInto

func (in *StatusTransformation) DeepCopyInto(out *StatusTransformation)

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

func (*StatusTransformation) DeepCopyObject

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

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

func (*StatusTransformation) UseAWS added in v0.2.0

func (s *StatusTransformation) UseAWS() bool

UseAWS is a helper for determining if AWS configurations should be considered.

Jump to

Keyboard shortcuts

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