github.com/containers/podman/v4@v4.9.4/pkg/bindings/secrets/types.go (about)

     1  package secrets
     2  
     3  // ListOptions are optional options for inspecting secrets
     4  //
     5  //go:generate go run ../generator/generator.go ListOptions
     6  type ListOptions struct {
     7  	Filters map[string][]string
     8  }
     9  
    10  // InspectOptions are optional options for inspecting secrets
    11  //
    12  //go:generate go run ../generator/generator.go InspectOptions
    13  type InspectOptions struct {
    14  	ShowSecret *bool
    15  }
    16  
    17  // RemoveOptions are optional options for removing secrets
    18  //
    19  //go:generate go run ../generator/generator.go RemoveOptions
    20  type RemoveOptions struct {
    21  }
    22  
    23  // CreateOptions are optional options for Creating secrets
    24  //
    25  //go:generate go run ../generator/generator.go CreateOptions
    26  type CreateOptions struct {
    27  	Name       *string
    28  	Driver     *string
    29  	DriverOpts map[string]string
    30  	Labels     map[string]string
    31  	Replace    *bool
    32  }