Documentation
¶
Index ¶
Constants ¶
View Source
const URLMapActionType sylt.ActionType = "urlmap"
Variables ¶
View Source
var S = terra.String
Functions ¶
This section is empty.
Types ¶
type BackendService ¶
type DefaultBackend ¶
type DefaultBackend struct {
Bucket *google_storage_bucket.Resource
NotFoundPage *google_storage_bucket_object.Resource
Backend *google_compute_backend_bucket.Resource
IAMMember *google_storage_bucket_iam_member.Resource
}
func NewDefaultBackend ¶
func NewDefaultBackend() DefaultBackend
type GCSBackend ¶
func (*GCSBackend) BackendType ¶
func (g *GCSBackend) BackendType() string
type GitHubOIDC ¶
type GitHubOIDC struct {
ProjectIAMMember
ServiceAccount *google_service_account.Resource
WorkloadIDPool *google_iam_workload_identity_pool.Resource
WorkloadIDPoolProvider *google_iam_workload_identity_pool_provider.Resource
WorkloadIDMember *google_service_account_iam_member.Resource
}
func NewGitHubOIDC ¶
func NewGitHubOIDC(opts GitHubOIDCOpts) GitHubOIDC
type GitHubOIDCOpts ¶
type GitHubOIDCOpts struct {
Project string
}
type HTTPSRedirect ¶
type HTTPSRedirect struct {
URLMap *google_compute_url_map.Resource
HTTPProxy *google_compute_target_http_proxy.Resource
ForwardingRule *google_compute_global_forwarding_rule.Resource
}
func NewHTTPSRedirect ¶
func NewHTTPSRedirect( opts LoadBalancerOpts, ipAddress terra.StringValue, ) *HTTPSRedirect
type LoadBalancer ¶
type LoadBalancer struct {
GlobalAddress *google_compute_global_address.Resource
URLMap *google_compute_url_map.Resource
TargetHTTPSProxy *google_compute_target_https_proxy.Resource
CertManagerMap *google_certificate_manager_certificate_map.Resource
CertManagerMapEntry *google_certificate_manager_certificate_map_entry.Resource
GlobalForwardingRule *google_compute_global_forwarding_rule.Resource
HTTPSRedirect
}
func NewLoadBalancer ¶
func NewLoadBalancer(opts LoadBalancerOpts) LoadBalancer
type LoadBalancerOpts ¶
type LoadBalancerOpts struct {
DefaultService string
}
type ProjectIAMMember ¶
type ProjectIAMMember struct {
CloudRunAdmin *google_project_iam_member.Resource
LBAdmin *google_project_iam_member.Resource
StorageObjectUser *google_project_iam_member.Resource
IAMWorkloadIdentityUser *google_project_iam_member.Resource
IAMServiceAccountUser *google_project_iam_member.Resource
ArtifactRegistryWriter *google_project_iam_member.Resource
}
func NewProjectIAMMember ¶
func NewProjectIAMMember( project string, serviceAccountEmail terra.StringValue, ) ProjectIAMMember
type Service ¶
type Service struct {
BackendService *google_compute_backend_service.Resource
CloudRunService *google_cloud_run_service.Resource
IAMMember *google_cloud_run_service_iam_member.Resource
NetworkEndpointGroup *google_compute_region_network_endpoint_group.Resource
}
func NewService ¶
func NewService(opts ServiceOpts) Service
type ServiceOpts ¶
type URLMapAction ¶
type URLMapAction struct {
// Unique ID of this URLMap.
ID string
// Google cloud project.
Project string
// URLMap to update.
URLMap string
// Backend service to map to.
Service string
// Host (domain) to map to the service.
Host string
}
func (*URLMapAction) ActionName ¶
func (a *URLMapAction) ActionName() string
func (*URLMapAction) ActionType ¶
func (a *URLMapAction) ActionType() sylt.ActionType
Click to show internal directories.
Click to hide internal directories.