v1alpha1

package
v0.0.0-...-dc3f1b8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.paladin.io

Index

Constants

View Source
const DBMigrationMode_Auto = "auto"
View Source
const DBMode_EmbeddedSQLite = "embeddedSQLite"
View Source
const DBMode_SidecarPostgres = "sidecarPostgres"
View Source
const SignerType_AutoHDWallet = "autoHDWallet"

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "core.paladin.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	// auth method to use for the connection
	// +kubebuilder:validation:Enum=secret
	AuthMethod AuthMethod `json:"authMethod"`

	// SecretAuth is used to provide the name of the secret to use for authentication
	AuthSecret *AuthSecret `json:"authSecret,omitempty"`
}

func (*AuthConfig) DeepCopy

func (in *AuthConfig) DeepCopy() *AuthConfig

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

func (*AuthConfig) DeepCopyInto

func (in *AuthConfig) DeepCopyInto(out *AuthConfig)

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

type AuthMethod

type AuthMethod string
const AuthMethodSecret AuthMethod = "secret"

type AuthSecret

type AuthSecret struct {
	// The name of the secret to use for authentication
	Name string `json:"name"`
}

func (*AuthSecret) DeepCopy

func (in *AuthSecret) DeepCopy() *AuthSecret

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

func (*AuthSecret) DeepCopyInto

func (in *AuthSecret) DeepCopyInto(out *AuthSecret)

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

type Besu

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

	Spec   BesuSpec `json:"spec,omitempty"`
	Status Status   `json:"status,omitempty"`
}

Besu is the Schema for the besus API

func (*Besu) DeepCopy

func (in *Besu) DeepCopy() *Besu

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

func (*Besu) DeepCopyInto

func (in *Besu) DeepCopyInto(out *Besu)

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

func (*Besu) DeepCopyObject

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

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

type BesuGenesis

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

	Spec   BesuGenesisSpec `json:"spec,omitempty"`
	Status Status          `json:"status,omitempty"`
}

BesuGenesis is the Schema for the besugeneses API

func (*BesuGenesis) DeepCopy

func (in *BesuGenesis) DeepCopy() *BesuGenesis

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

func (*BesuGenesis) DeepCopyInto

func (in *BesuGenesis) DeepCopyInto(out *BesuGenesis)

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

func (*BesuGenesis) DeepCopyObject

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

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

type BesuGenesisList

type BesuGenesisList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []BesuGenesis `json:"items"`
}

BesuGenesisList contains a list of BesuGenesis

func (*BesuGenesisList) DeepCopy

func (in *BesuGenesisList) DeepCopy() *BesuGenesisList

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

func (*BesuGenesisList) DeepCopyInto

func (in *BesuGenesisList) DeepCopyInto(out *BesuGenesisList)

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

func (*BesuGenesisList) DeepCopyObject

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

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

type BesuGenesisSpec

type BesuGenesisSpec struct {
	// Base JSON genesis file will be loaded in and then modified as appropriate.
	// Note only modelled fields of the genesis are supported, so check besugenesis.GenesisJSON for support of the field you wish to modify
	Base string `json:"base,omitempty"`
	// The chain ID - must not change after creation without chain reset
	ChainID uint64 `json:"chainID"`
	// The initial gas limit - must not change after creation without chain reset (node config be used to increase gas limit incrementally in new blocks)
	GasLimit uint64 `json:"gasLimit"`
	// +kubebuilder:validation:Enum=qbft
	Consensus string `json:"consensus"`
	// Block period can be in seconds (s) or milliseconds - cannot be changed once set (used in genesis generation)
	BlockPeriod string `json:"blockPeriod"`
	// EmptyBlockPeriod period will be rounded to seconds regardless of units used
	EmptyBlockPeriod string `json:"emptyBlockPeriod,omitempty"`
	// List of nodes that are included in the genesis block validators.
	// The CRs for these must created for the genesis to form, as it requires the identity secrets of those nodes.
	// Cannot be changed once set (used in genesis generation).
	InitialValidators []string `json:"initialValidators"`
}

BesuGenesisSpec defines the desired state of BesuGenesis All Besu nodes must be bound to a genesis, and will attempt to peer with any other nodes in the same namespace using the same genesis.

func (*BesuGenesisSpec) DeepCopy

func (in *BesuGenesisSpec) DeepCopy() *BesuGenesisSpec

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

func (*BesuGenesisSpec) DeepCopyInto

func (in *BesuGenesisSpec) DeepCopyInto(out *BesuGenesisSpec)

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

type BesuList

type BesuList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Besu `json:"items"`
}

BesuList contains a list of Besu

func (*BesuList) DeepCopy

