Documentation ¶
Index ¶
- Constants
- func LoadFromConfigMap(nn k8sclient.ObjectKey, key string, client Client, operator *Operator) error
- type CA
- type CATimeouts
- type Client
- type Config
- type Console
- type ConsoleConfig
- type DBMigrationTimeouts
- type Debug
- type DisableRestart
- type Globals
- type Operator
- type Orderer
- type OrdererRenewals
- type OrdererTimeouts
- type Peer
- type PeerTimeouts
- type Restart
Constants ¶
View Source
const ( InitImage = "registry.access.redhat.com/ubi8/ubi-minimal" LatestTag = "latest" FabricCAVersion = "1.5.3" FabricVersion = "2.4.3" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CA ¶
type CA struct {
Timeouts CATimeouts `json:"timeouts" yaml:"timeouts"`
}
CA defines configurable properties for CA custom resource
type CATimeouts ¶
type CATimeouts struct {
HSMInitJob cainit.HSMInitJobTimeouts `json:"hsmInitJob" yaml:"hsmInitJob"`
}
CATimeouts defines timeouts properties that can be configured
type Client ¶
type Client interface {
Get(ctx context.Context, key k8sclient.ObjectKey, obj k8sclient.Object) error
}
Client defines interface for making GET calls to kubernetes API server
type Console ¶
type Console struct {
ApplyNetworkPolicy string `json:"applyNetworkPolicy" yaml:"applyNetworkPolicy"`
}
type ConsoleConfig ¶
type ConsoleConfig struct { DeploymentFile string NetworkPolicyIngressFile string NetworkPolicyDenyAllFile string ServiceFile string DeployerServiceFile string PVCFile string CMFile string ConsoleCMFile string DeployerCMFile string RoleFile string RoleBindingFile string ServiceAccountFile string IngressFile string Ingressv1beta1File string RouteFile string }
type DBMigrationTimeouts ¶
type DBMigrationTimeouts struct { CouchDBStartUp common.Duration `json:"couchDBStartUp" yaml:"couchDbStartUp"` JobStart common.Duration `json:"jobStart" yaml:"jobStart"` JobCompletion common.Duration `json:"jobCompletion" yaml:"jobCompletion"` ReplicaChange common.Duration `json:"replicaChange" yaml:"replicaChange"` PodDeletion common.Duration `json:"podDeletion" yaml:"podDeletion"` PodStart common.Duration `json:"podStart" yaml:"podStart"` }
type Debug ¶
type Debug struct {
DisableDeploymentChecks string `json:"disableDeploymentChecks,omitempty" yaml:"disableDeploymentChecks,omitempty"`
}
type DisableRestart ¶
type DisableRestart struct {
Components bool `json:"components" yaml:"components"`
}
type Globals ¶
type Globals struct { SecurityContext *container.SecurityContext `json:"securityContext,omitempty" yaml:"securityContext,omitempty"` AllowKubernetesEighteen string `json:"allowKubernetesEighteen,omitempty" yaml:"allowKubernetesEighteen,omitempty"` }
type Operator ¶
type Operator struct { Orderer Orderer `json:"orderer" yaml:"orderer"` Peer Peer `json:"peer" yaml:"peer"` CA CA `json:"ca" yaml:"ca"` Console Console `json:"console" yaml:"console"` Restart Restart `json:"restart" yaml:"restart"` Versions *deployer.Versions `json:"versions,omitempty" yaml:"versions,omitempty"` Globals Globals `json:"globals,omitempty" yaml:"globals,omitempty" envconfig:"optional"` Debug Debug `json:"debug" yaml:"debug"` }
Operator defines operator configuration parameters
func (*Operator) SetDefaults ¶
func (o *Operator) SetDefaults()
SetDefaults will set defaults as defined by to the operator configuration settings
type Orderer ¶
type Orderer struct { Timeouts OrdererTimeouts `json:"timeouts" yaml:"timeouts"` Renewals OrdererRenewals `json:"renewals" yaml:"renewals"` DisableProbes string `json:"disableProbes" yaml:"disableProbes"` }
type OrdererRenewals ¶
type OrdererRenewals struct {
DisableTLScert bool `json:"disableTLScert" yaml:"disableTLScert"`
}
type OrdererTimeouts ¶
type OrdererTimeouts struct { SecretPoll common.Duration `json:"secretPollTimeout" yaml:"secretPollTimeout"` EnrollJob enroller.HSMEnrollJobTimeouts `json:"enrollJob" yaml:"enrollJob"` }
type Peer ¶
type Peer struct {
Timeouts PeerTimeouts `json:"timeouts" yaml:"timeouts"`
}
type PeerTimeouts ¶
type PeerTimeouts struct { DBMigration DBMigrationTimeouts `json:"dbMigration" yaml:"dbMigration"` EnrollJob enroller.HSMEnrollJobTimeouts `json:"enrollJob" yaml:"enrollJob"` }
Click to show internal directories.
Click to hide internal directories.