authv1

package
v0.15.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AuditLevel_name = map[int32]string{
		0: "AUDIT_LEVEL_UNSPECIFIED",
		1: "AUDIT_LEVEL_ERRORS",
		2: "AUDIT_LEVEL_ALL",
	}
	AuditLevel_value = map[string]int32{
		"AUDIT_LEVEL_UNSPECIFIED": 0,
		"AUDIT_LEVEL_ERRORS":      1,
		"AUDIT_LEVEL_ALL":         2,
	}
)

Enum value maps for AuditLevel.

View Source
var (
	FeaturePermission_name = map[int32]string{
		0: "FEATURE_PERMISSION_UNSPECIFIED",
		1: "FEATURE_PERMISSION_ALLOW",
		2: "FEATURE_PERMISSION_ALLOW_INTERNAL",
		3: "FEATURE_PERMISSION_DENY",
	}
	FeaturePermission_value = map[string]int32{
		"FEATURE_PERMISSION_UNSPECIFIED":    0,
		"FEATURE_PERMISSION_ALLOW":          1,
		"FEATURE_PERMISSION_ALLOW_INTERNAL": 2,
		"FEATURE_PERMISSION_DENY":           3,
	}
)

Enum value maps for FeaturePermission.

View Source
var (
	Permission_name = map[int32]string{
		0:  "PERMISSION_UNSPECIFIED",
		1:  "PERMISSION_INSECURE_UNAUTHENTICATED",
		2:  "PERMISSION_AUTHENTICATED",
		3:  "PERMISSION_QUERY_ONLINE",
		4:  "PERMISSION_QUERY_OFFLINE",
		5:  "PERMISSION_MONITORING_CREATE",
		6:  "PERMISSION_MONITORING_READ",
		7:  "PERMISSION_TEAM_ADD",
		8:  "PERMISSION_TEAM_DELETE",
		9:  "PERMISSION_TEAM_LIST",
		10: "PERMISSION_TEAM_ADMIN",
		11: "PERMISSION_DEPLOY_READ",
		12: "PERMISSION_DEPLOY_CREATE",
		13: "PERMISSION_DEPLOY_PREVIEW",
		14: "PERMISSION_DEPLOY_REDEPLOY",
		15: "PERMISSION_LOGS_LIST",
		16: "PERMISSION_CRON_READ",
		17: "PERMISSION_CRON_CREATE",
		18: "PERMISSION_SECRETS_WRITE",
		19: "PERMISSION_SECRETS_DECRYPT",
		20: "PERMISSION_SECRETS_LIST",
		21: "PERMISSION_TOKENS_WRITE",
		22: "PERMISSION_TOKENS_LIST",
		23: "PERMISSION_MIGRATE_READ",
		24: "PERMISSION_MIGRATE_PLAN",
		25: "PERMISSION_MIGRATE_EXECUTE",
		26: "PERMISSION_PROJECT_CREATE",
		27: "PERMISSION_CHALK_ADMIN",
	}
	Permission_value = map[string]int32{
		"PERMISSION_UNSPECIFIED":              0,
		"PERMISSION_INSECURE_UNAUTHENTICATED": 1,
		"PERMISSION_AUTHENTICATED":            2,
		"PERMISSION_QUERY_ONLINE":             3,
		"PERMISSION_QUERY_OFFLINE":            4,
		"PERMISSION_MONITORING_CREATE":        5,
		"PERMISSION_MONITORING_READ":          6,
		"PERMISSION_TEAM_ADD":                 7,
		"PERMISSION_TEAM_DELETE":              8,
		"PERMISSION_TEAM_LIST":                9,
		"PERMISSION_TEAM_ADMIN":               10,
		"PERMISSION_DEPLOY_READ":              11,
		"PERMISSION_DEPLOY_CREATE":            12,
		"PERMISSION_DEPLOY_PREVIEW":           13,
		"PERMISSION_DEPLOY_REDEPLOY":          14,
		"PERMISSION_LOGS_LIST":                15,
		"PERMISSION_CRON_READ":                16,
		"PERMISSION_CRON_CREATE":              17,
		"PERMISSION_SECRETS_WRITE":            18,
		"PERMISSION_SECRETS_DECRYPT":          19,
		"PERMISSION_SECRETS_LIST":             20,
		"PERMISSION_TOKENS_WRITE":             21,
		"PERMISSION_TOKENS_LIST":              22,
		"PERMISSION_MIGRATE_READ":             23,
		"PERMISSION_MIGRATE_PLAN":             24,
		"PERMISSION_MIGRATE_EXECUTE":          25,
		"PERMISSION_PROJECT_CREATE":           26,
		"PERMISSION_CHALK_ADMIN":              27,
	}
)

Enum value maps for Permission.