func (in *BesuList) DeepCopy() *BesuList

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

func (*BesuList) DeepCopyInto

func (in *BesuList) DeepCopyInto(out *BesuList)

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

func (*BesuList) DeepCopyObject

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

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

type BesuSpec

type BesuSpec struct {

	// Settings from this config will be loaded as TOML and used as the base of the configuration.
	Config *string `json:"config,omitempty"`
	// The name of the genesis CR that these nodes will use to obtain their genesis file, and find bootnodes
	Genesis     string                           `json:"genesis"`
	PVCTemplate corev1.PersistentVolumeClaimSpec `json:"pvcTemplate,omitempty"`

	// Optionally tune the service definition.
	// We merge any configuration you add (such as node ports) for the following services:
	// "rpc-http" - 8545 (TCP),
	// "rpc-ws" - 8546 (TCP),
	// "graphql-http" - 8547 (TCP),
	// "p2p-tcp" - 30303 (TCP),
	// "p2p-udp" - 30303 (UDP)
	Service corev1.ServiceSpec `json:"service,omitempty"`
}

BesuSpec defines the desired state of Besu

func (*BesuSpec) DeepCopy

func (in *BesuSpec) DeepCopy() *BesuSpec

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

func (*BesuSpec) DeepCopyInto

func (in *BesuSpec) DeepCopyInto(out *BesuSpec)

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

type ConditionReason

type ConditionReason string
const (
	// failed
	ReasonCMCreationFailed     ConditionReason = "ConfigMapCreationFailed"
	ReasonSSCreationFailed     ConditionReason = "StatefulSetCreationFailed"
	ReasonSecretCreationFailed ConditionReason = "SecretCreationFailed"
	ReasonSVCCreationFailed    ConditionReason = "ServiceCreationFailed"
	ReasonPDBCreationFailed    ConditionReason = "PodDisruptionBudgetCreationFailed"
	ReasonPVCCreationFailed    ConditionReason = "PersistentVolumeClaimCreationFailed"

	// created
	ReasonCMCreated     ConditionReason = "ConfigMapCreated"
	ReasonSSCreated     ConditionReason = "StatefulSetCreated"
	ReasonSecretCreated ConditionReason = "SecretCreated"
	ReasonSVCCreated    ConditionReason = "ServiceCreated"
	ReasonPDBCreated    ConditionReason = "PodDisruptionBudgetCreated"
	ReasonPVCCreated    ConditionReason = "PersistentVolumeClaimCreated"

	// updated
	ReasonCMUpdated     ConditionReason = "ConfigMapUpdated"
	ReasonSSUpdated     ConditionReason = "StatefulSetUpdated"
	ReasonSecretUpdated ConditionReason = "SecretUpdated"
	ReasonSVCUpdated    ConditionReason = "ServiceUpdated"
	ReasonPDBUpdated    ConditionReason = "PodDisruptionBudgetUpdated"

	// pending
	ReasonSSPending ConditionReason = "StatefulSetPending"

	// ready
	ReasonSSReady ConditionReason = "StatefulSetReady"

	ReasonSuccess         ConditionReason = "Success"
	ReasonGenesisNotFound ConditionReason = "GenesisNotFound"
)

type ConditionType

type ConditionType string
const (

	// generic conditions
	ConditionCM      ConditionType = "ConfigMap"
	ConditionSS      ConditionType = "StatefulSet"
	ConditionSecret  ConditionType = "Secret"
	ConditionSVC     ConditionType = "Service"
	ConditionPDB     ConditionType = "PodDisruptionBudget"
	ConditionPVC     ConditionType = "PersistentVolumeClaim"
	ConditionHealthy ConditionType = "Healthy"

	ConditionGenesisAvailable ConditionType = "GenesisAvailable"
)

type ContactDependenciesStatus

type ContactDependenciesStatus struct {
	ContractDepsSummary       string            `json:"contractDepsSummary,omitempty"`
	ResolvedContractAddresses map[string]string `json:"resolvedContractAddresses,omitempty"`
}

func (*ContactDependenciesStatus) DeepCopy

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

func (*ContactDependenciesStatus) DeepCopyInto

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

type Database

type Database struct {
	// +kubebuilder:validation:Enum=preConfigured;sidecarPostgres;embeddedSQLite
	// +kubebuilder:default=preConfigured
	Mode string `json:"mode,omitempty"`
	// +kubebuilder:validation:Enum=preConfigured;auto
	// +kubebuilder:default=preConfigured
	MigrationMode string `json:"migrationMode,omitempty"`
	// If set then {{.username}} and {{.password}} variables will be available in your DSN
	PasswordSecret *string                          `json:"passwordSecret,omitempty"`
	PVCTemplate    corev1.PersistentVolumeClaimSpec `json:"pvcTemplate,omitempty"`
}

