Documentation
¶
Index ¶
- type AwsIdentity
- type AwsPolicyDocument
- type AwsPolicyDocumentStatement
- type AwsRoleName
- type AzureIdentity
- type AzureRoleAssignment
- type GcpIdentity
- type GcpIdentityBindings
- type GcpRoleName
- type Identity
- type MemcacheAccess
- type MemcacheAccessRole
- type NativeNetworkResource
- type NativeNetworkResourceAwsPrivateLink
- type NativeNetworkResourceGcpServiceConnect
- type NetworkResource
- type NgsIdentity
- type NgsIdentityPub
- type NgsIdentityResp
- type NgsIdentitySub
- type PolicyRef
- type SpicedbAccess
- type SpicedbAccessRole
- type Status
- type StatusAws
- type StatusAzure
- type StatusGcp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsIdentity ¶
type AwsIdentity struct {
CloudAccountLink string `json:"cloudAccountLink,omitempty"`
PolicyRefs []PolicyRef `json:"policyRefs,omitempty"`
TrustPolicy AwsPolicyDocument `json:"trustPolicy,omitempty"`
RoleName AwsRoleName `json:"roleName,omitempty"`
}
type AwsPolicyDocument ¶
type AwsPolicyDocument struct {
Version string `json:"version,omitempty"`
Statement []AwsPolicyDocumentStatement `json:"statement,omitempty"`
}
type AwsRoleName ¶
type AwsRoleName string
type AzureIdentity ¶
type AzureIdentity struct {
CloudAccountLink string `json:"cloudAccountLink,omitempty"`
RoleAssignments []AzureRoleAssignment `json:"roleAssignments,omitempty"`
}
type AzureRoleAssignment ¶
type GcpIdentity ¶
type GcpIdentity struct {
CloudAccountLink string `json:"cloudAccountLink,omitempty"`
Scopes []string `json:"scopes,omitempty"`
ServiceAccount string `json:"serviceAccount,omitempty"`
Bindings []GcpIdentityBindings `json:"bindings,omitempty"`
}
type GcpIdentityBindings ¶
type GcpIdentityBindings struct {
Resource string `json:"resource,omitempty"`
Roles []GcpRoleName `json:"roles,omitempty"`
}
type GcpRoleName ¶
type GcpRoleName string
type Identity ¶
type Identity struct {
Id string `json:"id,omitempty"`
Name base.Name `json:"name,omitempty"`
Kind base.Kind `json:"kind,omitempty"`
Version float32 `json:"version"`
Description string `json:"description,omitempty"`
Tags base.Tags `json:"tags,omitempty"`
Created string `json:"created,omitempty"`
LastModified string `json:"lastModified,omitempty"`
Links base.Links `json:"links,omitempty"`
Aws AwsIdentity `json:"aws,omitempty"`
Gcp GcpIdentity `json:"gcp,omitempty"`
Azure AzureIdentity `json:"azure,omitempty"`
Ngs NgsIdentity `json:"ngs,omitempty"`
NetworkResources []NetworkResource `json:"networkResources,omitempty"`
NativeNetworkResources []NativeNetworkResource `json:"nativeNetworkResources,omitempty"`
MemcacheAccess []MemcacheAccess `json:"memcacheAccess,omitempty"`
SpicedbAccess []SpicedbAccess `json:"spicedbAccess,omitempty"`
Status Status `json:"status,omitempty"`
Gvc any `json:"gvc,omitempty"`
}
type MemcacheAccess ¶
type MemcacheAccess struct {
ClusterLink string `json:"clusterLink,omitempty"`
Role MemcacheAccessRole `json:"role,omitempty"`
}
type MemcacheAccessRole ¶
type MemcacheAccessRole string
const (
MemcacheAccessRoleReadWrite MemcacheAccessRole = "readWrite"
)
type NativeNetworkResource ¶
type NativeNetworkResource struct {
Name any `json:"name,omitempty"`
FQDN string `json:"fQDN,omitempty"`
Ports []float32 `json:"ports,omitempty"`
AwsPrivateLink NativeNetworkResourceAwsPrivateLink `json:"awsPrivateLink,omitempty"`
GcpServiceConnect NativeNetworkResourceGcpServiceConnect `json:"gcpServiceConnect,omitempty"`
}
type NativeNetworkResourceAwsPrivateLink ¶
type NativeNetworkResourceAwsPrivateLink struct {
EndpointServiceName string `json:"endpointServiceName,omitempty"`
}
type NativeNetworkResourceGcpServiceConnect ¶
type NativeNetworkResourceGcpServiceConnect struct {
TargetService string `json:"targetService,omitempty"`
}
type NetworkResource ¶
type NgsIdentity ¶
type NgsIdentity struct {
CloudAccountLink string `json:"cloudAccountLink,omitempty"`
Pub NgsIdentityPub `json:"pub,omitempty"`
Sub NgsIdentitySub `json:"sub,omitempty"`
Resp NgsIdentityResp `json:"resp,omitempty"`
Subs float32 `json:"subs"`
Data float32 `json:"data"`
Payload float32 `json:"payload"`
}
type NgsIdentityPub ¶
type NgsIdentityResp ¶
type NgsIdentitySub ¶
type SpicedbAccess ¶
type SpicedbAccess struct {
ClusterLink string `json:"clusterLink,omitempty"`
Role SpicedbAccessRole `json:"role,omitempty"`
}
type SpicedbAccessRole ¶
type SpicedbAccessRole string
const ( SpicedbAccessRoleCheckPermission SpicedbAccessRole = "checkPermission" SpicedbAccessRoleRead SpicedbAccessRole = "read" SpicedbAccessRoleWrite SpicedbAccessRole = "write" )
type Status ¶
type Status struct {
ObjectName string `json:"objectName,omitempty"`
Aws StatusAws `json:"aws,omitempty"`
Gcp StatusGcp `json:"gcp,omitempty"`
Azure StatusAzure `json:"azure,omitempty"`
}
type StatusAzure ¶
Click to show internal directories.
Click to hide internal directories.