- Mocking Kubernetes Resources:
- mockkube - https://github.com/tommy351/mockkube
- Running Tests in Cluster:
- Frameworks:
- Skaffold - https://github.com/GoogleContainerTools/skaffold
# Custom functions | |
assume_role() { | |
eval $(aws sts assume-role --role-arn "$1" --role-session-name AWSCLI-Session | jq -c '.' | setawsenv.sh) | |
} | |
# Custom scripts | |
export PATH="$PATH:$HOME/bin" |
{ | |
"$ref": "#/definitions/ClusterConfig", | |
"type": "object", | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"definitions": { | |
"ARN": { | |
"$ref": "#/definitions/github.com|aws|aws-sdk-go-v2|aws|arn.ARN" | |
}, | |
"AZSubnetMapping": { | |
"additionalProperties": { |
package main | |
import "os" | |
import "fmt" | |
// docker run image <cmd> <params> | |
// go run main.go run <cmd> <params> | |
func main() { | |
switch os.Args[1] { |
# This file is: ~/.ssh/config | |
# You may have other (non-CodeCommit) SSH credentials stored in this | |
# config file – in addition to the CodeCommit settings shown below. | |
# NOTE: Make sure to run [ chmod 600 ~/.ssh/config ] after creating this file! | |
# Credentials for Account1 | |
Host awscc-account1 # 'awscc-account1' is a name you pick | |
Hostname git-codecommit.us-east-1.amazonaws.com # This points to CodeCommit in the 'US East' region |
Source: https://medium.com/@Mahmoud_Zalt/eloquent-relationships-cheat-sheet-5155498c209
One to one ( 1-1 ) |
One to many ( 1-n ) |
Poly one to many ( 1x-n ) |
Many to many ( n-n ) |
Poly many to many ( nx-n ) |
|
---|---|---|---|---|---|
Number of models | 2 only | 2 only | 3 and above | 2 only | 3 and above |
Number of tables | 2 (1/model) | 2 (1/model) | 3+ (1/model) | 3 (1/model + pivot) | 4+ (1/model + pivot) |
Pivot table | - | - | - | required |
<?php | |
use App\Models\Registration; | |
use App\Models\Subscription; | |
. | |
. | |
. | |
. | |
. |
WEBVTT | |
Kind: captions | |
Language: kn | |
1 | |
00:00:23.104 --> 00:00:25.074 | |
அவா முன்னலா நிகிரன் | |
2 | |
00:00:25.080 --> 00:00:27.074 |
WEBVTT | |
Kind: captions | |
Language: san | |
1 | |
00:00:05.358 --> 00:00:08.277 | |
सहस्र'शीर्षा पुरु'षः | | |
2 | |
00:00:09.159 --> 00:00:13.044 |