Database configuration

func (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto

func (in *Database) DeepCopyInto(out *Database)

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

type DomainReference

type DomainReference struct {
	LabelReference `json:",inline"`
}

Each domain reference can select one or more domains to include via label selectors Most common to use a simple one-reference-per-domain approach.

func (*DomainReference) DeepCopy

func (in *DomainReference) DeepCopy() *DomainReference

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

func (*DomainReference) DeepCopyInto

func (in *DomainReference) DeepCopyInto(out *DomainReference)

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

type DomainStatus

type DomainStatus string
const (
	DomainStatusPending   DomainStatus = "Pending"
	DomainStatusAvailable DomainStatus = "Available"
)

type EVMRegistryConfig

type EVMRegistryConfig struct {
	// Reference to a SmartContractDeployment CR that is used to deploy the registry
	SmartContractDeployment string `json:"smartContractDeployment,omitempty"`
	// If you have separately deployed the registry, supply the registry address directly
	ContractAddress string `json:"contractAddress,omitempty"`
}

func (*EVMRegistryConfig) DeepCopy

func (in *EVMRegistryConfig) DeepCopy() *EVMRegistryConfig

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

func (*EVMRegistryConfig) DeepCopyInto

func (in *EVMRegistryConfig) DeepCopyInto(out *EVMRegistryConfig)

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

type LabelReference

type LabelReference struct {
	// Label selectors provide a flexible many-to-many mapping between nodes and domains in a namespace.
	// The domain CRs you reference must be labelled to match. For example you could use a label like "paladin.io/domain-name" to select by name.
	LabelSelector metav1.LabelSelector `json:"labelSelector"`
}

func (*LabelReference) DeepCopy

func (in *LabelReference) DeepCopy() *LabelReference

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

func (*LabelReference) DeepCopyInto

func (in *LabelReference) DeepCopyInto(out *LabelReference)

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

type Paladin

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

	Spec   PaladinSpec `json:"spec,omitempty"`
	Status Status      `json:"status,omitempty"`
}

Paladin is the Schema for the paladin API

func (*Paladin) DeepCopy

func (in *Paladin) DeepCopy() *Paladin

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

func (*Paladin) DeepCopyInto

func (in *Paladin) DeepCopyInto(out *Paladin)

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

func (*Paladin) DeepCopyObject

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

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

type PaladinDomain

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

	Spec   PaladinDomainSpec   `json:"spec,omitempty"`
	Status PaladinDomainStatus `json:"status,omitempty"`
}

PaladinDomain is the Schema for the paladindomains API

func (*PaladinDomain) DeepCopy

func (in *PaladinDomain) DeepCopy() *PaladinDomain

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

func (*PaladinDomain) DeepCopyInto

func (in *PaladinDomain) DeepCopyInto(out *PaladinDomain)

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

func (*PaladinDomain) DeepCopyObject

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

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

type PaladinDomainList

type PaladinDomainList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PaladinDomain `json:"items"`
}

PaladinDomainList contains a list of PaladinDomain

func (*PaladinDomainList) DeepCopy

func (in *PaladinDomainList) DeepCopy() *PaladinDomainList

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

func (*PaladinDomainList) DeepCopyInto

func (in *PaladinDomainList) DeepCopyInto(out *PaladinDomainList)

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

func (*PaladinDomainList) DeepCopyObject

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

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

type PaladinDomainSpec

type PaladinDomainSpec struct {
	// Reference to a SmartContractDeployment CR that is used to deploy a new registry contract
	SmartContractDeployment string `json:"smartContractDeployment,omitempty"`
	// If you have separately deployed the registry for this domain, supply the registry address directly
	RegistryAddress string `json:"registryAddress,omitempty"`
	// Details of the plugin to load for the domain
	Plugin PluginConfig `json:"plugin"`
	// Whether the code inside of this domain is allowed to perform processing using in-memory key materials.
	// Required when Zero Knowledge Proof (ZKP) generation is being co-located with the Paladin core process
	// for domains like Zeto.
	AllowSigning bool `json:"allowSigning,omitempty"`
	// JSON configuration specific to the individual domain
	ConfigJSON string `json:"configJSON"`
}

PaladinDomainSpec defines the desired state of PaladinDomain

func (*PaladinDomainSpec) DeepCopy

func (in *PaladinDomainSpec) DeepCopy() *PaladinDomainSpec

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

func (*PaladinDomainSpec) DeepCopyInto

func (in *PaladinDomainSpec) DeepCopyInto(out *PaladinDomainSpec)

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

