Documentation ¶
Index ¶
- Variables
- type AWS
- func (*AWS) Descriptor() ([]byte, []int)deprecated
- func (x *AWS) GetEcsClusterName() string
- func (x *AWS) GetEcsRepo() string
- func (x *AWS) GetEcsTaskExecutionRole() string
- func (x *AWS) GetEnvironmentLinks() []*AWSLink
- func (x *AWS) GetGrantPrincipals() []*AWSGrantPrincipal
- func (x *AWS) GetHostHeader() string
- func (x *AWS) GetListenerArn() string
- func (x *AWS) GetO5DeployerAssumeRole() string
- func (x *AWS) GetO5DeployerGrantRoles() []string
- func (x *AWS) GetRdsHosts() []*RDSHost
- func (x *AWS) GetRegion() string
- func (x *AWS) GetS3BucketNamespace() string
- func (x *AWS) GetSesIdentity() *SESIdentity
- func (x *AWS) GetSidecarImageRepo() string
- func (x *AWS) GetSidecarImageVersion() string
- func (x *AWS) GetSnsPrefix() string
- func (x *AWS) GetVpcId() string
- func (*AWS) ProtoMessage()
- func (x *AWS) ProtoReflect() protoreflect.Message
- func (x *AWS) Reset()
- func (x *AWS) String() string
- type AWSGrantPrincipal
- func (*AWSGrantPrincipal) Descriptor() ([]byte, []int)deprecated
- func (x *AWSGrantPrincipal) GetName() string
- func (x *AWSGrantPrincipal) GetRoleArn() string
- func (*AWSGrantPrincipal) ProtoMessage()
- func (x *AWSGrantPrincipal) ProtoReflect() protoreflect.Message
- func (x *AWSGrantPrincipal) Reset()
- func (x *AWSGrantPrincipal) String() string
- type AWSLink
- type CustomVariable
- func (*CustomVariable) Descriptor() ([]byte, []int)deprecated
- func (x *CustomVariable) GetJoin() *CustomVariable_Join
- func (x *CustomVariable) GetName() string
- func (m *CustomVariable) GetSrc() isCustomVariable_Src
- func (x *CustomVariable) GetValue() string
- func (*CustomVariable) ProtoMessage()
- func (x *CustomVariable) ProtoReflect() protoreflect.Message
- func (x *CustomVariable) Reset()
- func (x *CustomVariable) String() string
- type CustomVariable_Join
- func (*CustomVariable_Join) Descriptor() ([]byte, []int)deprecated
- func (x *CustomVariable_Join) GetDelimiter() string
- func (x *CustomVariable_Join) GetValues() []string
- func (*CustomVariable_Join) ProtoMessage()
- func (x *CustomVariable_Join) ProtoReflect() protoreflect.Message
- func (x *CustomVariable_Join) Reset()
- func (x *CustomVariable_Join) String() string
- type CustomVariable_Join_
- type CustomVariable_Value
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)deprecated
- func (x *Environment) GetAws() *AWS
- func (x *Environment) GetCorsOrigins() []string
- func (x *Environment) GetFullName() string
- func (m *Environment) GetProvider() isEnvironment_Provider
- func (x *Environment) GetTrustJwks() []string
- func (x *Environment) GetVars() []*CustomVariable
- func (*Environment) ProtoMessage()
- func (x *Environment) ProtoReflect() protoreflect.Message
- func (x *Environment) Reset()
- func (x *Environment) String() string
- type Environment_Aws
- type RDSHost
- type SESIdentity
- func (*SESIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *SESIdentity) GetRecipients() []string
- func (x *SESIdentity) GetSenders() []string
- func (*SESIdentity) ProtoMessage()
- func (x *SESIdentity) ProtoReflect() protoreflect.Message
- func (x *SESIdentity) Reset()
- func (x *SESIdentity) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_o5_environment_v1_environment_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS struct { ListenerArn string `protobuf:"bytes,1,opt,name=listener_arn,json=listenerArn,proto3" json:"listener_arn,omitempty"` EcsClusterName string `protobuf:"bytes,2,opt,name=ecs_cluster_name,json=ecsClusterName,proto3" json:"ecs_cluster_name,omitempty"` EcsRepo string `protobuf:"bytes,3,opt,name=ecs_repo,json=ecsRepo,proto3" json:"ecs_repo,omitempty"` EcsTaskExecutionRole string `protobuf:"bytes,4,opt,name=ecs_task_execution_role,json=ecsTaskExecutionRole,proto3" json:"ecs_task_execution_role,omitempty"` VpcId string `protobuf:"bytes,5,opt,name=vpc_id,json=vpcId,proto3" json:"vpc_id,omitempty"` // The role to assume when deploying to this environment O5DeployerAssumeRole string `protobuf:"bytes,9,opt,name=o5_deployer_assume_role,json=o5DeployerAssumeRole,proto3" json:"o5_deployer_assume_role,omitempty"` // The roles which a deployer service (e.g. o5 itself) should be allowed to // assume, when grant_meta_deploy_permissions is set in the application config O5DeployerGrantRoles []string `` /* 126-byte string literal not displayed */ // when set, adds a host header rule to all listener rules. For routes with // specified subdomains, the subdomain value is added as a prefix to this // value. // This allows re-use of the same listener for multiple (related) environments. HostHeader *string `protobuf:"bytes,6,opt,name=host_header,json=hostHeader,proto3,oneof" json:"host_header,omitempty"` RdsHosts []*RDSHost `protobuf:"bytes,7,rep,name=rds_hosts,json=rdsHosts,proto3" json:"rds_hosts,omitempty"` EnvironmentLinks []*AWSLink `protobuf:"bytes,8,rep,name=environment_links,json=environmentLinks,proto3" json:"environment_links,omitempty"` SnsPrefix string `protobuf:"bytes,12,opt,name=sns_prefix,json=snsPrefix,proto3" json:"sns_prefix,omitempty"` // Since S3 buckets must be globally unique for all AWS accounts and regions, // buckets are named {name}-{app name}-{region}-{s3_bucket_namespace} S3BucketNamespace string `protobuf:"bytes,14,opt,name=s3_bucket_namespace,json=s3BucketNamespace,proto3" json:"s3_bucket_namespace,omitempty"` GrantPrincipals []*AWSGrantPrincipal `protobuf:"bytes,13,rep,name=grant_principals,json=grantPrincipals,proto3" json:"grant_principals,omitempty"` Region string `protobuf:"bytes,15,opt,name=region,proto3" json:"region,omitempty"` SidecarImageVersion *string `` // defaults to latest /* 127-byte string literal not displayed */ SidecarImageRepo *string `protobuf:"bytes,17,opt,name=sidecar_image_repo,json=sidecarImageRepo,proto3,oneof" json:"sidecar_image_repo,omitempty"` // defaults to ghcr.io/pentops/o5-runtime-sidecar SesIdentity *SESIdentity `protobuf:"bytes,18,opt,name=ses_identity,json=sesIdentity,proto3" json:"ses_identity,omitempty"` // contains filtered or unexported fields }
func (*AWS) GetGrantPrincipals ¶
func (x *AWS) GetGrantPrincipals() []*AWSGrantPrincipal
func (*AWS) GetSesIdentity ¶
func (x *AWS) GetSesIdentity() *SESIdentity
func (*AWS) ProtoReflect ¶
func (x *AWS) ProtoReflect() protoreflect.Message
type AWSGrantPrincipal ¶
type AWSGrantPrincipal struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // maps to application.v1.Grant.principal RoleArn string `protobuf:"bytes,2,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"` // contains filtered or unexported fields }
func (*AWSGrantPrincipal) Descriptor
deprecated
func (*AWSGrantPrincipal) Descriptor() ([]byte, []int)
Deprecated: Use AWSGrantPrincipal.ProtoReflect.Descriptor instead.
func (*AWSGrantPrincipal) GetName ¶
func (x *AWSGrantPrincipal) GetName() string
func (*AWSGrantPrincipal) GetRoleArn ¶
func (x *AWSGrantPrincipal) GetRoleArn() string
func (*AWSGrantPrincipal) ProtoMessage ¶
func (*AWSGrantPrincipal) ProtoMessage()
func (*AWSGrantPrincipal) ProtoReflect ¶
func (x *AWSGrantPrincipal) ProtoReflect() protoreflect.Message
func (*AWSGrantPrincipal) Reset ¶
func (x *AWSGrantPrincipal) Reset()
func (*AWSGrantPrincipal) String ¶
func (x *AWSGrantPrincipal) String() string
type AWSLink ¶
type AWSLink struct { FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // used to match SnsPrefix string `protobuf:"bytes,2,opt,name=sns_prefix,json=snsPrefix,proto3" json:"sns_prefix,omitempty"` // contains filtered or unexported fields }
func (*AWSLink) ProtoReflect ¶
func (x *AWSLink) ProtoReflect() protoreflect.Message
type CustomVariable ¶
type CustomVariable struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // oneof, but logically, because repeated oneof isn't a thing // // Types that are assignable to Src: // // *CustomVariable_Value // *CustomVariable_Join_ Src isCustomVariable_Src `protobuf_oneof:"src"` // contains filtered or unexported fields }
func (*CustomVariable) Descriptor
deprecated
func (*CustomVariable) Descriptor() ([]byte, []int)
Deprecated: Use CustomVariable.ProtoReflect.Descriptor instead.
func (*CustomVariable) GetJoin ¶
func (x *CustomVariable) GetJoin() *CustomVariable_Join
func (*CustomVariable) GetName ¶
func (x *CustomVariable) GetName() string
func (*CustomVariable) GetSrc ¶
func (m *CustomVariable) GetSrc() isCustomVariable_Src
func (*CustomVariable) GetValue ¶
func (x *CustomVariable) GetValue() string
func (*CustomVariable) ProtoMessage ¶
func (*CustomVariable) ProtoMessage()
func (*CustomVariable) ProtoReflect ¶
func (x *CustomVariable) ProtoReflect() protoreflect.Message
func (*CustomVariable) Reset ¶
func (x *CustomVariable) Reset()
func (*CustomVariable) String ¶
func (x *CustomVariable) String() string
type CustomVariable_Join ¶
type CustomVariable_Join struct { Delimiter string `protobuf:"bytes,1,opt,name=delimiter,proto3" json:"delimiter,omitempty"` Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*CustomVariable_Join) Descriptor
deprecated
func (*CustomVariable_Join) Descriptor() ([]byte, []int)
Deprecated: Use CustomVariable_Join.ProtoReflect.Descriptor instead.
func (*CustomVariable_Join) GetDelimiter ¶
func (x *CustomVariable_Join) GetDelimiter() string
func (*CustomVariable_Join) GetValues ¶
func (x *CustomVariable_Join) GetValues() []string
func (*CustomVariable_Join) ProtoMessage ¶
func (*CustomVariable_Join) ProtoMessage()
func (*CustomVariable_Join) ProtoReflect ¶
func (x *CustomVariable_Join) ProtoReflect() protoreflect.Message
func (*CustomVariable_Join) Reset ¶
func (x *CustomVariable_Join) Reset()
func (*CustomVariable_Join) String ¶
func (x *CustomVariable_Join) String() string
type CustomVariable_Join_ ¶
type CustomVariable_Join_ struct {
Join *CustomVariable_Join `protobuf:"bytes,11,opt,name=join,proto3,oneof"`
}
type CustomVariable_Value ¶
type CustomVariable_Value struct {
Value string `protobuf:"bytes,10,opt,name=value,proto3,oneof"`
}
type Environment ¶
type Environment struct { FullName string `protobuf:"bytes,1,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // Types that are assignable to Provider: // // *Environment_Aws Provider isEnvironment_Provider `protobuf_oneof:"provider"` TrustJwks []string `protobuf:"bytes,3,rep,name=trust_jwks,json=trustJwks,proto3" json:"trust_jwks,omitempty"` Vars []*CustomVariable `protobuf:"bytes,2,rep,name=vars,proto3" json:"vars,omitempty"` // allowed cors origins, with wildcard support, e.g. https://*.example.com // other cors settings are implicit, or set via proto extensions in the // endpoints CorsOrigins []string `protobuf:"bytes,4,rep,name=cors_origins,json=corsOrigins,proto3" json:"cors_origins,omitempty"` // contains filtered or unexported fields }
func (*Environment) Descriptor
deprecated
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetAws ¶
func (x *Environment) GetAws() *AWS
func (*Environment) GetCorsOrigins ¶
func (x *Environment) GetCorsOrigins() []string
func (*Environment) GetFullName ¶
func (x *Environment) GetFullName() string
func (*Environment) GetProvider ¶
func (m *Environment) GetProvider() isEnvironment_Provider
func (*Environment) GetTrustJwks ¶
func (x *Environment) GetTrustJwks() []string
func (*Environment) GetVars ¶
func (x *Environment) GetVars() []*CustomVariable
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶
func (x *Environment) Reset()
func (*Environment) String ¶
func (x *Environment) String() string
type Environment_Aws ¶
type Environment_Aws struct {
Aws *AWS `protobuf:"bytes,10,opt,name=aws,proto3,oneof"`
}
type RDSHost ¶
type RDSHost struct { ServerGroup string `protobuf:"bytes,1,opt,name=server_group,json=serverGroup,proto3" json:"server_group,omitempty"` SecretName string `protobuf:"bytes,2,opt,name=secret_name,json=secretName,proto3" json:"secret_name,omitempty"` // contains filtered or unexported fields }
func (*RDSHost) ProtoReflect ¶
func (x *RDSHost) ProtoReflect() protoreflect.Message
type SESIdentity ¶
type SESIdentity struct { // use [*] for any, or [*.example.com] to restrict a domain. // Empty array means no permissions Senders []string `protobuf:"bytes,18,rep,name=senders,proto3" json:"senders,omitempty"` // use [*] for any, or [*.example.com] to restrict a domain. // Empty array means no permissions Recipients []string `protobuf:"bytes,19,rep,name=recipients,proto3" json:"recipients,omitempty"` // contains filtered or unexported fields }
func (*SESIdentity) Descriptor
deprecated
func (*SESIdentity) Descriptor() ([]byte, []int)
Deprecated: Use SESIdentity.ProtoReflect.Descriptor instead.
func (*SESIdentity) GetRecipients ¶
func (x *SESIdentity) GetRecipients() []string
func (*SESIdentity) GetSenders ¶
func (x *SESIdentity) GetSenders() []string
func (*SESIdentity) ProtoMessage ¶
func (*SESIdentity) ProtoMessage()
func (*SESIdentity) ProtoReflect ¶
func (x *SESIdentity) ProtoReflect() protoreflect.Message
func (*SESIdentity) Reset ¶
func (x *SESIdentity) Reset()
func (*SESIdentity) String ¶
func (x *SESIdentity) String() string
Click to show internal directories.
Click to hide internal directories.