Documentation ¶
Index ¶
- Constants
- Variables
- func BucketName(client client.Client, ctx context.Context, namespace string) (string, error)
- func CreateS3Session(client client.Client, ctx context.Context, log logr.Logger, namespace string) *session.Session
- func GetImageName(ctx context.Context, client client.Client, log logr.Logger, ...) (string, error)
- func HashString(unique string) string
Constants ¶
View Source
const ( SecretName = "jvm-build-s3-secrets" //#nosec S3BucketNameAnnotation = "jvmbuildservice.io/s3-bucket-name" S3SyncStateAnnotation = "jvmbuildservice.io/s3-sync-state" S3Finalizer = "jvmbuildservice.io/s3-finalizer" )
View Source
const ( ControllerDeploymentName = "hacbs-jvm-operator" ControllerNamespace = "jvm-build-service" // goland:noinspection GoCommentStart // Label convention as per https://kubernetes.io/docs/reference/labels-annotations-taints is to use lower-case. StatusLabel = "status" StatusSucceeded = "succeeded" StatusFailed = "failed" StatusBuilding = "building" )
Variables ¶
View Source
var ( ImageTag string ImageRepo string S3Enabled bool )
Functions ¶
func BucketName ¶
func CreateS3Session ¶
func GetImageName ¶
func HashString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.