type PaladinDomainStatus

type PaladinDomainStatus struct {
	Status          DomainStatus `json:"status"`
	RegistryAddress string       `json:"registryAddress,omitempty"`
}

PaladinDomainStatus defines the observed state of PaladinDomain

func (*PaladinDomainStatus) DeepCopy

func (in *PaladinDomainStatus) DeepCopy() *PaladinDomainStatus

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

func (*PaladinDomainStatus) DeepCopyInto

func (in *PaladinDomainStatus) DeepCopyInto(out *PaladinDomainStatus)

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

type PaladinList

type PaladinList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Paladin `json:"items"`
}

PaladinList contains a list of Paladin

func (*PaladinList) DeepCopy

func (in *PaladinList) DeepCopy() *PaladinList

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

func (*PaladinList) DeepCopyInto

func (in *PaladinList) DeepCopyInto(out *PaladinList)

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

func (*PaladinList) DeepCopyObject

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

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

type PaladinRegistration

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

	Spec   PaladinRegistrationSpec   `json:"spec,omitempty"`
	Status PaladinRegistrationStatus `json:"status,omitempty"`
}

PaladinRegistration is the Schema for the paladinregistrations API

func (*PaladinRegistration) DeepCopy

func (in *PaladinRegistration) DeepCopy() *PaladinRegistration

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

func (*PaladinRegistration) DeepCopyInto

func (in *PaladinRegistration) DeepCopyInto(out *PaladinRegistration)

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

func (*PaladinRegistration) DeepCopyObject

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

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

type PaladinRegistrationList

type PaladinRegistrationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PaladinRegistration `json:"items"`
}

PaladinRegistrationList contains a list of PaladinRegistration

func (*PaladinRegistrationList) DeepCopy

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

func (*PaladinRegistrationList) DeepCopyInto

func (in *PaladinRegistrationList) DeepCopyInto(out *PaladinRegistrationList)

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

func (*PaladinRegistrationList) DeepCopyObject

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

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

type PaladinRegistrationSpec

type PaladinRegistrationSpec struct {
	// Reference to the Registry CR - must be of type "evm" for the registration to process
	Registry string `json:"registry"`
	// The node to use to submit the registration with access to the admin key
	RegistryAdminNode string `json:"registryAdminNode"`
	// The key to use to sign the transactions
	RegistryAdminKey string `json:"registryAdminKey"`
	// The node to publish the registration for - owns its registration key
	Node string `json:"node"`
	// The key to use on the node to publish its endpoint information
	NodeKey string `json:"nodeAdminKey"`
	// The transports to publish - we'll wait for them to become available, in the order specified here
	Transports []string `json:"transports,omitempty"`
}

PaladinRegistrationSpec defines the desired state of PaladinRegistration

func (*PaladinRegistrationSpec) DeepCopy

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

func (*PaladinRegistrationSpec) DeepCopyInto

func (in *PaladinRegistrationSpec) DeepCopyInto(out *PaladinRegistrationSpec)

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

type PaladinRegistrationStatus

type PaladinRegistrationStatus struct {
	PublishCount   int                              `json:"publishCount"`
	RegistrationTx TransactionSubmission            `json:"registrationTx"`
	PublishTxs     map[string]TransactionSubmission `json:"publishTxs"`
}

PaladinRegistrationStatus defines the observed state of PaladinRegistration

func (*PaladinRegistrationStatus) DeepCopy

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

func (*PaladinRegistrationStatus) DeepCopyInto

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

type PaladinRegistry

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

	Spec   PaladinRegistrySpec   `json:"spec,omitempty"`
	Status PaladinRegistryStatus `json:"status,omitempty"`
}

PaladinRegistry is the Schema for the paladinregistries API

func (*PaladinRegistry) DeepCopy

func (in *PaladinRegistry) DeepCopy() *PaladinRegistry

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

func (*PaladinRegistry) DeepCopyInto

func (in *PaladinRegistry) DeepCopyInto(out *PaladinRegistry)

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

func (*PaladinRegistry) DeepCopyObject

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

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

type PaladinRegistryList

type PaladinRegistryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []PaladinRegistry `json:"items"`
}

PaladinRegistryList contains a list of PaladinRegistry

func (*PaladinRegistryList) DeepCopy

func (in *PaladinRegistryList) DeepCopy() *PaladinRegistryList

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

func (*PaladinRegistryList) DeepCopyInto

func (in *PaladinRegistryList) DeepCopyInto(out *PaladinRegistryList)

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

func (*PaladinRegistryList) DeepCopyObject

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

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

type PaladinRegistrySpec