View Source
var (
	// optional chalk.auth.v1.AuditOptions audit = 30001;
	E_Audit = &file_chalk_auth_v1_audit_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional chalk.auth.v1.Permission permission = 2000;
	E_Permission = &file_chalk_auth_v1_permissions_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_chalk_auth_v1_agent_proto protoreflect.FileDescriptor
View Source
var File_chalk_auth_v1_audit_proto protoreflect.FileDescriptor
View Source
var File_chalk_auth_v1_displayagent_proto protoreflect.FileDescriptor
View Source
var File_chalk_auth_v1_featurepermission_proto protoreflect.FileDescriptor
View Source
var File_chalk_auth_v1_permissions_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Agent

type Agent struct {

	// Types that are assignable to Agent:
	//
	//	*Agent_UserAgent
	//	*Agent_ServiceTokenAgent
	//	*Agent_EngineAgent
	//	*Agent_TenantAgent
	//	*Agent_MetadataServiceAgent
	Agent isAgent_Agent `protobuf_oneof:"agent"`
	// contains filtered or unexported fields
}

func (*Agent) Descriptor deprecated

func (*Agent) Descriptor() ([]byte, []int)

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetAgent

func (m *Agent) GetAgent() isAgent_Agent

func (*Agent) GetEngineAgent

func (x *Agent) GetEngineAgent() *EngineAgent

func (*Agent) GetMetadataServiceAgent added in v0.11.5

func (x *Agent) GetMetadataServiceAgent() *MetadataServiceAgent

func (*Agent) GetServiceTokenAgent

func (x *Agent) GetServiceTokenAgent() *ServiceTokenAgent

func (*Agent) GetTenantAgent

func (x *Agent) GetTenantAgent() *TenantAgent

func (*Agent) GetUserAgent

func (x *Agent) GetUserAgent() *UserAgent

func (*Agent) ProtoMessage

func (*Agent) ProtoMessage()

func (*Agent) ProtoReflect

func (x *Agent) ProtoReflect() protoreflect.Message

func (*Agent) Reset

func (x *Agent) Reset()

func (*Agent) String

func (x *Agent) String() string

type Agent_EngineAgent

type Agent_EngineAgent struct {
	EngineAgent *EngineAgent `protobuf:"bytes,3,opt,name=engine_agent,json=engineAgent,proto3,oneof"`
}

type Agent_MetadataServiceAgent added in v0.11.5

type Agent_MetadataServiceAgent struct {
	MetadataServiceAgent *MetadataServiceAgent `protobuf:"bytes,5,opt,name=metadata_service_agent,json=metadataServiceAgent,proto3,oneof"`
}

type Agent_ServiceTokenAgent

type Agent_ServiceTokenAgent struct {
	ServiceTokenAgent *ServiceTokenAgent `protobuf:"bytes,2,opt,name=service_token_agent,json=serviceTokenAgent,proto3,oneof"`
}

type Agent_TenantAgent

type Agent_TenantAgent struct {
	TenantAgent *TenantAgent `protobuf:"bytes,4,opt,name=tenant_agent,json=tenantAgent,proto3,oneof"`
}

type Agent_UserAgent

type Agent_UserAgent struct {
	UserAgent *UserAgent `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3,oneof"`
}

type AuditLevel added in v0.8.3

type AuditLevel int32
const (
	AuditLevel_AUDIT_LEVEL_UNSPECIFIED AuditLevel = 0
	AuditLevel_AUDIT_LEVEL_ERRORS      AuditLevel = 1
	AuditLevel_AUDIT_LEVEL_ALL         AuditLevel = 2
)

func (AuditLevel) Descriptor added in v0.8.3

func (AuditLevel) Descriptor() protoreflect.EnumDescriptor

func (AuditLevel) Enum added in v0.8.3

func (x AuditLevel) Enum() *AuditLevel

func (AuditLevel) EnumDescriptor deprecated added in v0.8.3

func (AuditLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuditLevel.Descriptor instead.

func (AuditLevel) Number added in v0.8.3

func (x AuditLevel) Number() protoreflect.EnumNumber

func (AuditLevel) String added in v0.8.3

func (x AuditLevel) String() string

func (AuditLevel) Type added in v0.8.3

type AuditOptions added in v0.8.3

type AuditOptions struct {
	Level       AuditLevel `protobuf:"varint,1,opt,name=level,proto3,enum=chalk.auth.v1.AuditLevel" json:"level,omitempty"`
	Description string     `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditOptions) Descriptor deprecated added in v0.8.3

func (*AuditOptions) Descriptor() ([]byte, []int)

Deprecated: Use AuditOptions.ProtoReflect.Descriptor instead.

func (*AuditOptions) GetDescription added in v0.8.3

func (x *AuditOptions) GetDescription() string

func (*AuditOptions) GetLevel added in v0.8.3

func (x *AuditOptions) GetLevel() AuditLevel

func (*AuditOptions) ProtoMessage added in v0.8.3

func (*AuditOptions) ProtoMessage()

func (*AuditOptions) ProtoReflect added in v0.8.3

func (x *AuditOptions) ProtoReflect() protoreflect.Message

func (*AuditOptions) Reset added in v0.8.3

func (x *AuditOptions) Reset()

func (*AuditOptions) String added in v0.8.3

func (x *AuditOptions) String() string

type CustomClaim added in v0.4.7

type CustomClaim struct {
	Key    string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomClaim) Descriptor deprecated added in v0.4.7

func (*CustomClaim) Descriptor() ([]byte, []int)

Deprecated: Use CustomClaim.ProtoReflect.Descriptor instead.

func (*CustomClaim) GetKey added in v0.4.7

func (x *CustomClaim) GetKey() string

func (*CustomClaim) GetValues added in v0.4.7

func (x *CustomClaim) GetValues() []string

func (*CustomClaim) ProtoMessage added in v0.4.7

func (*CustomClaim) ProtoMessage()

func (*CustomClaim) ProtoReflect added in v0.4.7

func (x *CustomClaim) ProtoReflect() protoreflect.Message

func (*CustomClaim) Reset added in v0.4.7

func (x *CustomClaim) Reset()

func (*CustomClaim) String added in v0.4.7

func (x *CustomClaim) String() string

type DisplayAgent

type DisplayAgent struct {

	// Types that are assignable to Agent:
	//
	//	*DisplayAgent_UserAgent
	//	*DisplayAgent_ServiceTokenAgent
	//	*DisplayAgent_EngineAgent
	//	*DisplayAgent_TenantAgent
	//	*DisplayAgent_MetadataServiceAgent
	Agent isDisplayAgent_Agent `protobuf_oneof:"agent"`
	// contains filtered or unexported fields
}

func (*DisplayAgent) Descriptor deprecated

func (*DisplayAgent) Descriptor() ([]byte, []int)

Deprecated: Use DisplayAgent.ProtoReflect.Descriptor instead.

func (*DisplayAgent) GetAgent

func (m *DisplayAgent) GetAgent() isDisplayAgent_Agent

func (*DisplayAgent) GetEngineAgent

func (x *DisplayAgent) GetEngineAgent() *DisplayEngineAgent

func (*DisplayAgent) GetMetadataServiceAgent added in v0.11.5

func (x *DisplayAgent) GetMetadataServiceAgent() *DisplayMetadataServiceAgent

func (*DisplayAgent) GetServiceTokenAgent

func (x *DisplayAgent) GetServiceTokenAgent() *DisplayServiceTokenAgent

func (*DisplayAgent) GetTenantAgent

func (x *DisplayAgent) GetTenantAgent() *DisplayTenantAgent

func (*DisplayAgent) GetUserAgent

func (x *DisplayAgent) GetUserAgent() *DisplayUserAgent

func (*DisplayAgent) ProtoMessage

func (*DisplayAgent) ProtoMessage()

func (*DisplayAgent) ProtoReflect

func (x *DisplayAgent) ProtoReflect() protoreflect.Message

func (*DisplayAgent) Reset

func (x *DisplayAgent) Reset()

func (*DisplayAgent) String

func (x *DisplayAgent) String() string

type DisplayAgent_EngineAgent

type DisplayAgent_EngineAgent struct {
	EngineAgent *DisplayEngineAgent `protobuf:"bytes,3,opt,name=engine_agent,json=engineAgent,proto3,oneof"`
}

type DisplayAgent_MetadataServiceAgent added in v0.11.5

type DisplayAgent_MetadataServiceAgent struct {
	MetadataServiceAgent *DisplayMetadataServiceAgent `protobuf:"bytes,5,opt,name=metadata_service_agent,json=metadataServiceAgent,proto3,oneof"`
}

type DisplayAgent_ServiceTokenAgent

type DisplayAgent_ServiceTokenAgent struct {
	ServiceTokenAgent *DisplayServiceTokenAgent `protobuf:"bytes,2,opt,name=service_token_agent,json=serviceTokenAgent,proto3,oneof"`
}

type DisplayAgent_TenantAgent

type DisplayAgent_TenantAgent struct {
	TenantAgent *DisplayTenantAgent `protobuf:"bytes,4,opt,name=tenant_agent,json=tenantAgent,proto3,oneof"`
}

type DisplayAgent_UserAgent

type DisplayAgent_UserAgent struct {
	UserAgent *DisplayUserAgent `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3,oneof"`
}

type DisplayCustomClaim added in v0.4.7

type DisplayCustomClaim struct {
	Key    string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*DisplayCustomClaim) Descriptor deprecated added in v0.4.7

func (*DisplayCustomClaim) Descriptor() ([]byte, []int)

Deprecated: Use DisplayCustomClaim.ProtoReflect.Descriptor instead.

func (*DisplayCustomClaim) GetKey added in v0.4.7

func (x *DisplayCustomClaim) GetKey() string

func (*DisplayCustomClaim) GetValues added in v0.4.7

func (x *DisplayCustomClaim) GetValues() []string

func (*DisplayCustomClaim) ProtoMessage added in v0.4.7

func (*DisplayCustomClaim) ProtoMessage()

func (*DisplayCustomClaim) ProtoReflect added in v0.4.7

func (x *DisplayCustomClaim) ProtoReflect() protoreflect.Message

func (*DisplayCustomClaim) Reset added in v0.4.7

func (x *DisplayCustomClaim) Reset()

func (*DisplayCustomClaim) String added in v0.4.7

func (x *DisplayCustomClaim) String() string

type DisplayEngineAgent

type DisplayEngineAgent struct {
	Id              string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TeamId          string `protobuf:"bytes,2,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	ProjectId       string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	EnvironmentId   string `protobuf:"bytes,4,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	Impersonated    bool   `protobuf:"varint,5,opt,name=impersonated,proto3" json:"impersonated,omitempty"`
	TeamName        string `protobuf:"bytes,6,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"`
	ProjectName     string `protobuf:"bytes,7,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	EnvironmentName string `protobuf:"bytes,8,opt,name=environment_name,json=environmentName,proto3" json:"environment_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DisplayEngineAgent) Descriptor deprecated

func (*DisplayEngineAgent) Descriptor() ([]byte, []int)

Deprecated: Use DisplayEngineAgent.ProtoReflect.Descriptor instead.

func (*DisplayEngineAgent) GetEnvironmentId

func (x *DisplayEngineAgent) GetEnvironmentId() string

func (*DisplayEngineAgent) GetEnvironmentName

func (x *DisplayEngineAgent) GetEnvironmentName() string

func (*DisplayEngineAgent) GetId

func (x *DisplayEngineAgent) GetId() string

func (*DisplayEngineAgent) GetImpersonated

func (x *DisplayEngineAgent) GetImpersonated() bool

func (*DisplayEngineAgent) GetProjectId

func (x *DisplayEngineAgent) GetProjectId() string

func (*DisplayEngineAgent) GetProjectName

func (x *DisplayEngineAgent) GetProjectName() string

func (*DisplayEngineAgent) GetTeamId

func (x *DisplayEngineAgent) GetTeamId() string

func (*DisplayEngineAgent) GetTeamName

func (x *DisplayEngineAgent) GetTeamName() string

func (*DisplayEngineAgent) ProtoMessage

func (*DisplayEngineAgent) ProtoMessage()

func (*DisplayEngineAgent) ProtoReflect

func (x *DisplayEngineAgent) ProtoReflect() protoreflect.Message

func (*DisplayEngineAgent) Reset

func (x *DisplayEngineAgent) Reset()

func (*DisplayEngineAgent) String

func (x *DisplayEngineAgent) String() string

type DisplayEnvironmentPermissions

type DisplayEnvironmentPermissions struct {
	EnvironmentId   string               `protobuf:"bytes,1,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	EnvironmentName string               `protobuf:"bytes,2,opt,name=environment_name,json=environmentName,proto3" json:"environment_name,omitempty"`
	ProjectId       string               `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ProjectName     string               `protobuf:"bytes,4,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	Permissions     []*DisplayPermission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*DisplayEnvironmentPermissions) Descriptor deprecated

func (*DisplayEnvironmentPermissions) Descriptor() ([]byte, []int)

Deprecated: Use DisplayEnvironmentPermissions.ProtoReflect.Descriptor instead.

func (*DisplayEnvironmentPermissions) GetEnvironmentId

func (x *DisplayEnvironmentPermissions) GetEnvironmentId() string

func (*DisplayEnvironmentPermissions) GetEnvironmentName

func (x *DisplayEnvironmentPermissions) GetEnvironmentName() string

func (*DisplayEnvironmentPermissions) GetPermissions

func (x *DisplayEnvironmentPermissions) GetPermissions() []*DisplayPermission

func (*DisplayEnvironmentPermissions) GetProjectId

func (x *DisplayEnvironmentPermissions) GetProjectId() string

func (*DisplayEnvironmentPermissions) GetProjectName

func (x *DisplayEnvironmentPermissions) GetProjectName() string

func (*DisplayEnvironmentPermissions) ProtoMessage

func (*DisplayEnvironmentPermissions) ProtoMessage()

func (*DisplayEnvironmentPermissions) ProtoReflect

func (*DisplayEnvironmentPermissions) Reset

func (x *DisplayEnvironmentPermissions) Reset()

func (*DisplayEnvironmentPermissions) String

type DisplayMetadataServiceAgent added in v0.11.5

type DisplayMetadataServiceAgent struct {
	// contains filtered or unexported fields
}

func (*DisplayMetadataServiceAgent) Descriptor deprecated added in v0.11.5

func (*DisplayMetadataServiceAgent) Descriptor() ([]byte, []int)

Deprecated: Use DisplayMetadataServiceAgent.ProtoReflect.Descriptor instead.

func (*DisplayMetadataServiceAgent) ProtoMessage added in v0.11.5

func (*DisplayMetadataServiceAgent) ProtoMessage()

func (*DisplayMetadataServiceAgent) ProtoReflect added in v0.11.5

func (*DisplayMetadataServiceAgent) Reset added in v0.11.5

func (x *DisplayMetadataServiceAgent) Reset()

func (*DisplayMetadataServiceAgent) String added in v0.11.5

func (x *DisplayMetadataServiceAgent) String() string

type DisplayPermission

type DisplayPermission struct {
	Name       string     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Permission Permission `protobuf:"varint,2,opt,name=permission,proto3,enum=chalk.auth.v1.Permission" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*DisplayPermission) Descriptor deprecated

func (*DisplayPermission) Descriptor() ([]byte, []int)

Deprecated: Use DisplayPermission.ProtoReflect.Descriptor instead.

func (*DisplayPermission) GetName

func (x *DisplayPermission) GetName() string

func (*DisplayPermission) GetPermission

func (x *DisplayPermission) GetPermission() Permission

func (*DisplayPermission) ProtoMessage

func (*DisplayPermission) ProtoMessage()

func (*DisplayPermission) ProtoReflect

func (x *DisplayPermission) ProtoReflect() protoreflect.Message

func (*DisplayPermission) Reset

func (x *DisplayPermission) Reset()

func (*DisplayPermission) String

func (x *DisplayPermission) String() string

type DisplayServiceTokenAgent

type DisplayServiceTokenAgent struct {
	Id                 string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ClientId           string                 `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	TeamId             string                 `protobuf:"bytes,3,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	ProjectId          string                 `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	EnvironmentId      string                 `protobuf:"bytes,5,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	Permissions        []*DisplayPermission   `protobuf:"bytes,6,rep,name=permissions,proto3" json:"permissions,omitempty"`
	Name               string                 `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	TeamName           string                 `protobuf:"bytes,8,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"`
	ProjectName        string                 `protobuf:"bytes,9,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	EnvironmentName    string                 `protobuf:"bytes,10,opt,name=environment_name,json=environmentName,proto3" json:"environment_name,omitempty"`
	CustomerClaims     []*DisplayCustomClaim  `protobuf:"bytes,11,rep,name=customer_claims,json=customerClaims,proto3" json:"customer_claims,omitempty"`
	FeaturePermissions *FeaturePermissions    `protobuf:"bytes,12,opt,name=feature_permissions,json=featurePermissions,proto3" json:"feature_permissions,omitempty"`
	CreatedAt          *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*DisplayServiceTokenAgent) Descriptor deprecated

func (*DisplayServiceTokenAgent) Descriptor() ([]byte, []int)

Deprecated: Use DisplayServiceTokenAgent.ProtoReflect.Descriptor instead.

func (*DisplayServiceTokenAgent) GetClientId

func (x *DisplayServiceTokenAgent) GetClientId() string

func (*DisplayServiceTokenAgent) GetCreatedAt added in v0.7.4

func (x *DisplayServiceTokenAgent) GetCreatedAt() *timestamppb.Timestamp

func (*DisplayServiceTokenAgent) GetCustomerClaims added in v0.4.7

func (x *DisplayServiceTokenAgent) GetCustomerClaims() []*DisplayCustomClaim

func (*DisplayServiceTokenAgent) GetEnvironmentId

func (x *DisplayServiceTokenAgent) GetEnvironmentId() string

func (*DisplayServiceTokenAgent) GetEnvironmentName

func (x *DisplayServiceTokenAgent) GetEnvironmentName() string

func (*DisplayServiceTokenAgent) GetFeaturePermissions added in v0.6.1

func (x *DisplayServiceTokenAgent) GetFeaturePermissions() *FeaturePermissions

func (*DisplayServiceTokenAgent) GetId

func (x *DisplayServiceTokenAgent) GetId() string

func (*DisplayServiceTokenAgent) GetName

func (x *DisplayServiceTokenAgent) GetName() string

func (*DisplayServiceTokenAgent) GetPermissions

func (x *DisplayServiceTokenAgent) GetPermissions() []*DisplayPermission

func (*DisplayServiceTokenAgent) GetProjectId

func (x *DisplayServiceTokenAgent) GetProjectId() string

func (*DisplayServiceTokenAgent) GetProjectName

func (x *DisplayServiceTokenAgent) GetProjectName() string

func (*DisplayServiceTokenAgent) GetTeamId

func (x *DisplayServiceTokenAgent) GetTeamId() string

func (*DisplayServiceTokenAgent) GetTeamName

func (x *DisplayServiceTokenAgent) GetTeamName() string

func (*DisplayServiceTokenAgent) ProtoMessage

func (*DisplayServiceTokenAgent) ProtoMessage()

func (*DisplayServiceTokenAgent) ProtoReflect

func (x *DisplayServiceTokenAgent) ProtoReflect() protoreflect.Message

func (*DisplayServiceTokenAgent) Reset

func (x *DisplayServiceTokenAgent) Reset()

func (*DisplayServiceTokenAgent) String

func (x *DisplayServiceTokenAgent) String() string

type DisplayTenantAgent

type DisplayTenantAgent struct {
	// contains filtered or unexported fields
}

func (*DisplayTenantAgent) Descriptor deprecated

func (*DisplayTenantAgent) Descriptor() ([]byte, []int)

Deprecated: Use DisplayTenantAgent.ProtoReflect.Descriptor instead.

func (*DisplayTenantAgent) ProtoMessage

func (*DisplayTenantAgent) ProtoMessage()

func (*DisplayTenantAgent) ProtoReflect

func (x *DisplayTenantAgent) ProtoReflect() protoreflect.Message

func (*DisplayTenantAgent) Reset

func (x *DisplayTenantAgent) Reset()

func (*DisplayTenantAgent) String

func (x *DisplayTenantAgent) String() string

type DisplayUserAgent

type DisplayUserAgent struct {

	// Deprecated: Marked as deprecated in chalk/auth/v1/displayagent.proto.
	ClientId                 string                           `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	UserId                   string                           `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	TeamId                   string                           `protobuf:"bytes,3,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	PermissionsByEnvironment []*DisplayEnvironmentPermissions `` /* 135-byte string literal not displayed */
	Impersonated             bool                             `protobuf:"varint,5,opt,name=impersonated,proto3" json:"impersonated,omitempty"`
	Name                     string                           `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Email                    string                           `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"`
	TeamName                 string                           `protobuf:"bytes,8,opt,name=team_name,json=teamName,proto3" json:"team_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DisplayUserAgent) Descriptor deprecated

func (*DisplayUserAgent) Descriptor() ([]byte, []int)

Deprecated: Use DisplayUserAgent.ProtoReflect.Descriptor instead.

func (*DisplayUserAgent) GetClientId deprecated

func (x *DisplayUserAgent) GetClientId() string

Deprecated: Marked as deprecated in chalk/auth/v1/displayagent.proto.

func (*DisplayUserAgent) GetEmail

func (x *DisplayUserAgent) GetEmail() string

func (*DisplayUserAgent) GetImpersonated

func (x *DisplayUserAgent) GetImpersonated() bool

func (*DisplayUserAgent) GetName

func (x *DisplayUserAgent) GetName() string

func (*DisplayUserAgent) GetPermissionsByEnvironment

func (x *DisplayUserAgent) GetPermissionsByEnvironment() []*DisplayEnvironmentPermissions

func (*DisplayUserAgent) GetTeamId

func (x *DisplayUserAgent) GetTeamId() string

func (*DisplayUserAgent) GetTeamName

func (x *DisplayUserAgent) GetTeamName() string

func (*DisplayUserAgent) GetUserId

func (x *DisplayUserAgent) GetUserId() string

func (*DisplayUserAgent) ProtoMessage

func (*DisplayUserAgent) ProtoMessage()

func (*DisplayUserAgent) ProtoReflect

func (x *DisplayUserAgent) ProtoReflect() protoreflect.Message

func (*DisplayUserAgent) Reset

func (x *DisplayUserAgent) Reset()

func (*DisplayUserAgent) String

func (x *DisplayUserAgent) String() string

type EngineAgent

type EngineAgent struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	TeamId        string `protobuf:"bytes,2,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	ProjectId     string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	EnvironmentId string `protobuf:"bytes,4,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"`
	Impersonated  bool   `protobuf:"varint,5,opt,name=impersonated,proto3" json:"impersonated,omitempty"`
	// contains filtered or unexported fields
}

func (*EngineAgent) Descriptor deprecated

func (*EngineAgent) Descriptor() ([]byte, []int)

Deprecated: Use EngineAgent.ProtoReflect.Descriptor instead.

func (*EngineAgent) GetEnvironmentId

func (x *EngineAgent) GetEnvironmentId() string

func (*EngineAgent) GetId

func (x *EngineAgent) GetId() string

func (*EngineAgent) GetImpersonated

func (x *EngineAgent) GetImpersonated() bool

func (*EngineAgent) GetProjectId

func (x *EngineAgent) GetProjectId() string

func (*EngineAgent) GetTeamId

func (x *EngineAgent) GetTeamId() string

func (*EngineAgent) ProtoMessage

func (*EngineAgent) ProtoMessage()

func (*EngineAgent) ProtoReflect

func (x *EngineAgent) ProtoReflect() protoreflect.Message

func (*EngineAgent) Reset

func (x *EngineAgent) Reset()

func (*EngineAgent) String

func (x *EngineAgent) String() string

type EnvironmentPermissions

type EnvironmentPermissions struct {
	Permissions        []Permission        `protobuf:"varint,2,rep,packed,name=permissions,proto3,enum=chalk.auth.v1.Permission" json:"permissions,omitempty"`
	FeaturePermissions *FeaturePermissions `protobuf:"bytes,3,opt,name=feature_permissions,json=featurePermissions,proto3" json:"feature_permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvironmentPermissions) Descriptor deprecated

func (*EnvironmentPermissions) Descriptor() ([]byte, []int)

Deprecated: Use EnvironmentPermissions.ProtoReflect.Descriptor instead.

func (*EnvironmentPermissions) GetFeaturePermissions added in v0.6.1

func (x *EnvironmentPermissions) GetFeaturePermissions() *FeaturePermissions

func (*EnvironmentPermissions) GetPermissions

func (x *EnvironmentPermissions) GetPermissions() []Permission

func (*EnvironmentPermissions) ProtoMessage

func (*EnvironmentPermissions) ProtoMessage()

func (*EnvironmentPermissions) ProtoReflect

func (x *EnvironmentPermissions) ProtoReflect() protoreflect.Message

func (*EnvironmentPermissions) Reset

func (x *EnvironmentPermissions) Reset()

func (*EnvironmentPermissions) String

func (x *EnvironmentPermissions) String() string

type FeaturePermission added in v0.6.1

type FeaturePermission int32
const (
	FeaturePermission_FEATURE_PERMISSION_UNSPECIFIED FeaturePermission = 0
	// Allow unfettered access to the feature.
	// This permission is the default permission for all features.
	FeaturePermission_FEATURE_PERMISSION_ALLOW FeaturePermission = 1
	// Allow access to the feature only within a query plan,
	// and do not return the feature to the client directly.
	FeaturePermission_FEATURE_PERMISSION_ALLOW_INTERNAL FeaturePermission = 2
	// Deny access to the feature, even if the user hasn't requested
	// access to this feature directly, but needs the feature to compute
	// the result of the query.
	FeaturePermission_FEATURE_PERMISSION_DENY FeaturePermission = 3
)

func (FeaturePermission) Descriptor added in v0.6.1

func (FeaturePermission) Enum added in v0.6.1

func (FeaturePermission) EnumDescriptor deprecated added in v0.6.1

func (FeaturePermission) EnumDescriptor() ([]byte, []int)

Deprecated: Use FeaturePermission.Descriptor instead.

func (FeaturePermission) Number added in v0.6.1

func (FeaturePermission) String added in v0.6.1

func (x FeaturePermission) String() string

func (FeaturePermission) Type added in v0.6.1

type FeaturePermissions added in v0.6.1

type FeaturePermissions struct {
	Tags map[string]FeaturePermission `` /* 187-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*FeaturePermissions) Descriptor deprecated added in v0.6.1

func (*FeaturePermissions) Descriptor() ([]byte, []int)

Deprecated: Use FeaturePermissions.ProtoReflect.Descriptor instead.

func (*FeaturePermissions) GetTags added in v0.6.1

func (x *FeaturePermissions) GetTags() map[string]FeaturePermission

func (*FeaturePermissions) ProtoMessage added in v0.6.1

func (*FeaturePermissions) ProtoMessage()

func (*FeaturePermissions) ProtoReflect added in v0.6.1

func (x *FeaturePermissions) ProtoReflect() protoreflect.Message

func (*FeaturePermissions) Reset added in v0.6.1

func (x *FeaturePermissions) Reset()

func (*FeaturePermissions) String added in v0.6.1

func (x *FeaturePermissions) String() string

type MetadataServiceAgent added in v0.11.5

type MetadataServiceAgent struct {
	// contains filtered or unexported fields
}

func (*MetadataServiceAgent) Descriptor deprecated added in v0.11.5

func (*MetadataServiceAgent) Descriptor() ([]byte, []int)

Deprecated: Use MetadataServiceAgent.ProtoReflect.Descriptor instead.

func (*MetadataServiceAgent) ProtoMessage added in v0.11.5

func (*MetadataServiceAgent) ProtoMessage()

func (*MetadataServiceAgent) ProtoReflect added in v0.11.5

func (x *MetadataServiceAgent) ProtoReflect() protoreflect.Message

func (*MetadataServiceAgent) Reset added in v0.11.5

func (x *MetadataServiceAgent) Reset()

func (*MetadataServiceAgent) String added in v0.11.5

func (x *MetadataServiceAgent) String() string

type Permission

type Permission int32
const (
	// Default value -- should never be set.
	Permission_PERMISSION_UNSPECIFIED Permission = 0
	// Only used for creating a new token
	Permission_PERMISSION_INSECURE_UNAUTHENTICATED Permission = 1
	Permission_PERMISSION_AUTHENTICATED            Permission = 2
	// Query online features.
	Permission_PERMISSION_QUERY_ONLINE Permission = 3
	// Query offline features.
	Permission_PERMISSION_QUERY_OFFLINE Permission = 4
	// Create a new chart or alert
	Permission_PERMISSION_MONITORING_CREATE Permission = 5
	// See charts and alerts
	Permission_PERMISSION_MONITORING_READ Permission = 6
	// Add team members to your organization
	Permission_PERMISSION_TEAM_ADD Permission = 7
	// Remove a team member
	Permission_PERMISSION_TEAM_DELETE Permission = 8
	// See the team members in your organization
	Permission_PERMISSION_TEAM_LIST Permission = 9
	// Configure authentication options for your organization
	Permission_PERMISSION_TEAM_ADMIN Permission = 10
	// Read information about deployments.
	Permission_PERMISSION_DEPLOY_READ Permission = 11
	// Create a new deployment.
	Permission_PERMISSION_DEPLOY_CREATE Permission = 12
	// Create a new preview deployment.
	Permission_PERMISSION_DEPLOY_PREVIEW Permission = 13
	// Redeploy an existing deployment.
	Permission_PERMISSION_DEPLOY_REDEPLOY Permission = 14
	// Read logs from resolvers.
	Permission_PERMISSION_LOGS_LIST Permission = 15
	// Read the scheduled runs.
	Permission_PERMISSION_CRON_READ Permission = 16
	// Trigger a new scheduled run.
	Permission_PERMISSION_CRON_CREATE Permission = 17
	// Create, modify, or delete secret values.
	Permission_PERMISSION_SECRETS_WRITE Permission = 18
	// Decrypt secret values.
	Permission_PERMISSION_SECRETS_DECRYPT Permission = 19
	// See the list of available secrets. Reading secrets is not allowed with this permission.
	Permission_PERMISSION_SECRETS_LIST Permission = 20
	// Create, modify, or delete service tokens.
	Permission_PERMISSION_TOKENS_WRITE Permission = 21
	// List the service tokens and see client ids, but not client secrets.
	Permission_PERMISSION_TOKENS_LIST Permission = 22
	// View information about migrations.
	Permission_PERMISSION_MIGRATE_READ Permission = 23
	// Create a migration plan.
	Permission_PERMISSION_MIGRATE_PLAN Permission = 24
	// Execute a migration plan.
	Permission_PERMISSION_MIGRATE_EXECUTE Permission = 25
	// Create a new project
	Permission_PERMISSION_PROJECT_CREATE Permission = 26
	// Administer Chalk
	Permission_PERMISSION_CHALK_ADMIN Permission = 27
)

func (Permission) Descriptor

func (Permission) Descriptor() protoreflect.EnumDescriptor

func (Permission) Enum

func (x Permission) Enum() *Permission

func (Permission) EnumDescriptor deprecated

func (Permission) EnumDescriptor() ([]byte, []int)

Deprecated: Use Permission.Descriptor instead.

func (Permission) Number

func (x Permission) Number() protoreflect.EnumNumber

func (Permission) String

func (x Permission) String() string

func (Permission) Type

type ServiceTokenAgent

type ServiceTokenAgent struct {
	Id          string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ClientId    string       `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	TeamId      string       `protobuf:"bytes,3,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	Environment string       `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"`
	Permissions []Permission `protobuf:"varint,5,rep,packed,name=permissions,proto3,enum=chalk.auth.v1.Permission" json:"permissions,omitempty"`
	// Deprecated: Marked as deprecated in chalk/auth/v1/agent.proto.
	CustomClaims       []string            `protobuf:"bytes,6,rep,name=custom_claims,json=customClaims,proto3" json:"custom_claims,omitempty"`
	CustomerClaims     []*CustomClaim      `protobuf:"bytes,7,rep,name=customer_claims,json=customerClaims,proto3" json:"customer_claims,omitempty"`
	FeaturePermissions *FeaturePermissions `protobuf:"bytes,8,opt,name=feature_permissions,json=featurePermissions,proto3" json:"feature_permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceTokenAgent) Descriptor deprecated

func (*ServiceTokenAgent) Descriptor() ([]byte, []int)

Deprecated: Use ServiceTokenAgent.ProtoReflect.Descriptor instead.

func (*ServiceTokenAgent) GetClientId

func (x *ServiceTokenAgent) GetClientId() string

func (*ServiceTokenAgent) GetCustomClaims deprecated added in v0.4.7

func (x *ServiceTokenAgent) GetCustomClaims() []string

Deprecated: Marked as deprecated in chalk/auth/v1/agent.proto.

func (*ServiceTokenAgent) GetCustomerClaims added in v0.4.7

func (x *ServiceTokenAgent) GetCustomerClaims() []*CustomClaim

func (*ServiceTokenAgent) GetEnvironment

func (x *ServiceTokenAgent) GetEnvironment() string

func (*ServiceTokenAgent) GetFeaturePermissions added in v0.6.1

func (x *ServiceTokenAgent) GetFeaturePermissions() *FeaturePermissions

func (*ServiceTokenAgent) GetId

func (x *ServiceTokenAgent) GetId() string

func (*ServiceTokenAgent) GetPermissions

func (x *ServiceTokenAgent) GetPermissions() []Permission

func (*ServiceTokenAgent) GetTeamId

func (x *ServiceTokenAgent) GetTeamId() string

func (*ServiceTokenAgent) ProtoMessage

func (*ServiceTokenAgent) ProtoMessage()

func (*ServiceTokenAgent) ProtoReflect

func (x *ServiceTokenAgent) ProtoReflect() protoreflect.Message

func (*ServiceTokenAgent) Reset

func (x *ServiceTokenAgent) Reset()

func (*ServiceTokenAgent) String

func (x *ServiceTokenAgent) String() string

type TenantAgent

type TenantAgent struct {
	// contains filtered or unexported fields
}

func (*TenantAgent) Descriptor deprecated

func (*TenantAgent) Descriptor() ([]byte, []int)

Deprecated: Use TenantAgent.ProtoReflect.Descriptor instead.

func (*TenantAgent) ProtoMessage

func (*TenantAgent) ProtoMessage()

func (*TenantAgent) ProtoReflect

func (x *TenantAgent) ProtoReflect() protoreflect.Message

func (*TenantAgent) Reset

func (x *TenantAgent) Reset()

func (*TenantAgent) String

func (x *TenantAgent) String() string

type UserAgent

type UserAgent struct {

	// Deprecated: Marked as deprecated in chalk/auth/v1/agent.proto.
	ClientId                 string                             `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	UserId                   string                             `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	TeamId                   string                             `protobuf:"bytes,3,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"`
	PermissionsByEnvironment map[string]*EnvironmentPermissions `` /* 223-byte string literal not displayed */
	Impersonated             bool                               `protobuf:"varint,5,opt,name=impersonated,proto3" json:"impersonated,omitempty"`
	// contains filtered or unexported fields
}

func (*UserAgent) Descriptor deprecated

func (*UserAgent) Descriptor() ([]byte, []int)

Deprecated: Use UserAgent.ProtoReflect.Descriptor instead.

func (*UserAgent) GetClientId deprecated

func (x *UserAgent) GetClientId() string

Deprecated: Marked as deprecated in chalk/auth/v1/agent.proto.

func (*UserAgent) GetImpersonated

func (x *UserAgent) GetImpersonated() bool

func (*UserAgent) GetPermissionsByEnvironment

func (x *UserAgent) GetPermissionsByEnvironment() map[string]*EnvironmentPermissions

func (*UserAgent) GetTeamId

func (x *UserAgent) GetTeamId() string

func (*UserAgent) GetUserId

func (x *UserAgent) GetUserId() string

func (*UserAgent) ProtoMessage

func (*UserAgent) ProtoMessage()

func (*UserAgent) ProtoReflect

func (x *UserAgent) ProtoReflect() protoreflect.Message

func (*UserAgent) Reset

func (x *UserAgent) Reset()

func (*UserAgent) String

func (x *UserAgent) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL