Documentation
¶
Index ¶
- func AddPolicyV1Alpha1(ctx context.Context, store store.Interface) http.HandlerFunc
- func AddScheduleV1Alpha1(ctx context.Context, store store.Interface) http.HandlerFunc
- func ChangeStateV1alpha1(ctx context.Context, awsClientPool *aws.ClientPool, ...) http.HandlerFunc
- func DeletePolicyV1alpha1(ctx context.Context, store store.Interface) http.HandlerFunc
- func DeleteScheduleV1alpha1(ctx context.Context, store store.Interface) http.HandlerFunc
- func GetPolicyV1Alpha1(ctx context.Context, store store.Interface) http.HandlerFunc
- func GetScheduleV1alpha1(ctx context.Context, store store.Interface) http.HandlerFunc
- func GetTimeZoneV1Alpha1() http.HandlerFunc
- func GetVersionInfoV1Alpha1(v version.Version) http.HandlerFunc
- func ListPolicyV1alpha1(ctx context.Context, store store.Interface) http.HandlerFunc
- func ListScheduleV1alpha1(ctx context.Context, store store.Interface) http.HandlerFunc
- func ScheduleTaskV1alpha1(ctx context.Context, store store.Interface, taskProcessor worker.Interface) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPolicyV1Alpha1 ¶
func AddScheduleV1Alpha1 ¶
func ChangeStateV1alpha1 ¶
func ChangeStateV1alpha1(ctx context.Context, awsClientPool *aws.ClientPool, gcpClientPool *gcp.ClientPool, azureClientPool *azure.ClientPool, ) http.HandlerFunc
* For every request, naively we will init a new:
- EndpointResolverWithOptions to be able to emulate with localstack and return aws config in order to pass to its super.
Problem: if there are N in queue -> N request to aws although there will be k amount of request will use the same AssumeRoleProvider (k<=N)
Optimization: - We can init a client pool identified by AssumeRoleARN
func DeletePolicyV1alpha1 ¶
func DeleteScheduleV1alpha1 ¶
func GetPolicyV1Alpha1 ¶
func GetScheduleV1alpha1 ¶
func GetTimeZoneV1Alpha1 ¶
func GetTimeZoneV1Alpha1() http.HandlerFunc
func GetVersionInfoV1Alpha1 ¶
func GetVersionInfoV1Alpha1(v version.Version) http.HandlerFunc
func ListPolicyV1alpha1 ¶
func ListScheduleV1alpha1 ¶
func ScheduleTaskV1alpha1 ¶
Types ¶
This section is empty.
Source Files
¶
- add_policy_v1alpha1.go
- add_schedule_v1alpha1.go
- change_state_v1alpha1.go
- delete_policy_v1alpha1.go
- delete_schedule_v1alpha1.go
- get_policy_v1alpha1.go
- get_schedule_v1alpha1.go
- get_timezone_v1alpha1.go
- get_version_info_v1alpha1.go
- list_policy_v1alpha1.go
- list_schedule_v1alpha1.go
- schedule_task_v1alpha1.go
Click to show internal directories.
Click to hide internal directories.