type PaladinRegistrySpec struct {
	// +kubebuilder:validation:Enum=evm
	// +kubebuilder:default=evm
	Type RegistryType `json:"type"`
	// Config specific to EVM based registry
	EVM EVMRegistryConfig `json:"evm,omitempty"`
	// Optionally adjust how the transport configuration works
	Transports RegistryTransportsConfig `json:"transports,omitempty"`
	// Details of the plugin to load for the domain
	Plugin PluginConfig `json:"plugin"`
	// JSON configuration specific to the individual registry
	ConfigJSON string `json:"configJSON"`
}

PaladinRegistrySpec defines the desired state of PaladinRegistry

func (*PaladinRegistrySpec) DeepCopy

func (in *PaladinRegistrySpec) DeepCopy() *PaladinRegistrySpec

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

func (*PaladinRegistrySpec) DeepCopyInto

func (in *PaladinRegistrySpec) DeepCopyInto(out *PaladinRegistrySpec)

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

type PaladinRegistryStatus

type PaladinRegistryStatus struct {
	Status          RegistryStatus `json:"status"`
	ContractAddress string         `json:"contractAddress,omitempty"`
}

PaladinRegistryStatus defines the observed state of PaladinRegistry

func (*PaladinRegistryStatus) DeepCopy

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

func (*PaladinRegistryStatus) DeepCopyInto

func (in *PaladinRegistryStatus) DeepCopyInto(out *PaladinRegistryStatus)

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

type PaladinSpec

type PaladinSpec struct {
	// Settings from this config will be loaded as YAML and used as the base of the configuration.
	Config *string `json:"config,omitempty"`

	// Database section k8s native functions for setting up the database
	// with auto-generation/auto-edit of the DB related config sections
	Database Database `json:"database,omitempty"`

	// Adds signing modules that load their key materials from a k8s secret
	SecretBackedSigners []SecretBackedSigner `json:"secretBackedSigners,omitempty"`

	// Optionally bind to a local besu node deployed with this operator
	// (vs. configuring a connection to a production blockchain network)
	BesuNode string `json:"besuNode,omitempty"`

	// AuthConfig is used to provide authentication details for blockchain connections
	// If this is set, it will override the auth details in the config
	AuthConfig *AuthConfig `json:"authConfig,omitempty"`

	// Optionally tune the service definition.
	// We merge any configuration you add (such as node ports) for the following services:
	// "rpc-http" - 8545 (TCP),
	// "rpc-ws" - 8546 (TCP)
	Service corev1.ServiceSpec `json:"service,omitempty"`

	// A list of domains to merge into the configuration, and rebuild the config of paladin when this list changes
	Domains []DomainReference `json:"domains"`

	// A list of registries to merge into the configuration, and rebuild the config of paladin when this list changes
	Registries []RegistryReference `json:"registries"`

	// Transports are configured individually on each node, as they reference security details specific to that node
	Transports []TransportConfig `json:"transports"`
}

PaladinSpec defines the desired state of Paladin

func (*PaladinSpec) DeepCopy

func (in *PaladinSpec) DeepCopy() *PaladinSpec

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

func (*PaladinSpec) DeepCopyInto

func (in *PaladinSpec) DeepCopyInto(out *PaladinSpec)

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

type PluginConfig

type PluginConfig struct {
	// +kubebuilder:validation:Enum=c-shared;jar
	// The library type to load
	Type string `json:"type"`
	// The location of the library - do not include the "lib" prefix or the ".so" suffix for shared libraries
	Library string `json:"library"`
	// For Java only, the name of the class to load from the Jar
	Class *string `json:"class,omitempty"`
}

func (*PluginConfig) DeepCopy

func (in *PluginConfig) DeepCopy() *PluginConfig

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

func (*PluginConfig) DeepCopyInto

func (in *PluginConfig) DeepCopyInto(out *PluginConfig)

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

type RegistryReference

type RegistryReference struct {
	LabelReference `json:",inline"`
}

Each registry reference can select one or more domains to include via label selectors Most common to use a simple one-reference-per-domain approach.

func (*RegistryReference) DeepCopy

func (in *RegistryReference) DeepCopy() *RegistryReference

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

func (*RegistryReference) DeepCopyInto

func (in *RegistryReference) DeepCopyInto(out *RegistryReference)

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

type RegistryStatus

type RegistryStatus string
const (
	RegistryStatusPending   RegistryStatus = "Pending"
	RegistryStatusAvailable RegistryStatus = "Available"
)

type RegistryTransportsConfig

type RegistryTransportsConfig struct {
	// If true, then this registry will be used for lookup of node transports
	// +kubebuilder:default=true
	Enabled *bool `json:"enabled,omitempty"`

	// Prefix if set that will be matched and cut from any supplied lookup
	// node name before performing a lookup. If it does not match (or matches
	// the whole lookup) then this registry will not be used to lookup the node.
	// This allows multiple registries to be used safely for different
	// private node connectivity networks without any possibility
	// of clashing node names.
	RequiredPrefix string `json:"requiredPrefix,omitempty"`

	// By default the whole node name must match a root entry in the registry.
	// If a hierarchySplitter is provided (such as ".") then the supplied node
	// name will be split into path parts and each entry in the hierarchy
	// will be resolved in order, from the root down to the leaf.
	HierarchySplitter string `json:"hierarchySplitter,omitempty"`

	// If a node is found, then each property name will be applied to this
	// regular expression, and if it matches then the value of the property
	// will be considered a set of transport details.
	//
	// The transport name must be extracted as a match group.
	//
	// For example the default is:
	//   propertyRegexp: "^transport.(.*)$"
	//
	// This will match a property called "transport.grpc" as the transport
	// details for the grpc transport.
	PropertyRegexp string `json:"propertyRegexp,omitempty"`

	// Optionally add entries here to map from the name of a transport as stored in
	// the registry, to the name in your local configuration.
	// This allows you to use different configurations (MTLS certs etc.)
	// for different private node networks that all use the same logical
	// transport name.
	TransportMap map[string]string `json:"transportMap,omitempty"`
}

func (*RegistryTransportsConfig) DeepCopy

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

func (*RegistryTransportsConfig) DeepCopyInto

func (in *RegistryTransportsConfig) DeepCopyInto(out *RegistryTransportsConfig)

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

type RegistryType

type RegistryType string
const (
	RegistryTypeEVM RegistryType = "evm"
)

type SecretBackedSigner

type SecretBackedSigner struct {
	Secret string `json:"secret"`
	// +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
	Name string `json:"name"` // TODO: Currently only one signer supported in Paladin until key manager in place
	// +kubebuilder:validation:Enum=autoHDWallet;preConfigured
	// +kubebuilder:default=autoHDWallet
	// The operator supports generating the seed and base config for a simple seeded BIP32 HDWallet signer.
	// If more other options are needed, these can be set directly in the YAML config for this signer.
	Type string `json:"type"`
	// Wallets will be evaluated against new allocations of key identifiers in the order they are
	// defined. The key selector regular expression allows wallets to sub-select, with more specific
	// rules first on key matching and more generic rules (like the default of ".*") last.
	// +kubebuilder:default=.*
	KeySelector string `json:"keySelector"`
}

func (*SecretBackedSigner) DeepCopy

func (in *SecretBackedSigner) DeepCopy() *SecretBackedSigner

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

func (*SecretBackedSigner) DeepCopyInto

func (in *SecretBackedSigner) DeepCopyInto(out *SecretBackedSigner)

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

type SmartContractDeployment

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

	Spec   SmartContractDeploymentSpec   `json:"spec,omitempty"`
	Status SmartContractDeploymentStatus `json:"status,omitempty"`
}

SmartContractDeployment is the Schema for the smartcontractdeployments API

func (*SmartContractDeployment) DeepCopy

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

func (*SmartContractDeployment) DeepCopyInto

func (in *SmartContractDeployment) DeepCopyInto(out *SmartContractDeployment)

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

func (*SmartContractDeployment) DeepCopyObject

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

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

type SmartContractDeploymentList

type SmartContractDeploymentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SmartContractDeployment `json:"items"`
}

SmartContractDeploymentList contains a list of SmartContractDeployment

func (*SmartContractDeploymentList) DeepCopy

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

func (*SmartContractDeploymentList) DeepCopyInto

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

func (*SmartContractDeploymentList) DeepCopyObject

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

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

type SmartContractDeploymentSpec

type SmartContractDeploymentSpec struct {
	// This CR will wait for the deployment of all contracts in this list, before
	// parsing the bytecode for deployment. This allows unlinked dependencies
	// to be linked before deployment.
	RequiredContractDeployments []string `json:"requiredContractDeployments,omitempty"`

	// The node to use to deploy - reference to a PaladinNode CR
	Node string `json:"node"`
	// +kubebuilder:validation:Enum=public;private
	// +kubebuilder:default=public
	// Type of transaction to submit to Paladin
	TxType string `json:"txType"`
	// Domain for private transactions
	Domain string `json:"domain,omitempty"`
	// The ABI of the smart contract - provides the constructor parameter definition
	ABIJSON string `json:"abiJSON"`
	// The bytecode of the smart contract
	Bytecode string `json:"bytecode"`
	// Reference to the signing key to use to deploy
	From string `json:"from"`
	// JSON parameter data (array, object, or empty if no params)
	ParamsJSON string `json:"paramsJSON,omitempty"`

	// Unlinked contracts have list of the references that need to be resolve, alongside the bytecode
	LinkReferencesJSON string `json:"linkReferencesJSON,omitempty"`
	// If the bytecode is unlinked, then this map will be used to resolve the dependencies.
	// The keys in the map are the library name, which can be optionally fully qualified
	// with the syntax FileName.sol:LibName. An entry must be provided for every
	// unlinked dependency, or the CR will not perform a deployment.
	//
	// The values are evaluated as go templates, with access to the CR.
	// So you can refer to .status.resolvedContractAddresses in the values via go templating.
	// See https://docs.soliditylang.org/en/latest/using-the-compiler.html#library-linking for detail
	LinkedContracts map[string]string `json:"linkedContracts,omitempty"`
}

SmartContractDeploymentSpec defines the desired state of SmartContractDeployment

func (*SmartContractDeploymentSpec) DeepCopy

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

func (*SmartContractDeploymentSpec) DeepCopyInto

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

type SmartContractDeploymentStatus

type SmartContractDeploymentStatus struct {
	ContactDependenciesStatus `json:",inline"`
	TransactionSubmission     `json:",inline"`
	ContractAddress           string `json:"contractAddress,omitempty"`
}

SmartContractDeploymentStatus defines the observed state of SmartContractDeployment

func (*SmartContractDeploymentStatus) DeepCopy

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

func (*SmartContractDeploymentStatus) DeepCopyInto

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

type Status

type Status struct {
	// Phase represents the current phase of the Besu resource
	Phase StatusPhase `json:"phase,omitempty"`

	// Conditions represent the latest available observations of the Besu's state
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

Status defines the observed state of a given object

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

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

type StatusPhase

type StatusPhase string
const (
	StatusPhasePending StatusPhase = "Pending"
	StatusPhaseReady   StatusPhase = "Ready"
	StatusPhaseFailed  StatusPhase = "Failed"
	StatusPhaseUnknown StatusPhase = "Unknown"
)

type StatusReason

type StatusReason string

StatusReason is an enumeration of possible failure causes. Each StatusReason must map to a single HTTP status code, but multiple reasons may map to the same HTTP status code. TODO: move to apiserver

type TLSConfig

type TLSConfig struct {
	// Secret name is required
	SecretName string `json:"secretName"`
	// If specified then a cert-manager.io/v1 Certificate will be created for the internal DNS names of the service.
	// If you define multiple transports that share a secret, then only specify this on one.
	CertName string `json:"certName"`
	// Issuer for the certificate if a certificateName is specified (note cluster issuer can be used with a custom certSpecTemplate)
	// +kubebuilder:default=selfsigned-issuer
	Issuer string `json:"issuer,omitempty"`
	// Additional DNS names to add to the definition (for external hostnames) when using automatic cert-manager
	AdditionalDNSNames []string `json:"additionalDNSNames,omitempty"`
	// Go template for the YAML spec of the issuer CR, which will have access to the inserts when building:
	// {{.nodeName}} {{.dnsNames}} {{.secretName}} {{.issuer}}
	// Where .nodeName is that placed in the config
	// This approach allows us to avoid a build-time dependency on the CertManager CRs, while letting you
	// customize things like the algorithm.
	CertSpecTemplate string `json:"certSpecTemplate,omitempty"`
}

func (*TLSConfig) DeepCopy

func (in *TLSConfig) DeepCopy() *TLSConfig

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

func (*TLSConfig) DeepCopyInto

func (in *TLSConfig) DeepCopyInto(out *TLSConfig)

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

type TransactionInvoke

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

	Spec   TransactionInvokeSpec   `json:"spec,omitempty"`
	Status TransactionInvokeStatus `json:"status,omitempty"`
}

TransactionInvoke is the Schema for the transactioninvokes API

func (*TransactionInvoke) DeepCopy

func (in *TransactionInvoke) DeepCopy() *TransactionInvoke

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

func (*TransactionInvoke) DeepCopyInto

func (in *TransactionInvoke) DeepCopyInto(out *TransactionInvoke)

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

func (*TransactionInvoke) DeepCopyObject

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

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

type TransactionInvokeList

type TransactionInvokeList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TransactionInvoke `json:"items"`
}

TransactionInvokeList contains a list of TransactionInvoke

func (*TransactionInvokeList) DeepCopy

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

func (*TransactionInvokeList) DeepCopyInto

func (in *TransactionInvokeList) DeepCopyInto(out *TransactionInvokeList)

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

