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 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;