Package flyteidl.core
Interface Security.SecurityContextOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Security.SecurityContext,Security.SecurityContext.Builder
- Enclosing class:
- Security
public static interface Security.SecurityContextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Security.IdentitygetRunAs()run_as encapsulates the identity a pod should run as.Security.IdentityOrBuildergetRunAsOrBuilder()run_as encapsulates the identity a pod should run as.Security.SecretgetSecrets(int index)secrets indicate the list of secrets the task needs in order to proceed.intgetSecretsCount()secrets indicate the list of secrets the task needs in order to proceed.List<Security.Secret>getSecretsList()secrets indicate the list of secrets the task needs in order to proceed.Security.SecretOrBuildergetSecretsOrBuilder(int index)secrets indicate the list of secrets the task needs in order to proceed.List<? extends Security.SecretOrBuilder>getSecretsOrBuilderList()secrets indicate the list of secrets the task needs in order to proceed.Security.OAuth2TokenRequestgetTokens(int index)tokens indicate the list of token requests the task needs in order to proceed.intgetTokensCount()tokens indicate the list of token requests the task needs in order to proceed.List<Security.OAuth2TokenRequest>getTokensList()tokens indicate the list of token requests the task needs in order to proceed.Security.OAuth2TokenRequestOrBuildergetTokensOrBuilder(int index)tokens indicate the list of token requests the task needs in order to proceed.List<? extends Security.OAuth2TokenRequestOrBuilder>getTokensOrBuilderList()tokens indicate the list of token requests the task needs in order to proceed.booleanhasRunAs()run_as encapsulates the identity a pod should run as.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRunAs
boolean hasRunAs()
run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on.
.flyteidl.core.Identity run_as = 1;- Returns:
- Whether the runAs field is set.
-
getRunAs
Security.Identity getRunAs()
run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on.
.flyteidl.core.Identity run_as = 1;- Returns:
- The runAs.
-
getRunAsOrBuilder
Security.IdentityOrBuilder getRunAsOrBuilder()
run_as encapsulates the identity a pod should run as. If the task fills in multiple fields here, it'll be up to the backend plugin to choose the appropriate identity for the execution engine the task will run on.
.flyteidl.core.Identity run_as = 1;
-
getSecretsList
List<Security.Secret> getSecretsList()
secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine.
repeated .flyteidl.core.Secret secrets = 2;
-
getSecrets
Security.Secret getSecrets(int index)
secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine.
repeated .flyteidl.core.Secret secrets = 2;
-
getSecretsCount
int getSecretsCount()
secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine.
repeated .flyteidl.core.Secret secrets = 2;
-
getSecretsOrBuilderList
List<? extends Security.SecretOrBuilder> getSecretsOrBuilderList()
secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine.
repeated .flyteidl.core.Secret secrets = 2;
-
getSecretsOrBuilder
Security.SecretOrBuilder getSecretsOrBuilder(int index)
secrets indicate the list of secrets the task needs in order to proceed. Secrets will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine.
repeated .flyteidl.core.Secret secrets = 2;
-
getTokensList
List<Security.OAuth2TokenRequest> getTokensList()
tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine.
repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
-
getTokens
Security.OAuth2TokenRequest getTokens(int index)
tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine.
repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
-
getTokensCount
int getTokensCount()
tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine.
repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
-
getTokensOrBuilderList
List<? extends Security.OAuth2TokenRequestOrBuilder> getTokensOrBuilderList()
tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine.
repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
-
getTokensOrBuilder
Security.OAuth2TokenRequestOrBuilder getTokensOrBuilder(int index)
tokens indicate the list of token requests the task needs in order to proceed. Tokens will be mounted/passed to the pod as it starts. If the plugin responsible for kicking of the task will not run it on a flyte cluster (e.g. AWS Batch), it's the responsibility of the plugin to fetch the secret (which means propeller identity will need access to the secret) and to pass it to the remote execution engine.
repeated .flyteidl.core.OAuth2TokenRequest tokens = 3;
-
-