func (*TransactionInvokeList) DeepCopyObject

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

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

type TransactionInvokeSpec

type TransactionInvokeSpec struct {
	// A list of pre-requisite smart contract deployments that must be resolved
	// to contract addresses before the transaction can be built+submitted.
	// The set of smart contracts is built one-by-one as the smart contract deployments
	// complete, and once set a dependency does not change if the deployment CR
	// is deleted and re-created. So it is important to delete+recreate all
	// inter-related SmartContractDeployment and TransactionInvoke CRs in a set
	// when they are being used as a deployment engine for test infrastructure.
	//
	// This is not intended as substitute to proper smart contract management
	// in production. Instead it is an excellent tool for rapid re-deployment
	// of test infrastructure.
	ContractDeploymentDeps []string `json:"requiredContractDeployments,omitempty"`

	// The node to use to deploy - reference to a PaladinNode CR
	Node string `json:"node"`
	// +kubebuilder:validation:Enum=public;private
	// +kubebuilder:default=public
	// Type of transaction to submit to Paladin
	TxType string `json:"txType"`
	// Domain for private transactions
	Domain string `json:"domain,omitempty"`
	// The name or full signature of the function to invoke
	Function string `json:"function"`
	// The ABI of the smart contract - provides the constructor parameter definition
	ABIJSON string `json:"abiJSON"`
	// Reference to the signing key to use to deploy
	From string `json:"from"`
	// Go template that specifies the target smart contract for invocation.
	// See paramsJSONTemplate for more detail
	ToTemplate string `json:"toTemplate,omitempty"`
	// Go template that specifies the data JSON payload for the invocation
	// of the smart contract (array of input values, or map of inputs by name).
	// Once all pre-requisite contract deployments are completed, this template
	// will be executed with the JSON serialization of CR as the input
	// to the CR execution. As such it has access to fields like:
	// .status.resolvedContractAddresses
	ParamsJSONTemplate string `json:"paramsJSONTemplate,omitempty"`
}

TransactionInvokeSpec defines the desired state of TransactionInvoke

func (*TransactionInvokeSpec) DeepCopy

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

func (*TransactionInvokeSpec) DeepCopyInto

func (in *TransactionInvokeSpec) DeepCopyInto(out *TransactionInvokeSpec)

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

type TransactionInvokeStatus

type TransactionInvokeStatus struct {
	ContactDependenciesStatus `json:",inline"`
	TransactionSubmission     `json:",inline"`
}

TransactionInvokeStatus defines the observed state of TransactionInvoke

func (*TransactionInvokeStatus) DeepCopy

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

func (*TransactionInvokeStatus) DeepCopyInto

func (in *TransactionInvokeStatus) DeepCopyInto(out *TransactionInvokeStatus)

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

type TransactionStatus

type TransactionStatus string
const (
	TransactionStatusSubmitting TransactionStatus = "Submitting"
	TransactionStatusPending    TransactionStatus = "Pending"
	TransactionStatusSuccess    TransactionStatus = "Success"
	TransactionStatusFailed     TransactionStatus = "Failed"
	TransactionStatusRejected   TransactionStatus = "Rejected"
)

type TransactionSubmission

type TransactionSubmission struct {
	TransactionStatus TransactionStatus `json:"transactionStatus,omitempty"`
	IdempotencyKey    string            `json:"idempotencyKey,omitempty"`
	TransactionID     string            `json:"transactionID,omitempty"`
	FailureMessage    string            `json:"failureMessage,omitempty"`
	TransactionHash   string            `json:"transactionHash,omitempty"`
}

func (*TransactionSubmission) DeepCopy

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

func (*TransactionSubmission) DeepCopyInto

func (in *TransactionSubmission) DeepCopyInto(out *TransactionSubmission)

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

type TransportConfig

type TransportConfig struct {
	Name string `json:"name"`
	// Plugin configuration for loading the transport
	Plugin PluginConfig `json:"plugin"`
	// JSON configuration specific to the individual transport.
	// The "tls" root section of the config will be automatically populated from the k8s secret.
	// The "externalHostname" property will be automatically set to the internal k8s hostname, unless it is already set in the configJSON
	ConfigJSON string `json:"configJSON"`
	// TLS configuration to use for this secret
	TLS TLSConfig `json:"tls,omitempty"`
	// The port number to listen on this transport
	Ports []corev1.ServicePort `json:"ports"`
}

func (*TransportConfig) DeepCopy

func (in *TransportConfig) DeepCopy() *TransportConfig

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

func (*TransportConfig) DeepCopyInto

func (in *TransportConfig) DeepCopyInto(out *TransportConfig)

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