C# Class NuGet.Services.Operations.Secrets.SecretStore

Show file Open project: NuGet/NuGet.Operations Class Usage Examples

Public Methods

Method Description
Delete ( SecretName name, string clientOperation ) : Task
Delete ( string name, int datacenter, string clientOperation ) : Task
Exists ( ) : bool
List ( ) : IEnumerable
List ( bool includeDeleted ) : IEnumerable
Read ( SecretName key, string clientOperation ) : Task
Read ( string name, int datacenter, string clientOperation ) : Task
ReadAuditLog ( SecretName key ) : Task>
ReadAuditLog ( string name, int datacenter ) : Task>
Undelete ( SecretName name, string clientOperation ) : Task
Undelete ( string name, int datacenter, string clientOperation ) : Task
Write ( Secret secret, string clientOperation ) : System.Threading.Tasks.Task

Protected Methods

Method Description
SecretStore ( SecretStoreMetadata metadata ) : System

Method Details

Delete() public abstract method

public abstract Delete ( SecretName name, string clientOperation ) : Task
name SecretName
clientOperation string
return Task

Delete() public method

public Delete ( string name, int datacenter, string clientOperation ) : Task
name string
datacenter int
clientOperation string
return Task

Exists() public abstract method

public abstract Exists ( ) : bool
return bool

List() public method

public List ( ) : IEnumerable
return IEnumerable

List() public abstract method

public abstract List ( bool includeDeleted ) : IEnumerable
includeDeleted bool
return IEnumerable

Read() public abstract method

public abstract Read ( SecretName key, string clientOperation ) : Task
key SecretName
clientOperation string
return Task

Read() public method

public Read ( string name, int datacenter, string clientOperation ) : Task
name string
datacenter int
clientOperation string
return Task

ReadAuditLog() public abstract method

public abstract ReadAuditLog ( SecretName key ) : Task>
key SecretName
return Task>

ReadAuditLog() public method

public ReadAuditLog ( string name, int datacenter ) : Task>
name string
datacenter int
return Task>

SecretStore() protected method

protected SecretStore ( SecretStoreMetadata metadata ) : System
metadata SecretStoreMetadata
return System

Undelete() public abstract method

public abstract Undelete ( SecretName name, string clientOperation ) : Task
name SecretName
clientOperation string
return Task

Undelete() public method

public Undelete ( string name, int datacenter, string clientOperation ) : Task
name string
datacenter int
clientOperation string
return Task

Write() public abstract method

public abstract Write ( Secret secret, string clientOperation ) : System.Threading.Tasks.Task
secret Secret
clientOperation string
return System.Threading.Tasks.Task