harbor

package
v3.10.21 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing Harbor resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigAuth

type ConfigAuth struct {
	pulumi.CustomResourceState

	// Harbor authentication mode. Can be `"oidcAuth"`, `"dbAuth"` or `"ldapAuth"`. (Default: `"dbAuth"`)
	AuthMode            pulumi.StringOutput    `pulumi:"authMode"`
	LdapBaseDn          pulumi.StringPtrOutput `pulumi:"ldapBaseDn"`
	LdapFilter          pulumi.StringPtrOutput `pulumi:"ldapFilter"`
	LdapGroupAdminDn    pulumi.StringPtrOutput `pulumi:"ldapGroupAdminDn"`
	LdapGroupBaseDn     pulumi.StringPtrOutput `pulumi:"ldapGroupBaseDn"`
	LdapGroupFilter     pulumi.StringPtrOutput `pulumi:"ldapGroupFilter"`
	LdapGroupGid        pulumi.StringPtrOutput `pulumi:"ldapGroupGid"`
	LdapGroupMembership pulumi.StringPtrOutput `pulumi:"ldapGroupMembership"`
	LdapGroupScope      pulumi.StringPtrOutput `pulumi:"ldapGroupScope"`
	LdapGroupUid        pulumi.StringPtrOutput `pulumi:"ldapGroupUid"`
	LdapScope           pulumi.StringPtrOutput `pulumi:"ldapScope"`
	LdapSearchDn        pulumi.StringPtrOutput `pulumi:"ldapSearchDn"`
	LdapSearchPassword  pulumi.StringPtrOutput `pulumi:"ldapSearchPassword"`
	LdapUid             pulumi.StringPtrOutput `pulumi:"ldapUid"`
	LdapUrl             pulumi.StringPtrOutput `pulumi:"ldapUrl"`
	LdapVerifyCert      pulumi.BoolPtrOutput   `pulumi:"ldapVerifyCert"`
	OidcAdminGroup      pulumi.StringPtrOutput `pulumi:"oidcAdminGroup"`
	OidcAutoOnboard     pulumi.BoolPtrOutput   `pulumi:"oidcAutoOnboard"`
	OidcClientId        pulumi.StringPtrOutput `pulumi:"oidcClientId"`
	OidcClientSecret    pulumi.StringPtrOutput `pulumi:"oidcClientSecret"`
	OidcEndpoint        pulumi.StringPtrOutput `pulumi:"oidcEndpoint"`
	OidcGroupFilter     pulumi.StringPtrOutput `pulumi:"oidcGroupFilter"`
	OidcGroupsClaim     pulumi.StringPtrOutput `pulumi:"oidcGroupsClaim"`
	OidcName            pulumi.StringPtrOutput `pulumi:"oidcName"`
	OidcScope           pulumi.StringPtrOutput `pulumi:"oidcScope"`
	OidcUserClaim       pulumi.StringPtrOutput `pulumi:"oidcUserClaim"`
	OidcVerifyCert      pulumi.BoolPtrOutput   `pulumi:"oidcVerifyCert"`
	PrimaryAuthMode     pulumi.BoolPtrOutput   `pulumi:"primaryAuthMode"`
}

## Example Usage

### OIDC

### LDAP

func GetConfigAuth

func GetConfigAuth(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigAuthState, opts ...pulumi.ResourceOption) (*ConfigAuth, error)

GetConfigAuth gets an existing ConfigAuth resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConfigAuth

func NewConfigAuth(ctx *pulumi.Context,
	name string, args *ConfigAuthArgs, opts ...pulumi.ResourceOption) (*ConfigAuth, error)

NewConfigAuth registers a new resource with the given unique name, arguments, and options.

func (*ConfigAuth) ElementType

func (*ConfigAuth) ElementType() reflect.Type

func (*ConfigAuth) ToConfigAuthOutput

func (i *ConfigAuth) ToConfigAuthOutput() ConfigAuthOutput

func (*ConfigAuth) ToConfigAuthOutputWithContext

func (i *ConfigAuth) ToConfigAuthOutputWithContext(ctx context.Context) ConfigAuthOutput

type ConfigAuthArgs

type ConfigAuthArgs struct {
	// Harbor authentication mode. Can be `"oidcAuth"`, `"dbAuth"` or `"ldapAuth"`. (Default: `"dbAuth"`)
	AuthMode            pulumi.StringInput
	LdapBaseDn          pulumi.StringPtrInput
	LdapFilter          pulumi.StringPtrInput
	LdapGroupAdminDn    pulumi.StringPtrInput
	LdapGroupBaseDn     pulumi.StringPtrInput
	LdapGroupFilter     pulumi.StringPtrInput
	LdapGroupGid        pulumi.StringPtrInput
	LdapGroupMembership pulumi.StringPtrInput
	LdapGroupScope      pulumi.StringPtrInput
	LdapGroupUid        pulumi.StringPtrInput
	LdapScope           pulumi.StringPtrInput
	LdapSearchDn        pulumi.StringPtrInput
	LdapSearchPassword  pulumi.StringPtrInput
	LdapUid             pulumi.StringPtrInput
	LdapUrl             pulumi.StringPtrInput
	LdapVerifyCert      pulumi.BoolPtrInput
	OidcAdminGroup      pulumi.StringPtrInput
	OidcAutoOnboard     pulumi.BoolPtrInput
	OidcClientId        pulumi.StringPtrInput
	OidcClientSecret    pulumi.StringPtrInput
	OidcEndpoint        pulumi.StringPtrInput
	OidcGroupFilter     pulumi.StringPtrInput
	OidcGroupsClaim     pulumi.StringPtrInput
	OidcName            pulumi.StringPtrInput
	OidcScope           pulumi.StringPtrInput
	OidcUserClaim       pulumi.StringPtrInput
	OidcVerifyCert      pulumi.BoolPtrInput
	PrimaryAuthMode     pulumi.BoolPtrInput
}

The set of arguments for constructing a ConfigAuth resource.

func (ConfigAuthArgs) ElementType

func (ConfigAuthArgs) ElementType() reflect.Type

type ConfigAuthArray

type ConfigAuthArray []ConfigAuthInput

func (ConfigAuthArray) ElementType

func (ConfigAuthArray) ElementType() reflect.Type

func (ConfigAuthArray) ToConfigAuthArrayOutput

func (i ConfigAuthArray) ToConfigAuthArrayOutput() ConfigAuthArrayOutput

func (ConfigAuthArray) ToConfigAuthArrayOutputWithContext

func (i ConfigAuthArray) ToConfigAuthArrayOutputWithContext(ctx context.Context) ConfigAuthArrayOutput

type ConfigAuthArrayInput

type ConfigAuthArrayInput interface {
	pulumi.Input

	ToConfigAuthArrayOutput() ConfigAuthArrayOutput
	ToConfigAuthArrayOutputWithContext(context.Context) ConfigAuthArrayOutput
}

ConfigAuthArrayInput is an input type that accepts ConfigAuthArray and ConfigAuthArrayOutput values. You can construct a concrete instance of `ConfigAuthArrayInput` via:

ConfigAuthArray{ ConfigAuthArgs{...} }

type ConfigAuthArrayOutput

type ConfigAuthArrayOutput struct{ *pulumi.OutputState }

func (ConfigAuthArrayOutput) ElementType

func (ConfigAuthArrayOutput) ElementType() reflect.Type

func (ConfigAuthArrayOutput) Index

func (ConfigAuthArrayOutput) ToConfigAuthArrayOutput

func (o ConfigAuthArrayOutput) ToConfigAuthArrayOutput() ConfigAuthArrayOutput

func (ConfigAuthArrayOutput) ToConfigAuthArrayOutputWithContext

func (o ConfigAuthArrayOutput) ToConfigAuthArrayOutputWithContext(ctx context.Context) ConfigAuthArrayOutput

type ConfigAuthInput

type ConfigAuthInput interface {
	pulumi.Input

	ToConfigAuthOutput() ConfigAuthOutput
	ToConfigAuthOutputWithContext(ctx context.Context) ConfigAuthOutput
}

type ConfigAuthMap

type ConfigAuthMap map[string]ConfigAuthInput

func (ConfigAuthMap) ElementType

func (ConfigAuthMap) ElementType() reflect.Type

func (ConfigAuthMap) ToConfigAuthMapOutput

func (i ConfigAuthMap) ToConfigAuthMapOutput() ConfigAuthMapOutput

func (ConfigAuthMap) ToConfigAuthMapOutputWithContext

func (i ConfigAuthMap) ToConfigAuthMapOutputWithContext(ctx context.Context) ConfigAuthMapOutput

type ConfigAuthMapInput

type ConfigAuthMapInput interface {
	pulumi.Input

	ToConfigAuthMapOutput() ConfigAuthMapOutput
	ToConfigAuthMapOutputWithContext(context.Context) ConfigAuthMapOutput
}

ConfigAuthMapInput is an input type that accepts ConfigAuthMap and ConfigAuthMapOutput values. You can construct a concrete instance of `ConfigAuthMapInput` via:

ConfigAuthMap{ "key": ConfigAuthArgs{...} }

type ConfigAuthMapOutput

type ConfigAuthMapOutput struct{ *pulumi.OutputState }

func (ConfigAuthMapOutput) ElementType

func (ConfigAuthMapOutput) ElementType() reflect.Type

func (ConfigAuthMapOutput) MapIndex

func (ConfigAuthMapOutput) ToConfigAuthMapOutput

func (o ConfigAuthMapOutput) ToConfigAuthMapOutput() ConfigAuthMapOutput

func (ConfigAuthMapOutput) ToConfigAuthMapOutputWithContext

func (o ConfigAuthMapOutput) ToConfigAuthMapOutputWithContext(ctx context.Context) ConfigAuthMapOutput

type ConfigAuthOutput

type ConfigAuthOutput struct{ *pulumi.OutputState }

func (ConfigAuthOutput) AuthMode

func (o ConfigAuthOutput) AuthMode() pulumi.StringOutput

Harbor authentication mode. Can be `"oidcAuth"`, `"dbAuth"` or `"ldapAuth"`. (Default: `"dbAuth"`)

func (ConfigAuthOutput) ElementType

func (ConfigAuthOutput) ElementType() reflect.Type

func (ConfigAuthOutput) LdapBaseDn

func (o ConfigAuthOutput) LdapBaseDn() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapFilter

func (o ConfigAuthOutput) LdapFilter() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapGroupAdminDn

func (o ConfigAuthOutput) LdapGroupAdminDn() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapGroupBaseDn

func (o ConfigAuthOutput) LdapGroupBaseDn() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapGroupFilter

func (o ConfigAuthOutput) LdapGroupFilter() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapGroupGid

func (o ConfigAuthOutput) LdapGroupGid() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapGroupMembership

func (o ConfigAuthOutput) LdapGroupMembership() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapGroupScope

func (o ConfigAuthOutput) LdapGroupScope() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapGroupUid

func (o ConfigAuthOutput) LdapGroupUid() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapScope

func (o ConfigAuthOutput) LdapScope() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapSearchDn

func (o ConfigAuthOutput) LdapSearchDn() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapSearchPassword

func (o ConfigAuthOutput) LdapSearchPassword() pulumi.StringPtrOutput

func (ConfigAuthOutput) LdapUid

func (ConfigAuthOutput) LdapUrl

func (ConfigAuthOutput) LdapVerifyCert

func (o ConfigAuthOutput) LdapVerifyCert() pulumi.BoolPtrOutput

func (ConfigAuthOutput) OidcAdminGroup

func (o ConfigAuthOutput) OidcAdminGroup() pulumi.StringPtrOutput

func (ConfigAuthOutput) OidcAutoOnboard

func (o ConfigAuthOutput) OidcAutoOnboard() pulumi.BoolPtrOutput

func (ConfigAuthOutput) OidcClientId

func (o ConfigAuthOutput) OidcClientId() pulumi.StringPtrOutput

func (ConfigAuthOutput) OidcClientSecret

func (o ConfigAuthOutput) OidcClientSecret() pulumi.StringPtrOutput

func (ConfigAuthOutput) OidcEndpoint

func (o ConfigAuthOutput) OidcEndpoint() pulumi.StringPtrOutput

func (ConfigAuthOutput) OidcGroupFilter added in v3.9.2

func (o ConfigAuthOutput) OidcGroupFilter() pulumi.StringPtrOutput

func (ConfigAuthOutput) OidcGroupsClaim

func (o ConfigAuthOutput) OidcGroupsClaim() pulumi.StringPtrOutput

func (ConfigAuthOutput) OidcName

func (ConfigAuthOutput) OidcScope

func (o ConfigAuthOutput) OidcScope() pulumi.StringPtrOutput

func (ConfigAuthOutput) OidcUserClaim

func (o ConfigAuthOutput) OidcUserClaim() pulumi.StringPtrOutput

func (ConfigAuthOutput) OidcVerifyCert

func (o ConfigAuthOutput) OidcVerifyCert() pulumi.BoolPtrOutput

func (ConfigAuthOutput) PrimaryAuthMode added in v3.9.2

func (o ConfigAuthOutput) PrimaryAuthMode() pulumi.BoolPtrOutput

func (ConfigAuthOutput) ToConfigAuthOutput

func (o ConfigAuthOutput) ToConfigAuthOutput() ConfigAuthOutput

func (ConfigAuthOutput) ToConfigAuthOutputWithContext

func (o ConfigAuthOutput) ToConfigAuthOutputWithContext(ctx context.Context) ConfigAuthOutput

type ConfigAuthState

type ConfigAuthState struct {
	// Harbor authentication mode. Can be `"oidcAuth"`, `"dbAuth"` or `"ldapAuth"`. (Default: `"dbAuth"`)
	AuthMode            pulumi.StringPtrInput
	LdapBaseDn          pulumi.StringPtrInput
	LdapFilter          pulumi.StringPtrInput
	LdapGroupAdminDn    pulumi.StringPtrInput
	LdapGroupBaseDn     pulumi.StringPtrInput
	LdapGroupFilter     pulumi.StringPtrInput
	LdapGroupGid        pulumi.StringPtrInput
	LdapGroupMembership pulumi.StringPtrInput
	LdapGroupScope      pulumi.StringPtrInput
	LdapGroupUid        pulumi.StringPtrInput
	LdapScope           pulumi.StringPtrInput
	LdapSearchDn        pulumi.StringPtrInput
	LdapSearchPassword  pulumi.StringPtrInput
	LdapUid             pulumi.StringPtrInput
	LdapUrl             pulumi.StringPtrInput
	LdapVerifyCert      pulumi.BoolPtrInput
	OidcAdminGroup      pulumi.StringPtrInput
	OidcAutoOnboard     pulumi.BoolPtrInput
	OidcClientId        pulumi.StringPtrInput
	OidcClientSecret    pulumi.StringPtrInput
	OidcEndpoint        pulumi.StringPtrInput
	OidcGroupFilter     pulumi.StringPtrInput
	OidcGroupsClaim     pulumi.StringPtrInput
	OidcName            pulumi.StringPtrInput
	OidcScope           pulumi.StringPtrInput
	OidcUserClaim       pulumi.StringPtrInput
	OidcVerifyCert      pulumi.BoolPtrInput
	PrimaryAuthMode     pulumi.BoolPtrInput
}

func (ConfigAuthState) ElementType

func (ConfigAuthState) ElementType() reflect.Type

type ConfigSecurity added in v3.9.2

type ConfigSecurity struct {
	pulumi.CustomResourceState

	// Time of creation of the list.
	CreationTime pulumi.StringOutput `pulumi:"creationTime"`
	// System allowlist. Vulnerabilities in this list will be ignored when pushing and pulling images. Should be in the format or `["CVE-123", "CVE-145"]` or `["CVE-123"]`
	CveAllowlists pulumi.StringArrayOutput `pulumi:"cveAllowlists"`
	// The time for expiration of the allowlist, in the form of seconds since epoch. This is an optional attribute, if it's not set the CVE allowlist does not expire.
	ExpiresAt pulumi.IntPtrOutput `pulumi:"expiresAt"`
	// Time of update of the list.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

## Example Usage

## Import

import using the id of the repo

```sh $ pulumi import harbor:index/configSecurity:ConfigSecurity main "7" ```

Note that at this point of time Harbor doesn't has any api endpoint for deleting this list. Only updating the records.

func GetConfigSecurity added in v3.9.2

func GetConfigSecurity(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigSecurityState, opts ...pulumi.ResourceOption) (*ConfigSecurity, error)

GetConfigSecurity gets an existing ConfigSecurity resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConfigSecurity added in v3.9.2

func NewConfigSecurity(ctx *pulumi.Context,
	name string, args *ConfigSecurityArgs, opts ...pulumi.ResourceOption) (*ConfigSecurity, error)

NewConfigSecurity registers a new resource with the given unique name, arguments, and options.

func (*ConfigSecurity) ElementType added in v3.9.2

func (*ConfigSecurity) ElementType() reflect.Type

func (*ConfigSecurity) ToConfigSecurityOutput added in v3.9.2

func (i *ConfigSecurity) ToConfigSecurityOutput() ConfigSecurityOutput

func (*ConfigSecurity) ToConfigSecurityOutputWithContext added in v3.9.2

func (i *ConfigSecurity) ToConfigSecurityOutputWithContext(ctx context.Context) ConfigSecurityOutput

type ConfigSecurityArgs added in v3.9.2

type ConfigSecurityArgs struct {
	// System allowlist. Vulnerabilities in this list will be ignored when pushing and pulling images. Should be in the format or `["CVE-123", "CVE-145"]` or `["CVE-123"]`
	CveAllowlists pulumi.StringArrayInput
	// The time for expiration of the allowlist, in the form of seconds since epoch. This is an optional attribute, if it's not set the CVE allowlist does not expire.
	ExpiresAt pulumi.IntPtrInput
}

The set of arguments for constructing a ConfigSecurity resource.

func (ConfigSecurityArgs) ElementType added in v3.9.2

func (ConfigSecurityArgs) ElementType() reflect.Type

type ConfigSecurityArray added in v3.9.2

type ConfigSecurityArray []ConfigSecurityInput

func (ConfigSecurityArray) ElementType added in v3.9.2

func (ConfigSecurityArray) ElementType() reflect.Type

func (ConfigSecurityArray) ToConfigSecurityArrayOutput added in v3.9.2

func (i ConfigSecurityArray) ToConfigSecurityArrayOutput() ConfigSecurityArrayOutput

func (ConfigSecurityArray) ToConfigSecurityArrayOutputWithContext added in v3.9.2

func (i ConfigSecurityArray) ToConfigSecurityArrayOutputWithContext(ctx context.Context) ConfigSecurityArrayOutput

type ConfigSecurityArrayInput added in v3.9.2

type ConfigSecurityArrayInput interface {
	pulumi.Input

	ToConfigSecurityArrayOutput() ConfigSecurityArrayOutput
	ToConfigSecurityArrayOutputWithContext(context.Context) ConfigSecurityArrayOutput
}

ConfigSecurityArrayInput is an input type that accepts ConfigSecurityArray and ConfigSecurityArrayOutput values. You can construct a concrete instance of `ConfigSecurityArrayInput` via:

ConfigSecurityArray{ ConfigSecurityArgs{...} }

type ConfigSecurityArrayOutput added in v3.9.2

type ConfigSecurityArrayOutput struct{ *pulumi.OutputState }

func (ConfigSecurityArrayOutput) ElementType added in v3.9.2

func (ConfigSecurityArrayOutput) ElementType() reflect.Type

func (ConfigSecurityArrayOutput) Index added in v3.9.2

func (ConfigSecurityArrayOutput) ToConfigSecurityArrayOutput added in v3.9.2

func (o ConfigSecurityArrayOutput) ToConfigSecurityArrayOutput() ConfigSecurityArrayOutput

func (ConfigSecurityArrayOutput) ToConfigSecurityArrayOutputWithContext added in v3.9.2

func (o ConfigSecurityArrayOutput) ToConfigSecurityArrayOutputWithContext(ctx context.Context) ConfigSecurityArrayOutput

type ConfigSecurityInput added in v3.9.2

type ConfigSecurityInput interface {
	pulumi.Input

	ToConfigSecurityOutput() ConfigSecurityOutput
	ToConfigSecurityOutputWithContext(ctx context.Context) ConfigSecurityOutput
}

type ConfigSecurityMap added in v3.9.2

type ConfigSecurityMap map[string]ConfigSecurityInput

func (ConfigSecurityMap) ElementType added in v3.9.2

func (ConfigSecurityMap) ElementType() reflect.Type

func (ConfigSecurityMap) ToConfigSecurityMapOutput added in v3.9.2

func (i ConfigSecurityMap) ToConfigSecurityMapOutput() ConfigSecurityMapOutput

func (ConfigSecurityMap) ToConfigSecurityMapOutputWithContext added in v3.9.2

func (i ConfigSecurityMap) ToConfigSecurityMapOutputWithContext(ctx context.Context) ConfigSecurityMapOutput

type ConfigSecurityMapInput added in v3.9.2

type ConfigSecurityMapInput interface {
	pulumi.Input

	ToConfigSecurityMapOutput() ConfigSecurityMapOutput
	ToConfigSecurityMapOutputWithContext(context.Context) ConfigSecurityMapOutput
}

ConfigSecurityMapInput is an input type that accepts ConfigSecurityMap and ConfigSecurityMapOutput values. You can construct a concrete instance of `ConfigSecurityMapInput` via:

ConfigSecurityMap{ "key": ConfigSecurityArgs{...} }

type ConfigSecurityMapOutput added in v3.9.2

type ConfigSecurityMapOutput struct{ *pulumi.OutputState }

func (ConfigSecurityMapOutput) ElementType added in v3.9.2

func (ConfigSecurityMapOutput) ElementType() reflect.Type

func (ConfigSecurityMapOutput) MapIndex added in v3.9.2

func (ConfigSecurityMapOutput) ToConfigSecurityMapOutput added in v3.9.2

func (o ConfigSecurityMapOutput) ToConfigSecurityMapOutput() ConfigSecurityMapOutput

func (ConfigSecurityMapOutput) ToConfigSecurityMapOutputWithContext added in v3.9.2

func (o ConfigSecurityMapOutput) ToConfigSecurityMapOutputWithContext(ctx context.Context) ConfigSecurityMapOutput

type ConfigSecurityOutput added in v3.9.2

type ConfigSecurityOutput struct{ *pulumi.OutputState }

func (ConfigSecurityOutput) CreationTime added in v3.9.2

func (o ConfigSecurityOutput) CreationTime() pulumi.StringOutput

Time of creation of the list.

func (ConfigSecurityOutput) CveAllowlists added in v3.9.2

func (o ConfigSecurityOutput) CveAllowlists() pulumi.StringArrayOutput

System allowlist. Vulnerabilities in this list will be ignored when pushing and pulling images. Should be in the format or `["CVE-123", "CVE-145"]` or `["CVE-123"]`

func (ConfigSecurityOutput) ElementType added in v3.9.2

func (ConfigSecurityOutput) ElementType() reflect.Type

func (ConfigSecurityOutput) ExpiresAt added in v3.9.2

The time for expiration of the allowlist, in the form of seconds since epoch. This is an optional attribute, if it's not set the CVE allowlist does not expire.

func (ConfigSecurityOutput) ToConfigSecurityOutput added in v3.9.2

func (o ConfigSecurityOutput) ToConfigSecurityOutput() ConfigSecurityOutput

func (ConfigSecurityOutput) ToConfigSecurityOutputWithContext added in v3.9.2

func (o ConfigSecurityOutput) ToConfigSecurityOutputWithContext(ctx context.Context) ConfigSecurityOutput

func (ConfigSecurityOutput) UpdateTime added in v3.9.2

func (o ConfigSecurityOutput) UpdateTime() pulumi.StringOutput

Time of update of the list.

type ConfigSecurityState added in v3.9.2

type ConfigSecurityState struct {
	// Time of creation of the list.
	CreationTime pulumi.StringPtrInput
	// System allowlist. Vulnerabilities in this list will be ignored when pushing and pulling images. Should be in the format or `["CVE-123", "CVE-145"]` or `["CVE-123"]`
	CveAllowlists pulumi.StringArrayInput
	// The time for expiration of the allowlist, in the form of seconds since epoch. This is an optional attribute, if it's not set the CVE allowlist does not expire.
	ExpiresAt pulumi.IntPtrInput
	// Time of update of the list.
	UpdateTime pulumi.StringPtrInput
}

func (ConfigSecurityState) ElementType added in v3.9.2

func (ConfigSecurityState) ElementType() reflect.Type

type ConfigSystem

type ConfigSystem struct {
	pulumi.CustomResourceState

	// The endpoint to forward audit logs to.
	AuditLogForwardEndpoint pulumi.StringPtrOutput             `pulumi:"auditLogForwardEndpoint"`
	BannerMessage           ConfigSystemBannerMessagePtrOutput `pulumi:"bannerMessage"`
	// Who can create projects within Harbor. Can be `"adminonly"` or `"everyone"`
	ProjectCreationRestriction pulumi.StringPtrOutput `pulumi:"projectCreationRestriction"`
	// Whether or not the system is in read only mode.
	ReadOnly pulumi.BoolPtrOutput `pulumi:"readOnly"`
	// Robot account prefix.
	RobotNamePrefix pulumi.StringPtrOutput `pulumi:"robotNamePrefix"`
	// The amount of time in days a robot account will expire.
	RobotTokenExpiration pulumi.IntPtrOutput `pulumi:"robotTokenExpiration"`
	// Whether or not to skip update pull time for scanner.
	ScannerSkipUpdatePulltime pulumi.BoolPtrOutput `pulumi:"scannerSkipUpdatePulltime"`
	// Whether or not to skip audit log database.
	SkipAuditLogDatabase pulumi.BoolPtrOutput `pulumi:"skipAuditLogDatabase"`
	// Default quota space per project in GIB. Default is -1 (unlimited).
	StoragePerProject pulumi.IntPtrOutput `pulumi:"storagePerProject"`
}

## Example Usage

func GetConfigSystem

func GetConfigSystem(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigSystemState, opts ...pulumi.ResourceOption) (*ConfigSystem, error)

GetConfigSystem gets an existing ConfigSystem resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConfigSystem

func NewConfigSystem(ctx *pulumi.Context,
	name string, args *ConfigSystemArgs, opts ...pulumi.ResourceOption) (*ConfigSystem, error)

NewConfigSystem registers a new resource with the given unique name, arguments, and options.

func (*ConfigSystem) ElementType

func (*ConfigSystem) ElementType() reflect.Type

func (*ConfigSystem) ToConfigSystemOutput

func (i *ConfigSystem) ToConfigSystemOutput() ConfigSystemOutput

func (*ConfigSystem) ToConfigSystemOutputWithContext

func (i *ConfigSystem) ToConfigSystemOutputWithContext(ctx context.Context) ConfigSystemOutput

type ConfigSystemArgs

type ConfigSystemArgs struct {
	// The endpoint to forward audit logs to.
	AuditLogForwardEndpoint pulumi.StringPtrInput
	BannerMessage           ConfigSystemBannerMessagePtrInput
	// Who can create projects within Harbor. Can be `"adminonly"` or `"everyone"`
	ProjectCreationRestriction pulumi.StringPtrInput
	// Whether or not the system is in read only mode.
	ReadOnly pulumi.BoolPtrInput
	// Robot account prefix.
	RobotNamePrefix pulumi.StringPtrInput
	// The amount of time in days a robot account will expire.
	RobotTokenExpiration pulumi.IntPtrInput
	// Whether or not to skip update pull time for scanner.
	ScannerSkipUpdatePulltime pulumi.BoolPtrInput
	// Whether or not to skip audit log database.
	SkipAuditLogDatabase pulumi.BoolPtrInput
	// Default quota space per project in GIB. Default is -1 (unlimited).
	StoragePerProject pulumi.IntPtrInput
}

The set of arguments for constructing a ConfigSystem resource.

func (ConfigSystemArgs) ElementType

func (ConfigSystemArgs) ElementType() reflect.Type

type ConfigSystemArray

type ConfigSystemArray []ConfigSystemInput

func (ConfigSystemArray) ElementType

func (ConfigSystemArray) ElementType() reflect.Type

func (ConfigSystemArray) ToConfigSystemArrayOutput

func (i ConfigSystemArray) ToConfigSystemArrayOutput() ConfigSystemArrayOutput

func (ConfigSystemArray) ToConfigSystemArrayOutputWithContext

func (i ConfigSystemArray) ToConfigSystemArrayOutputWithContext(ctx context.Context) ConfigSystemArrayOutput

type ConfigSystemArrayInput

type ConfigSystemArrayInput interface {
	pulumi.Input

	ToConfigSystemArrayOutput() ConfigSystemArrayOutput
	ToConfigSystemArrayOutputWithContext(context.Context) ConfigSystemArrayOutput
}

ConfigSystemArrayInput is an input type that accepts ConfigSystemArray and ConfigSystemArrayOutput values. You can construct a concrete instance of `ConfigSystemArrayInput` via:

ConfigSystemArray{ ConfigSystemArgs{...} }

type ConfigSystemArrayOutput

type ConfigSystemArrayOutput struct{ *pulumi.OutputState }

func (ConfigSystemArrayOutput) ElementType

func (ConfigSystemArrayOutput) ElementType() reflect.Type

func (ConfigSystemArrayOutput) Index

func (ConfigSystemArrayOutput) ToConfigSystemArrayOutput

func (o ConfigSystemArrayOutput) ToConfigSystemArrayOutput() ConfigSystemArrayOutput

func (ConfigSystemArrayOutput) ToConfigSystemArrayOutputWithContext

func (o ConfigSystemArrayOutput) ToConfigSystemArrayOutputWithContext(ctx context.Context) ConfigSystemArrayOutput

type ConfigSystemBannerMessage added in v3.10.15

type ConfigSystemBannerMessage struct {
	// Whether or not the banner message is closable.
	Closable *bool `pulumi:"closable"`
	// The date the banner message will start displaying. (Format: `MM/DD/YYYY`)
	FromDate *string `pulumi:"fromDate"`
	// The message to display in the banner.
	Message string `pulumi:"message"`
	// The date the banner message will stop displaying. (Format: `MM/DD/YYYY`)
	ToDate *string `pulumi:"toDate"`
	// The type of banner message. Can be `"info"`, `"warning"`, `"success"` or `"danger"`.
	Type *string `pulumi:"type"`
}

type ConfigSystemBannerMessageArgs added in v3.10.15

type ConfigSystemBannerMessageArgs struct {
	// Whether or not the banner message is closable.
	Closable pulumi.BoolPtrInput `pulumi:"closable"`
	// The date the banner message will start displaying. (Format: `MM/DD/YYYY`)
	FromDate pulumi.StringPtrInput `pulumi:"fromDate"`
	// The message to display in the banner.
	Message pulumi.StringInput `pulumi:"message"`
	// The date the banner message will stop displaying. (Format: `MM/DD/YYYY`)
	ToDate pulumi.StringPtrInput `pulumi:"toDate"`
	// The type of banner message. Can be `"info"`, `"warning"`, `"success"` or `"danger"`.
	Type pulumi.StringPtrInput `pulumi:"type"`
}

func (ConfigSystemBannerMessageArgs) ElementType added in v3.10.15

func (ConfigSystemBannerMessageArgs) ToConfigSystemBannerMessageOutput added in v3.10.15

func (i ConfigSystemBannerMessageArgs) ToConfigSystemBannerMessageOutput() ConfigSystemBannerMessageOutput

func (ConfigSystemBannerMessageArgs) ToConfigSystemBannerMessageOutputWithContext added in v3.10.15

func (i ConfigSystemBannerMessageArgs) ToConfigSystemBannerMessageOutputWithContext(ctx context.Context) ConfigSystemBannerMessageOutput

func (ConfigSystemBannerMessageArgs) ToConfigSystemBannerMessagePtrOutput added in v3.10.15

func (i ConfigSystemBannerMessageArgs) ToConfigSystemBannerMessagePtrOutput() ConfigSystemBannerMessagePtrOutput

func (ConfigSystemBannerMessageArgs) ToConfigSystemBannerMessagePtrOutputWithContext added in v3.10.15

func (i ConfigSystemBannerMessageArgs) ToConfigSystemBannerMessagePtrOutputWithContext(ctx context.Context) ConfigSystemBannerMessagePtrOutput

type ConfigSystemBannerMessageInput added in v3.10.15

type ConfigSystemBannerMessageInput interface {
	pulumi.Input

	ToConfigSystemBannerMessageOutput() ConfigSystemBannerMessageOutput
	ToConfigSystemBannerMessageOutputWithContext(context.Context) ConfigSystemBannerMessageOutput
}

ConfigSystemBannerMessageInput is an input type that accepts ConfigSystemBannerMessageArgs and ConfigSystemBannerMessageOutput values. You can construct a concrete instance of `ConfigSystemBannerMessageInput` via:

ConfigSystemBannerMessageArgs{...}

type ConfigSystemBannerMessageOutput added in v3.10.15

type ConfigSystemBannerMessageOutput struct{ *pulumi.OutputState }

func (ConfigSystemBannerMessageOutput) Closable added in v3.10.15

Whether or not the banner message is closable.

func (ConfigSystemBannerMessageOutput) ElementType added in v3.10.15

func (ConfigSystemBannerMessageOutput) FromDate added in v3.10.15

The date the banner message will start displaying. (Format: `MM/DD/YYYY`)

func (ConfigSystemBannerMessageOutput) Message added in v3.10.15

The message to display in the banner.

func (ConfigSystemBannerMessageOutput) ToConfigSystemBannerMessageOutput added in v3.10.15

func (o ConfigSystemBannerMessageOutput) ToConfigSystemBannerMessageOutput() ConfigSystemBannerMessageOutput

func (ConfigSystemBannerMessageOutput) ToConfigSystemBannerMessageOutputWithContext added in v3.10.15

func (o ConfigSystemBannerMessageOutput) ToConfigSystemBannerMessageOutputWithContext(ctx context.Context) ConfigSystemBannerMessageOutput

func (ConfigSystemBannerMessageOutput) ToConfigSystemBannerMessagePtrOutput added in v3.10.15

func (o ConfigSystemBannerMessageOutput) ToConfigSystemBannerMessagePtrOutput() ConfigSystemBannerMessagePtrOutput

func (ConfigSystemBannerMessageOutput) ToConfigSystemBannerMessagePtrOutputWithContext added in v3.10.15

func (o ConfigSystemBannerMessageOutput) ToConfigSystemBannerMessagePtrOutputWithContext(ctx context.Context) ConfigSystemBannerMessagePtrOutput

func (ConfigSystemBannerMessageOutput) ToDate added in v3.10.15

The date the banner message will stop displaying. (Format: `MM/DD/YYYY`)

func (ConfigSystemBannerMessageOutput) Type added in v3.10.15

The type of banner message. Can be `"info"`, `"warning"`, `"success"` or `"danger"`.

type ConfigSystemBannerMessagePtrInput added in v3.10.15

type ConfigSystemBannerMessagePtrInput interface {
	pulumi.Input

	ToConfigSystemBannerMessagePtrOutput() ConfigSystemBannerMessagePtrOutput
	ToConfigSystemBannerMessagePtrOutputWithContext(context.Context) ConfigSystemBannerMessagePtrOutput
}

ConfigSystemBannerMessagePtrInput is an input type that accepts ConfigSystemBannerMessageArgs, ConfigSystemBannerMessagePtr and ConfigSystemBannerMessagePtrOutput values. You can construct a concrete instance of `ConfigSystemBannerMessagePtrInput` via:

        ConfigSystemBannerMessageArgs{...}

or:

        nil

func ConfigSystemBannerMessagePtr added in v3.10.15

type ConfigSystemBannerMessagePtrOutput added in v3.10.15

type ConfigSystemBannerMessagePtrOutput struct{ *pulumi.OutputState }

func (ConfigSystemBannerMessagePtrOutput) Closable added in v3.10.15

Whether or not the banner message is closable.

func (ConfigSystemBannerMessagePtrOutput) Elem added in v3.10.15

func (ConfigSystemBannerMessagePtrOutput) ElementType added in v3.10.15

func (ConfigSystemBannerMessagePtrOutput) FromDate added in v3.10.15

The date the banner message will start displaying. (Format: `MM/DD/YYYY`)

func (ConfigSystemBannerMessagePtrOutput) Message added in v3.10.15

The message to display in the banner.

func (ConfigSystemBannerMessagePtrOutput) ToConfigSystemBannerMessagePtrOutput added in v3.10.15

func (o ConfigSystemBannerMessagePtrOutput) ToConfigSystemBannerMessagePtrOutput() ConfigSystemBannerMessagePtrOutput

func (ConfigSystemBannerMessagePtrOutput) ToConfigSystemBannerMessagePtrOutputWithContext added in v3.10.15

func (o ConfigSystemBannerMessagePtrOutput) ToConfigSystemBannerMessagePtrOutputWithContext(ctx context.Context) ConfigSystemBannerMessagePtrOutput

func (ConfigSystemBannerMessagePtrOutput) ToDate added in v3.10.15

The date the banner message will stop displaying. (Format: `MM/DD/YYYY`)

func (ConfigSystemBannerMessagePtrOutput) Type added in v3.10.15

The type of banner message. Can be `"info"`, `"warning"`, `"success"` or `"danger"`.

type ConfigSystemInput

type ConfigSystemInput interface {
	pulumi.Input

	ToConfigSystemOutput() ConfigSystemOutput
	ToConfigSystemOutputWithContext(ctx context.Context) ConfigSystemOutput
}

type ConfigSystemMap

type ConfigSystemMap map[string]ConfigSystemInput

func (ConfigSystemMap) ElementType

func (ConfigSystemMap) ElementType() reflect.Type

func (ConfigSystemMap) ToConfigSystemMapOutput

func (i ConfigSystemMap) ToConfigSystemMapOutput() ConfigSystemMapOutput

func (ConfigSystemMap) ToConfigSystemMapOutputWithContext

func (i ConfigSystemMap) ToConfigSystemMapOutputWithContext(ctx context.Context) ConfigSystemMapOutput

type ConfigSystemMapInput

type ConfigSystemMapInput interface {
	pulumi.Input

	ToConfigSystemMapOutput() ConfigSystemMapOutput
	ToConfigSystemMapOutputWithContext(context.Context) ConfigSystemMapOutput
}

ConfigSystemMapInput is an input type that accepts ConfigSystemMap and ConfigSystemMapOutput values. You can construct a concrete instance of `ConfigSystemMapInput` via:

ConfigSystemMap{ "key": ConfigSystemArgs{...} }

type ConfigSystemMapOutput

type ConfigSystemMapOutput struct{ *pulumi.OutputState }

func (ConfigSystemMapOutput) ElementType

func (ConfigSystemMapOutput) ElementType() reflect.Type

func (ConfigSystemMapOutput) MapIndex

func (ConfigSystemMapOutput) ToConfigSystemMapOutput

func (o ConfigSystemMapOutput) ToConfigSystemMapOutput() ConfigSystemMapOutput

func (ConfigSystemMapOutput) ToConfigSystemMapOutputWithContext

func (o ConfigSystemMapOutput) ToConfigSystemMapOutputWithContext(ctx context.Context) ConfigSystemMapOutput

type ConfigSystemOutput

type ConfigSystemOutput struct{ *pulumi.OutputState }

func (ConfigSystemOutput) AuditLogForwardEndpoint added in v3.10.15

func (o ConfigSystemOutput) AuditLogForwardEndpoint() pulumi.StringPtrOutput

The endpoint to forward audit logs to.

func (ConfigSystemOutput) BannerMessage added in v3.10.15

func (ConfigSystemOutput) ElementType

func (ConfigSystemOutput) ElementType() reflect.Type

func (ConfigSystemOutput) ProjectCreationRestriction

func (o ConfigSystemOutput) ProjectCreationRestriction() pulumi.StringPtrOutput

Who can create projects within Harbor. Can be `"adminonly"` or `"everyone"`

func (ConfigSystemOutput) ReadOnly

Whether or not the system is in read only mode.

func (ConfigSystemOutput) RobotNamePrefix

func (o ConfigSystemOutput) RobotNamePrefix() pulumi.StringPtrOutput

Robot account prefix.

func (ConfigSystemOutput) RobotTokenExpiration

func (o ConfigSystemOutput) RobotTokenExpiration() pulumi.IntPtrOutput

The amount of time in days a robot account will expire.

func (ConfigSystemOutput) ScannerSkipUpdatePulltime added in v3.9.2

func (o ConfigSystemOutput) ScannerSkipUpdatePulltime() pulumi.BoolPtrOutput

Whether or not to skip update pull time for scanner.

func (ConfigSystemOutput) SkipAuditLogDatabase added in v3.10.15

func (o ConfigSystemOutput) SkipAuditLogDatabase() pulumi.BoolPtrOutput

Whether or not to skip audit log database.

func (ConfigSystemOutput) StoragePerProject added in v3.10.2

func (o ConfigSystemOutput) StoragePerProject() pulumi.IntPtrOutput

Default quota space per project in GIB. Default is -1 (unlimited).

func (ConfigSystemOutput) ToConfigSystemOutput

func (o ConfigSystemOutput) ToConfigSystemOutput() ConfigSystemOutput

func (ConfigSystemOutput) ToConfigSystemOutputWithContext

func (o ConfigSystemOutput) ToConfigSystemOutputWithContext(ctx context.Context) ConfigSystemOutput

type ConfigSystemState

type ConfigSystemState struct {
	// The endpoint to forward audit logs to.
	AuditLogForwardEndpoint pulumi.StringPtrInput
	BannerMessage           ConfigSystemBannerMessagePtrInput
	// Who can create projects within Harbor. Can be `"adminonly"` or `"everyone"`
	ProjectCreationRestriction pulumi.StringPtrInput
	// Whether or not the system is in read only mode.
	ReadOnly pulumi.BoolPtrInput
	// Robot account prefix.
	RobotNamePrefix pulumi.StringPtrInput
	// The amount of time in days a robot account will expire.
	RobotTokenExpiration pulumi.IntPtrInput
	// Whether or not to skip update pull time for scanner.
	ScannerSkipUpdatePulltime pulumi.BoolPtrInput
	// Whether or not to skip audit log database.
	SkipAuditLogDatabase pulumi.BoolPtrInput
	// Default quota space per project in GIB. Default is -1 (unlimited).
	StoragePerProject pulumi.IntPtrInput
}

func (ConfigSystemState) ElementType

func (ConfigSystemState) ElementType() reflect.Type

type GarbageCollection

type GarbageCollection struct {
	pulumi.CustomResourceState

	// Allow garbage collection on untagged artifacts.
	DeleteUntagged pulumi.BoolPtrOutput `pulumi:"deleteUntagged"`
	// Sets the schedule how often the Garbage Collection will run.  Can be to `"hourly"`, `"daily"`, `"weekly"` or can be a custom cron string ie, `"0 5 4 * * *"`
	Schedule pulumi.StringOutput `pulumi:"schedule"`
	// Number of workers to run the garbage collection, value must be between 1 and 5.
	Workers pulumi.IntPtrOutput `pulumi:"workers"`
}

## Example Usage

func GetGarbageCollection

func GetGarbageCollection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GarbageCollectionState, opts ...pulumi.ResourceOption) (*GarbageCollection, error)

GetGarbageCollection gets an existing GarbageCollection resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGarbageCollection

func NewGarbageCollection(ctx *pulumi.Context,
	name string, args *GarbageCollectionArgs, opts ...pulumi.ResourceOption) (*GarbageCollection, error)

NewGarbageCollection registers a new resource with the given unique name, arguments, and options.

func (*GarbageCollection) ElementType

func (*GarbageCollection) ElementType() reflect.Type

func (*GarbageCollection) ToGarbageCollectionOutput

func (i *GarbageCollection) ToGarbageCollectionOutput() GarbageCollectionOutput

func (*GarbageCollection) ToGarbageCollectionOutputWithContext

func (i *GarbageCollection) ToGarbageCollectionOutputWithContext(ctx context.Context) GarbageCollectionOutput

type GarbageCollectionArgs

type GarbageCollectionArgs struct {
	// Allow garbage collection on untagged artifacts.
	DeleteUntagged pulumi.BoolPtrInput
	// Sets the schedule how often the Garbage Collection will run.  Can be to `"hourly"`, `"daily"`, `"weekly"` or can be a custom cron string ie, `"0 5 4 * * *"`
	Schedule pulumi.StringInput
	// Number of workers to run the garbage collection, value must be between 1 and 5.
	Workers pulumi.IntPtrInput
}

The set of arguments for constructing a GarbageCollection resource.

func (GarbageCollectionArgs) ElementType

func (GarbageCollectionArgs) ElementType() reflect.Type

type GarbageCollectionArray

type GarbageCollectionArray []GarbageCollectionInput

func (GarbageCollectionArray) ElementType

func (GarbageCollectionArray) ElementType() reflect.Type

func (GarbageCollectionArray) ToGarbageCollectionArrayOutput

func (i GarbageCollectionArray) ToGarbageCollectionArrayOutput() GarbageCollectionArrayOutput

func (GarbageCollectionArray) ToGarbageCollectionArrayOutputWithContext

func (i GarbageCollectionArray) ToGarbageCollectionArrayOutputWithContext(ctx context.Context) GarbageCollectionArrayOutput

type GarbageCollectionArrayInput

type GarbageCollectionArrayInput interface {
	pulumi.Input

	ToGarbageCollectionArrayOutput() GarbageCollectionArrayOutput
	ToGarbageCollectionArrayOutputWithContext(context.Context) GarbageCollectionArrayOutput
}

GarbageCollectionArrayInput is an input type that accepts GarbageCollectionArray and GarbageCollectionArrayOutput values. You can construct a concrete instance of `GarbageCollectionArrayInput` via:

GarbageCollectionArray{ GarbageCollectionArgs{...} }

type GarbageCollectionArrayOutput

type GarbageCollectionArrayOutput struct{ *pulumi.OutputState }

func (GarbageCollectionArrayOutput) ElementType

func (GarbageCollectionArrayOutput) Index

func (GarbageCollectionArrayOutput) ToGarbageCollectionArrayOutput

func (o GarbageCollectionArrayOutput) ToGarbageCollectionArrayOutput() GarbageCollectionArrayOutput

func (GarbageCollectionArrayOutput) ToGarbageCollectionArrayOutputWithContext

func (o GarbageCollectionArrayOutput) ToGarbageCollectionArrayOutputWithContext(ctx context.Context) GarbageCollectionArrayOutput

type GarbageCollectionInput

type GarbageCollectionInput interface {
	pulumi.Input

	ToGarbageCollectionOutput() GarbageCollectionOutput
	ToGarbageCollectionOutputWithContext(ctx context.Context) GarbageCollectionOutput
}

type GarbageCollectionMap

type GarbageCollectionMap map[string]GarbageCollectionInput

func (GarbageCollectionMap) ElementType

func (GarbageCollectionMap) ElementType() reflect.Type

func (GarbageCollectionMap) ToGarbageCollectionMapOutput

func (i GarbageCollectionMap) ToGarbageCollectionMapOutput() GarbageCollectionMapOutput

func (GarbageCollectionMap) ToGarbageCollectionMapOutputWithContext

func (i GarbageCollectionMap) ToGarbageCollectionMapOutputWithContext(ctx context.Context) GarbageCollectionMapOutput

type GarbageCollectionMapInput

type GarbageCollectionMapInput interface {
	pulumi.Input

	ToGarbageCollectionMapOutput() GarbageCollectionMapOutput
	ToGarbageCollectionMapOutputWithContext(context.Context) GarbageCollectionMapOutput
}

GarbageCollectionMapInput is an input type that accepts GarbageCollectionMap and GarbageCollectionMapOutput values. You can construct a concrete instance of `GarbageCollectionMapInput` via:

GarbageCollectionMap{ "key": GarbageCollectionArgs{...} }

type GarbageCollectionMapOutput

type GarbageCollectionMapOutput struct{ *pulumi.OutputState }

func (GarbageCollectionMapOutput) ElementType

func (GarbageCollectionMapOutput) ElementType() reflect.Type

func (GarbageCollectionMapOutput) MapIndex

func (GarbageCollectionMapOutput) ToGarbageCollectionMapOutput

func (o GarbageCollectionMapOutput) ToGarbageCollectionMapOutput() GarbageCollectionMapOutput

func (GarbageCollectionMapOutput) ToGarbageCollectionMapOutputWithContext

func (o GarbageCollectionMapOutput) ToGarbageCollectionMapOutputWithContext(ctx context.Context) GarbageCollectionMapOutput

type GarbageCollectionOutput

type GarbageCollectionOutput struct{ *pulumi.OutputState }

func (GarbageCollectionOutput) DeleteUntagged

func (o GarbageCollectionOutput) DeleteUntagged() pulumi.BoolPtrOutput

Allow garbage collection on untagged artifacts.

func (GarbageCollectionOutput) ElementType

func (GarbageCollectionOutput) ElementType() reflect.Type

func (GarbageCollectionOutput) Schedule

Sets the schedule how often the Garbage Collection will run. Can be to `"hourly"`, `"daily"`, `"weekly"` or can be a custom cron string ie, `"0 5 4 * * *"`

func (GarbageCollectionOutput) ToGarbageCollectionOutput

func (o GarbageCollectionOutput) ToGarbageCollectionOutput() GarbageCollectionOutput

func (GarbageCollectionOutput) ToGarbageCollectionOutputWithContext

func (o GarbageCollectionOutput) ToGarbageCollectionOutputWithContext(ctx context.Context) GarbageCollectionOutput

func (GarbageCollectionOutput) Workers added in v3.10.9

Number of workers to run the garbage collection, value must be between 1 and 5.

type GarbageCollectionState

type GarbageCollectionState struct {
	// Allow garbage collection on untagged artifacts.
	DeleteUntagged pulumi.BoolPtrInput
	// Sets the schedule how often the Garbage Collection will run.  Can be to `"hourly"`, `"daily"`, `"weekly"` or can be a custom cron string ie, `"0 5 4 * * *"`
	Schedule pulumi.StringPtrInput
	// Number of workers to run the garbage collection, value must be between 1 and 5.
	Workers pulumi.IntPtrInput
}

func (GarbageCollectionState) ElementType

func (GarbageCollectionState) ElementType() reflect.Type

type GetGroupsArgs added in v3.10.4

type GetGroupsArgs struct {
	// The name of the group to filter by.
	GroupName *string `pulumi:"groupName"`
	// The LDAP group DN to filter by.
	LdapGroupDn *string `pulumi:"ldapGroupDn"`
}

A collection of arguments for invoking getGroups.

type GetGroupsGroup added in v3.10.4

type GetGroupsGroup struct {
	// The name of the group to filter by.
	GroupName string `pulumi:"groupName"`
	GroupType int    `pulumi:"groupType"`
	// The ID of this resource.
	Id int `pulumi:"id"`
	// The LDAP group DN to filter by.
	LdapGroupDn string `pulumi:"ldapGroupDn"`
}

type GetGroupsGroupArgs added in v3.10.4

type GetGroupsGroupArgs struct {
	// The name of the group to filter by.
	GroupName pulumi.StringInput `pulumi:"groupName"`
	GroupType pulumi.IntInput    `pulumi:"groupType"`
	// The ID of this resource.
	Id pulumi.IntInput `pulumi:"id"`
	// The LDAP group DN to filter by.
	LdapGroupDn pulumi.StringInput `pulumi:"ldapGroupDn"`
}

func (GetGroupsGroupArgs) ElementType added in v3.10.4

func (GetGroupsGroupArgs) ElementType() reflect.Type

func (GetGroupsGroupArgs) ToGetGroupsGroupOutput added in v3.10.4

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext added in v3.10.4

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

type GetGroupsGroupArray added in v3.10.4

type GetGroupsGroupArray []GetGroupsGroupInput

func (GetGroupsGroupArray) ElementType added in v3.10.4

func (GetGroupsGroupArray) ElementType() reflect.Type

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutput added in v3.10.4

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext added in v3.10.4

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupArrayInput added in v3.10.4

type GetGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
	ToGetGroupsGroupArrayOutputWithContext(context.Context) GetGroupsGroupArrayOutput
}

GetGroupsGroupArrayInput is an input type that accepts GetGroupsGroupArray and GetGroupsGroupArrayOutput values. You can construct a concrete instance of `GetGroupsGroupArrayInput` via:

GetGroupsGroupArray{ GetGroupsGroupArgs{...} }

type GetGroupsGroupArrayOutput added in v3.10.4

type GetGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupArrayOutput) ElementType added in v3.10.4

func (GetGroupsGroupArrayOutput) ElementType() reflect.Type

func (GetGroupsGroupArrayOutput) Index added in v3.10.4

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput added in v3.10.4

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext added in v3.10.4

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupInput added in v3.10.4

type GetGroupsGroupInput interface {
	pulumi.Input

	ToGetGroupsGroupOutput() GetGroupsGroupOutput
	ToGetGroupsGroupOutputWithContext(context.Context) GetGroupsGroupOutput
}

GetGroupsGroupInput is an input type that accepts GetGroupsGroupArgs and GetGroupsGroupOutput values. You can construct a concrete instance of `GetGroupsGroupInput` via:

GetGroupsGroupArgs{...}

type GetGroupsGroupOutput added in v3.10.4

type GetGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupOutput) ElementType added in v3.10.4

func (GetGroupsGroupOutput) ElementType() reflect.Type

func (GetGroupsGroupOutput) GroupName added in v3.10.4

The name of the group to filter by.

func (GetGroupsGroupOutput) GroupType added in v3.10.4

func (o GetGroupsGroupOutput) GroupType() pulumi.IntOutput

func (GetGroupsGroupOutput) Id added in v3.10.4

The ID of this resource.

func (GetGroupsGroupOutput) LdapGroupDn added in v3.10.4

func (o GetGroupsGroupOutput) LdapGroupDn() pulumi.StringOutput

The LDAP group DN to filter by.

func (GetGroupsGroupOutput) ToGetGroupsGroupOutput added in v3.10.4

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext added in v3.10.4

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

type GetGroupsOutputArgs added in v3.10.4

type GetGroupsOutputArgs struct {
	// The name of the group to filter by.
	GroupName pulumi.StringPtrInput `pulumi:"groupName"`
	// The LDAP group DN to filter by.
	LdapGroupDn pulumi.StringPtrInput `pulumi:"ldapGroupDn"`
}

A collection of arguments for invoking getGroups.

func (GetGroupsOutputArgs) ElementType added in v3.10.4

func (GetGroupsOutputArgs) ElementType() reflect.Type

type GetGroupsResult added in v3.10.4

type GetGroupsResult struct {
	// The name of the group to filter by.
	GroupName *string          `pulumi:"groupName"`
	Groups    []GetGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The LDAP group DN to filter by.
	LdapGroupDn *string `pulumi:"ldapGroupDn"`
}

A collection of values returned by getGroups.

func GetGroups added in v3.10.4

func GetGroups(ctx *pulumi.Context, args *GetGroupsArgs, opts ...pulumi.InvokeOption) (*GetGroupsResult, error)

## Example Usage

type GetGroupsResultOutput added in v3.10.4

type GetGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getGroups.

func GetGroupsOutput added in v3.10.4

func GetGroupsOutput(ctx *pulumi.Context, args GetGroupsOutputArgs, opts ...pulumi.InvokeOption) GetGroupsResultOutput

func (GetGroupsResultOutput) ElementType added in v3.10.4

func (GetGroupsResultOutput) ElementType() reflect.Type

func (GetGroupsResultOutput) GroupName added in v3.10.4

The name of the group to filter by.

func (GetGroupsResultOutput) Groups added in v3.10.4

func (GetGroupsResultOutput) Id added in v3.10.4

The provider-assigned unique ID for this managed resource.

func (GetGroupsResultOutput) LdapGroupDn added in v3.10.4

The LDAP group DN to filter by.

func (GetGroupsResultOutput) ToGetGroupsResultOutput added in v3.10.4

func (o GetGroupsResultOutput) ToGetGroupsResultOutput() GetGroupsResultOutput

func (GetGroupsResultOutput) ToGetGroupsResultOutputWithContext added in v3.10.4

func (o GetGroupsResultOutput) ToGetGroupsResultOutputWithContext(ctx context.Context) GetGroupsResultOutput

type GetProjectMemberGroupsArgs added in v3.10.17

type GetProjectMemberGroupsArgs struct {
	// The id of the project within harbor.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getProjectMemberGroups.

type GetProjectMemberGroupsOutputArgs added in v3.10.17

type GetProjectMemberGroupsOutputArgs struct {
	// The id of the project within harbor.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

A collection of arguments for invoking getProjectMemberGroups.

func (GetProjectMemberGroupsOutputArgs) ElementType added in v3.10.17

type GetProjectMemberGroupsProjectMemberGroup added in v3.10.17

type GetProjectMemberGroupsProjectMemberGroup struct {
	GroupName string `pulumi:"groupName"`
	// The ID of this resource.
	Id string `pulumi:"id"`
	// The id of the project within harbor.
	ProjectId string `pulumi:"projectId"`
	Role      string `pulumi:"role"`
}

type GetProjectMemberGroupsProjectMemberGroupArgs added in v3.10.17

type GetProjectMemberGroupsProjectMemberGroupArgs struct {
	GroupName pulumi.StringInput `pulumi:"groupName"`
	// The ID of this resource.
	Id pulumi.StringInput `pulumi:"id"`
	// The id of the project within harbor.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	Role      pulumi.StringInput `pulumi:"role"`
}

func (GetProjectMemberGroupsProjectMemberGroupArgs) ElementType added in v3.10.17

func (GetProjectMemberGroupsProjectMemberGroupArgs) ToGetProjectMemberGroupsProjectMemberGroupOutput added in v3.10.17

func (i GetProjectMemberGroupsProjectMemberGroupArgs) ToGetProjectMemberGroupsProjectMemberGroupOutput() GetProjectMemberGroupsProjectMemberGroupOutput

func (GetProjectMemberGroupsProjectMemberGroupArgs) ToGetProjectMemberGroupsProjectMemberGroupOutputWithContext added in v3.10.17

func (i GetProjectMemberGroupsProjectMemberGroupArgs) ToGetProjectMemberGroupsProjectMemberGroupOutputWithContext(ctx context.Context) GetProjectMemberGroupsProjectMemberGroupOutput

type GetProjectMemberGroupsProjectMemberGroupArray added in v3.10.17

type GetProjectMemberGroupsProjectMemberGroupArray []GetProjectMemberGroupsProjectMemberGroupInput

func (GetProjectMemberGroupsProjectMemberGroupArray) ElementType added in v3.10.17

func (GetProjectMemberGroupsProjectMemberGroupArray) ToGetProjectMemberGroupsProjectMemberGroupArrayOutput added in v3.10.17

func (i GetProjectMemberGroupsProjectMemberGroupArray) ToGetProjectMemberGroupsProjectMemberGroupArrayOutput() GetProjectMemberGroupsProjectMemberGroupArrayOutput

func (GetProjectMemberGroupsProjectMemberGroupArray) ToGetProjectMemberGroupsProjectMemberGroupArrayOutputWithContext added in v3.10.17

func (i GetProjectMemberGroupsProjectMemberGroupArray) ToGetProjectMemberGroupsProjectMemberGroupArrayOutputWithContext(ctx context.Context) GetProjectMemberGroupsProjectMemberGroupArrayOutput

type GetProjectMemberGroupsProjectMemberGroupArrayInput added in v3.10.17

type GetProjectMemberGroupsProjectMemberGroupArrayInput interface {
	pulumi.Input

	ToGetProjectMemberGroupsProjectMemberGroupArrayOutput() GetProjectMemberGroupsProjectMemberGroupArrayOutput
	ToGetProjectMemberGroupsProjectMemberGroupArrayOutputWithContext(context.Context) GetProjectMemberGroupsProjectMemberGroupArrayOutput
}

GetProjectMemberGroupsProjectMemberGroupArrayInput is an input type that accepts GetProjectMemberGroupsProjectMemberGroupArray and GetProjectMemberGroupsProjectMemberGroupArrayOutput values. You can construct a concrete instance of `GetProjectMemberGroupsProjectMemberGroupArrayInput` via:

GetProjectMemberGroupsProjectMemberGroupArray{ GetProjectMemberGroupsProjectMemberGroupArgs{...} }

type GetProjectMemberGroupsProjectMemberGroupArrayOutput added in v3.10.17

type GetProjectMemberGroupsProjectMemberGroupArrayOutput struct{ *pulumi.OutputState }

func (GetProjectMemberGroupsProjectMemberGroupArrayOutput) ElementType added in v3.10.17

func (GetProjectMemberGroupsProjectMemberGroupArrayOutput) Index added in v3.10.17

func (GetProjectMemberGroupsProjectMemberGroupArrayOutput) ToGetProjectMemberGroupsProjectMemberGroupArrayOutput added in v3.10.17

func (o GetProjectMemberGroupsProjectMemberGroupArrayOutput) ToGetProjectMemberGroupsProjectMemberGroupArrayOutput() GetProjectMemberGroupsProjectMemberGroupArrayOutput

func (GetProjectMemberGroupsProjectMemberGroupArrayOutput) ToGetProjectMemberGroupsProjectMemberGroupArrayOutputWithContext added in v3.10.17

func (o GetProjectMemberGroupsProjectMemberGroupArrayOutput) ToGetProjectMemberGroupsProjectMemberGroupArrayOutputWithContext(ctx context.Context) GetProjectMemberGroupsProjectMemberGroupArrayOutput

type GetProjectMemberGroupsProjectMemberGroupInput added in v3.10.17

type GetProjectMemberGroupsProjectMemberGroupInput interface {
	pulumi.Input

	ToGetProjectMemberGroupsProjectMemberGroupOutput() GetProjectMemberGroupsProjectMemberGroupOutput
	ToGetProjectMemberGroupsProjectMemberGroupOutputWithContext(context.Context) GetProjectMemberGroupsProjectMemberGroupOutput
}

GetProjectMemberGroupsProjectMemberGroupInput is an input type that accepts GetProjectMemberGroupsProjectMemberGroupArgs and GetProjectMemberGroupsProjectMemberGroupOutput values. You can construct a concrete instance of `GetProjectMemberGroupsProjectMemberGroupInput` via:

GetProjectMemberGroupsProjectMemberGroupArgs{...}

type GetProjectMemberGroupsProjectMemberGroupOutput added in v3.10.17

type GetProjectMemberGroupsProjectMemberGroupOutput struct{ *pulumi.OutputState }

func (GetProjectMemberGroupsProjectMemberGroupOutput) ElementType added in v3.10.17

func (GetProjectMemberGroupsProjectMemberGroupOutput) GroupName added in v3.10.17

func (GetProjectMemberGroupsProjectMemberGroupOutput) Id added in v3.10.17

The ID of this resource.

func (GetProjectMemberGroupsProjectMemberGroupOutput) ProjectId added in v3.10.17

The id of the project within harbor.

func (GetProjectMemberGroupsProjectMemberGroupOutput) Role added in v3.10.17

func (GetProjectMemberGroupsProjectMemberGroupOutput) ToGetProjectMemberGroupsProjectMemberGroupOutput added in v3.10.17

func (o GetProjectMemberGroupsProjectMemberGroupOutput) ToGetProjectMemberGroupsProjectMemberGroupOutput() GetProjectMemberGroupsProjectMemberGroupOutput

func (GetProjectMemberGroupsProjectMemberGroupOutput) ToGetProjectMemberGroupsProjectMemberGroupOutputWithContext added in v3.10.17

func (o GetProjectMemberGroupsProjectMemberGroupOutput) ToGetProjectMemberGroupsProjectMemberGroupOutputWithContext(ctx context.Context) GetProjectMemberGroupsProjectMemberGroupOutput

type GetProjectMemberGroupsResult added in v3.10.17

type GetProjectMemberGroupsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The id of the project within harbor.
	ProjectId           string                                     `pulumi:"projectId"`
	ProjectMemberGroups []GetProjectMemberGroupsProjectMemberGroup `pulumi:"projectMemberGroups"`
}

A collection of values returned by getProjectMemberGroups.

func GetProjectMemberGroups added in v3.10.17

func GetProjectMemberGroups(ctx *pulumi.Context, args *GetProjectMemberGroupsArgs, opts ...pulumi.InvokeOption) (*GetProjectMemberGroupsResult, error)

## Example Usage

type GetProjectMemberGroupsResultOutput added in v3.10.17

type GetProjectMemberGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectMemberGroups.

func GetProjectMemberGroupsOutput added in v3.10.17

func (GetProjectMemberGroupsResultOutput) ElementType added in v3.10.17

func (GetProjectMemberGroupsResultOutput) Id added in v3.10.17

The provider-assigned unique ID for this managed resource.

func (GetProjectMemberGroupsResultOutput) ProjectId added in v3.10.17

The id of the project within harbor.

func (GetProjectMemberGroupsResultOutput) ProjectMemberGroups added in v3.10.17

func (GetProjectMemberGroupsResultOutput) ToGetProjectMemberGroupsResultOutput added in v3.10.17

func (o GetProjectMemberGroupsResultOutput) ToGetProjectMemberGroupsResultOutput() GetProjectMemberGroupsResultOutput

func (GetProjectMemberGroupsResultOutput) ToGetProjectMemberGroupsResultOutputWithContext added in v3.10.17

func (o GetProjectMemberGroupsResultOutput) ToGetProjectMemberGroupsResultOutputWithContext(ctx context.Context) GetProjectMemberGroupsResultOutput

type GetProjectMemberUsersArgs added in v3.10.17

type GetProjectMemberUsersArgs struct {
	// The id of the project within harbor.
	ProjectId string `pulumi:"projectId"`
}

A collection of arguments for invoking getProjectMemberUsers.

type GetProjectMemberUsersOutputArgs added in v3.10.17

type GetProjectMemberUsersOutputArgs struct {
	// The id of the project within harbor.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
}

A collection of arguments for invoking getProjectMemberUsers.

func (GetProjectMemberUsersOutputArgs) ElementType added in v3.10.17

type GetProjectMemberUsersProjectMemberUser added in v3.10.17

type GetProjectMemberUsersProjectMemberUser struct {
	// The ID of this resource.
	Id string `pulumi:"id"`
	// The id of the project within harbor.
	ProjectId string `pulumi:"projectId"`
	Role      string `pulumi:"role"`
	UserName  string `pulumi:"userName"`
}

type GetProjectMemberUsersProjectMemberUserArgs added in v3.10.17

type GetProjectMemberUsersProjectMemberUserArgs struct {
	// The ID of this resource.
	Id pulumi.StringInput `pulumi:"id"`
	// The id of the project within harbor.
	ProjectId pulumi.StringInput `pulumi:"projectId"`
	Role      pulumi.StringInput `pulumi:"role"`
	UserName  pulumi.StringInput `pulumi:"userName"`
}

func (GetProjectMemberUsersProjectMemberUserArgs) ElementType added in v3.10.17

func (GetProjectMemberUsersProjectMemberUserArgs) ToGetProjectMemberUsersProjectMemberUserOutput added in v3.10.17

func (i GetProjectMemberUsersProjectMemberUserArgs) ToGetProjectMemberUsersProjectMemberUserOutput() GetProjectMemberUsersProjectMemberUserOutput

func (GetProjectMemberUsersProjectMemberUserArgs) ToGetProjectMemberUsersProjectMemberUserOutputWithContext added in v3.10.17

func (i GetProjectMemberUsersProjectMemberUserArgs) ToGetProjectMemberUsersProjectMemberUserOutputWithContext(ctx context.Context) GetProjectMemberUsersProjectMemberUserOutput

type GetProjectMemberUsersProjectMemberUserArray added in v3.10.17

type GetProjectMemberUsersProjectMemberUserArray []GetProjectMemberUsersProjectMemberUserInput

func (GetProjectMemberUsersProjectMemberUserArray) ElementType added in v3.10.17

func (GetProjectMemberUsersProjectMemberUserArray) ToGetProjectMemberUsersProjectMemberUserArrayOutput added in v3.10.17

func (i GetProjectMemberUsersProjectMemberUserArray) ToGetProjectMemberUsersProjectMemberUserArrayOutput() GetProjectMemberUsersProjectMemberUserArrayOutput

func (GetProjectMemberUsersProjectMemberUserArray) ToGetProjectMemberUsersProjectMemberUserArrayOutputWithContext added in v3.10.17

func (i GetProjectMemberUsersProjectMemberUserArray) ToGetProjectMemberUsersProjectMemberUserArrayOutputWithContext(ctx context.Context) GetProjectMemberUsersProjectMemberUserArrayOutput

type GetProjectMemberUsersProjectMemberUserArrayInput added in v3.10.17

type GetProjectMemberUsersProjectMemberUserArrayInput interface {
	pulumi.Input

	ToGetProjectMemberUsersProjectMemberUserArrayOutput() GetProjectMemberUsersProjectMemberUserArrayOutput
	ToGetProjectMemberUsersProjectMemberUserArrayOutputWithContext(context.Context) GetProjectMemberUsersProjectMemberUserArrayOutput
}

GetProjectMemberUsersProjectMemberUserArrayInput is an input type that accepts GetProjectMemberUsersProjectMemberUserArray and GetProjectMemberUsersProjectMemberUserArrayOutput values. You can construct a concrete instance of `GetProjectMemberUsersProjectMemberUserArrayInput` via:

GetProjectMemberUsersProjectMemberUserArray{ GetProjectMemberUsersProjectMemberUserArgs{...} }

type GetProjectMemberUsersProjectMemberUserArrayOutput added in v3.10.17

type GetProjectMemberUsersProjectMemberUserArrayOutput struct{ *pulumi.OutputState }

func (GetProjectMemberUsersProjectMemberUserArrayOutput) ElementType added in v3.10.17

func (GetProjectMemberUsersProjectMemberUserArrayOutput) Index added in v3.10.17

func (GetProjectMemberUsersProjectMemberUserArrayOutput) ToGetProjectMemberUsersProjectMemberUserArrayOutput added in v3.10.17

func (o GetProjectMemberUsersProjectMemberUserArrayOutput) ToGetProjectMemberUsersProjectMemberUserArrayOutput() GetProjectMemberUsersProjectMemberUserArrayOutput

func (GetProjectMemberUsersProjectMemberUserArrayOutput) ToGetProjectMemberUsersProjectMemberUserArrayOutputWithContext added in v3.10.17

func (o GetProjectMemberUsersProjectMemberUserArrayOutput) ToGetProjectMemberUsersProjectMemberUserArrayOutputWithContext(ctx context.Context) GetProjectMemberUsersProjectMemberUserArrayOutput

type GetProjectMemberUsersProjectMemberUserInput added in v3.10.17

type GetProjectMemberUsersProjectMemberUserInput interface {
	pulumi.Input

	ToGetProjectMemberUsersProjectMemberUserOutput() GetProjectMemberUsersProjectMemberUserOutput
	ToGetProjectMemberUsersProjectMemberUserOutputWithContext(context.Context) GetProjectMemberUsersProjectMemberUserOutput
}

GetProjectMemberUsersProjectMemberUserInput is an input type that accepts GetProjectMemberUsersProjectMemberUserArgs and GetProjectMemberUsersProjectMemberUserOutput values. You can construct a concrete instance of `GetProjectMemberUsersProjectMemberUserInput` via:

GetProjectMemberUsersProjectMemberUserArgs{...}

type GetProjectMemberUsersProjectMemberUserOutput added in v3.10.17

type GetProjectMemberUsersProjectMemberUserOutput struct{ *pulumi.OutputState }

func (GetProjectMemberUsersProjectMemberUserOutput) ElementType added in v3.10.17

func (GetProjectMemberUsersProjectMemberUserOutput) Id added in v3.10.17

The ID of this resource.

func (GetProjectMemberUsersProjectMemberUserOutput) ProjectId added in v3.10.17

The id of the project within harbor.

func (GetProjectMemberUsersProjectMemberUserOutput) Role added in v3.10.17

func (GetProjectMemberUsersProjectMemberUserOutput) ToGetProjectMemberUsersProjectMemberUserOutput added in v3.10.17

func (o GetProjectMemberUsersProjectMemberUserOutput) ToGetProjectMemberUsersProjectMemberUserOutput() GetProjectMemberUsersProjectMemberUserOutput

func (GetProjectMemberUsersProjectMemberUserOutput) ToGetProjectMemberUsersProjectMemberUserOutputWithContext added in v3.10.17

func (o GetProjectMemberUsersProjectMemberUserOutput) ToGetProjectMemberUsersProjectMemberUserOutputWithContext(ctx context.Context) GetProjectMemberUsersProjectMemberUserOutput

func (GetProjectMemberUsersProjectMemberUserOutput) UserName added in v3.10.17

type GetProjectMemberUsersResult added in v3.10.17

type GetProjectMemberUsersResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The id of the project within harbor.
	ProjectId          string                                   `pulumi:"projectId"`
	ProjectMemberUsers []GetProjectMemberUsersProjectMemberUser `pulumi:"projectMemberUsers"`
}

A collection of values returned by getProjectMemberUsers.

func GetProjectMemberUsers added in v3.10.17

func GetProjectMemberUsers(ctx *pulumi.Context, args *GetProjectMemberUsersArgs, opts ...pulumi.InvokeOption) (*GetProjectMemberUsersResult, error)

## Example Usage

type GetProjectMemberUsersResultOutput added in v3.10.17

type GetProjectMemberUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjectMemberUsers.

func GetProjectMemberUsersOutput added in v3.10.17

func (GetProjectMemberUsersResultOutput) ElementType added in v3.10.17

func (GetProjectMemberUsersResultOutput) Id added in v3.10.17

The provider-assigned unique ID for this managed resource.

func (GetProjectMemberUsersResultOutput) ProjectId added in v3.10.17

The id of the project within harbor.

func (GetProjectMemberUsersResultOutput) ProjectMemberUsers added in v3.10.17

func (GetProjectMemberUsersResultOutput) ToGetProjectMemberUsersResultOutput added in v3.10.17

func (o GetProjectMemberUsersResultOutput) ToGetProjectMemberUsersResultOutput() GetProjectMemberUsersResultOutput

func (GetProjectMemberUsersResultOutput) ToGetProjectMemberUsersResultOutputWithContext added in v3.10.17

func (o GetProjectMemberUsersResultOutput) ToGetProjectMemberUsersResultOutputWithContext(ctx context.Context) GetProjectMemberUsersResultOutput

type GetProjectsArgs added in v3.10.0

type GetProjectsArgs struct {
	// The name of the project.
	Name *string `pulumi:"name"`
	// If the project has public accessibility.
	Public *bool `pulumi:"public"`
	// The type of the project : Project or ProxyCache.
	Type *string `pulumi:"type"`
	// If the images will be scanned for vulnerabilities when push to harbor.
	VulnerabilityScanning *bool `pulumi:"vulnerabilityScanning"`
}

A collection of arguments for invoking getProjects.

type GetProjectsOutputArgs added in v3.10.0

type GetProjectsOutputArgs struct {
	// The name of the project.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// If the project has public accessibility.
	Public pulumi.BoolPtrInput `pulumi:"public"`
	// The type of the project : Project or ProxyCache.
	Type pulumi.StringPtrInput `pulumi:"type"`
	// If the images will be scanned for vulnerabilities when push to harbor.
	VulnerabilityScanning pulumi.BoolPtrInput `pulumi:"vulnerabilityScanning"`
}

A collection of arguments for invoking getProjects.

func (GetProjectsOutputArgs) ElementType added in v3.10.0

func (GetProjectsOutputArgs) ElementType() reflect.Type

type GetProjectsProject added in v3.10.0

type GetProjectsProject struct {
	Name                  string `pulumi:"name"`
	ProjectId             int    `pulumi:"projectId"`
	Public                bool   `pulumi:"public"`
	Type                  string `pulumi:"type"`
	VulnerabilityScanning bool   `pulumi:"vulnerabilityScanning"`
}

type GetProjectsProjectArgs added in v3.10.0

type GetProjectsProjectArgs struct {
	Name                  pulumi.StringInput `pulumi:"name"`
	ProjectId             pulumi.IntInput    `pulumi:"projectId"`
	Public                pulumi.BoolInput   `pulumi:"public"`
	Type                  pulumi.StringInput `pulumi:"type"`
	VulnerabilityScanning pulumi.BoolInput   `pulumi:"vulnerabilityScanning"`
}

func (GetProjectsProjectArgs) ElementType added in v3.10.0

func (GetProjectsProjectArgs) ElementType() reflect.Type

func (GetProjectsProjectArgs) ToGetProjectsProjectOutput added in v3.10.0

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext added in v3.10.0

func (i GetProjectsProjectArgs) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

type GetProjectsProjectArray added in v3.10.0

type GetProjectsProjectArray []GetProjectsProjectInput

func (GetProjectsProjectArray) ElementType added in v3.10.0

func (GetProjectsProjectArray) ElementType() reflect.Type

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutput added in v3.10.0

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext added in v3.10.0

func (i GetProjectsProjectArray) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectArrayInput added in v3.10.0

type GetProjectsProjectArrayInput interface {
	pulumi.Input

	ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput
	ToGetProjectsProjectArrayOutputWithContext(context.Context) GetProjectsProjectArrayOutput
}

GetProjectsProjectArrayInput is an input type that accepts GetProjectsProjectArray and GetProjectsProjectArrayOutput values. You can construct a concrete instance of `GetProjectsProjectArrayInput` via:

GetProjectsProjectArray{ GetProjectsProjectArgs{...} }

type GetProjectsProjectArrayOutput added in v3.10.0

type GetProjectsProjectArrayOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectArrayOutput) ElementType added in v3.10.0

func (GetProjectsProjectArrayOutput) Index added in v3.10.0

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput added in v3.10.0

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutput() GetProjectsProjectArrayOutput

func (GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext added in v3.10.0

func (o GetProjectsProjectArrayOutput) ToGetProjectsProjectArrayOutputWithContext(ctx context.Context) GetProjectsProjectArrayOutput

type GetProjectsProjectInput added in v3.10.0

type GetProjectsProjectInput interface {
	pulumi.Input

	ToGetProjectsProjectOutput() GetProjectsProjectOutput
	ToGetProjectsProjectOutputWithContext(context.Context) GetProjectsProjectOutput
}

GetProjectsProjectInput is an input type that accepts GetProjectsProjectArgs and GetProjectsProjectOutput values. You can construct a concrete instance of `GetProjectsProjectInput` via:

GetProjectsProjectArgs{...}

type GetProjectsProjectOutput added in v3.10.0

type GetProjectsProjectOutput struct{ *pulumi.OutputState }

func (GetProjectsProjectOutput) ElementType added in v3.10.0

func (GetProjectsProjectOutput) ElementType() reflect.Type

func (GetProjectsProjectOutput) Name added in v3.10.0

func (GetProjectsProjectOutput) ProjectId added in v3.10.0

func (GetProjectsProjectOutput) Public added in v3.10.0

func (GetProjectsProjectOutput) ToGetProjectsProjectOutput added in v3.10.0

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutput() GetProjectsProjectOutput

func (GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext added in v3.10.0

func (o GetProjectsProjectOutput) ToGetProjectsProjectOutputWithContext(ctx context.Context) GetProjectsProjectOutput

func (GetProjectsProjectOutput) Type added in v3.10.0

func (GetProjectsProjectOutput) VulnerabilityScanning added in v3.10.0

func (o GetProjectsProjectOutput) VulnerabilityScanning() pulumi.BoolOutput

type GetProjectsResult added in v3.10.0

type GetProjectsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the project.
	Name     *string              `pulumi:"name"`
	Projects []GetProjectsProject `pulumi:"projects"`
	// If the project has public accessibility.
	Public *bool `pulumi:"public"`
	// The type of the project : Project or ProxyCache.
	Type *string `pulumi:"type"`
	// If the images will be scanned for vulnerabilities when push to harbor.
	VulnerabilityScanning *bool `pulumi:"vulnerabilityScanning"`
}

A collection of values returned by getProjects.

func GetProjects added in v3.10.0

func GetProjects(ctx *pulumi.Context, args *GetProjectsArgs, opts ...pulumi.InvokeOption) (*GetProjectsResult, error)

## Example Usage

type GetProjectsResultOutput added in v3.10.0

type GetProjectsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProjects.

func GetProjectsOutput added in v3.10.0

func GetProjectsOutput(ctx *pulumi.Context, args GetProjectsOutputArgs, opts ...pulumi.InvokeOption) GetProjectsResultOutput

func (GetProjectsResultOutput) ElementType added in v3.10.0

func (GetProjectsResultOutput) ElementType() reflect.Type

func (GetProjectsResultOutput) Id added in v3.10.0

The provider-assigned unique ID for this managed resource.

func (GetProjectsResultOutput) Name added in v3.10.0

The name of the project.

func (GetProjectsResultOutput) Projects added in v3.10.0

func (GetProjectsResultOutput) Public added in v3.10.0

If the project has public accessibility.

func (GetProjectsResultOutput) ToGetProjectsResultOutput added in v3.10.0

func (o GetProjectsResultOutput) ToGetProjectsResultOutput() GetProjectsResultOutput

func (GetProjectsResultOutput) ToGetProjectsResultOutputWithContext added in v3.10.0

func (o GetProjectsResultOutput) ToGetProjectsResultOutputWithContext(ctx context.Context) GetProjectsResultOutput

func (GetProjectsResultOutput) Type added in v3.10.0

The type of the project : Project or ProxyCache.

func (GetProjectsResultOutput) VulnerabilityScanning added in v3.10.0

func (o GetProjectsResultOutput) VulnerabilityScanning() pulumi.BoolPtrOutput

If the images will be scanned for vulnerabilities when push to harbor.

type GetRobotAccountsArgs added in v3.10.17

type GetRobotAccountsArgs struct {
	// Level of the robot account, currently either `system` or `project`. Default is `system`.
	Level *string `pulumi:"level"`
	// The name of the robot account to filter by.
	Name *string `pulumi:"name"`
	// The id of the project within harbor.
	ProjectId *int `pulumi:"projectId"`
}

A collection of arguments for invoking getRobotAccounts.

type GetRobotAccountsOutputArgs added in v3.10.17

type GetRobotAccountsOutputArgs struct {
	// Level of the robot account, currently either `system` or `project`. Default is `system`.
	Level pulumi.StringPtrInput `pulumi:"level"`
	// The name of the robot account to filter by.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// The id of the project within harbor.
	ProjectId pulumi.IntPtrInput `pulumi:"projectId"`
}

A collection of arguments for invoking getRobotAccounts.

func (GetRobotAccountsOutputArgs) ElementType added in v3.10.17

func (GetRobotAccountsOutputArgs) ElementType() reflect.Type

type GetRobotAccountsResult added in v3.10.17

type GetRobotAccountsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Level of the robot account, currently either `system` or `project`. Default is `system`.
	Level *string `pulumi:"level"`
	// The name of the robot account to filter by.
	Name *string `pulumi:"name"`
	// The id of the project within harbor.
	ProjectId     *int                           `pulumi:"projectId"`
	RobotAccounts []GetRobotAccountsRobotAccount `pulumi:"robotAccounts"`
}

A collection of values returned by getRobotAccounts.

func GetRobotAccounts added in v3.10.17

func GetRobotAccounts(ctx *pulumi.Context, args *GetRobotAccountsArgs, opts ...pulumi.InvokeOption) (*GetRobotAccountsResult, error)

## Example Usage

type GetRobotAccountsResultOutput added in v3.10.17

type GetRobotAccountsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRobotAccounts.

func GetRobotAccountsOutput added in v3.10.17

func (GetRobotAccountsResultOutput) ElementType added in v3.10.17

func (GetRobotAccountsResultOutput) Id added in v3.10.17

The provider-assigned unique ID for this managed resource.

func (GetRobotAccountsResultOutput) Level added in v3.10.17

Level of the robot account, currently either `system` or `project`. Default is `system`.

func (GetRobotAccountsResultOutput) Name added in v3.10.17

The name of the robot account to filter by.

func (GetRobotAccountsResultOutput) ProjectId added in v3.10.17

The id of the project within harbor.

func (GetRobotAccountsResultOutput) RobotAccounts added in v3.10.17

func (GetRobotAccountsResultOutput) ToGetRobotAccountsResultOutput added in v3.10.17

func (o GetRobotAccountsResultOutput) ToGetRobotAccountsResultOutput() GetRobotAccountsResultOutput

func (GetRobotAccountsResultOutput) ToGetRobotAccountsResultOutputWithContext added in v3.10.17

func (o GetRobotAccountsResultOutput) ToGetRobotAccountsResultOutputWithContext(ctx context.Context) GetRobotAccountsResultOutput

type GetRobotAccountsRobotAccount added in v3.10.17

type GetRobotAccountsRobotAccount struct {
	Description string `pulumi:"description"`
	Disable     bool   `pulumi:"disable"`
	Duration    int    `pulumi:"duration"`
	// The ID of this resource.
	Id string `pulumi:"id"`
	// Level of the robot account, currently either `system` or `project`. Default is `system`.
	Level string `pulumi:"level"`
	// The name of the robot account to filter by.
	Name string `pulumi:"name"`
}

type GetRobotAccountsRobotAccountArgs added in v3.10.17

type GetRobotAccountsRobotAccountArgs struct {
	Description pulumi.StringInput `pulumi:"description"`
	Disable     pulumi.BoolInput   `pulumi:"disable"`
	Duration    pulumi.IntInput    `pulumi:"duration"`
	// The ID of this resource.
	Id pulumi.StringInput `pulumi:"id"`
	// Level of the robot account, currently either `system` or `project`. Default is `system`.
	Level pulumi.StringInput `pulumi:"level"`
	// The name of the robot account to filter by.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetRobotAccountsRobotAccountArgs) ElementType added in v3.10.17

func (GetRobotAccountsRobotAccountArgs) ToGetRobotAccountsRobotAccountOutput added in v3.10.17

func (i GetRobotAccountsRobotAccountArgs) ToGetRobotAccountsRobotAccountOutput() GetRobotAccountsRobotAccountOutput

func (GetRobotAccountsRobotAccountArgs) ToGetRobotAccountsRobotAccountOutputWithContext added in v3.10.17

func (i GetRobotAccountsRobotAccountArgs) ToGetRobotAccountsRobotAccountOutputWithContext(ctx context.Context) GetRobotAccountsRobotAccountOutput

type GetRobotAccountsRobotAccountArray added in v3.10.17

type GetRobotAccountsRobotAccountArray []GetRobotAccountsRobotAccountInput

func (GetRobotAccountsRobotAccountArray) ElementType added in v3.10.17

func (GetRobotAccountsRobotAccountArray) ToGetRobotAccountsRobotAccountArrayOutput added in v3.10.17

func (i GetRobotAccountsRobotAccountArray) ToGetRobotAccountsRobotAccountArrayOutput() GetRobotAccountsRobotAccountArrayOutput

func (GetRobotAccountsRobotAccountArray) ToGetRobotAccountsRobotAccountArrayOutputWithContext added in v3.10.17

func (i GetRobotAccountsRobotAccountArray) ToGetRobotAccountsRobotAccountArrayOutputWithContext(ctx context.Context) GetRobotAccountsRobotAccountArrayOutput

type GetRobotAccountsRobotAccountArrayInput added in v3.10.17

type GetRobotAccountsRobotAccountArrayInput interface {
	pulumi.Input

	ToGetRobotAccountsRobotAccountArrayOutput() GetRobotAccountsRobotAccountArrayOutput
	ToGetRobotAccountsRobotAccountArrayOutputWithContext(context.Context) GetRobotAccountsRobotAccountArrayOutput
}

GetRobotAccountsRobotAccountArrayInput is an input type that accepts GetRobotAccountsRobotAccountArray and GetRobotAccountsRobotAccountArrayOutput values. You can construct a concrete instance of `GetRobotAccountsRobotAccountArrayInput` via:

GetRobotAccountsRobotAccountArray{ GetRobotAccountsRobotAccountArgs{...} }

type GetRobotAccountsRobotAccountArrayOutput added in v3.10.17

type GetRobotAccountsRobotAccountArrayOutput struct{ *pulumi.OutputState }

func (GetRobotAccountsRobotAccountArrayOutput) ElementType added in v3.10.17

func (GetRobotAccountsRobotAccountArrayOutput) Index added in v3.10.17

func (GetRobotAccountsRobotAccountArrayOutput) ToGetRobotAccountsRobotAccountArrayOutput added in v3.10.17

func (o GetRobotAccountsRobotAccountArrayOutput) ToGetRobotAccountsRobotAccountArrayOutput() GetRobotAccountsRobotAccountArrayOutput

func (GetRobotAccountsRobotAccountArrayOutput) ToGetRobotAccountsRobotAccountArrayOutputWithContext added in v3.10.17

func (o GetRobotAccountsRobotAccountArrayOutput) ToGetRobotAccountsRobotAccountArrayOutputWithContext(ctx context.Context) GetRobotAccountsRobotAccountArrayOutput

type GetRobotAccountsRobotAccountInput added in v3.10.17

type GetRobotAccountsRobotAccountInput interface {
	pulumi.Input

	ToGetRobotAccountsRobotAccountOutput() GetRobotAccountsRobotAccountOutput
	ToGetRobotAccountsRobotAccountOutputWithContext(context.Context) GetRobotAccountsRobotAccountOutput
}

GetRobotAccountsRobotAccountInput is an input type that accepts GetRobotAccountsRobotAccountArgs and GetRobotAccountsRobotAccountOutput values. You can construct a concrete instance of `GetRobotAccountsRobotAccountInput` via:

GetRobotAccountsRobotAccountArgs{...}

type GetRobotAccountsRobotAccountOutput added in v3.10.17

type GetRobotAccountsRobotAccountOutput struct{ *pulumi.OutputState }

func (GetRobotAccountsRobotAccountOutput) Description added in v3.10.17

func (GetRobotAccountsRobotAccountOutput) Disable added in v3.10.17

func (GetRobotAccountsRobotAccountOutput) Duration added in v3.10.17

func (GetRobotAccountsRobotAccountOutput) ElementType added in v3.10.17

func (GetRobotAccountsRobotAccountOutput) Id added in v3.10.17

The ID of this resource.

func (GetRobotAccountsRobotAccountOutput) Level added in v3.10.17

Level of the robot account, currently either `system` or `project`. Default is `system`.

func (GetRobotAccountsRobotAccountOutput) Name added in v3.10.17

The name of the robot account to filter by.

func (GetRobotAccountsRobotAccountOutput) ToGetRobotAccountsRobotAccountOutput added in v3.10.17

func (o GetRobotAccountsRobotAccountOutput) ToGetRobotAccountsRobotAccountOutput() GetRobotAccountsRobotAccountOutput

func (GetRobotAccountsRobotAccountOutput) ToGetRobotAccountsRobotAccountOutputWithContext added in v3.10.17

func (o GetRobotAccountsRobotAccountOutput) ToGetRobotAccountsRobotAccountOutputWithContext(ctx context.Context) GetRobotAccountsRobotAccountOutput

type GetUsersArgs added in v3.10.17

type GetUsersArgs struct {
	// The email of the user to filter by.
	Email *string `pulumi:"email"`
	// The name of the user to filter by.
	Username *string `pulumi:"username"`
}

A collection of arguments for invoking getUsers.

type GetUsersOutputArgs added in v3.10.17

type GetUsersOutputArgs struct {
	// The email of the user to filter by.
	Email pulumi.StringPtrInput `pulumi:"email"`
	// The name of the user to filter by.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

A collection of arguments for invoking getUsers.

func (GetUsersOutputArgs) ElementType added in v3.10.17

func (GetUsersOutputArgs) ElementType() reflect.Type

type GetUsersResult added in v3.10.17

type GetUsersResult struct {
	// The email of the user to filter by.
	Email *string `pulumi:"email"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the user to filter by.
	Username *string        `pulumi:"username"`
	Users    []GetUsersUser `pulumi:"users"`
}

A collection of values returned by getUsers.

func GetUsers added in v3.10.17

func GetUsers(ctx *pulumi.Context, args *GetUsersArgs, opts ...pulumi.InvokeOption) (*GetUsersResult, error)

## Example Usage

type GetUsersResultOutput added in v3.10.17

type GetUsersResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUsers.

func GetUsersOutput added in v3.10.17

func GetUsersOutput(ctx *pulumi.Context, args GetUsersOutputArgs, opts ...pulumi.InvokeOption) GetUsersResultOutput

func (GetUsersResultOutput) ElementType added in v3.10.17

func (GetUsersResultOutput) ElementType() reflect.Type

func (GetUsersResultOutput) Email added in v3.10.17

The email of the user to filter by.

func (GetUsersResultOutput) Id added in v3.10.17

The provider-assigned unique ID for this managed resource.

func (GetUsersResultOutput) ToGetUsersResultOutput added in v3.10.17

func (o GetUsersResultOutput) ToGetUsersResultOutput() GetUsersResultOutput

func (GetUsersResultOutput) ToGetUsersResultOutputWithContext added in v3.10.17

func (o GetUsersResultOutput) ToGetUsersResultOutputWithContext(ctx context.Context) GetUsersResultOutput

func (GetUsersResultOutput) Username added in v3.10.17

The name of the user to filter by.

func (GetUsersResultOutput) Users added in v3.10.17

type GetUsersUser added in v3.10.17

type GetUsersUser struct {
	Admin   bool   `pulumi:"admin"`
	Comment string `pulumi:"comment"`
	// The email of the user to filter by.
	Email    string `pulumi:"email"`
	FullName string `pulumi:"fullName"`
	// The ID of this resource.
	Id string `pulumi:"id"`
	// The name of the user to filter by.
	Username string `pulumi:"username"`
}

type GetUsersUserArgs added in v3.10.17

type GetUsersUserArgs struct {
	Admin   pulumi.BoolInput   `pulumi:"admin"`
	Comment pulumi.StringInput `pulumi:"comment"`
	// The email of the user to filter by.
	Email    pulumi.StringInput `pulumi:"email"`
	FullName pulumi.StringInput `pulumi:"fullName"`
	// The ID of this resource.
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the user to filter by.
	Username pulumi.StringInput `pulumi:"username"`
}

func (GetUsersUserArgs) ElementType added in v3.10.17

func (GetUsersUserArgs) ElementType() reflect.Type

func (GetUsersUserArgs) ToGetUsersUserOutput added in v3.10.17

func (i GetUsersUserArgs) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserArgs) ToGetUsersUserOutputWithContext added in v3.10.17

func (i GetUsersUserArgs) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

type GetUsersUserArray added in v3.10.17

type GetUsersUserArray []GetUsersUserInput

func (GetUsersUserArray) ElementType added in v3.10.17

func (GetUsersUserArray) ElementType() reflect.Type

func (GetUsersUserArray) ToGetUsersUserArrayOutput added in v3.10.17

func (i GetUsersUserArray) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArray) ToGetUsersUserArrayOutputWithContext added in v3.10.17

func (i GetUsersUserArray) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserArrayInput added in v3.10.17

type GetUsersUserArrayInput interface {
	pulumi.Input

	ToGetUsersUserArrayOutput() GetUsersUserArrayOutput
	ToGetUsersUserArrayOutputWithContext(context.Context) GetUsersUserArrayOutput
}

GetUsersUserArrayInput is an input type that accepts GetUsersUserArray and GetUsersUserArrayOutput values. You can construct a concrete instance of `GetUsersUserArrayInput` via:

GetUsersUserArray{ GetUsersUserArgs{...} }

type GetUsersUserArrayOutput added in v3.10.17

type GetUsersUserArrayOutput struct{ *pulumi.OutputState }

func (GetUsersUserArrayOutput) ElementType added in v3.10.17

func (GetUsersUserArrayOutput) ElementType() reflect.Type

func (GetUsersUserArrayOutput) Index added in v3.10.17

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutput added in v3.10.17

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutput() GetUsersUserArrayOutput

func (GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext added in v3.10.17

func (o GetUsersUserArrayOutput) ToGetUsersUserArrayOutputWithContext(ctx context.Context) GetUsersUserArrayOutput

type GetUsersUserInput added in v3.10.17

type GetUsersUserInput interface {
	pulumi.Input

	ToGetUsersUserOutput() GetUsersUserOutput
	ToGetUsersUserOutputWithContext(context.Context) GetUsersUserOutput
}

GetUsersUserInput is an input type that accepts GetUsersUserArgs and GetUsersUserOutput values. You can construct a concrete instance of `GetUsersUserInput` via:

GetUsersUserArgs{...}

type GetUsersUserOutput added in v3.10.17

type GetUsersUserOutput struct{ *pulumi.OutputState }

func (GetUsersUserOutput) Admin added in v3.10.17

func (GetUsersUserOutput) Comment added in v3.10.17

func (GetUsersUserOutput) ElementType added in v3.10.17

func (GetUsersUserOutput) ElementType() reflect.Type

func (GetUsersUserOutput) Email added in v3.10.17

The email of the user to filter by.

func (GetUsersUserOutput) FullName added in v3.10.17

func (o GetUsersUserOutput) FullName() pulumi.StringOutput

func (GetUsersUserOutput) Id added in v3.10.17

The ID of this resource.

func (GetUsersUserOutput) ToGetUsersUserOutput added in v3.10.17

func (o GetUsersUserOutput) ToGetUsersUserOutput() GetUsersUserOutput

func (GetUsersUserOutput) ToGetUsersUserOutputWithContext added in v3.10.17

func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) GetUsersUserOutput

func (GetUsersUserOutput) Username added in v3.10.17

func (o GetUsersUserOutput) Username() pulumi.StringOutput

The name of the user to filter by.

type Group

type Group struct {
	pulumi.CustomResourceState

	// The name of the group.
	GroupName pulumi.StringOutput `pulumi:"groupName"`
	// 3. Note: group type 3 is OIDC group.
	GroupType pulumi.IntOutput `pulumi:"groupType"`
	// The distinguished name of the group within AD/LDAP.
	LdapGroupDn pulumi.StringPtrOutput `pulumi:"ldapGroupDn"`
}

## Example Usage

## Import

```sh $ pulumi import harbor:index/group:Group storage-group /usergroups/19 ```

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)

GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)

NewGroup registers a new resource with the given unique name, arguments, and options.

func (*Group) ElementType

func (*Group) ElementType() reflect.Type

func (*Group) ToGroupOutput

func (i *Group) ToGroupOutput() GroupOutput

func (*Group) ToGroupOutputWithContext

func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupArgs

type GroupArgs struct {
	// The name of the group.
	GroupName pulumi.StringInput
	// 3. Note: group type 3 is OIDC group.
	GroupType pulumi.IntInput
	// The distinguished name of the group within AD/LDAP.
	LdapGroupDn pulumi.StringPtrInput
}

The set of arguments for constructing a Group resource.

func (GroupArgs) ElementType

func (GroupArgs) ElementType() reflect.Type

type GroupArray

type GroupArray []GroupInput

func (GroupArray) ElementType

func (GroupArray) ElementType() reflect.Type

func (GroupArray) ToGroupArrayOutput

func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput

func (GroupArray) ToGroupArrayOutputWithContext

func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupArrayInput

type GroupArrayInput interface {
	pulumi.Input

	ToGroupArrayOutput() GroupArrayOutput
	ToGroupArrayOutputWithContext(context.Context) GroupArrayOutput
}

GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. You can construct a concrete instance of `GroupArrayInput` via:

GroupArray{ GroupArgs{...} }

type GroupArrayOutput

type GroupArrayOutput struct{ *pulumi.OutputState }

func (GroupArrayOutput) ElementType

func (GroupArrayOutput) ElementType() reflect.Type

func (GroupArrayOutput) Index

func (GroupArrayOutput) ToGroupArrayOutput

func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput

func (GroupArrayOutput) ToGroupArrayOutputWithContext

func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

type GroupInput

type GroupInput interface {
	pulumi.Input

	ToGroupOutput() GroupOutput
	ToGroupOutputWithContext(ctx context.Context) GroupOutput
}

type GroupMap

type GroupMap map[string]GroupInput

func (GroupMap) ElementType

func (GroupMap) ElementType() reflect.Type

func (GroupMap) ToGroupMapOutput

func (i GroupMap) ToGroupMapOutput() GroupMapOutput

func (GroupMap) ToGroupMapOutputWithContext

func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupMapInput

type GroupMapInput interface {
	pulumi.Input

	ToGroupMapOutput() GroupMapOutput
	ToGroupMapOutputWithContext(context.Context) GroupMapOutput
}

GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. You can construct a concrete instance of `GroupMapInput` via:

GroupMap{ "key": GroupArgs{...} }

type GroupMapOutput

type GroupMapOutput struct{ *pulumi.OutputState }

func (GroupMapOutput) ElementType

func (GroupMapOutput) ElementType() reflect.Type

func (GroupMapOutput) MapIndex

func (GroupMapOutput) ToGroupMapOutput

func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput

func (GroupMapOutput) ToGroupMapOutputWithContext

func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

type GroupOutput

type GroupOutput struct{ *pulumi.OutputState }

func (GroupOutput) ElementType

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) GroupName

func (o GroupOutput) GroupName() pulumi.StringOutput

The name of the group.

func (GroupOutput) GroupType

func (o GroupOutput) GroupType() pulumi.IntOutput

3. Note: group type 3 is OIDC group.

func (GroupOutput) LdapGroupDn added in v3.9.2

func (o GroupOutput) LdapGroupDn() pulumi.StringPtrOutput

The distinguished name of the group within AD/LDAP.

func (GroupOutput) ToGroupOutput

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext

func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput

type GroupState

type GroupState struct {
	// The name of the group.
	GroupName pulumi.StringPtrInput
	// 3. Note: group type 3 is OIDC group.
	GroupType pulumi.IntPtrInput
	// The distinguished name of the group within AD/LDAP.
	LdapGroupDn pulumi.StringPtrInput
}

func (GroupState) ElementType

func (GroupState) ElementType() reflect.Type

type ImmutableTagRule

type ImmutableTagRule struct {
	pulumi.CustomResourceState

	// Specify if the rule is disable or not. Defaults to `false`
	Disabled pulumi.BoolPtrOutput `pulumi:"disabled"`
	// The project id of which you would like to apply this policy.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// For the repositories excluding.
	RepoExcluding pulumi.StringPtrOutput `pulumi:"repoExcluding"`
	// For the repositories matching.
	RepoMatching pulumi.StringPtrOutput `pulumi:"repoMatching"`
	// For the tag excluding.
	TagExcluding pulumi.StringPtrOutput `pulumi:"tagExcluding"`
	// For the tag matching.
	TagMatching pulumi.StringPtrOutput `pulumi:"tagMatching"`
}

## Example Usage

## Import

```sh $ pulumi import harbor:index/immutableTagRule:ImmutableTagRule main /projects/4/immutabletagrules/25 ```

func GetImmutableTagRule

func GetImmutableTagRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ImmutableTagRuleState, opts ...pulumi.ResourceOption) (*ImmutableTagRule, error)

GetImmutableTagRule gets an existing ImmutableTagRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewImmutableTagRule

func NewImmutableTagRule(ctx *pulumi.Context,
	name string, args *ImmutableTagRuleArgs, opts ...pulumi.ResourceOption) (*ImmutableTagRule, error)

NewImmutableTagRule registers a new resource with the given unique name, arguments, and options.

func (*ImmutableTagRule) ElementType

func (*ImmutableTagRule) ElementType() reflect.Type

func (*ImmutableTagRule) ToImmutableTagRuleOutput

func (i *ImmutableTagRule) ToImmutableTagRuleOutput() ImmutableTagRuleOutput

func (*ImmutableTagRule) ToImmutableTagRuleOutputWithContext

func (i *ImmutableTagRule) ToImmutableTagRuleOutputWithContext(ctx context.Context) ImmutableTagRuleOutput

type ImmutableTagRuleArgs

type ImmutableTagRuleArgs struct {
	// Specify if the rule is disable or not. Defaults to `false`
	Disabled pulumi.BoolPtrInput
	// The project id of which you would like to apply this policy.
	ProjectId pulumi.StringInput
	// For the repositories excluding.
	RepoExcluding pulumi.StringPtrInput
	// For the repositories matching.
	RepoMatching pulumi.StringPtrInput
	// For the tag excluding.
	TagExcluding pulumi.StringPtrInput
	// For the tag matching.
	TagMatching pulumi.StringPtrInput
}

The set of arguments for constructing a ImmutableTagRule resource.

func (ImmutableTagRuleArgs) ElementType

func (ImmutableTagRuleArgs) ElementType() reflect.Type

type ImmutableTagRuleArray

type ImmutableTagRuleArray []ImmutableTagRuleInput

func (ImmutableTagRuleArray) ElementType

func (ImmutableTagRuleArray) ElementType() reflect.Type

func (ImmutableTagRuleArray) ToImmutableTagRuleArrayOutput

func (i ImmutableTagRuleArray) ToImmutableTagRuleArrayOutput() ImmutableTagRuleArrayOutput

func (ImmutableTagRuleArray) ToImmutableTagRuleArrayOutputWithContext

func (i ImmutableTagRuleArray) ToImmutableTagRuleArrayOutputWithContext(ctx context.Context) ImmutableTagRuleArrayOutput

type ImmutableTagRuleArrayInput

type ImmutableTagRuleArrayInput interface {
	pulumi.Input

	ToImmutableTagRuleArrayOutput() ImmutableTagRuleArrayOutput
	ToImmutableTagRuleArrayOutputWithContext(context.Context) ImmutableTagRuleArrayOutput
}

ImmutableTagRuleArrayInput is an input type that accepts ImmutableTagRuleArray and ImmutableTagRuleArrayOutput values. You can construct a concrete instance of `ImmutableTagRuleArrayInput` via:

ImmutableTagRuleArray{ ImmutableTagRuleArgs{...} }

type ImmutableTagRuleArrayOutput

type ImmutableTagRuleArrayOutput struct{ *pulumi.OutputState }

func (ImmutableTagRuleArrayOutput) ElementType

func (ImmutableTagRuleArrayOutput) Index

func (ImmutableTagRuleArrayOutput) ToImmutableTagRuleArrayOutput

func (o ImmutableTagRuleArrayOutput) ToImmutableTagRuleArrayOutput() ImmutableTagRuleArrayOutput

func (ImmutableTagRuleArrayOutput) ToImmutableTagRuleArrayOutputWithContext

func (o ImmutableTagRuleArrayOutput) ToImmutableTagRuleArrayOutputWithContext(ctx context.Context) ImmutableTagRuleArrayOutput

type ImmutableTagRuleInput

type ImmutableTagRuleInput interface {
	pulumi.Input

	ToImmutableTagRuleOutput() ImmutableTagRuleOutput
	ToImmutableTagRuleOutputWithContext(ctx context.Context) ImmutableTagRuleOutput
}

type ImmutableTagRuleMap

type ImmutableTagRuleMap map[string]ImmutableTagRuleInput

func (ImmutableTagRuleMap) ElementType

func (ImmutableTagRuleMap) ElementType() reflect.Type

func (ImmutableTagRuleMap) ToImmutableTagRuleMapOutput

func (i ImmutableTagRuleMap) ToImmutableTagRuleMapOutput() ImmutableTagRuleMapOutput

func (ImmutableTagRuleMap) ToImmutableTagRuleMapOutputWithContext

func (i ImmutableTagRuleMap) ToImmutableTagRuleMapOutputWithContext(ctx context.Context) ImmutableTagRuleMapOutput

type ImmutableTagRuleMapInput

type ImmutableTagRuleMapInput interface {
	pulumi.Input

	ToImmutableTagRuleMapOutput() ImmutableTagRuleMapOutput
	ToImmutableTagRuleMapOutputWithContext(context.Context) ImmutableTagRuleMapOutput
}

ImmutableTagRuleMapInput is an input type that accepts ImmutableTagRuleMap and ImmutableTagRuleMapOutput values. You can construct a concrete instance of `ImmutableTagRuleMapInput` via:

ImmutableTagRuleMap{ "key": ImmutableTagRuleArgs{...} }

type ImmutableTagRuleMapOutput

type ImmutableTagRuleMapOutput struct{ *pulumi.OutputState }

func (ImmutableTagRuleMapOutput) ElementType

func (ImmutableTagRuleMapOutput) ElementType() reflect.Type

func (ImmutableTagRuleMapOutput) MapIndex

func (ImmutableTagRuleMapOutput) ToImmutableTagRuleMapOutput

func (o ImmutableTagRuleMapOutput) ToImmutableTagRuleMapOutput() ImmutableTagRuleMapOutput

func (ImmutableTagRuleMapOutput) ToImmutableTagRuleMapOutputWithContext

func (o ImmutableTagRuleMapOutput) ToImmutableTagRuleMapOutputWithContext(ctx context.Context) ImmutableTagRuleMapOutput

type ImmutableTagRuleOutput

type ImmutableTagRuleOutput struct{ *pulumi.OutputState }

func (ImmutableTagRuleOutput) Disabled

Specify if the rule is disable or not. Defaults to `false`

func (ImmutableTagRuleOutput) ElementType

func (ImmutableTagRuleOutput) ElementType() reflect.Type

func (ImmutableTagRuleOutput) ProjectId

The project id of which you would like to apply this policy.

func (ImmutableTagRuleOutput) RepoExcluding

func (o ImmutableTagRuleOutput) RepoExcluding() pulumi.StringPtrOutput

For the repositories excluding.

func (ImmutableTagRuleOutput) RepoMatching

For the repositories matching.

func (ImmutableTagRuleOutput) TagExcluding

For the tag excluding.

func (ImmutableTagRuleOutput) TagMatching

For the tag matching.

func (ImmutableTagRuleOutput) ToImmutableTagRuleOutput

func (o ImmutableTagRuleOutput) ToImmutableTagRuleOutput() ImmutableTagRuleOutput

func (ImmutableTagRuleOutput) ToImmutableTagRuleOutputWithContext

func (o ImmutableTagRuleOutput) ToImmutableTagRuleOutputWithContext(ctx context.Context) ImmutableTagRuleOutput

type ImmutableTagRuleState

type ImmutableTagRuleState struct {
	// Specify if the rule is disable or not. Defaults to `false`
	Disabled pulumi.BoolPtrInput
	// The project id of which you would like to apply this policy.
	ProjectId pulumi.StringPtrInput
	// For the repositories excluding.
	RepoExcluding pulumi.StringPtrInput
	// For the repositories matching.
	RepoMatching pulumi.StringPtrInput
	// For the tag excluding.
	TagExcluding pulumi.StringPtrInput
	// For the tag matching.
	TagMatching pulumi.StringPtrInput
}

func (ImmutableTagRuleState) ElementType

func (ImmutableTagRuleState) ElementType() reflect.Type

type InterrogationServices

type InterrogationServices struct {
	pulumi.CustomResourceState

	// Sets the default interrogation service `"Clair"`
	DefaultScanner pulumi.StringPtrOutput `pulumi:"defaultScanner"`
	// The frequency of the vulnerability scanning is done. This can be `Daily`, `Weekly`, `Monthly` or can be a custom cron string.
	VulnerabilityScanPolicy pulumi.StringOutput `pulumi:"vulnerabilityScanPolicy"`
}

## Example Usage

func GetInterrogationServices

func GetInterrogationServices(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InterrogationServicesState, opts ...pulumi.ResourceOption) (*InterrogationServices, error)

GetInterrogationServices gets an existing InterrogationServices resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewInterrogationServices

func NewInterrogationServices(ctx *pulumi.Context,
	name string, args *InterrogationServicesArgs, opts ...pulumi.ResourceOption) (*InterrogationServices, error)

NewInterrogationServices registers a new resource with the given unique name, arguments, and options.

func (*InterrogationServices) ElementType

func (*InterrogationServices) ElementType() reflect.Type

func (*InterrogationServices) ToInterrogationServicesOutput

func (i *InterrogationServices) ToInterrogationServicesOutput() InterrogationServicesOutput

func (*InterrogationServices) ToInterrogationServicesOutputWithContext

func (i *InterrogationServices) ToInterrogationServicesOutputWithContext(ctx context.Context) InterrogationServicesOutput

type InterrogationServicesArgs

type InterrogationServicesArgs struct {
	// Sets the default interrogation service `"Clair"`
	DefaultScanner pulumi.StringPtrInput
	// The frequency of the vulnerability scanning is done. This can be `Daily`, `Weekly`, `Monthly` or can be a custom cron string.
	VulnerabilityScanPolicy pulumi.StringInput
}

The set of arguments for constructing a InterrogationServices resource.

func (InterrogationServicesArgs) ElementType

func (InterrogationServicesArgs) ElementType() reflect.Type

type InterrogationServicesArray

type InterrogationServicesArray []InterrogationServicesInput

func (InterrogationServicesArray) ElementType

func (InterrogationServicesArray) ElementType() reflect.Type

func (InterrogationServicesArray) ToInterrogationServicesArrayOutput

func (i InterrogationServicesArray) ToInterrogationServicesArrayOutput() InterrogationServicesArrayOutput

func (InterrogationServicesArray) ToInterrogationServicesArrayOutputWithContext

func (i InterrogationServicesArray) ToInterrogationServicesArrayOutputWithContext(ctx context.Context) InterrogationServicesArrayOutput

type InterrogationServicesArrayInput

type InterrogationServicesArrayInput interface {
	pulumi.Input

	ToInterrogationServicesArrayOutput() InterrogationServicesArrayOutput
	ToInterrogationServicesArrayOutputWithContext(context.Context) InterrogationServicesArrayOutput
}

InterrogationServicesArrayInput is an input type that accepts InterrogationServicesArray and InterrogationServicesArrayOutput values. You can construct a concrete instance of `InterrogationServicesArrayInput` via:

InterrogationServicesArray{ InterrogationServicesArgs{...} }

type InterrogationServicesArrayOutput

type InterrogationServicesArrayOutput struct{ *pulumi.OutputState }

func (InterrogationServicesArrayOutput) ElementType

func (InterrogationServicesArrayOutput) Index

func (InterrogationServicesArrayOutput) ToInterrogationServicesArrayOutput

func (o InterrogationServicesArrayOutput) ToInterrogationServicesArrayOutput() InterrogationServicesArrayOutput

func (InterrogationServicesArrayOutput) ToInterrogationServicesArrayOutputWithContext

func (o InterrogationServicesArrayOutput) ToInterrogationServicesArrayOutputWithContext(ctx context.Context) InterrogationServicesArrayOutput

type InterrogationServicesInput

type InterrogationServicesInput interface {
	pulumi.Input

	ToInterrogationServicesOutput() InterrogationServicesOutput
	ToInterrogationServicesOutputWithContext(ctx context.Context) InterrogationServicesOutput
}

type InterrogationServicesMap

type InterrogationServicesMap map[string]InterrogationServicesInput

func (InterrogationServicesMap) ElementType

func (InterrogationServicesMap) ElementType() reflect.Type

func (InterrogationServicesMap) ToInterrogationServicesMapOutput

func (i InterrogationServicesMap) ToInterrogationServicesMapOutput() InterrogationServicesMapOutput

func (InterrogationServicesMap) ToInterrogationServicesMapOutputWithContext

func (i InterrogationServicesMap) ToInterrogationServicesMapOutputWithContext(ctx context.Context) InterrogationServicesMapOutput

type InterrogationServicesMapInput

type InterrogationServicesMapInput interface {
	pulumi.Input

	ToInterrogationServicesMapOutput() InterrogationServicesMapOutput
	ToInterrogationServicesMapOutputWithContext(context.Context) InterrogationServicesMapOutput
}

InterrogationServicesMapInput is an input type that accepts InterrogationServicesMap and InterrogationServicesMapOutput values. You can construct a concrete instance of `InterrogationServicesMapInput` via:

InterrogationServicesMap{ "key": InterrogationServicesArgs{...} }

type InterrogationServicesMapOutput

type InterrogationServicesMapOutput struct{ *pulumi.OutputState }

func (InterrogationServicesMapOutput) ElementType

func (InterrogationServicesMapOutput) MapIndex

func (InterrogationServicesMapOutput) ToInterrogationServicesMapOutput

func (o InterrogationServicesMapOutput) ToInterrogationServicesMapOutput() InterrogationServicesMapOutput

func (InterrogationServicesMapOutput) ToInterrogationServicesMapOutputWithContext

func (o InterrogationServicesMapOutput) ToInterrogationServicesMapOutputWithContext(ctx context.Context) InterrogationServicesMapOutput

type InterrogationServicesOutput

type InterrogationServicesOutput struct{ *pulumi.OutputState }

func (InterrogationServicesOutput) DefaultScanner

Sets the default interrogation service `"Clair"`

func (InterrogationServicesOutput) ElementType

func (InterrogationServicesOutput) ToInterrogationServicesOutput

func (o InterrogationServicesOutput) ToInterrogationServicesOutput() InterrogationServicesOutput

func (InterrogationServicesOutput) ToInterrogationServicesOutputWithContext

func (o InterrogationServicesOutput) ToInterrogationServicesOutputWithContext(ctx context.Context) InterrogationServicesOutput

func (InterrogationServicesOutput) VulnerabilityScanPolicy

func (o InterrogationServicesOutput) VulnerabilityScanPolicy() pulumi.StringOutput

The frequency of the vulnerability scanning is done. This can be `Daily`, `Weekly`, `Monthly` or can be a custom cron string.

type InterrogationServicesState

type InterrogationServicesState struct {
	// Sets the default interrogation service `"Clair"`
	DefaultScanner pulumi.StringPtrInput
	// The frequency of the vulnerability scanning is done. This can be `Daily`, `Weekly`, `Monthly` or can be a custom cron string.
	VulnerabilityScanPolicy pulumi.StringPtrInput
}

func (InterrogationServicesState) ElementType

func (InterrogationServicesState) ElementType() reflect.Type

type Label

type Label struct {
	pulumi.CustomResourceState

	// The color of the label within harbor (Default: #FFFFF)
	Color pulumi.StringPtrOutput `pulumi:"color"`
	// The Description of the label within harbor
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The of name of the label within harbor.
	Name pulumi.StringOutput `pulumi:"name"`
	// The id of the project with harbor.
	ProjectId pulumi.StringPtrOutput `pulumi:"projectId"`
	Scope     pulumi.StringOutput    `pulumi:"scope"`
}

## Example Usage

### Global

### Project

## Import

```sh $ pulumi import harbor:index/label:Label main /labels/1 ```

func GetLabel

func GetLabel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *LabelState, opts ...pulumi.ResourceOption) (*Label, error)

GetLabel gets an existing Label resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewLabel

func NewLabel(ctx *pulumi.Context,
	name string, args *LabelArgs, opts ...pulumi.ResourceOption) (*Label, error)

NewLabel registers a new resource with the given unique name, arguments, and options.

func (*Label) ElementType

func (*Label) ElementType() reflect.Type

func (*Label) ToLabelOutput

func (i *Label) ToLabelOutput() LabelOutput

func (*Label) ToLabelOutputWithContext

func (i *Label) ToLabelOutputWithContext(ctx context.Context) LabelOutput

type LabelArgs

type LabelArgs struct {
	// The color of the label within harbor (Default: #FFFFF)
	Color pulumi.StringPtrInput
	// The Description of the label within harbor
	Description pulumi.StringPtrInput
	// The of name of the label within harbor.
	Name pulumi.StringPtrInput
	// The id of the project with harbor.
	ProjectId pulumi.StringPtrInput
}

The set of arguments for constructing a Label resource.

func (LabelArgs) ElementType

func (LabelArgs) ElementType() reflect.Type

type LabelArray

type LabelArray []LabelInput

func (LabelArray) ElementType

func (LabelArray) ElementType() reflect.Type

func (LabelArray) ToLabelArrayOutput

func (i LabelArray) ToLabelArrayOutput() LabelArrayOutput

func (LabelArray) ToLabelArrayOutputWithContext

func (i LabelArray) ToLabelArrayOutputWithContext(ctx context.Context) LabelArrayOutput

type LabelArrayInput

type LabelArrayInput interface {
	pulumi.Input

	ToLabelArrayOutput() LabelArrayOutput
	ToLabelArrayOutputWithContext(context.Context) LabelArrayOutput
}

LabelArrayInput is an input type that accepts LabelArray and LabelArrayOutput values. You can construct a concrete instance of `LabelArrayInput` via:

LabelArray{ LabelArgs{...} }

type LabelArrayOutput

type LabelArrayOutput struct{ *pulumi.OutputState }

func (LabelArrayOutput) ElementType

func (LabelArrayOutput) ElementType() reflect.Type

func (LabelArrayOutput) Index

func (LabelArrayOutput) ToLabelArrayOutput

func (o LabelArrayOutput) ToLabelArrayOutput() LabelArrayOutput

func (LabelArrayOutput) ToLabelArrayOutputWithContext

func (o LabelArrayOutput) ToLabelArrayOutputWithContext(ctx context.Context) LabelArrayOutput

type LabelInput

type LabelInput interface {
	pulumi.Input

	ToLabelOutput() LabelOutput
	ToLabelOutputWithContext(ctx context.Context) LabelOutput
}

type LabelMap

type LabelMap map[string]LabelInput

func (LabelMap) ElementType

func (LabelMap) ElementType() reflect.Type

func (LabelMap) ToLabelMapOutput

func (i LabelMap) ToLabelMapOutput() LabelMapOutput

func (LabelMap) ToLabelMapOutputWithContext

func (i LabelMap) ToLabelMapOutputWithContext(ctx context.Context) LabelMapOutput

type LabelMapInput

type LabelMapInput interface {
	pulumi.Input

	ToLabelMapOutput() LabelMapOutput
	ToLabelMapOutputWithContext(context.Context) LabelMapOutput
}

LabelMapInput is an input type that accepts LabelMap and LabelMapOutput values. You can construct a concrete instance of `LabelMapInput` via:

LabelMap{ "key": LabelArgs{...} }

type LabelMapOutput

type LabelMapOutput struct{ *pulumi.OutputState }

func (LabelMapOutput) ElementType

func (LabelMapOutput) ElementType() reflect.Type

func (LabelMapOutput) MapIndex

func (LabelMapOutput) ToLabelMapOutput

func (o LabelMapOutput) ToLabelMapOutput() LabelMapOutput

func (LabelMapOutput) ToLabelMapOutputWithContext

func (o LabelMapOutput) ToLabelMapOutputWithContext(ctx context.Context) LabelMapOutput

type LabelOutput

type LabelOutput struct{ *pulumi.OutputState }

func (LabelOutput) Color

The color of the label within harbor (Default: #FFFFF)

func (LabelOutput) Description

func (o LabelOutput) Description() pulumi.StringPtrOutput

The Description of the label within harbor

func (LabelOutput) ElementType

func (LabelOutput) ElementType() reflect.Type

func (LabelOutput) Name

func (o LabelOutput) Name() pulumi.StringOutput

The of name of the label within harbor.

func (LabelOutput) ProjectId

func (o LabelOutput) ProjectId() pulumi.StringPtrOutput

The id of the project with harbor.

func (LabelOutput) Scope

func (o LabelOutput) Scope() pulumi.StringOutput

func (LabelOutput) ToLabelOutput

func (o LabelOutput) ToLabelOutput() LabelOutput

func (LabelOutput) ToLabelOutputWithContext

func (o LabelOutput) ToLabelOutputWithContext(ctx context.Context) LabelOutput

type LabelState

type LabelState struct {
	// The color of the label within harbor (Default: #FFFFF)
	Color pulumi.StringPtrInput
	// The Description of the label within harbor
	Description pulumi.StringPtrInput
	// The of name of the label within harbor.
	Name pulumi.StringPtrInput
	// The id of the project with harbor.
	ProjectId pulumi.StringPtrInput
	Scope     pulumi.StringPtrInput
}

func (LabelState) ElementType

func (LabelState) ElementType() reflect.Type

type LookupProjectArgs

type LookupProjectArgs struct {
	// The name of the project.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getProject.

type LookupProjectOutputArgs

type LookupProjectOutputArgs struct {
	// The name of the project.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getProject.

func (LookupProjectOutputArgs) ElementType

func (LookupProjectOutputArgs) ElementType() reflect.Type

type LookupProjectResult

type LookupProjectResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the project.
	Name string `pulumi:"name"`
	// The id of the project within harbor.
	ProjectId int `pulumi:"projectId"`
	// If the project has public accessibility.
	Public bool `pulumi:"public"`
	// The type of the project : Project or ProxyCache.
	Type string `pulumi:"type"`
	// If the images is scanned for vulnerabilities when push to harbor.
	VulnerabilityScanning bool `pulumi:"vulnerabilityScanning"`
}

A collection of values returned by getProject.

func LookupProject

func LookupProject(ctx *pulumi.Context, args *LookupProjectArgs, opts ...pulumi.InvokeOption) (*LookupProjectResult, error)

## Example Usage

type LookupProjectResultOutput

type LookupProjectResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProject.

func (LookupProjectResultOutput) ElementType

func (LookupProjectResultOutput) ElementType() reflect.Type

func (LookupProjectResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupProjectResultOutput) Name

The name of the project.

func (LookupProjectResultOutput) ProjectId

The id of the project within harbor.

func (LookupProjectResultOutput) Public

If the project has public accessibility.

func (LookupProjectResultOutput) ToLookupProjectResultOutput

func (o LookupProjectResultOutput) ToLookupProjectResultOutput() LookupProjectResultOutput

func (LookupProjectResultOutput) ToLookupProjectResultOutputWithContext

func (o LookupProjectResultOutput) ToLookupProjectResultOutputWithContext(ctx context.Context) LookupProjectResultOutput

func (LookupProjectResultOutput) Type added in v3.10.0

The type of the project : Project or ProxyCache.

func (LookupProjectResultOutput) VulnerabilityScanning

func (o LookupProjectResultOutput) VulnerabilityScanning() pulumi.BoolOutput

If the images is scanned for vulnerabilities when push to harbor.

type LookupRegistryArgs

type LookupRegistryArgs struct {
	// The name of the register.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getRegistry.

type LookupRegistryOutputArgs

type LookupRegistryOutputArgs struct {
	// The name of the register.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getRegistry.

func (LookupRegistryOutputArgs) ElementType

func (LookupRegistryOutputArgs) ElementType() reflect.Type

type LookupRegistryResult

type LookupRegistryResult struct {
	// The description of the external container register.
	Description string `pulumi:"description"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// If the certificate of the external container register can be verified.
	Insecure bool `pulumi:"insecure"`
	// The name of the register.
	Name string `pulumi:"name"`
	// The id of the register within harbor.
	RegistryId int `pulumi:"registryId"`
	// The health status of the external container register
	Status string `pulumi:"status"`
	// The type of the provider type.
	Type string `pulumi:"type"`
	// The url endpoint for the external container register
	Url string `pulumi:"url"`
}

A collection of values returned by getRegistry.

func LookupRegistry

func LookupRegistry(ctx *pulumi.Context, args *LookupRegistryArgs, opts ...pulumi.InvokeOption) (*LookupRegistryResult, error)

## Example Usage

type LookupRegistryResultOutput

type LookupRegistryResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegistry.

func (LookupRegistryResultOutput) Description

The description of the external container register.

func (LookupRegistryResultOutput) ElementType

func (LookupRegistryResultOutput) ElementType() reflect.Type

func (LookupRegistryResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupRegistryResultOutput) Insecure

If the certificate of the external container register can be verified.

func (LookupRegistryResultOutput) Name

The name of the register.

func (LookupRegistryResultOutput) RegistryId

The id of the register within harbor.

func (LookupRegistryResultOutput) Status

The health status of the external container register

func (LookupRegistryResultOutput) ToLookupRegistryResultOutput

func (o LookupRegistryResultOutput) ToLookupRegistryResultOutput() LookupRegistryResultOutput

func (LookupRegistryResultOutput) ToLookupRegistryResultOutputWithContext

func (o LookupRegistryResultOutput) ToLookupRegistryResultOutputWithContext(ctx context.Context) LookupRegistryResultOutput

func (LookupRegistryResultOutput) Type

The type of the provider type.

func (LookupRegistryResultOutput) Url

The url endpoint for the external container register

type PreheatInstance added in v3.10.13

type PreheatInstance struct {
	pulumi.CustomResourceState

	// The authentication mode for the preheat instance. Must be either "NONE", "BASIC", or "OAUTH". Defaults to "NONE".
	AuthMode pulumi.StringPtrOutput `pulumi:"authMode"`
	// Whether the preheat instance is the default instance. Defaults to false.
	Default pulumi.BoolPtrOutput `pulumi:"default"`
	// The description of the preheat instance. Defaults to an empty string.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Whether the preheat instance is enabled. Defaults to true.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// The endpoint of the preheat instance.
	Endpoint pulumi.StringOutput `pulumi:"endpoint"`
	// Whether to allow insecure connections to the preheat instance. Defaults to false.
	Insecure pulumi.BoolPtrOutput `pulumi:"insecure"`
	// The name of the preheat instance.
	Name pulumi.StringOutput `pulumi:"name"`
	// The password for the preheat instance. Required if `authMode` is "BASIC". Defaults to an empty string.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The token for the preheat instance. Required if `authMode` is "OAUTH". Defaults to an empty string.
	Token pulumi.StringPtrOutput `pulumi:"token"`
	// The username for the preheat instance. Required if `authMode` is "BASIC". Defaults to an empty string.
	Username pulumi.StringPtrOutput `pulumi:"username"`
	// The vendor of the preheat instance. Must be either "dragonfly" or "kraken".
	Vendor pulumi.StringOutput `pulumi:"vendor"`
}

## Example Usage

### Basic Usage

### Usage with Authentication

## Import

The `harbor_preheat_instance` resource can be imported using the preheat instance ID.

```sh $ pulumi import harbor:index/preheatInstance:PreheatInstance example /p2p/preheat/instances/example-preheat-instance ```

func GetPreheatInstance added in v3.10.13

func GetPreheatInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PreheatInstanceState, opts ...pulumi.ResourceOption) (*PreheatInstance, error)

GetPreheatInstance gets an existing PreheatInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPreheatInstance added in v3.10.13

func NewPreheatInstance(ctx *pulumi.Context,
	name string, args *PreheatInstanceArgs, opts ...pulumi.ResourceOption) (*PreheatInstance, error)

NewPreheatInstance registers a new resource with the given unique name, arguments, and options.

func (*PreheatInstance) ElementType added in v3.10.13

func (*PreheatInstance) ElementType() reflect.Type

func (*PreheatInstance) ToPreheatInstanceOutput added in v3.10.13

func (i *PreheatInstance) ToPreheatInstanceOutput() PreheatInstanceOutput

func (*PreheatInstance) ToPreheatInstanceOutputWithContext added in v3.10.13

func (i *PreheatInstance) ToPreheatInstanceOutputWithContext(ctx context.Context) PreheatInstanceOutput

type PreheatInstanceArgs added in v3.10.13

type PreheatInstanceArgs struct {
	// The authentication mode for the preheat instance. Must be either "NONE", "BASIC", or "OAUTH". Defaults to "NONE".
	AuthMode pulumi.StringPtrInput
	// Whether the preheat instance is the default instance. Defaults to false.
	Default pulumi.BoolPtrInput
	// The description of the preheat instance. Defaults to an empty string.
	Description pulumi.StringPtrInput
	// Whether the preheat instance is enabled. Defaults to true.
	Enabled pulumi.BoolPtrInput
	// The endpoint of the preheat instance.
	Endpoint pulumi.StringInput
	// Whether to allow insecure connections to the preheat instance. Defaults to false.
	Insecure pulumi.BoolPtrInput
	// The name of the preheat instance.
	Name pulumi.StringPtrInput
	// The password for the preheat instance. Required if `authMode` is "BASIC". Defaults to an empty string.
	Password pulumi.StringPtrInput
	// The token for the preheat instance. Required if `authMode` is "OAUTH". Defaults to an empty string.
	Token pulumi.StringPtrInput
	// The username for the preheat instance. Required if `authMode` is "BASIC". Defaults to an empty string.
	Username pulumi.StringPtrInput
	// The vendor of the preheat instance. Must be either "dragonfly" or "kraken".
	Vendor pulumi.StringInput
}

The set of arguments for constructing a PreheatInstance resource.

func (PreheatInstanceArgs) ElementType added in v3.10.13

func (PreheatInstanceArgs) ElementType() reflect.Type

type PreheatInstanceArray added in v3.10.13

type PreheatInstanceArray []PreheatInstanceInput

func (PreheatInstanceArray) ElementType added in v3.10.13

func (PreheatInstanceArray) ElementType() reflect.Type

func (PreheatInstanceArray) ToPreheatInstanceArrayOutput added in v3.10.13

func (i PreheatInstanceArray) ToPreheatInstanceArrayOutput() PreheatInstanceArrayOutput

func (PreheatInstanceArray) ToPreheatInstanceArrayOutputWithContext added in v3.10.13

func (i PreheatInstanceArray) ToPreheatInstanceArrayOutputWithContext(ctx context.Context) PreheatInstanceArrayOutput

type PreheatInstanceArrayInput added in v3.10.13

type PreheatInstanceArrayInput interface {
	pulumi.Input

	ToPreheatInstanceArrayOutput() PreheatInstanceArrayOutput
	ToPreheatInstanceArrayOutputWithContext(context.Context) PreheatInstanceArrayOutput
}

PreheatInstanceArrayInput is an input type that accepts PreheatInstanceArray and PreheatInstanceArrayOutput values. You can construct a concrete instance of `PreheatInstanceArrayInput` via:

PreheatInstanceArray{ PreheatInstanceArgs{...} }

type PreheatInstanceArrayOutput added in v3.10.13

type PreheatInstanceArrayOutput struct{ *pulumi.OutputState }

func (PreheatInstanceArrayOutput) ElementType added in v3.10.13

func (PreheatInstanceArrayOutput) ElementType() reflect.Type

func (PreheatInstanceArrayOutput) Index added in v3.10.13

func (PreheatInstanceArrayOutput) ToPreheatInstanceArrayOutput added in v3.10.13

func (o PreheatInstanceArrayOutput) ToPreheatInstanceArrayOutput() PreheatInstanceArrayOutput

func (PreheatInstanceArrayOutput) ToPreheatInstanceArrayOutputWithContext added in v3.10.13

func (o PreheatInstanceArrayOutput) ToPreheatInstanceArrayOutputWithContext(ctx context.Context) PreheatInstanceArrayOutput

type PreheatInstanceInput added in v3.10.13

type PreheatInstanceInput interface {
	pulumi.Input

	ToPreheatInstanceOutput() PreheatInstanceOutput
	ToPreheatInstanceOutputWithContext(ctx context.Context) PreheatInstanceOutput
}

type PreheatInstanceMap added in v3.10.13

type PreheatInstanceMap map[string]PreheatInstanceInput

func (PreheatInstanceMap) ElementType added in v3.10.13

func (PreheatInstanceMap) ElementType() reflect.Type

func (PreheatInstanceMap) ToPreheatInstanceMapOutput added in v3.10.13

func (i PreheatInstanceMap) ToPreheatInstanceMapOutput() PreheatInstanceMapOutput

func (PreheatInstanceMap) ToPreheatInstanceMapOutputWithContext added in v3.10.13

func (i PreheatInstanceMap) ToPreheatInstanceMapOutputWithContext(ctx context.Context) PreheatInstanceMapOutput

type PreheatInstanceMapInput added in v3.10.13

type PreheatInstanceMapInput interface {
	pulumi.Input

	ToPreheatInstanceMapOutput() PreheatInstanceMapOutput
	ToPreheatInstanceMapOutputWithContext(context.Context) PreheatInstanceMapOutput
}

PreheatInstanceMapInput is an input type that accepts PreheatInstanceMap and PreheatInstanceMapOutput values. You can construct a concrete instance of `PreheatInstanceMapInput` via:

PreheatInstanceMap{ "key": PreheatInstanceArgs{...} }

type PreheatInstanceMapOutput added in v3.10.13

type PreheatInstanceMapOutput struct{ *pulumi.OutputState }

func (PreheatInstanceMapOutput) ElementType added in v3.10.13

func (PreheatInstanceMapOutput) ElementType() reflect.Type

func (PreheatInstanceMapOutput) MapIndex added in v3.10.13

func (PreheatInstanceMapOutput) ToPreheatInstanceMapOutput added in v3.10.13

func (o PreheatInstanceMapOutput) ToPreheatInstanceMapOutput() PreheatInstanceMapOutput

func (PreheatInstanceMapOutput) ToPreheatInstanceMapOutputWithContext added in v3.10.13

func (o PreheatInstanceMapOutput) ToPreheatInstanceMapOutputWithContext(ctx context.Context) PreheatInstanceMapOutput

type PreheatInstanceOutput added in v3.10.13

type PreheatInstanceOutput struct{ *pulumi.OutputState }

func (PreheatInstanceOutput) AuthMode added in v3.10.13

The authentication mode for the preheat instance. Must be either "NONE", "BASIC", or "OAUTH". Defaults to "NONE".

func (PreheatInstanceOutput) Default added in v3.10.13

Whether the preheat instance is the default instance. Defaults to false.

func (PreheatInstanceOutput) Description added in v3.10.13

The description of the preheat instance. Defaults to an empty string.

func (PreheatInstanceOutput) ElementType added in v3.10.13

func (PreheatInstanceOutput) ElementType() reflect.Type

func (PreheatInstanceOutput) Enabled added in v3.10.13

Whether the preheat instance is enabled. Defaults to true.

func (PreheatInstanceOutput) Endpoint added in v3.10.13

The endpoint of the preheat instance.

func (PreheatInstanceOutput) Insecure added in v3.10.13

Whether to allow insecure connections to the preheat instance. Defaults to false.

func (PreheatInstanceOutput) Name added in v3.10.13

The name of the preheat instance.

func (PreheatInstanceOutput) Password added in v3.10.13

The password for the preheat instance. Required if `authMode` is "BASIC". Defaults to an empty string.

func (PreheatInstanceOutput) ToPreheatInstanceOutput added in v3.10.13

func (o PreheatInstanceOutput) ToPreheatInstanceOutput() PreheatInstanceOutput

func (PreheatInstanceOutput) ToPreheatInstanceOutputWithContext added in v3.10.13

func (o PreheatInstanceOutput) ToPreheatInstanceOutputWithContext(ctx context.Context) PreheatInstanceOutput

func (PreheatInstanceOutput) Token added in v3.10.13

The token for the preheat instance. Required if `authMode` is "OAUTH". Defaults to an empty string.

func (PreheatInstanceOutput) Username added in v3.10.13

The username for the preheat instance. Required if `authMode` is "BASIC". Defaults to an empty string.

func (PreheatInstanceOutput) Vendor added in v3.10.13

The vendor of the preheat instance. Must be either "dragonfly" or "kraken".

type PreheatInstanceState added in v3.10.13

type PreheatInstanceState struct {
	// The authentication mode for the preheat instance. Must be either "NONE", "BASIC", or "OAUTH". Defaults to "NONE".
	AuthMode pulumi.StringPtrInput
	// Whether the preheat instance is the default instance. Defaults to false.
	Default pulumi.BoolPtrInput
	// The description of the preheat instance. Defaults to an empty string.
	Description pulumi.StringPtrInput
	// Whether the preheat instance is enabled. Defaults to true.
	Enabled pulumi.BoolPtrInput
	// The endpoint of the preheat instance.
	Endpoint pulumi.StringPtrInput
	// Whether to allow insecure connections to the preheat instance. Defaults to false.
	Insecure pulumi.BoolPtrInput
	// The name of the preheat instance.
	Name pulumi.StringPtrInput
	// The password for the preheat instance. Required if `authMode` is "BASIC". Defaults to an empty string.
	Password pulumi.StringPtrInput
	// The token for the preheat instance. Required if `authMode` is "OAUTH". Defaults to an empty string.
	Token pulumi.StringPtrInput
	// The username for the preheat instance. Required if `authMode` is "BASIC". Defaults to an empty string.
	Username pulumi.StringPtrInput
	// The vendor of the preheat instance. Must be either "dragonfly" or "kraken".
	Vendor pulumi.StringPtrInput
}

func (PreheatInstanceState) ElementType added in v3.10.13

func (PreheatInstanceState) ElementType() reflect.Type

type Project

type Project struct {
	pulumi.CustomResourceState

	// Automatically generate SBOM for images pushed to this project. (Default: `false`) can only be used with Harbor version v2.11.0 and above
	AutoSbomGeneration pulumi.BoolPtrOutput `pulumi:"autoSbomGeneration"`
	// Project allowlist allows vulnerabilities in this list to be ignored in this project when pushing and pulling images. Should be in the format or `["CVE-123", "CVE-145"]` or `["CVE-123"]`
	CveAllowlists pulumi.StringArrayOutput `pulumi:"cveAllowlists"`
	// Prevent deployment of images with vulnerability severity equal or higher than the specified value. Images must be scanned before this takes effect. Possible values: `"critical"`, `"high"`, `"medium"`, `"low"`, `"none"`. (Default: `""` - empty)
	DeploymentSecurity pulumi.StringPtrOutput `pulumi:"deploymentSecurity"`
	// Enables Content Trust for project. When enabled it queries the embedded docker notary server. (Default: `false`).
	EnableContentTrust pulumi.BoolPtrOutput `pulumi:"enableContentTrust"`
	// Enables Content Trust Cosign for project. When enabled it queries Cosign. (Default: `false`)
	EnableContentTrustCosign pulumi.BoolPtrOutput `pulumi:"enableContentTrustCosign"`
	// A boolean that indicates all repositories should be deleted from the project so that the project can be destroyed without error. These repositories are *not* recoverable.
	ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"`
	// The name of the project that will be created in harbor.
	Name pulumi.StringOutput `pulumi:"name"`
	// The project id of this resource.
	ProjectId pulumi.IntOutput `pulumi:"projectId"`
	// The project will be public accessibility.(Default: `false`)
	Public pulumi.BoolPtrOutput `pulumi:"public"`
	// To enable project as Proxy Cache.
	RegistryId pulumi.IntOutput `pulumi:"registryId"`
	// The storage quota of the project in GB's.
	StorageQuota pulumi.IntPtrOutput `pulumi:"storageQuota"`
	// Images will be scanned for vulnerabilities when push to harbor. (Default: `true`)
	VulnerabilityScanning pulumi.BoolPtrOutput `pulumi:"vulnerabilityScanning"`
}

## Example Usage

### Hosted

### Proxy

## Import

```sh $ pulumi import harbor:index/project:Project main /projects/1 ```

func GetProject

func GetProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)

GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProject

func NewProject(ctx *pulumi.Context,
	name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)

NewProject registers a new resource with the given unique name, arguments, and options.

func (*Project) ElementType

func (*Project) ElementType() reflect.Type

func (*Project) ToProjectOutput

func (i *Project) ToProjectOutput() ProjectOutput

func (*Project) ToProjectOutputWithContext

func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

type ProjectArgs

type ProjectArgs struct {
	// Automatically generate SBOM for images pushed to this project. (Default: `false`) can only be used with Harbor version v2.11.0 and above
	AutoSbomGeneration pulumi.BoolPtrInput
	// Project allowlist allows vulnerabilities in this list to be ignored in this project when pushing and pulling images. Should be in the format or `["CVE-123", "CVE-145"]` or `["CVE-123"]`
	CveAllowlists pulumi.StringArrayInput
	// Prevent deployment of images with vulnerability severity equal or higher than the specified value. Images must be scanned before this takes effect. Possible values: `"critical"`, `"high"`, `"medium"`, `"low"`, `"none"`. (Default: `""` - empty)
	DeploymentSecurity pulumi.StringPtrInput
	// Enables Content Trust for project. When enabled it queries the embedded docker notary server. (Default: `false`).
	EnableContentTrust pulumi.BoolPtrInput
	// Enables Content Trust Cosign for project. When enabled it queries Cosign. (Default: `false`)
	EnableContentTrustCosign pulumi.BoolPtrInput
	// A boolean that indicates all repositories should be deleted from the project so that the project can be destroyed without error. These repositories are *not* recoverable.
	ForceDestroy pulumi.BoolPtrInput
	// The name of the project that will be created in harbor.
	Name pulumi.StringPtrInput
	// The project will be public accessibility.(Default: `false`)
	Public pulumi.BoolPtrInput
	// To enable project as Proxy Cache.
	RegistryId pulumi.IntPtrInput
	// The storage quota of the project in GB's.
	StorageQuota pulumi.IntPtrInput
	// Images will be scanned for vulnerabilities when push to harbor. (Default: `true`)
	VulnerabilityScanning pulumi.BoolPtrInput
}

The set of arguments for constructing a Project resource.

func (ProjectArgs) ElementType

func (ProjectArgs) ElementType() reflect.Type

type ProjectArray

type ProjectArray []ProjectInput

func (ProjectArray) ElementType

func (ProjectArray) ElementType() reflect.Type

func (ProjectArray) ToProjectArrayOutput

func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArray) ToProjectArrayOutputWithContext

func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectArrayInput

type ProjectArrayInput interface {
	pulumi.Input

	ToProjectArrayOutput() ProjectArrayOutput
	ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput
}

ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:

ProjectArray{ ProjectArgs{...} }

type ProjectArrayOutput

type ProjectArrayOutput struct{ *pulumi.OutputState }

func (ProjectArrayOutput) ElementType

func (ProjectArrayOutput) ElementType() reflect.Type

func (ProjectArrayOutput) Index

func (ProjectArrayOutput) ToProjectArrayOutput

func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput

func (ProjectArrayOutput) ToProjectArrayOutputWithContext

func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput

type ProjectInput

type ProjectInput interface {
	pulumi.Input

	ToProjectOutput() ProjectOutput
	ToProjectOutputWithContext(ctx context.Context) ProjectOutput
}

type ProjectMap

type ProjectMap map[string]ProjectInput

func (ProjectMap) ElementType

func (ProjectMap) ElementType() reflect.Type

func (ProjectMap) ToProjectMapOutput

func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput

func (ProjectMap) ToProjectMapOutputWithContext

func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMapInput

type ProjectMapInput interface {
	pulumi.Input

	ToProjectMapOutput() ProjectMapOutput
	ToProjectMapOutputWithContext(context.Context) ProjectMapOutput
}

ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:

ProjectMap{ "key": ProjectArgs{...} }

type ProjectMapOutput

type ProjectMapOutput struct{ *pulumi.OutputState }

func (ProjectMapOutput) ElementType

func (ProjectMapOutput) ElementType() reflect.Type

func (ProjectMapOutput) MapIndex

func (ProjectMapOutput) ToProjectMapOutput

func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput

func (ProjectMapOutput) ToProjectMapOutputWithContext

func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput

type ProjectMemberGroup

type ProjectMemberGroup struct {
	pulumi.CustomResourceState

	GroupId     pulumi.IntPtrOutput    `pulumi:"groupId"`
	GroupName   pulumi.StringPtrOutput `pulumi:"groupName"`
	LdapGroupDn pulumi.StringPtrOutput `pulumi:"ldapGroupDn"`
	MemberId    pulumi.IntOutput       `pulumi:"memberId"`
	// The project id of the project that the entity will have access to.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The permissions that the entity will be granted.
	Role pulumi.StringOutput `pulumi:"role"`
	// The group type.  Can be set to `"ldap"`, `"internal"` or `"oidc"`.
	Type pulumi.StringOutput `pulumi:"type"`
}

## Example Usage

## Import

```sh $ pulumi import harbor:index/projectMemberGroup:ProjectMemberGroup main /projects/10/members/200 ```

func GetProjectMemberGroup

func GetProjectMemberGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectMemberGroupState, opts ...pulumi.ResourceOption) (*ProjectMemberGroup, error)

GetProjectMemberGroup gets an existing ProjectMemberGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectMemberGroup

func NewProjectMemberGroup(ctx *pulumi.Context,
	name string, args *ProjectMemberGroupArgs, opts ...pulumi.ResourceOption) (*ProjectMemberGroup, error)

NewProjectMemberGroup registers a new resource with the given unique name, arguments, and options.

func (*ProjectMemberGroup) ElementType

func (*ProjectMemberGroup) ElementType() reflect.Type

func (*ProjectMemberGroup) ToProjectMemberGroupOutput

func (i *ProjectMemberGroup) ToProjectMemberGroupOutput() ProjectMemberGroupOutput

func (*ProjectMemberGroup) ToProjectMemberGroupOutputWithContext

func (i *ProjectMemberGroup) ToProjectMemberGroupOutputWithContext(ctx context.Context) ProjectMemberGroupOutput

type ProjectMemberGroupArgs

type ProjectMemberGroupArgs struct {
	GroupId     pulumi.IntPtrInput
	GroupName   pulumi.StringPtrInput
	LdapGroupDn pulumi.StringPtrInput
	// The project id of the project that the entity will have access to.
	ProjectId pulumi.StringInput
	// The permissions that the entity will be granted.
	Role pulumi.StringInput
	// The group type.  Can be set to `"ldap"`, `"internal"` or `"oidc"`.
	Type pulumi.StringInput
}

The set of arguments for constructing a ProjectMemberGroup resource.

func (ProjectMemberGroupArgs) ElementType

func (ProjectMemberGroupArgs) ElementType() reflect.Type

type ProjectMemberGroupArray

type ProjectMemberGroupArray []ProjectMemberGroupInput

func (ProjectMemberGroupArray) ElementType

func (ProjectMemberGroupArray) ElementType() reflect.Type

func (ProjectMemberGroupArray) ToProjectMemberGroupArrayOutput

func (i ProjectMemberGroupArray) ToProjectMemberGroupArrayOutput() ProjectMemberGroupArrayOutput

func (ProjectMemberGroupArray) ToProjectMemberGroupArrayOutputWithContext

func (i ProjectMemberGroupArray) ToProjectMemberGroupArrayOutputWithContext(ctx context.Context) ProjectMemberGroupArrayOutput

type ProjectMemberGroupArrayInput

type ProjectMemberGroupArrayInput interface {
	pulumi.Input

	ToProjectMemberGroupArrayOutput() ProjectMemberGroupArrayOutput
	ToProjectMemberGroupArrayOutputWithContext(context.Context) ProjectMemberGroupArrayOutput
}

ProjectMemberGroupArrayInput is an input type that accepts ProjectMemberGroupArray and ProjectMemberGroupArrayOutput values. You can construct a concrete instance of `ProjectMemberGroupArrayInput` via:

ProjectMemberGroupArray{ ProjectMemberGroupArgs{...} }

type ProjectMemberGroupArrayOutput

type ProjectMemberGroupArrayOutput struct{ *pulumi.OutputState }

func (ProjectMemberGroupArrayOutput) ElementType

func (ProjectMemberGroupArrayOutput) Index

func (ProjectMemberGroupArrayOutput) ToProjectMemberGroupArrayOutput

func (o ProjectMemberGroupArrayOutput) ToProjectMemberGroupArrayOutput() ProjectMemberGroupArrayOutput

func (ProjectMemberGroupArrayOutput) ToProjectMemberGroupArrayOutputWithContext

func (o ProjectMemberGroupArrayOutput) ToProjectMemberGroupArrayOutputWithContext(ctx context.Context) ProjectMemberGroupArrayOutput

type ProjectMemberGroupInput

type ProjectMemberGroupInput interface {
	pulumi.Input

	ToProjectMemberGroupOutput() ProjectMemberGroupOutput
	ToProjectMemberGroupOutputWithContext(ctx context.Context) ProjectMemberGroupOutput
}

type ProjectMemberGroupMap

type ProjectMemberGroupMap map[string]ProjectMemberGroupInput

func (ProjectMemberGroupMap) ElementType

func (ProjectMemberGroupMap) ElementType() reflect.Type

func (ProjectMemberGroupMap) ToProjectMemberGroupMapOutput

func (i ProjectMemberGroupMap) ToProjectMemberGroupMapOutput() ProjectMemberGroupMapOutput

func (ProjectMemberGroupMap) ToProjectMemberGroupMapOutputWithContext

func (i ProjectMemberGroupMap) ToProjectMemberGroupMapOutputWithContext(ctx context.Context) ProjectMemberGroupMapOutput

type ProjectMemberGroupMapInput

type ProjectMemberGroupMapInput interface {
	pulumi.Input

	ToProjectMemberGroupMapOutput() ProjectMemberGroupMapOutput
	ToProjectMemberGroupMapOutputWithContext(context.Context) ProjectMemberGroupMapOutput
}

ProjectMemberGroupMapInput is an input type that accepts ProjectMemberGroupMap and ProjectMemberGroupMapOutput values. You can construct a concrete instance of `ProjectMemberGroupMapInput` via:

ProjectMemberGroupMap{ "key": ProjectMemberGroupArgs{...} }

type ProjectMemberGroupMapOutput

type ProjectMemberGroupMapOutput struct{ *pulumi.OutputState }

func (ProjectMemberGroupMapOutput) ElementType

func (ProjectMemberGroupMapOutput) MapIndex

func (ProjectMemberGroupMapOutput) ToProjectMemberGroupMapOutput

func (o ProjectMemberGroupMapOutput) ToProjectMemberGroupMapOutput() ProjectMemberGroupMapOutput

func (ProjectMemberGroupMapOutput) ToProjectMemberGroupMapOutputWithContext

func (o ProjectMemberGroupMapOutput) ToProjectMemberGroupMapOutputWithContext(ctx context.Context) ProjectMemberGroupMapOutput

type ProjectMemberGroupOutput

type ProjectMemberGroupOutput struct{ *pulumi.OutputState }

func (ProjectMemberGroupOutput) ElementType

func (ProjectMemberGroupOutput) ElementType() reflect.Type

func (ProjectMemberGroupOutput) GroupId

func (ProjectMemberGroupOutput) GroupName

func (ProjectMemberGroupOutput) LdapGroupDn

func (ProjectMemberGroupOutput) MemberId

func (ProjectMemberGroupOutput) ProjectId

The project id of the project that the entity will have access to.

func (ProjectMemberGroupOutput) Role

The permissions that the entity will be granted.

func (ProjectMemberGroupOutput) ToProjectMemberGroupOutput

func (o ProjectMemberGroupOutput) ToProjectMemberGroupOutput() ProjectMemberGroupOutput

func (ProjectMemberGroupOutput) ToProjectMemberGroupOutputWithContext

func (o ProjectMemberGroupOutput) ToProjectMemberGroupOutputWithContext(ctx context.Context) ProjectMemberGroupOutput

func (ProjectMemberGroupOutput) Type

The group type. Can be set to `"ldap"`, `"internal"` or `"oidc"`.

type ProjectMemberGroupState

type ProjectMemberGroupState struct {
	GroupId     pulumi.IntPtrInput
	GroupName   pulumi.StringPtrInput
	LdapGroupDn pulumi.StringPtrInput
	MemberId    pulumi.IntPtrInput
	// The project id of the project that the entity will have access to.
	ProjectId pulumi.StringPtrInput
	// The permissions that the entity will be granted.
	Role pulumi.StringPtrInput
	// The group type.  Can be set to `"ldap"`, `"internal"` or `"oidc"`.
	Type pulumi.StringPtrInput
}

func (ProjectMemberGroupState) ElementType

func (ProjectMemberGroupState) ElementType() reflect.Type

type ProjectMemberUser

type ProjectMemberUser struct {
	pulumi.CustomResourceState

	// The member id of the member.
	MemberId pulumi.IntOutput `pulumi:"memberId"`
	// The project id of the project that the entity will have access to.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The permissions that the entity will be granted.
	Role pulumi.StringOutput `pulumi:"role"`
	// The name of the member entity.
	UserName pulumi.StringOutput `pulumi:"userName"`
}

## Example Usage

## Import

```sh $ pulumi import harbor:index/projectMemberUser:ProjectMemberUser main /projects/10/members/200 ```

func GetProjectMemberUser

func GetProjectMemberUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectMemberUserState, opts ...pulumi.ResourceOption) (*ProjectMemberUser, error)

GetProjectMemberUser gets an existing ProjectMemberUser resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectMemberUser

func NewProjectMemberUser(ctx *pulumi.Context,
	name string, args *ProjectMemberUserArgs, opts ...pulumi.ResourceOption) (*ProjectMemberUser, error)

NewProjectMemberUser registers a new resource with the given unique name, arguments, and options.

func (*ProjectMemberUser) ElementType

func (*ProjectMemberUser) ElementType() reflect.Type

func (*ProjectMemberUser) ToProjectMemberUserOutput

func (i *ProjectMemberUser) ToProjectMemberUserOutput() ProjectMemberUserOutput

func (*ProjectMemberUser) ToProjectMemberUserOutputWithContext

func (i *ProjectMemberUser) ToProjectMemberUserOutputWithContext(ctx context.Context) ProjectMemberUserOutput

type ProjectMemberUserArgs

type ProjectMemberUserArgs struct {
	// The project id of the project that the entity will have access to.
	ProjectId pulumi.StringInput
	// The permissions that the entity will be granted.
	Role pulumi.StringInput
	// The name of the member entity.
	UserName pulumi.StringInput
}

The set of arguments for constructing a ProjectMemberUser resource.

func (ProjectMemberUserArgs) ElementType

func (ProjectMemberUserArgs) ElementType() reflect.Type

type ProjectMemberUserArray

type ProjectMemberUserArray []ProjectMemberUserInput

func (ProjectMemberUserArray) ElementType

func (ProjectMemberUserArray) ElementType() reflect.Type

func (ProjectMemberUserArray) ToProjectMemberUserArrayOutput

func (i ProjectMemberUserArray) ToProjectMemberUserArrayOutput() ProjectMemberUserArrayOutput

func (ProjectMemberUserArray) ToProjectMemberUserArrayOutputWithContext

func (i ProjectMemberUserArray) ToProjectMemberUserArrayOutputWithContext(ctx context.Context) ProjectMemberUserArrayOutput

type ProjectMemberUserArrayInput

type ProjectMemberUserArrayInput interface {
	pulumi.Input

	ToProjectMemberUserArrayOutput() ProjectMemberUserArrayOutput
	ToProjectMemberUserArrayOutputWithContext(context.Context) ProjectMemberUserArrayOutput
}

ProjectMemberUserArrayInput is an input type that accepts ProjectMemberUserArray and ProjectMemberUserArrayOutput values. You can construct a concrete instance of `ProjectMemberUserArrayInput` via:

ProjectMemberUserArray{ ProjectMemberUserArgs{...} }

type ProjectMemberUserArrayOutput

type ProjectMemberUserArrayOutput struct{ *pulumi.OutputState }

func (ProjectMemberUserArrayOutput) ElementType

func (ProjectMemberUserArrayOutput) Index

func (ProjectMemberUserArrayOutput) ToProjectMemberUserArrayOutput

func (o ProjectMemberUserArrayOutput) ToProjectMemberUserArrayOutput() ProjectMemberUserArrayOutput

func (ProjectMemberUserArrayOutput) ToProjectMemberUserArrayOutputWithContext

func (o ProjectMemberUserArrayOutput) ToProjectMemberUserArrayOutputWithContext(ctx context.Context) ProjectMemberUserArrayOutput

type ProjectMemberUserInput

type ProjectMemberUserInput interface {
	pulumi.Input

	ToProjectMemberUserOutput() ProjectMemberUserOutput
	ToProjectMemberUserOutputWithContext(ctx context.Context) ProjectMemberUserOutput
}

type ProjectMemberUserMap

type ProjectMemberUserMap map[string]ProjectMemberUserInput

func (ProjectMemberUserMap) ElementType

func (ProjectMemberUserMap) ElementType() reflect.Type

func (ProjectMemberUserMap) ToProjectMemberUserMapOutput

func (i ProjectMemberUserMap) ToProjectMemberUserMapOutput() ProjectMemberUserMapOutput

func (ProjectMemberUserMap) ToProjectMemberUserMapOutputWithContext

func (i ProjectMemberUserMap) ToProjectMemberUserMapOutputWithContext(ctx context.Context) ProjectMemberUserMapOutput

type ProjectMemberUserMapInput

type ProjectMemberUserMapInput interface {
	pulumi.Input

	ToProjectMemberUserMapOutput() ProjectMemberUserMapOutput
	ToProjectMemberUserMapOutputWithContext(context.Context) ProjectMemberUserMapOutput
}

ProjectMemberUserMapInput is an input type that accepts ProjectMemberUserMap and ProjectMemberUserMapOutput values. You can construct a concrete instance of `ProjectMemberUserMapInput` via:

ProjectMemberUserMap{ "key": ProjectMemberUserArgs{...} }

type ProjectMemberUserMapOutput

type ProjectMemberUserMapOutput struct{ *pulumi.OutputState }

func (ProjectMemberUserMapOutput) ElementType

func (ProjectMemberUserMapOutput) ElementType() reflect.Type

func (ProjectMemberUserMapOutput) MapIndex

func (ProjectMemberUserMapOutput) ToProjectMemberUserMapOutput

func (o ProjectMemberUserMapOutput) ToProjectMemberUserMapOutput() ProjectMemberUserMapOutput

func (ProjectMemberUserMapOutput) ToProjectMemberUserMapOutputWithContext

func (o ProjectMemberUserMapOutput) ToProjectMemberUserMapOutputWithContext(ctx context.Context) ProjectMemberUserMapOutput

type ProjectMemberUserOutput

type ProjectMemberUserOutput struct{ *pulumi.OutputState }

func (ProjectMemberUserOutput) ElementType

func (ProjectMemberUserOutput) ElementType() reflect.Type

func (ProjectMemberUserOutput) MemberId

The member id of the member.

func (ProjectMemberUserOutput) ProjectId

The project id of the project that the entity will have access to.

func (ProjectMemberUserOutput) Role

The permissions that the entity will be granted.

func (ProjectMemberUserOutput) ToProjectMemberUserOutput

func (o ProjectMemberUserOutput) ToProjectMemberUserOutput() ProjectMemberUserOutput

func (ProjectMemberUserOutput) ToProjectMemberUserOutputWithContext

func (o ProjectMemberUserOutput) ToProjectMemberUserOutputWithContext(ctx context.Context) ProjectMemberUserOutput

func (ProjectMemberUserOutput) UserName

The name of the member entity.

type ProjectMemberUserState

type ProjectMemberUserState struct {
	// The member id of the member.
	MemberId pulumi.IntPtrInput
	// The project id of the project that the entity will have access to.
	ProjectId pulumi.StringPtrInput
	// The permissions that the entity will be granted.
	Role pulumi.StringPtrInput
	// The name of the member entity.
	UserName pulumi.StringPtrInput
}

func (ProjectMemberUserState) ElementType

func (ProjectMemberUserState) ElementType() reflect.Type

type ProjectOutput

type ProjectOutput struct{ *pulumi.OutputState }

func (ProjectOutput) AutoSbomGeneration added in v3.10.13

func (o ProjectOutput) AutoSbomGeneration() pulumi.BoolPtrOutput

Automatically generate SBOM for images pushed to this project. (Default: `false`) can only be used with Harbor version v2.11.0 and above

func (ProjectOutput) CveAllowlists

func (o ProjectOutput) CveAllowlists() pulumi.StringArrayOutput

Project allowlist allows vulnerabilities in this list to be ignored in this project when pushing and pulling images. Should be in the format or `["CVE-123", "CVE-145"]` or `["CVE-123"]`

func (ProjectOutput) DeploymentSecurity

func (o ProjectOutput) DeploymentSecurity() pulumi.StringPtrOutput

Prevent deployment of images with vulnerability severity equal or higher than the specified value. Images must be scanned before this takes effect. Possible values: `"critical"`, `"high"`, `"medium"`, `"low"`, `"none"`. (Default: `""` - empty)

func (ProjectOutput) ElementType

func (ProjectOutput) ElementType() reflect.Type

func (ProjectOutput) EnableContentTrust

func (o ProjectOutput) EnableContentTrust() pulumi.BoolPtrOutput

Enables Content Trust for project. When enabled it queries the embedded docker notary server. (Default: `false`).

func (ProjectOutput) EnableContentTrustCosign added in v3.10.4

func (o ProjectOutput) EnableContentTrustCosign() pulumi.BoolPtrOutput

Enables Content Trust Cosign for project. When enabled it queries Cosign. (Default: `false`)

func (ProjectOutput) ForceDestroy

func (o ProjectOutput) ForceDestroy() pulumi.BoolPtrOutput

A boolean that indicates all repositories should be deleted from the project so that the project can be destroyed without error. These repositories are *not* recoverable.

func (ProjectOutput) Name

The name of the project that will be created in harbor.

func (ProjectOutput) ProjectId

func (o ProjectOutput) ProjectId() pulumi.IntOutput

The project id of this resource.

func (ProjectOutput) Public

func (o ProjectOutput) Public() pulumi.BoolPtrOutput

The project will be public accessibility.(Default: `false`)

func (ProjectOutput) RegistryId

func (o ProjectOutput) RegistryId() pulumi.IntOutput

To enable project as Proxy Cache.

func (ProjectOutput) StorageQuota

func (o ProjectOutput) StorageQuota() pulumi.IntPtrOutput

The storage quota of the project in GB's.

func (ProjectOutput) ToProjectOutput

func (o ProjectOutput) ToProjectOutput() ProjectOutput

func (ProjectOutput) ToProjectOutputWithContext

func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput

func (ProjectOutput) VulnerabilityScanning

func (o ProjectOutput) VulnerabilityScanning() pulumi.BoolPtrOutput

Images will be scanned for vulnerabilities when push to harbor. (Default: `true`)

type ProjectState

type ProjectState struct {
	// Automatically generate SBOM for images pushed to this project. (Default: `false`) can only be used with Harbor version v2.11.0 and above
	AutoSbomGeneration pulumi.BoolPtrInput
	// Project allowlist allows vulnerabilities in this list to be ignored in this project when pushing and pulling images. Should be in the format or `["CVE-123", "CVE-145"]` or `["CVE-123"]`
	CveAllowlists pulumi.StringArrayInput
	// Prevent deployment of images with vulnerability severity equal or higher than the specified value. Images must be scanned before this takes effect. Possible values: `"critical"`, `"high"`, `"medium"`, `"low"`, `"none"`. (Default: `""` - empty)
	DeploymentSecurity pulumi.StringPtrInput
	// Enables Content Trust for project. When enabled it queries the embedded docker notary server. (Default: `false`).
	EnableContentTrust pulumi.BoolPtrInput
	// Enables Content Trust Cosign for project. When enabled it queries Cosign. (Default: `false`)
	EnableContentTrustCosign pulumi.BoolPtrInput
	// A boolean that indicates all repositories should be deleted from the project so that the project can be destroyed without error. These repositories are *not* recoverable.
	ForceDestroy pulumi.BoolPtrInput
	// The name of the project that will be created in harbor.
	Name pulumi.StringPtrInput
	// The project id of this resource.
	ProjectId pulumi.IntPtrInput
	// The project will be public accessibility.(Default: `false`)
	Public pulumi.BoolPtrInput
	// To enable project as Proxy Cache.
	RegistryId pulumi.IntPtrInput
	// The storage quota of the project in GB's.
	StorageQuota pulumi.IntPtrInput
	// Images will be scanned for vulnerabilities when push to harbor. (Default: `true`)
	VulnerabilityScanning pulumi.BoolPtrInput
}

func (ProjectState) ElementType

func (ProjectState) ElementType() reflect.Type

type ProjectWebhook

type ProjectWebhook struct {
	pulumi.CustomResourceState

	// The address of the webhook.
	Address     pulumi.StringOutput    `pulumi:"address"`
	AuthHeader  pulumi.StringPtrOutput `pulumi:"authHeader"`
	Description pulumi.StringPtrOutput `pulumi:"description"`
	Enabled     pulumi.BoolPtrOutput   `pulumi:"enabled"`
	// The type events you want to subscript to can be
	EventsTypes pulumi.StringArrayOutput `pulumi:"eventsTypes"`
	// The name of the webhook that will be created in harbor.
	Name pulumi.StringOutput `pulumi:"name"`
	// The notification type either `http` or `slack`.
	NotifyType pulumi.StringOutput `pulumi:"notifyType"`
	// The project id of the harbor that webhook related to.
	ProjectId      pulumi.StringOutput  `pulumi:"projectId"`
	SkipCertVerify pulumi.BoolPtrOutput `pulumi:"skipCertVerify"`
}

## Example Usage

func GetProjectWebhook

func GetProjectWebhook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProjectWebhookState, opts ...pulumi.ResourceOption) (*ProjectWebhook, error)

GetProjectWebhook gets an existing ProjectWebhook resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProjectWebhook

func NewProjectWebhook(ctx *pulumi.Context,
	name string, args *ProjectWebhookArgs, opts ...pulumi.ResourceOption) (*ProjectWebhook, error)

NewProjectWebhook registers a new resource with the given unique name, arguments, and options.

func (*ProjectWebhook) ElementType

func (*ProjectWebhook) ElementType() reflect.Type

func (*ProjectWebhook) ToProjectWebhookOutput

func (i *ProjectWebhook) ToProjectWebhookOutput() ProjectWebhookOutput

func (*ProjectWebhook) ToProjectWebhookOutputWithContext

func (i *ProjectWebhook) ToProjectWebhookOutputWithContext(ctx context.Context) ProjectWebhookOutput

type ProjectWebhookArgs

type ProjectWebhookArgs struct {
	// The address of the webhook.
	Address     pulumi.StringInput
	AuthHeader  pulumi.StringPtrInput
	Description pulumi.StringPtrInput
	Enabled     pulumi.BoolPtrInput
	// The type events you want to subscript to can be
	EventsTypes pulumi.StringArrayInput
	// The name of the webhook that will be created in harbor.
	Name pulumi.StringPtrInput
	// The notification type either `http` or `slack`.
	NotifyType pulumi.StringInput
	// The project id of the harbor that webhook related to.
	ProjectId      pulumi.StringInput
	SkipCertVerify pulumi.BoolPtrInput
}

The set of arguments for constructing a ProjectWebhook resource.

func (ProjectWebhookArgs) ElementType

func (ProjectWebhookArgs) ElementType() reflect.Type

type ProjectWebhookArray

type ProjectWebhookArray []ProjectWebhookInput

func (ProjectWebhookArray) ElementType

func (ProjectWebhookArray) ElementType() reflect.Type

func (ProjectWebhookArray) ToProjectWebhookArrayOutput

func (i ProjectWebhookArray) ToProjectWebhookArrayOutput() ProjectWebhookArrayOutput

func (ProjectWebhookArray) ToProjectWebhookArrayOutputWithContext

func (i ProjectWebhookArray) ToProjectWebhookArrayOutputWithContext(ctx context.Context) ProjectWebhookArrayOutput

type ProjectWebhookArrayInput

type ProjectWebhookArrayInput interface {
	pulumi.Input

	ToProjectWebhookArrayOutput() ProjectWebhookArrayOutput
	ToProjectWebhookArrayOutputWithContext(context.Context) ProjectWebhookArrayOutput
}

ProjectWebhookArrayInput is an input type that accepts ProjectWebhookArray and ProjectWebhookArrayOutput values. You can construct a concrete instance of `ProjectWebhookArrayInput` via:

ProjectWebhookArray{ ProjectWebhookArgs{...} }

type ProjectWebhookArrayOutput

type ProjectWebhookArrayOutput struct{ *pulumi.OutputState }

func (ProjectWebhookArrayOutput) ElementType

func (ProjectWebhookArrayOutput) ElementType() reflect.Type

func (ProjectWebhookArrayOutput) Index

func (ProjectWebhookArrayOutput) ToProjectWebhookArrayOutput

func (o ProjectWebhookArrayOutput) ToProjectWebhookArrayOutput() ProjectWebhookArrayOutput

func (ProjectWebhookArrayOutput) ToProjectWebhookArrayOutputWithContext

func (o ProjectWebhookArrayOutput) ToProjectWebhookArrayOutputWithContext(ctx context.Context) ProjectWebhookArrayOutput

type ProjectWebhookInput

type ProjectWebhookInput interface {
	pulumi.Input

	ToProjectWebhookOutput() ProjectWebhookOutput
	ToProjectWebhookOutputWithContext(ctx context.Context) ProjectWebhookOutput
}

type ProjectWebhookMap

type ProjectWebhookMap map[string]ProjectWebhookInput

func (ProjectWebhookMap) ElementType

func (ProjectWebhookMap) ElementType() reflect.Type

func (ProjectWebhookMap) ToProjectWebhookMapOutput

func (i ProjectWebhookMap) ToProjectWebhookMapOutput() ProjectWebhookMapOutput

func (ProjectWebhookMap) ToProjectWebhookMapOutputWithContext

func (i ProjectWebhookMap) ToProjectWebhookMapOutputWithContext(ctx context.Context) ProjectWebhookMapOutput

type ProjectWebhookMapInput

type ProjectWebhookMapInput interface {
	pulumi.Input

	ToProjectWebhookMapOutput() ProjectWebhookMapOutput
	ToProjectWebhookMapOutputWithContext(context.Context) ProjectWebhookMapOutput
}

ProjectWebhookMapInput is an input type that accepts ProjectWebhookMap and ProjectWebhookMapOutput values. You can construct a concrete instance of `ProjectWebhookMapInput` via:

ProjectWebhookMap{ "key": ProjectWebhookArgs{...} }

type ProjectWebhookMapOutput

type ProjectWebhookMapOutput struct{ *pulumi.OutputState }

func (ProjectWebhookMapOutput) ElementType

func (ProjectWebhookMapOutput) ElementType() reflect.Type

func (ProjectWebhookMapOutput) MapIndex

func (ProjectWebhookMapOutput) ToProjectWebhookMapOutput

func (o ProjectWebhookMapOutput) ToProjectWebhookMapOutput() ProjectWebhookMapOutput

func (ProjectWebhookMapOutput) ToProjectWebhookMapOutputWithContext

func (o ProjectWebhookMapOutput) ToProjectWebhookMapOutputWithContext(ctx context.Context) ProjectWebhookMapOutput

type ProjectWebhookOutput

type ProjectWebhookOutput struct{ *pulumi.OutputState }

func (ProjectWebhookOutput) Address

The address of the webhook.

func (ProjectWebhookOutput) AuthHeader

func (ProjectWebhookOutput) Description

func (ProjectWebhookOutput) ElementType

func (ProjectWebhookOutput) ElementType() reflect.Type

func (ProjectWebhookOutput) Enabled

func (ProjectWebhookOutput) EventsTypes

The type events you want to subscript to can be

func (ProjectWebhookOutput) Name

The name of the webhook that will be created in harbor.

func (ProjectWebhookOutput) NotifyType

func (o ProjectWebhookOutput) NotifyType() pulumi.StringOutput

The notification type either `http` or `slack`.

func (ProjectWebhookOutput) ProjectId

The project id of the harbor that webhook related to.

func (ProjectWebhookOutput) SkipCertVerify

func (o ProjectWebhookOutput) SkipCertVerify() pulumi.BoolPtrOutput

func (ProjectWebhookOutput) ToProjectWebhookOutput

func (o ProjectWebhookOutput) ToProjectWebhookOutput() ProjectWebhookOutput

func (ProjectWebhookOutput) ToProjectWebhookOutputWithContext

func (o ProjectWebhookOutput) ToProjectWebhookOutputWithContext(ctx context.Context) ProjectWebhookOutput

type ProjectWebhookState

type ProjectWebhookState struct {
	// The address of the webhook.
	Address     pulumi.StringPtrInput
	AuthHeader  pulumi.StringPtrInput
	Description pulumi.StringPtrInput
	Enabled     pulumi.BoolPtrInput
	// The type events you want to subscript to can be
	EventsTypes pulumi.StringArrayInput
	// The name of the webhook that will be created in harbor.
	Name pulumi.StringPtrInput
	// The notification type either `http` or `slack`.
	NotifyType pulumi.StringPtrInput
	// The project id of the harbor that webhook related to.
	ProjectId      pulumi.StringPtrInput
	SkipCertVerify pulumi.BoolPtrInput
}

func (ProjectWebhookState) ElementType

func (ProjectWebhookState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	BearerToken pulumi.StringPtrOutput `pulumi:"bearerToken"`
	Password    pulumi.StringPtrOutput `pulumi:"password"`
	RobotPrefix pulumi.StringPtrOutput `pulumi:"robotPrefix"`
	SessionId   pulumi.StringPtrOutput `pulumi:"sessionId"`
	Url         pulumi.StringPtrOutput `pulumi:"url"`
	Username    pulumi.StringPtrOutput `pulumi:"username"`
}

The provider type for the harbor package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) TerraformConfig added in v3.10.21

func (r *Provider) TerraformConfig(ctx *pulumi.Context) (ProviderTerraformConfigResultOutput, error)

This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	ApiVersion  pulumi.IntPtrInput
	BearerToken pulumi.StringPtrInput
	Insecure    pulumi.BoolPtrInput
	Password    pulumi.StringPtrInput
	RobotPrefix pulumi.StringPtrInput
	SessionId   pulumi.StringPtrInput
	Url         pulumi.StringPtrInput
	Username    pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) BearerToken added in v3.10.8

func (o ProviderOutput) BearerToken() pulumi.StringPtrOutput

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) Password

func (o ProviderOutput) Password() pulumi.StringPtrOutput

func (ProviderOutput) RobotPrefix added in v3.10.19

func (o ProviderOutput) RobotPrefix() pulumi.StringPtrOutput

func (ProviderOutput) SessionId added in v3.10.21

func (o ProviderOutput) SessionId() pulumi.StringPtrOutput

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) Url

func (ProviderOutput) Username

func (o ProviderOutput) Username() pulumi.StringPtrOutput

type ProviderTerraformConfigResult added in v3.10.21

type ProviderTerraformConfigResult struct {
	Result map[string]interface{} `pulumi:"result"`
}

type ProviderTerraformConfigResultOutput added in v3.10.21

type ProviderTerraformConfigResultOutput struct{ *pulumi.OutputState }

func (ProviderTerraformConfigResultOutput) ElementType added in v3.10.21

func (ProviderTerraformConfigResultOutput) Result added in v3.10.21

type PurgeAuditLog added in v3.9.3

type PurgeAuditLog struct {
	pulumi.CustomResourceState

	// To configure how long audit logs should be kept. For example, if you set this to 24 Harbor will only purge audit logs that are 24 or more hours old.
	AuditRetentionHour pulumi.IntOutput `pulumi:"auditRetentionHour"`
	// Valid values are `create` `delete` `pull`, thoses values can be comma separated. When Create, Delete, or Pull is set, Harbor will include audit logs for those operations in the purge.
	IncludeOperations pulumi.StringOutput `pulumi:"includeOperations"`
	// Sets the schedule how often the Garbage Collection will run.  Can be to `"Hourly"`, `"Daily"`, `"Weekly"` or can be a custom cron string ie, `"5 4 * * *"`
	Schedule pulumi.StringOutput `pulumi:"schedule"`
}

## Example Usage

func GetPurgeAuditLog added in v3.9.3

func GetPurgeAuditLog(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PurgeAuditLogState, opts ...pulumi.ResourceOption) (*PurgeAuditLog, error)

GetPurgeAuditLog gets an existing PurgeAuditLog resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPurgeAuditLog added in v3.9.3

func NewPurgeAuditLog(ctx *pulumi.Context,
	name string, args *PurgeAuditLogArgs, opts ...pulumi.ResourceOption) (*PurgeAuditLog, error)

NewPurgeAuditLog registers a new resource with the given unique name, arguments, and options.

func (*PurgeAuditLog) ElementType added in v3.9.3

func (*PurgeAuditLog) ElementType() reflect.Type

func (*PurgeAuditLog) ToPurgeAuditLogOutput added in v3.9.3

func (i *PurgeAuditLog) ToPurgeAuditLogOutput() PurgeAuditLogOutput

func (*PurgeAuditLog) ToPurgeAuditLogOutputWithContext added in v3.9.3

func (i *PurgeAuditLog) ToPurgeAuditLogOutputWithContext(ctx context.Context) PurgeAuditLogOutput

type PurgeAuditLogArgs added in v3.9.3

type PurgeAuditLogArgs struct {
	// To configure how long audit logs should be kept. For example, if you set this to 24 Harbor will only purge audit logs that are 24 or more hours old.
	AuditRetentionHour pulumi.IntInput
	// Valid values are `create` `delete` `pull`, thoses values can be comma separated. When Create, Delete, or Pull is set, Harbor will include audit logs for those operations in the purge.
	IncludeOperations pulumi.StringInput
	// Sets the schedule how often the Garbage Collection will run.  Can be to `"Hourly"`, `"Daily"`, `"Weekly"` or can be a custom cron string ie, `"5 4 * * *"`
	Schedule pulumi.StringInput
}

The set of arguments for constructing a PurgeAuditLog resource.

func (PurgeAuditLogArgs) ElementType added in v3.9.3

func (PurgeAuditLogArgs) ElementType() reflect.Type

type PurgeAuditLogArray added in v3.9.3

type PurgeAuditLogArray []PurgeAuditLogInput

func (PurgeAuditLogArray) ElementType added in v3.9.3

func (PurgeAuditLogArray) ElementType() reflect.Type

func (PurgeAuditLogArray) ToPurgeAuditLogArrayOutput added in v3.9.3

func (i PurgeAuditLogArray) ToPurgeAuditLogArrayOutput() PurgeAuditLogArrayOutput

func (PurgeAuditLogArray) ToPurgeAuditLogArrayOutputWithContext added in v3.9.3

func (i PurgeAuditLogArray) ToPurgeAuditLogArrayOutputWithContext(ctx context.Context) PurgeAuditLogArrayOutput

type PurgeAuditLogArrayInput added in v3.9.3

type PurgeAuditLogArrayInput interface {
	pulumi.Input

	ToPurgeAuditLogArrayOutput() PurgeAuditLogArrayOutput
	ToPurgeAuditLogArrayOutputWithContext(context.Context) PurgeAuditLogArrayOutput
}

PurgeAuditLogArrayInput is an input type that accepts PurgeAuditLogArray and PurgeAuditLogArrayOutput values. You can construct a concrete instance of `PurgeAuditLogArrayInput` via:

PurgeAuditLogArray{ PurgeAuditLogArgs{...} }

type PurgeAuditLogArrayOutput added in v3.9.3

type PurgeAuditLogArrayOutput struct{ *pulumi.OutputState }

func (PurgeAuditLogArrayOutput) ElementType added in v3.9.3

func (PurgeAuditLogArrayOutput) ElementType() reflect.Type

func (PurgeAuditLogArrayOutput) Index added in v3.9.3

func (PurgeAuditLogArrayOutput) ToPurgeAuditLogArrayOutput added in v3.9.3

func (o PurgeAuditLogArrayOutput) ToPurgeAuditLogArrayOutput() PurgeAuditLogArrayOutput

func (PurgeAuditLogArrayOutput) ToPurgeAuditLogArrayOutputWithContext added in v3.9.3

func (o PurgeAuditLogArrayOutput) ToPurgeAuditLogArrayOutputWithContext(ctx context.Context) PurgeAuditLogArrayOutput

type PurgeAuditLogInput added in v3.9.3

type PurgeAuditLogInput interface {
	pulumi.Input

	ToPurgeAuditLogOutput() PurgeAuditLogOutput
	ToPurgeAuditLogOutputWithContext(ctx context.Context) PurgeAuditLogOutput
}

type PurgeAuditLogMap added in v3.9.3

type PurgeAuditLogMap map[string]PurgeAuditLogInput

func (PurgeAuditLogMap) ElementType added in v3.9.3

func (PurgeAuditLogMap) ElementType() reflect.Type

func (PurgeAuditLogMap) ToPurgeAuditLogMapOutput added in v3.9.3

func (i PurgeAuditLogMap) ToPurgeAuditLogMapOutput() PurgeAuditLogMapOutput

func (PurgeAuditLogMap) ToPurgeAuditLogMapOutputWithContext added in v3.9.3

func (i PurgeAuditLogMap) ToPurgeAuditLogMapOutputWithContext(ctx context.Context) PurgeAuditLogMapOutput

type PurgeAuditLogMapInput added in v3.9.3

type PurgeAuditLogMapInput interface {
	pulumi.Input

	ToPurgeAuditLogMapOutput() PurgeAuditLogMapOutput
	ToPurgeAuditLogMapOutputWithContext(context.Context) PurgeAuditLogMapOutput
}

PurgeAuditLogMapInput is an input type that accepts PurgeAuditLogMap and PurgeAuditLogMapOutput values. You can construct a concrete instance of `PurgeAuditLogMapInput` via:

PurgeAuditLogMap{ "key": PurgeAuditLogArgs{...} }

type PurgeAuditLogMapOutput added in v3.9.3

type PurgeAuditLogMapOutput struct{ *pulumi.OutputState }

func (PurgeAuditLogMapOutput) ElementType added in v3.9.3

func (PurgeAuditLogMapOutput) ElementType() reflect.Type

func (PurgeAuditLogMapOutput) MapIndex added in v3.9.3

func (PurgeAuditLogMapOutput) ToPurgeAuditLogMapOutput added in v3.9.3

func (o PurgeAuditLogMapOutput) ToPurgeAuditLogMapOutput() PurgeAuditLogMapOutput

func (PurgeAuditLogMapOutput) ToPurgeAuditLogMapOutputWithContext added in v3.9.3

func (o PurgeAuditLogMapOutput) ToPurgeAuditLogMapOutputWithContext(ctx context.Context) PurgeAuditLogMapOutput

type PurgeAuditLogOutput added in v3.9.3

type PurgeAuditLogOutput struct{ *pulumi.OutputState }

func (PurgeAuditLogOutput) AuditRetentionHour added in v3.9.3

func (o PurgeAuditLogOutput) AuditRetentionHour() pulumi.IntOutput

To configure how long audit logs should be kept. For example, if you set this to 24 Harbor will only purge audit logs that are 24 or more hours old.

func (PurgeAuditLogOutput) ElementType added in v3.9.3

func (PurgeAuditLogOutput) ElementType() reflect.Type

func (PurgeAuditLogOutput) IncludeOperations added in v3.9.3

func (o PurgeAuditLogOutput) IncludeOperations() pulumi.StringOutput

Valid values are `create` `delete` `pull`, thoses values can be comma separated. When Create, Delete, or Pull is set, Harbor will include audit logs for those operations in the purge.

func (PurgeAuditLogOutput) Schedule added in v3.9.3

Sets the schedule how often the Garbage Collection will run. Can be to `"Hourly"`, `"Daily"`, `"Weekly"` or can be a custom cron string ie, `"5 4 * * *"`

func (PurgeAuditLogOutput) ToPurgeAuditLogOutput added in v3.9.3

func (o PurgeAuditLogOutput) ToPurgeAuditLogOutput() PurgeAuditLogOutput

func (PurgeAuditLogOutput) ToPurgeAuditLogOutputWithContext added in v3.9.3

func (o PurgeAuditLogOutput) ToPurgeAuditLogOutputWithContext(ctx context.Context) PurgeAuditLogOutput

type PurgeAuditLogState added in v3.9.3

type PurgeAuditLogState struct {
	// To configure how long audit logs should be kept. For example, if you set this to 24 Harbor will only purge audit logs that are 24 or more hours old.
	AuditRetentionHour pulumi.IntPtrInput
	// Valid values are `create` `delete` `pull`, thoses values can be comma separated. When Create, Delete, or Pull is set, Harbor will include audit logs for those operations in the purge.
	IncludeOperations pulumi.StringPtrInput
	// Sets the schedule how often the Garbage Collection will run.  Can be to `"Hourly"`, `"Daily"`, `"Weekly"` or can be a custom cron string ie, `"5 4 * * *"`
	Schedule pulumi.StringPtrInput
}

func (PurgeAuditLogState) ElementType added in v3.9.3

func (PurgeAuditLogState) ElementType() reflect.Type

type Registry

type Registry struct {
	pulumi.CustomResourceState

	AccessId     pulumi.StringPtrOutput `pulumi:"accessId"`
	AccessSecret pulumi.StringPtrOutput `pulumi:"accessSecret"`
	Description  pulumi.StringPtrOutput `pulumi:"description"`
	// The url endpoint for the external container register ie `"https://hub.docker.com"`
	EndpointUrl pulumi.StringOutput  `pulumi:"endpointUrl"`
	Insecure    pulumi.BoolPtrOutput `pulumi:"insecure"`
	// The name of the register.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the provider.
	ProviderName pulumi.StringOutput `pulumi:"providerName"`
	RegistryId   pulumi.IntOutput    `pulumi:"registryId"`
	Status       pulumi.StringOutput `pulumi:"status"`
}

## Example Usage

## Import

```sh $ pulumi import harbor:index/registry:Registry main /registries/7 ```

func GetRegistry

func GetRegistry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RegistryState, opts ...pulumi.ResourceOption) (*Registry, error)

GetRegistry gets an existing Registry resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRegistry

func NewRegistry(ctx *pulumi.Context,
	name string, args *RegistryArgs, opts ...pulumi.ResourceOption) (*Registry, error)

NewRegistry registers a new resource with the given unique name, arguments, and options.

func (*Registry) ElementType

func (*Registry) ElementType() reflect.Type

func (*Registry) ToRegistryOutput

func (i *Registry) ToRegistryOutput() RegistryOutput

func (*Registry) ToRegistryOutputWithContext

func (i *Registry) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput

type RegistryArgs

type RegistryArgs struct {
	AccessId     pulumi.StringPtrInput
	AccessSecret pulumi.StringPtrInput
	Description  pulumi.StringPtrInput
	// The url endpoint for the external container register ie `"https://hub.docker.com"`
	EndpointUrl pulumi.StringInput
	Insecure    pulumi.BoolPtrInput
	// The name of the register.
	Name pulumi.StringPtrInput
	// The name of the provider.
	ProviderName pulumi.StringInput
}

The set of arguments for constructing a Registry resource.

func (RegistryArgs) ElementType

func (RegistryArgs) ElementType() reflect.Type

type RegistryArray

type RegistryArray []RegistryInput

func (RegistryArray) ElementType

func (RegistryArray) ElementType() reflect.Type

func (RegistryArray) ToRegistryArrayOutput

func (i RegistryArray) ToRegistryArrayOutput() RegistryArrayOutput

func (RegistryArray) ToRegistryArrayOutputWithContext

func (i RegistryArray) ToRegistryArrayOutputWithContext(ctx context.Context) RegistryArrayOutput

type RegistryArrayInput

type RegistryArrayInput interface {
	pulumi.Input

	ToRegistryArrayOutput() RegistryArrayOutput
	ToRegistryArrayOutputWithContext(context.Context) RegistryArrayOutput
}

RegistryArrayInput is an input type that accepts RegistryArray and RegistryArrayOutput values. You can construct a concrete instance of `RegistryArrayInput` via:

RegistryArray{ RegistryArgs{...} }

type RegistryArrayOutput

type RegistryArrayOutput struct{ *pulumi.OutputState }

func (RegistryArrayOutput) ElementType

func (RegistryArrayOutput) ElementType() reflect.Type

func (RegistryArrayOutput) Index

func (RegistryArrayOutput) ToRegistryArrayOutput

func (o RegistryArrayOutput) ToRegistryArrayOutput() RegistryArrayOutput

func (RegistryArrayOutput) ToRegistryArrayOutputWithContext

func (o RegistryArrayOutput) ToRegistryArrayOutputWithContext(ctx context.Context) RegistryArrayOutput

type RegistryInput

type RegistryInput interface {
	pulumi.Input

	ToRegistryOutput() RegistryOutput
	ToRegistryOutputWithContext(ctx context.Context) RegistryOutput
}

type RegistryMap

type RegistryMap map[string]RegistryInput

func (RegistryMap) ElementType

func (RegistryMap) ElementType() reflect.Type

func (RegistryMap) ToRegistryMapOutput

func (i RegistryMap) ToRegistryMapOutput() RegistryMapOutput

func (RegistryMap) ToRegistryMapOutputWithContext

func (i RegistryMap) ToRegistryMapOutputWithContext(ctx context.Context) RegistryMapOutput

type RegistryMapInput

type RegistryMapInput interface {
	pulumi.Input

	ToRegistryMapOutput() RegistryMapOutput
	ToRegistryMapOutputWithContext(context.Context) RegistryMapOutput
}

RegistryMapInput is an input type that accepts RegistryMap and RegistryMapOutput values. You can construct a concrete instance of `RegistryMapInput` via:

RegistryMap{ "key": RegistryArgs{...} }

type RegistryMapOutput

type RegistryMapOutput struct{ *pulumi.OutputState }

func (RegistryMapOutput) ElementType

func (RegistryMapOutput) ElementType() reflect.Type

func (RegistryMapOutput) MapIndex

func (RegistryMapOutput) ToRegistryMapOutput

func (o RegistryMapOutput) ToRegistryMapOutput() RegistryMapOutput

func (RegistryMapOutput) ToRegistryMapOutputWithContext

func (o RegistryMapOutput) ToRegistryMapOutputWithContext(ctx context.Context) RegistryMapOutput

type RegistryOutput

type RegistryOutput struct{ *pulumi.OutputState }

func (RegistryOutput) AccessId

func (o RegistryOutput) AccessId() pulumi.StringPtrOutput

func (RegistryOutput) AccessSecret

func (o RegistryOutput) AccessSecret() pulumi.StringPtrOutput

func (RegistryOutput) Description

func (o RegistryOutput) Description() pulumi.StringPtrOutput

func (RegistryOutput) ElementType

func (RegistryOutput) ElementType() reflect.Type

func (RegistryOutput) EndpointUrl

func (o RegistryOutput) EndpointUrl() pulumi.StringOutput

The url endpoint for the external container register ie `"https://hub.docker.com"`

func (RegistryOutput) Insecure

func (o RegistryOutput) Insecure() pulumi.BoolPtrOutput

func (RegistryOutput) Name

The name of the register.

func (RegistryOutput) ProviderName

func (o RegistryOutput) ProviderName() pulumi.StringOutput

The name of the provider.

func (RegistryOutput) RegistryId

func (o RegistryOutput) RegistryId() pulumi.IntOutput

func (RegistryOutput) Status

func (o RegistryOutput) Status() pulumi.StringOutput

func (RegistryOutput) ToRegistryOutput

func (o RegistryOutput) ToRegistryOutput() RegistryOutput

func (RegistryOutput) ToRegistryOutputWithContext

func (o RegistryOutput) ToRegistryOutputWithContext(ctx context.Context) RegistryOutput

type RegistryState

type RegistryState struct {
	AccessId     pulumi.StringPtrInput
	AccessSecret pulumi.StringPtrInput
	Description  pulumi.StringPtrInput
	// The url endpoint for the external container register ie `"https://hub.docker.com"`
	EndpointUrl pulumi.StringPtrInput
	Insecure    pulumi.BoolPtrInput
	// The name of the register.
	Name pulumi.StringPtrInput
	// The name of the provider.
	ProviderName pulumi.StringPtrInput
	RegistryId   pulumi.IntPtrInput
	Status       pulumi.StringPtrInput
}

func (RegistryState) ElementType

func (RegistryState) ElementType() reflect.Type

type Replication

type Replication struct {
	pulumi.CustomResourceState

	Action pulumi.StringOutput `pulumi:"action"`
	// Specify whether to enable the artifact blobs copied by chunks. (Default: `false`)
	CopyByChunk pulumi.BoolPtrOutput `pulumi:"copyByChunk"`
	// Specify whether to delete the remote resources when locally deleted. (Default: `false`)
	Deletion pulumi.BoolPtrOutput `pulumi:"deletion"`
	// Description of the replication policy.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specify the destination namespace. if empty, the resource will be put under the same namespace as the source.
	DestNamespace pulumi.StringPtrOutput `pulumi:"destNamespace"`
	// Specify the destination namespace flattening policy. Integers from `-1` to `3` are valid values in the harbor API. A value of `-1` will 'Flatten All Levels', `0` means 'No Flattening', `1` 'Flatten 1 Level', `2` 'Flatten 2 Levels', `3` 'Flatten 3 Levels' (Default: `-1`, see [Replication Rules](https://goharbor.io/docs/latest/administration/configuring-replication/create-replication-rules/) for more details)
	DestNamespaceReplace pulumi.IntPtrOutput `pulumi:"destNamespaceReplace"`
	// Specify whether the replication is enabled. (Default: `true`)
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Specify whether to execute the replication rule if new or modified. (Default: `false`)
	ExecuteOnChanged pulumi.BoolPtrOutput         `pulumi:"executeOnChanged"`
	Filters          ReplicationFilterArrayOutput `pulumi:"filters"`
	// The name of the replication.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`)
	Override pulumi.BoolPtrOutput `pulumi:"override"`
	// The registry ID of the Registry Endpoint.
	RegistryId          pulumi.IntOutput `pulumi:"registryId"`
	ReplicationPolicyId pulumi.IntOutput `pulumi:"replicationPolicyId"`
	// The scheduled time of when the container register will be push / pull. In cron base format. Hourly `"0 0 * * * *"`, Daily `"0 0 0 * * *"`, Monthly `"0 0 0 * * 0"`. Can be one of the following: `eventBased`, `manual`, `cron format` (Default: `manual`)
	Schedule pulumi.StringPtrOutput `pulumi:"schedule"`
	// The Maximum network bandwidth in Kbps for each execution. Default is `-1` (unlimited).
	Speed pulumi.IntPtrOutput `pulumi:"speed"`
}

## Example Usage

## Import

```sh $ pulumi import harbor:index/replication:Replication main /replication/policies/1 ```

func GetReplication

func GetReplication(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ReplicationState, opts ...pulumi.ResourceOption) (*Replication, error)

GetReplication gets an existing Replication resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewReplication

func NewReplication(ctx *pulumi.Context,
	name string, args *ReplicationArgs, opts ...pulumi.ResourceOption) (*Replication, error)

NewReplication registers a new resource with the given unique name, arguments, and options.

func (*Replication) ElementType

func (*Replication) ElementType() reflect.Type

func (*Replication) ToReplicationOutput

func (i *Replication) ToReplicationOutput() ReplicationOutput

func (*Replication) ToReplicationOutputWithContext

func (i *Replication) ToReplicationOutputWithContext(ctx context.Context) ReplicationOutput

type ReplicationArgs

type ReplicationArgs struct {
	Action pulumi.StringInput
	// Specify whether to enable the artifact blobs copied by chunks. (Default: `false`)
	CopyByChunk pulumi.BoolPtrInput
	// Specify whether to delete the remote resources when locally deleted. (Default: `false`)
	Deletion pulumi.BoolPtrInput
	// Description of the replication policy.
	Description pulumi.StringPtrInput
	// Specify the destination namespace. if empty, the resource will be put under the same namespace as the source.
	DestNamespace pulumi.StringPtrInput
	// Specify the destination namespace flattening policy. Integers from `-1` to `3` are valid values in the harbor API. A value of `-1` will 'Flatten All Levels', `0` means 'No Flattening', `1` 'Flatten 1 Level', `2` 'Flatten 2 Levels', `3` 'Flatten 3 Levels' (Default: `-1`, see [Replication Rules](https://goharbor.io/docs/latest/administration/configuring-replication/create-replication-rules/) for more details)
	DestNamespaceReplace pulumi.IntPtrInput
	// Specify whether the replication is enabled. (Default: `true`)
	Enabled pulumi.BoolPtrInput
	// Specify whether to execute the replication rule if new or modified. (Default: `false`)
	ExecuteOnChanged pulumi.BoolPtrInput
	Filters          ReplicationFilterArrayInput
	// The name of the replication.
	Name pulumi.StringPtrInput
	// Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`)
	Override pulumi.BoolPtrInput
	// The registry ID of the Registry Endpoint.
	RegistryId pulumi.IntInput
	// The scheduled time of when the container register will be push / pull. In cron base format. Hourly `"0 0 * * * *"`, Daily `"0 0 0 * * *"`, Monthly `"0 0 0 * * 0"`. Can be one of the following: `eventBased`, `manual`, `cron format` (Default: `manual`)
	Schedule pulumi.StringPtrInput
	// The Maximum network bandwidth in Kbps for each execution. Default is `-1` (unlimited).
	Speed pulumi.IntPtrInput
}

The set of arguments for constructing a Replication resource.

func (ReplicationArgs) ElementType

func (ReplicationArgs) ElementType() reflect.Type

type ReplicationArray

type ReplicationArray []ReplicationInput

func (ReplicationArray) ElementType

func (ReplicationArray) ElementType() reflect.Type

func (ReplicationArray) ToReplicationArrayOutput

func (i ReplicationArray) ToReplicationArrayOutput() ReplicationArrayOutput

func (ReplicationArray) ToReplicationArrayOutputWithContext

func (i ReplicationArray) ToReplicationArrayOutputWithContext(ctx context.Context) ReplicationArrayOutput

type ReplicationArrayInput

type ReplicationArrayInput interface {
	pulumi.Input

	ToReplicationArrayOutput() ReplicationArrayOutput
	ToReplicationArrayOutputWithContext(context.Context) ReplicationArrayOutput
}

ReplicationArrayInput is an input type that accepts ReplicationArray and ReplicationArrayOutput values. You can construct a concrete instance of `ReplicationArrayInput` via:

ReplicationArray{ ReplicationArgs{...} }

type ReplicationArrayOutput

type ReplicationArrayOutput struct{ *pulumi.OutputState }

func (ReplicationArrayOutput) ElementType

func (ReplicationArrayOutput) ElementType() reflect.Type

func (ReplicationArrayOutput) Index

func (ReplicationArrayOutput) ToReplicationArrayOutput

func (o ReplicationArrayOutput) ToReplicationArrayOutput() ReplicationArrayOutput

func (ReplicationArrayOutput) ToReplicationArrayOutputWithContext

func (o ReplicationArrayOutput) ToReplicationArrayOutputWithContext(ctx context.Context) ReplicationArrayOutput

type ReplicationFilter

type ReplicationFilter struct {
	// Matches or excludes the result. Can be one of the following. `matches`, `excludes`
	Decoration *string `pulumi:"decoration"`
	// Filter on the resource according to labels.
	Labels []string `pulumi:"labels"`
	// Filter on the name of the resource.
	Name *string `pulumi:"name"`
	// Filter on the resource type. Can be one of the following types. `chart`, `artifact`
	Resource *string `pulumi:"resource"`
	// Filter on the tag/version of the resource.
	Tag *string `pulumi:"tag"`
}

type ReplicationFilterArgs

type ReplicationFilterArgs struct {
	// Matches or excludes the result. Can be one of the following. `matches`, `excludes`
	Decoration pulumi.StringPtrInput `pulumi:"decoration"`
	// Filter on the resource according to labels.
	Labels pulumi.StringArrayInput `pulumi:"labels"`
	// Filter on the name of the resource.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Filter on the resource type. Can be one of the following types. `chart`, `artifact`
	Resource pulumi.StringPtrInput `pulumi:"resource"`
	// Filter on the tag/version of the resource.
	Tag pulumi.StringPtrInput `pulumi:"tag"`
}

func (ReplicationFilterArgs) ElementType

func (ReplicationFilterArgs) ElementType() reflect.Type

func (ReplicationFilterArgs) ToReplicationFilterOutput

func (i ReplicationFilterArgs) ToReplicationFilterOutput() ReplicationFilterOutput

func (ReplicationFilterArgs) ToReplicationFilterOutputWithContext

func (i ReplicationFilterArgs) ToReplicationFilterOutputWithContext(ctx context.Context) ReplicationFilterOutput

type ReplicationFilterArray

type ReplicationFilterArray []ReplicationFilterInput

func (ReplicationFilterArray) ElementType

func (ReplicationFilterArray) ElementType() reflect.Type

func (ReplicationFilterArray) ToReplicationFilterArrayOutput

func (i ReplicationFilterArray) ToReplicationFilterArrayOutput() ReplicationFilterArrayOutput

func (ReplicationFilterArray) ToReplicationFilterArrayOutputWithContext

func (i ReplicationFilterArray) ToReplicationFilterArrayOutputWithContext(ctx context.Context) ReplicationFilterArrayOutput

type ReplicationFilterArrayInput

type ReplicationFilterArrayInput interface {
	pulumi.Input

	ToReplicationFilterArrayOutput() ReplicationFilterArrayOutput
	ToReplicationFilterArrayOutputWithContext(context.Context) ReplicationFilterArrayOutput
}

ReplicationFilterArrayInput is an input type that accepts ReplicationFilterArray and ReplicationFilterArrayOutput values. You can construct a concrete instance of `ReplicationFilterArrayInput` via:

ReplicationFilterArray{ ReplicationFilterArgs{...} }

type ReplicationFilterArrayOutput

type ReplicationFilterArrayOutput struct{ *pulumi.OutputState }

func (ReplicationFilterArrayOutput) ElementType

func (ReplicationFilterArrayOutput) Index

func (ReplicationFilterArrayOutput) ToReplicationFilterArrayOutput

func (o ReplicationFilterArrayOutput) ToReplicationFilterArrayOutput() ReplicationFilterArrayOutput

func (ReplicationFilterArrayOutput) ToReplicationFilterArrayOutputWithContext

func (o ReplicationFilterArrayOutput) ToReplicationFilterArrayOutputWithContext(ctx context.Context) ReplicationFilterArrayOutput

type ReplicationFilterInput

type ReplicationFilterInput interface {
	pulumi.Input

	ToReplicationFilterOutput() ReplicationFilterOutput
	ToReplicationFilterOutputWithContext(context.Context) ReplicationFilterOutput
}

ReplicationFilterInput is an input type that accepts ReplicationFilterArgs and ReplicationFilterOutput values. You can construct a concrete instance of `ReplicationFilterInput` via:

ReplicationFilterArgs{...}

type ReplicationFilterOutput

type ReplicationFilterOutput struct{ *pulumi.OutputState }

func (ReplicationFilterOutput) Decoration

Matches or excludes the result. Can be one of the following. `matches`, `excludes`

func (ReplicationFilterOutput) ElementType

func (ReplicationFilterOutput) ElementType() reflect.Type

func (ReplicationFilterOutput) Labels

Filter on the resource according to labels.

func (ReplicationFilterOutput) Name

Filter on the name of the resource.

func (ReplicationFilterOutput) Resource

Filter on the resource type. Can be one of the following types. `chart`, `artifact`

func (ReplicationFilterOutput) Tag

Filter on the tag/version of the resource.

func (ReplicationFilterOutput) ToReplicationFilterOutput

func (o ReplicationFilterOutput) ToReplicationFilterOutput() ReplicationFilterOutput

func (ReplicationFilterOutput) ToReplicationFilterOutputWithContext

func (o ReplicationFilterOutput) ToReplicationFilterOutputWithContext(ctx context.Context) ReplicationFilterOutput

type ReplicationInput

type ReplicationInput interface {
	pulumi.Input

	ToReplicationOutput() ReplicationOutput
	ToReplicationOutputWithContext(ctx context.Context) ReplicationOutput
}

type ReplicationMap

type ReplicationMap map[string]ReplicationInput

func (ReplicationMap) ElementType

func (ReplicationMap) ElementType() reflect.Type

func (ReplicationMap) ToReplicationMapOutput

func (i ReplicationMap) ToReplicationMapOutput() ReplicationMapOutput

func (ReplicationMap) ToReplicationMapOutputWithContext

func (i ReplicationMap) ToReplicationMapOutputWithContext(ctx context.Context) ReplicationMapOutput

type ReplicationMapInput

type ReplicationMapInput interface {
	pulumi.Input

	ToReplicationMapOutput() ReplicationMapOutput
	ToReplicationMapOutputWithContext(context.Context) ReplicationMapOutput
}

ReplicationMapInput is an input type that accepts ReplicationMap and ReplicationMapOutput values. You can construct a concrete instance of `ReplicationMapInput` via:

ReplicationMap{ "key": ReplicationArgs{...} }

type ReplicationMapOutput

type ReplicationMapOutput struct{ *pulumi.OutputState }

func (ReplicationMapOutput) ElementType

func (ReplicationMapOutput) ElementType() reflect.Type

func (ReplicationMapOutput) MapIndex

func (ReplicationMapOutput) ToReplicationMapOutput

func (o ReplicationMapOutput) ToReplicationMapOutput() ReplicationMapOutput

func (ReplicationMapOutput) ToReplicationMapOutputWithContext

func (o ReplicationMapOutput) ToReplicationMapOutputWithContext(ctx context.Context) ReplicationMapOutput

type ReplicationOutput

type ReplicationOutput struct{ *pulumi.OutputState }

func (ReplicationOutput) Action

func (ReplicationOutput) CopyByChunk added in v3.10.13

func (o ReplicationOutput) CopyByChunk() pulumi.BoolPtrOutput

Specify whether to enable the artifact blobs copied by chunks. (Default: `false`)

func (ReplicationOutput) Deletion

func (o ReplicationOutput) Deletion() pulumi.BoolPtrOutput

Specify whether to delete the remote resources when locally deleted. (Default: `false`)

func (ReplicationOutput) Description

func (o ReplicationOutput) Description() pulumi.StringPtrOutput

Description of the replication policy.

func (ReplicationOutput) DestNamespace

func (o ReplicationOutput) DestNamespace() pulumi.StringPtrOutput

Specify the destination namespace. if empty, the resource will be put under the same namespace as the source.

func (ReplicationOutput) DestNamespaceReplace

func (o ReplicationOutput) DestNamespaceReplace() pulumi.IntPtrOutput

Specify the destination namespace flattening policy. Integers from `-1` to `3` are valid values in the harbor API. A value of `-1` will 'Flatten All Levels', `0` means 'No Flattening', `1` 'Flatten 1 Level', `2` 'Flatten 2 Levels', `3` 'Flatten 3 Levels' (Default: `-1`, see [Replication Rules](https://goharbor.io/docs/latest/administration/configuring-replication/create-replication-rules/) for more details)

func (ReplicationOutput) ElementType

func (ReplicationOutput) ElementType() reflect.Type

func (ReplicationOutput) Enabled

Specify whether the replication is enabled. (Default: `true`)

func (ReplicationOutput) ExecuteOnChanged added in v3.10.5

func (o ReplicationOutput) ExecuteOnChanged() pulumi.BoolPtrOutput

Specify whether to execute the replication rule if new or modified. (Default: `false`)

func (ReplicationOutput) Filters

func (ReplicationOutput) Name

The name of the replication.

func (ReplicationOutput) Override

func (o ReplicationOutput) Override() pulumi.BoolPtrOutput

Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`)

func (ReplicationOutput) RegistryId

func (o ReplicationOutput) RegistryId() pulumi.IntOutput

The registry ID of the Registry Endpoint.

func (ReplicationOutput) ReplicationPolicyId

func (o ReplicationOutput) ReplicationPolicyId() pulumi.IntOutput

func (ReplicationOutput) Schedule

The scheduled time of when the container register will be push / pull. In cron base format. Hourly `"0 0 * * * *"`, Daily `"0 0 0 * * *"`, Monthly `"0 0 0 * * 0"`. Can be one of the following: `eventBased`, `manual`, `cron format` (Default: `manual`)

func (ReplicationOutput) Speed added in v3.8.2

The Maximum network bandwidth in Kbps for each execution. Default is `-1` (unlimited).

func (ReplicationOutput) ToReplicationOutput

func (o ReplicationOutput) ToReplicationOutput() ReplicationOutput

func (ReplicationOutput) ToReplicationOutputWithContext

func (o ReplicationOutput) ToReplicationOutputWithContext(ctx context.Context) ReplicationOutput

type ReplicationState

type ReplicationState struct {
	Action pulumi.StringPtrInput
	// Specify whether to enable the artifact blobs copied by chunks. (Default: `false`)
	CopyByChunk pulumi.BoolPtrInput
	// Specify whether to delete the remote resources when locally deleted. (Default: `false`)
	Deletion pulumi.BoolPtrInput
	// Description of the replication policy.
	Description pulumi.StringPtrInput
	// Specify the destination namespace. if empty, the resource will be put under the same namespace as the source.
	DestNamespace pulumi.StringPtrInput
	// Specify the destination namespace flattening policy. Integers from `-1` to `3` are valid values in the harbor API. A value of `-1` will 'Flatten All Levels', `0` means 'No Flattening', `1` 'Flatten 1 Level', `2` 'Flatten 2 Levels', `3` 'Flatten 3 Levels' (Default: `-1`, see [Replication Rules](https://goharbor.io/docs/latest/administration/configuring-replication/create-replication-rules/) for more details)
	DestNamespaceReplace pulumi.IntPtrInput
	// Specify whether the replication is enabled. (Default: `true`)
	Enabled pulumi.BoolPtrInput
	// Specify whether to execute the replication rule if new or modified. (Default: `false`)
	ExecuteOnChanged pulumi.BoolPtrInput
	Filters          ReplicationFilterArrayInput
	// The name of the replication.
	Name pulumi.StringPtrInput
	// Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`)
	Override pulumi.BoolPtrInput
	// The registry ID of the Registry Endpoint.
	RegistryId          pulumi.IntPtrInput
	ReplicationPolicyId pulumi.IntPtrInput
	// The scheduled time of when the container register will be push / pull. In cron base format. Hourly `"0 0 * * * *"`, Daily `"0 0 0 * * *"`, Monthly `"0 0 0 * * 0"`. Can be one of the following: `eventBased`, `manual`, `cron format` (Default: `manual`)
	Schedule pulumi.StringPtrInput
	// The Maximum network bandwidth in Kbps for each execution. Default is `-1` (unlimited).
	Speed pulumi.IntPtrInput
}

func (ReplicationState) ElementType

func (ReplicationState) ElementType() reflect.Type

type RetentionPolicy

type RetentionPolicy struct {
	pulumi.CustomResourceState

	Rules RetentionPolicyRuleArrayOutput `pulumi:"rules"`
	// The schedule of when you would like the policy to run. This can be `Hourly`, `Daily`, `Weekly` or can be a custom cron string.
	Schedule pulumi.StringPtrOutput `pulumi:"schedule"`
	// The project id of which you would like to apply this policy.
	Scope pulumi.StringOutput `pulumi:"scope"`
}

## Example Usage

## Import

```sh $ pulumi import harbor:index/retentionPolicy:RetentionPolicy main /retentions/10 ```

func GetRetentionPolicy

func GetRetentionPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RetentionPolicyState, opts ...pulumi.ResourceOption) (*RetentionPolicy, error)

GetRetentionPolicy gets an existing RetentionPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRetentionPolicy

func NewRetentionPolicy(ctx *pulumi.Context,
	name string, args *RetentionPolicyArgs, opts ...pulumi.ResourceOption) (*RetentionPolicy, error)

NewRetentionPolicy registers a new resource with the given unique name, arguments, and options.

func (*RetentionPolicy) ElementType

func (*RetentionPolicy) ElementType() reflect.Type

func (*RetentionPolicy) ToRetentionPolicyOutput

func (i *RetentionPolicy) ToRetentionPolicyOutput() RetentionPolicyOutput

func (*RetentionPolicy) ToRetentionPolicyOutputWithContext

func (i *RetentionPolicy) ToRetentionPolicyOutputWithContext(ctx context.Context) RetentionPolicyOutput

type RetentionPolicyArgs

type RetentionPolicyArgs struct {
	Rules RetentionPolicyRuleArrayInput
	// The schedule of when you would like the policy to run. This can be `Hourly`, `Daily`, `Weekly` or can be a custom cron string.
	Schedule pulumi.StringPtrInput
	// The project id of which you would like to apply this policy.
	Scope pulumi.StringInput
}

The set of arguments for constructing a RetentionPolicy resource.

func (RetentionPolicyArgs) ElementType

func (RetentionPolicyArgs) ElementType() reflect.Type

type RetentionPolicyArray

type RetentionPolicyArray []RetentionPolicyInput

func (RetentionPolicyArray) ElementType

func (RetentionPolicyArray) ElementType() reflect.Type

func (RetentionPolicyArray) ToRetentionPolicyArrayOutput

func (i RetentionPolicyArray) ToRetentionPolicyArrayOutput() RetentionPolicyArrayOutput

func (RetentionPolicyArray) ToRetentionPolicyArrayOutputWithContext

func (i RetentionPolicyArray) ToRetentionPolicyArrayOutputWithContext(ctx context.Context) RetentionPolicyArrayOutput

type RetentionPolicyArrayInput

type RetentionPolicyArrayInput interface {
	pulumi.Input

	ToRetentionPolicyArrayOutput() RetentionPolicyArrayOutput
	ToRetentionPolicyArrayOutputWithContext(context.Context) RetentionPolicyArrayOutput
}

RetentionPolicyArrayInput is an input type that accepts RetentionPolicyArray and RetentionPolicyArrayOutput values. You can construct a concrete instance of `RetentionPolicyArrayInput` via:

RetentionPolicyArray{ RetentionPolicyArgs{...} }

type RetentionPolicyArrayOutput

type RetentionPolicyArrayOutput struct{ *pulumi.OutputState }

func (RetentionPolicyArrayOutput) ElementType

func (RetentionPolicyArrayOutput) ElementType() reflect.Type

func (RetentionPolicyArrayOutput) Index

func (RetentionPolicyArrayOutput) ToRetentionPolicyArrayOutput

func (o RetentionPolicyArrayOutput) ToRetentionPolicyArrayOutput() RetentionPolicyArrayOutput

func (RetentionPolicyArrayOutput) ToRetentionPolicyArrayOutputWithContext

func (o RetentionPolicyArrayOutput) ToRetentionPolicyArrayOutputWithContext(ctx context.Context) RetentionPolicyArrayOutput

type RetentionPolicyInput

type RetentionPolicyInput interface {
	pulumi.Input

	ToRetentionPolicyOutput() RetentionPolicyOutput
	ToRetentionPolicyOutputWithContext(ctx context.Context) RetentionPolicyOutput
}

type RetentionPolicyMap

type RetentionPolicyMap map[string]RetentionPolicyInput

func (RetentionPolicyMap) ElementType

func (RetentionPolicyMap) ElementType() reflect.Type

func (RetentionPolicyMap) ToRetentionPolicyMapOutput

func (i RetentionPolicyMap) ToRetentionPolicyMapOutput() RetentionPolicyMapOutput

func (RetentionPolicyMap) ToRetentionPolicyMapOutputWithContext

func (i RetentionPolicyMap) ToRetentionPolicyMapOutputWithContext(ctx context.Context) RetentionPolicyMapOutput

type RetentionPolicyMapInput

type RetentionPolicyMapInput interface {
	pulumi.Input

	ToRetentionPolicyMapOutput() RetentionPolicyMapOutput
	ToRetentionPolicyMapOutputWithContext(context.Context) RetentionPolicyMapOutput
}

RetentionPolicyMapInput is an input type that accepts RetentionPolicyMap and RetentionPolicyMapOutput values. You can construct a concrete instance of `RetentionPolicyMapInput` via:

RetentionPolicyMap{ "key": RetentionPolicyArgs{...} }

type RetentionPolicyMapOutput

type RetentionPolicyMapOutput struct{ *pulumi.OutputState }

func (RetentionPolicyMapOutput) ElementType

func (RetentionPolicyMapOutput) ElementType() reflect.Type

func (RetentionPolicyMapOutput) MapIndex

func (RetentionPolicyMapOutput) ToRetentionPolicyMapOutput

func (o RetentionPolicyMapOutput) ToRetentionPolicyMapOutput() RetentionPolicyMapOutput

func (RetentionPolicyMapOutput) ToRetentionPolicyMapOutputWithContext

func (o RetentionPolicyMapOutput) ToRetentionPolicyMapOutputWithContext(ctx context.Context) RetentionPolicyMapOutput

type RetentionPolicyOutput

type RetentionPolicyOutput struct{ *pulumi.OutputState }

func (RetentionPolicyOutput) ElementType

func (RetentionPolicyOutput) ElementType() reflect.Type

func (RetentionPolicyOutput) Rules

func (RetentionPolicyOutput) Schedule

The schedule of when you would like the policy to run. This can be `Hourly`, `Daily`, `Weekly` or can be a custom cron string.

func (RetentionPolicyOutput) Scope

The project id of which you would like to apply this policy.

func (RetentionPolicyOutput) ToRetentionPolicyOutput

func (o RetentionPolicyOutput) ToRetentionPolicyOutput() RetentionPolicyOutput

func (RetentionPolicyOutput) ToRetentionPolicyOutputWithContext

func (o RetentionPolicyOutput) ToRetentionPolicyOutputWithContext(ctx context.Context) RetentionPolicyOutput

type RetentionPolicyRule

type RetentionPolicyRule struct {
	AlwaysRetain       *bool   `pulumi:"alwaysRetain"`
	Disabled           *bool   `pulumi:"disabled"`
	MostRecentlyPulled *int    `pulumi:"mostRecentlyPulled"`
	MostRecentlyPushed *int    `pulumi:"mostRecentlyPushed"`
	NDaysSinceLastPull *int    `pulumi:"nDaysSinceLastPull"`
	NDaysSinceLastPush *int    `pulumi:"nDaysSinceLastPush"`
	RepoExcluding      *string `pulumi:"repoExcluding"`
	RepoMatching       *string `pulumi:"repoMatching"`
	TagExcluding       *string `pulumi:"tagExcluding"`
	TagMatching        *string `pulumi:"tagMatching"`
	UntaggedArtifacts  *bool   `pulumi:"untaggedArtifacts"`
}

type RetentionPolicyRuleArgs

type RetentionPolicyRuleArgs struct {
	AlwaysRetain       pulumi.BoolPtrInput   `pulumi:"alwaysRetain"`
	Disabled           pulumi.BoolPtrInput   `pulumi:"disabled"`
	MostRecentlyPulled pulumi.IntPtrInput    `pulumi:"mostRecentlyPulled"`
	MostRecentlyPushed pulumi.IntPtrInput    `pulumi:"mostRecentlyPushed"`
	NDaysSinceLastPull pulumi.IntPtrInput    `pulumi:"nDaysSinceLastPull"`
	NDaysSinceLastPush pulumi.IntPtrInput    `pulumi:"nDaysSinceLastPush"`
	RepoExcluding      pulumi.StringPtrInput `pulumi:"repoExcluding"`
	RepoMatching       pulumi.StringPtrInput `pulumi:"repoMatching"`
	TagExcluding       pulumi.StringPtrInput `pulumi:"tagExcluding"`
	TagMatching        pulumi.StringPtrInput `pulumi:"tagMatching"`
	UntaggedArtifacts  pulumi.BoolPtrInput   `pulumi:"untaggedArtifacts"`
}

func (RetentionPolicyRuleArgs) ElementType

func (RetentionPolicyRuleArgs) ElementType() reflect.Type

func (RetentionPolicyRuleArgs) ToRetentionPolicyRuleOutput

func (i RetentionPolicyRuleArgs) ToRetentionPolicyRuleOutput() RetentionPolicyRuleOutput

func (RetentionPolicyRuleArgs) ToRetentionPolicyRuleOutputWithContext

func (i RetentionPolicyRuleArgs) ToRetentionPolicyRuleOutputWithContext(ctx context.Context) RetentionPolicyRuleOutput

type RetentionPolicyRuleArray

type RetentionPolicyRuleArray []RetentionPolicyRuleInput

func (RetentionPolicyRuleArray) ElementType

func (RetentionPolicyRuleArray) ElementType() reflect.Type

func (RetentionPolicyRuleArray) ToRetentionPolicyRuleArrayOutput

func (i RetentionPolicyRuleArray) ToRetentionPolicyRuleArrayOutput() RetentionPolicyRuleArrayOutput

func (RetentionPolicyRuleArray) ToRetentionPolicyRuleArrayOutputWithContext

func (i RetentionPolicyRuleArray) ToRetentionPolicyRuleArrayOutputWithContext(ctx context.Context) RetentionPolicyRuleArrayOutput

type RetentionPolicyRuleArrayInput

type RetentionPolicyRuleArrayInput interface {
	pulumi.Input

	ToRetentionPolicyRuleArrayOutput() RetentionPolicyRuleArrayOutput
	ToRetentionPolicyRuleArrayOutputWithContext(context.Context) RetentionPolicyRuleArrayOutput
}

RetentionPolicyRuleArrayInput is an input type that accepts RetentionPolicyRuleArray and RetentionPolicyRuleArrayOutput values. You can construct a concrete instance of `RetentionPolicyRuleArrayInput` via:

RetentionPolicyRuleArray{ RetentionPolicyRuleArgs{...} }

type RetentionPolicyRuleArrayOutput

type RetentionPolicyRuleArrayOutput struct{ *pulumi.OutputState }

func (RetentionPolicyRuleArrayOutput) ElementType

func (RetentionPolicyRuleArrayOutput) Index

func (RetentionPolicyRuleArrayOutput) ToRetentionPolicyRuleArrayOutput

func (o RetentionPolicyRuleArrayOutput) ToRetentionPolicyRuleArrayOutput() RetentionPolicyRuleArrayOutput

func (RetentionPolicyRuleArrayOutput) ToRetentionPolicyRuleArrayOutputWithContext

func (o RetentionPolicyRuleArrayOutput) ToRetentionPolicyRuleArrayOutputWithContext(ctx context.Context) RetentionPolicyRuleArrayOutput

type RetentionPolicyRuleInput

type RetentionPolicyRuleInput interface {
	pulumi.Input

	ToRetentionPolicyRuleOutput() RetentionPolicyRuleOutput
	ToRetentionPolicyRuleOutputWithContext(context.Context) RetentionPolicyRuleOutput
}

RetentionPolicyRuleInput is an input type that accepts RetentionPolicyRuleArgs and RetentionPolicyRuleOutput values. You can construct a concrete instance of `RetentionPolicyRuleInput` via:

RetentionPolicyRuleArgs{...}

type RetentionPolicyRuleOutput

type RetentionPolicyRuleOutput struct{ *pulumi.OutputState }

func (RetentionPolicyRuleOutput) AlwaysRetain

func (RetentionPolicyRuleOutput) Disabled

func (RetentionPolicyRuleOutput) ElementType

func (RetentionPolicyRuleOutput) ElementType() reflect.Type

func (RetentionPolicyRuleOutput) MostRecentlyPulled

func (o RetentionPolicyRuleOutput) MostRecentlyPulled() pulumi.IntPtrOutput

func (RetentionPolicyRuleOutput) MostRecentlyPushed

func (o RetentionPolicyRuleOutput) MostRecentlyPushed() pulumi.IntPtrOutput

func (RetentionPolicyRuleOutput) NDaysSinceLastPull

func (o RetentionPolicyRuleOutput) NDaysSinceLastPull() pulumi.IntPtrOutput

func (RetentionPolicyRuleOutput) NDaysSinceLastPush

func (o RetentionPolicyRuleOutput) NDaysSinceLastPush() pulumi.IntPtrOutput

func (RetentionPolicyRuleOutput) RepoExcluding

func (RetentionPolicyRuleOutput) RepoMatching

func (RetentionPolicyRuleOutput) TagExcluding

func (RetentionPolicyRuleOutput) TagMatching

func (RetentionPolicyRuleOutput) ToRetentionPolicyRuleOutput

func (o RetentionPolicyRuleOutput) ToRetentionPolicyRuleOutput() RetentionPolicyRuleOutput

func (RetentionPolicyRuleOutput) ToRetentionPolicyRuleOutputWithContext

func (o RetentionPolicyRuleOutput) ToRetentionPolicyRuleOutputWithContext(ctx context.Context) RetentionPolicyRuleOutput

func (RetentionPolicyRuleOutput) UntaggedArtifacts

func (o RetentionPolicyRuleOutput) UntaggedArtifacts() pulumi.BoolPtrOutput

type RetentionPolicyState

type RetentionPolicyState struct {
	Rules RetentionPolicyRuleArrayInput
	// The schedule of when you would like the policy to run. This can be `Hourly`, `Daily`, `Weekly` or can be a custom cron string.
	Schedule pulumi.StringPtrInput
	// The project id of which you would like to apply this policy.
	Scope pulumi.StringPtrInput
}

func (RetentionPolicyState) ElementType

func (RetentionPolicyState) ElementType() reflect.Type

type RobotAccount

type RobotAccount struct {
	pulumi.CustomResourceState

	// The description of the robot account will be displayed in harbor.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Disables the robot account when set to `true`.
	Disable pulumi.BoolPtrOutput `pulumi:"disable"`
	// By default, the robot account will not expire. Set it to the amount of days until the account should expire.
	Duration pulumi.IntPtrOutput `pulumi:"duration"`
	FullName pulumi.StringOutput `pulumi:"fullName"`
	// Level of the robot account, currently either `system` or `project`.
	Level pulumi.StringOutput `pulumi:"level"`
	// The name of the project that will be created in harbor.
	Name        pulumi.StringOutput               `pulumi:"name"`
	Permissions RobotAccountPermissionArrayOutput `pulumi:"permissions"`
	RobotId     pulumi.StringOutput               `pulumi:"robotId"`
	// The secret of the robot account used for authentication. Defaults to random generated string from Harbor.
	Secret pulumi.StringOutput `pulumi:"secret"`
}

## Example Usage

### System Level Introduced in harbor 2.2.0, system level robot accounts can have basically [all available permissions](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go) in harbor and are not dependent on a single project.

### Global

The above example, creates a system level robot account with permissions to - permission to create labels on system level - pull repository across all projects - push repository to project "my-project-name"

### Project

Other than system level robot accounts, project level robot accounts can interact on project level only. The [available permissions](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go) are mostly the same as for system level robots.

The above example creates a project level robot account with permissions to - pull repository on project "main" - push repository on project "main"

## Import

```sh $ pulumi import harbor:index/robotAccount:RobotAccount system /robots/123 ```

func GetRobotAccount

func GetRobotAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RobotAccountState, opts ...pulumi.ResourceOption) (*RobotAccount, error)

GetRobotAccount gets an existing RobotAccount resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRobotAccount

func NewRobotAccount(ctx *pulumi.Context,
	name string, args *RobotAccountArgs, opts ...pulumi.ResourceOption) (*RobotAccount, error)

NewRobotAccount registers a new resource with the given unique name, arguments, and options.

func (*RobotAccount) ElementType

func (*RobotAccount) ElementType() reflect.Type

func (*RobotAccount) ToRobotAccountOutput

func (i *RobotAccount) ToRobotAccountOutput() RobotAccountOutput

func (*RobotAccount) ToRobotAccountOutputWithContext

func (i *RobotAccount) ToRobotAccountOutputWithContext(ctx context.Context) RobotAccountOutput

type RobotAccountArgs

type RobotAccountArgs struct {
	// The description of the robot account will be displayed in harbor.
	Description pulumi.StringPtrInput
	// Disables the robot account when set to `true`.
	Disable pulumi.BoolPtrInput
	// By default, the robot account will not expire. Set it to the amount of days until the account should expire.
	Duration pulumi.IntPtrInput
	// Level of the robot account, currently either `system` or `project`.
	Level pulumi.StringInput
	// The name of the project that will be created in harbor.
	Name        pulumi.StringPtrInput
	Permissions RobotAccountPermissionArrayInput
	// The secret of the robot account used for authentication. Defaults to random generated string from Harbor.
	Secret pulumi.StringPtrInput
}

The set of arguments for constructing a RobotAccount resource.

func (RobotAccountArgs) ElementType

func (RobotAccountArgs) ElementType() reflect.Type

type RobotAccountArray

type RobotAccountArray []RobotAccountInput

func (RobotAccountArray) ElementType

func (RobotAccountArray) ElementType() reflect.Type

func (RobotAccountArray) ToRobotAccountArrayOutput

func (i RobotAccountArray) ToRobotAccountArrayOutput() RobotAccountArrayOutput

func (RobotAccountArray) ToRobotAccountArrayOutputWithContext

func (i RobotAccountArray) ToRobotAccountArrayOutputWithContext(ctx context.Context) RobotAccountArrayOutput

type RobotAccountArrayInput

type RobotAccountArrayInput interface {
	pulumi.Input

	ToRobotAccountArrayOutput() RobotAccountArrayOutput
	ToRobotAccountArrayOutputWithContext(context.Context) RobotAccountArrayOutput
}

RobotAccountArrayInput is an input type that accepts RobotAccountArray and RobotAccountArrayOutput values. You can construct a concrete instance of `RobotAccountArrayInput` via:

RobotAccountArray{ RobotAccountArgs{...} }

type RobotAccountArrayOutput

type RobotAccountArrayOutput struct{ *pulumi.OutputState }

func (RobotAccountArrayOutput) ElementType

func (RobotAccountArrayOutput) ElementType() reflect.Type

func (RobotAccountArrayOutput) Index

func (RobotAccountArrayOutput) ToRobotAccountArrayOutput

func (o RobotAccountArrayOutput) ToRobotAccountArrayOutput() RobotAccountArrayOutput

func (RobotAccountArrayOutput) ToRobotAccountArrayOutputWithContext

func (o RobotAccountArrayOutput) ToRobotAccountArrayOutputWithContext(ctx context.Context) RobotAccountArrayOutput

type RobotAccountInput

type RobotAccountInput interface {
	pulumi.Input

	ToRobotAccountOutput() RobotAccountOutput
	ToRobotAccountOutputWithContext(ctx context.Context) RobotAccountOutput
}

type RobotAccountMap

type RobotAccountMap map[string]RobotAccountInput

func (RobotAccountMap) ElementType

func (RobotAccountMap) ElementType() reflect.Type

func (RobotAccountMap) ToRobotAccountMapOutput

func (i RobotAccountMap) ToRobotAccountMapOutput() RobotAccountMapOutput

func (RobotAccountMap) ToRobotAccountMapOutputWithContext

func (i RobotAccountMap) ToRobotAccountMapOutputWithContext(ctx context.Context) RobotAccountMapOutput

type RobotAccountMapInput

type RobotAccountMapInput interface {
	pulumi.Input

	ToRobotAccountMapOutput() RobotAccountMapOutput
	ToRobotAccountMapOutputWithContext(context.Context) RobotAccountMapOutput
}

RobotAccountMapInput is an input type that accepts RobotAccountMap and RobotAccountMapOutput values. You can construct a concrete instance of `RobotAccountMapInput` via:

RobotAccountMap{ "key": RobotAccountArgs{...} }

type RobotAccountMapOutput

type RobotAccountMapOutput struct{ *pulumi.OutputState }

func (RobotAccountMapOutput) ElementType

func (RobotAccountMapOutput) ElementType() reflect.Type

func (RobotAccountMapOutput) MapIndex

func (RobotAccountMapOutput) ToRobotAccountMapOutput

func (o RobotAccountMapOutput) ToRobotAccountMapOutput() RobotAccountMapOutput

func (RobotAccountMapOutput) ToRobotAccountMapOutputWithContext

func (o RobotAccountMapOutput) ToRobotAccountMapOutputWithContext(ctx context.Context) RobotAccountMapOutput

type RobotAccountOutput

type RobotAccountOutput struct{ *pulumi.OutputState }

func (RobotAccountOutput) Description

func (o RobotAccountOutput) Description() pulumi.StringPtrOutput

The description of the robot account will be displayed in harbor.

func (RobotAccountOutput) Disable

Disables the robot account when set to `true`.

func (RobotAccountOutput) Duration

func (o RobotAccountOutput) Duration() pulumi.IntPtrOutput

By default, the robot account will not expire. Set it to the amount of days until the account should expire.

func (RobotAccountOutput) ElementType

func (RobotAccountOutput) ElementType() reflect.Type

func (RobotAccountOutput) FullName

func (o RobotAccountOutput) FullName() pulumi.StringOutput

func (RobotAccountOutput) Level

Level of the robot account, currently either `system` or `project`.

func (RobotAccountOutput) Name

The name of the project that will be created in harbor.

func (RobotAccountOutput) Permissions

func (RobotAccountOutput) RobotId

func (RobotAccountOutput) Secret

The secret of the robot account used for authentication. Defaults to random generated string from Harbor.

func (RobotAccountOutput) ToRobotAccountOutput

func (o RobotAccountOutput) ToRobotAccountOutput() RobotAccountOutput

func (RobotAccountOutput) ToRobotAccountOutputWithContext

func (o RobotAccountOutput) ToRobotAccountOutputWithContext(ctx context.Context) RobotAccountOutput

type RobotAccountPermission

type RobotAccountPermission struct {
	Accesses []RobotAccountPermissionAccess `pulumi:"accesses"`
	// Either `system` or `project`.
	Kind string `pulumi:"kind"`
	// namespace is the name of your project. For kind `system` permissions, always use `/` as namespace. Use `*` to match all projects.
	Namespace string `pulumi:"namespace"`
}

type RobotAccountPermissionAccess

type RobotAccountPermissionAccess struct {
	// Eg. `push`, `pull`, `read`, etc. Check [available actions](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go).
	Action string `pulumi:"action"`
	// Either `allow` or `deny`. Defaults to `allow`.
	Effect *string `pulumi:"effect"`
	// Eg. `repository`, `labels`, etc. Check [available resources](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go).
	Resource string `pulumi:"resource"`
}

type RobotAccountPermissionAccessArgs

type RobotAccountPermissionAccessArgs struct {
	// Eg. `push`, `pull`, `read`, etc. Check [available actions](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go).
	Action pulumi.StringInput `pulumi:"action"`
	// Either `allow` or `deny`. Defaults to `allow`.
	Effect pulumi.StringPtrInput `pulumi:"effect"`
	// Eg. `repository`, `labels`, etc. Check [available resources](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go).
	Resource pulumi.StringInput `pulumi:"resource"`
}

func (RobotAccountPermissionAccessArgs) ElementType

func (RobotAccountPermissionAccessArgs) ToRobotAccountPermissionAccessOutput

func (i RobotAccountPermissionAccessArgs) ToRobotAccountPermissionAccessOutput() RobotAccountPermissionAccessOutput

func (RobotAccountPermissionAccessArgs) ToRobotAccountPermissionAccessOutputWithContext

func (i RobotAccountPermissionAccessArgs) ToRobotAccountPermissionAccessOutputWithContext(ctx context.Context) RobotAccountPermissionAccessOutput

type RobotAccountPermissionAccessArray

type RobotAccountPermissionAccessArray []RobotAccountPermissionAccessInput

func (RobotAccountPermissionAccessArray) ElementType

func (RobotAccountPermissionAccessArray) ToRobotAccountPermissionAccessArrayOutput

func (i RobotAccountPermissionAccessArray) ToRobotAccountPermissionAccessArrayOutput() RobotAccountPermissionAccessArrayOutput

func (RobotAccountPermissionAccessArray) ToRobotAccountPermissionAccessArrayOutputWithContext

func (i RobotAccountPermissionAccessArray) ToRobotAccountPermissionAccessArrayOutputWithContext(ctx context.Context) RobotAccountPermissionAccessArrayOutput

type RobotAccountPermissionAccessArrayInput

type RobotAccountPermissionAccessArrayInput interface {
	pulumi.Input

	ToRobotAccountPermissionAccessArrayOutput() RobotAccountPermissionAccessArrayOutput
	ToRobotAccountPermissionAccessArrayOutputWithContext(context.Context) RobotAccountPermissionAccessArrayOutput
}

RobotAccountPermissionAccessArrayInput is an input type that accepts RobotAccountPermissionAccessArray and RobotAccountPermissionAccessArrayOutput values. You can construct a concrete instance of `RobotAccountPermissionAccessArrayInput` via:

RobotAccountPermissionAccessArray{ RobotAccountPermissionAccessArgs{...} }

type RobotAccountPermissionAccessArrayOutput

type RobotAccountPermissionAccessArrayOutput struct{ *pulumi.OutputState }

func (RobotAccountPermissionAccessArrayOutput) ElementType

func (RobotAccountPermissionAccessArrayOutput) Index

func (RobotAccountPermissionAccessArrayOutput) ToRobotAccountPermissionAccessArrayOutput

func (o RobotAccountPermissionAccessArrayOutput) ToRobotAccountPermissionAccessArrayOutput() RobotAccountPermissionAccessArrayOutput

func (RobotAccountPermissionAccessArrayOutput) ToRobotAccountPermissionAccessArrayOutputWithContext

func (o RobotAccountPermissionAccessArrayOutput) ToRobotAccountPermissionAccessArrayOutputWithContext(ctx context.Context) RobotAccountPermissionAccessArrayOutput

type RobotAccountPermissionAccessInput

type RobotAccountPermissionAccessInput interface {
	pulumi.Input

	ToRobotAccountPermissionAccessOutput() RobotAccountPermissionAccessOutput
	ToRobotAccountPermissionAccessOutputWithContext(context.Context) RobotAccountPermissionAccessOutput
}

RobotAccountPermissionAccessInput is an input type that accepts RobotAccountPermissionAccessArgs and RobotAccountPermissionAccessOutput values. You can construct a concrete instance of `RobotAccountPermissionAccessInput` via:

RobotAccountPermissionAccessArgs{...}

type RobotAccountPermissionAccessOutput

type RobotAccountPermissionAccessOutput struct{ *pulumi.OutputState }

func (RobotAccountPermissionAccessOutput) Action

Eg. `push`, `pull`, `read`, etc. Check [available actions](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go).

func (RobotAccountPermissionAccessOutput) Effect

Either `allow` or `deny`. Defaults to `allow`.

func (RobotAccountPermissionAccessOutput) ElementType

func (RobotAccountPermissionAccessOutput) Resource

Eg. `repository`, `labels`, etc. Check [available resources](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go).

func (RobotAccountPermissionAccessOutput) ToRobotAccountPermissionAccessOutput

func (o RobotAccountPermissionAccessOutput) ToRobotAccountPermissionAccessOutput() RobotAccountPermissionAccessOutput

func (RobotAccountPermissionAccessOutput) ToRobotAccountPermissionAccessOutputWithContext

func (o RobotAccountPermissionAccessOutput) ToRobotAccountPermissionAccessOutputWithContext(ctx context.Context) RobotAccountPermissionAccessOutput

type RobotAccountPermissionArgs

type RobotAccountPermissionArgs struct {
	Accesses RobotAccountPermissionAccessArrayInput `pulumi:"accesses"`
	// Either `system` or `project`.
	Kind pulumi.StringInput `pulumi:"kind"`
	// namespace is the name of your project. For kind `system` permissions, always use `/` as namespace. Use `*` to match all projects.
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

func (RobotAccountPermissionArgs) ElementType

func (RobotAccountPermissionArgs) ElementType() reflect.Type

func (RobotAccountPermissionArgs) ToRobotAccountPermissionOutput

func (i RobotAccountPermissionArgs) ToRobotAccountPermissionOutput() RobotAccountPermissionOutput

func (RobotAccountPermissionArgs) ToRobotAccountPermissionOutputWithContext

func (i RobotAccountPermissionArgs) ToRobotAccountPermissionOutputWithContext(ctx context.Context) RobotAccountPermissionOutput

type RobotAccountPermissionArray

type RobotAccountPermissionArray []RobotAccountPermissionInput

func (RobotAccountPermissionArray) ElementType

func (RobotAccountPermissionArray) ToRobotAccountPermissionArrayOutput

func (i RobotAccountPermissionArray) ToRobotAccountPermissionArrayOutput() RobotAccountPermissionArrayOutput

func (RobotAccountPermissionArray) ToRobotAccountPermissionArrayOutputWithContext

func (i RobotAccountPermissionArray) ToRobotAccountPermissionArrayOutputWithContext(ctx context.Context) RobotAccountPermissionArrayOutput

type RobotAccountPermissionArrayInput

type RobotAccountPermissionArrayInput interface {
	pulumi.Input

	ToRobotAccountPermissionArrayOutput() RobotAccountPermissionArrayOutput
	ToRobotAccountPermissionArrayOutputWithContext(context.Context) RobotAccountPermissionArrayOutput
}

RobotAccountPermissionArrayInput is an input type that accepts RobotAccountPermissionArray and RobotAccountPermissionArrayOutput values. You can construct a concrete instance of `RobotAccountPermissionArrayInput` via:

RobotAccountPermissionArray{ RobotAccountPermissionArgs{...} }

type RobotAccountPermissionArrayOutput

type RobotAccountPermissionArrayOutput struct{ *pulumi.OutputState }

func (RobotAccountPermissionArrayOutput) ElementType

func (RobotAccountPermissionArrayOutput) Index

func (RobotAccountPermissionArrayOutput) ToRobotAccountPermissionArrayOutput

func (o RobotAccountPermissionArrayOutput) ToRobotAccountPermissionArrayOutput() RobotAccountPermissionArrayOutput

func (RobotAccountPermissionArrayOutput) ToRobotAccountPermissionArrayOutputWithContext

func (o RobotAccountPermissionArrayOutput) ToRobotAccountPermissionArrayOutputWithContext(ctx context.Context) RobotAccountPermissionArrayOutput

type RobotAccountPermissionInput

type RobotAccountPermissionInput interface {
	pulumi.Input

	ToRobotAccountPermissionOutput() RobotAccountPermissionOutput
	ToRobotAccountPermissionOutputWithContext(context.Context) RobotAccountPermissionOutput
}

RobotAccountPermissionInput is an input type that accepts RobotAccountPermissionArgs and RobotAccountPermissionOutput values. You can construct a concrete instance of `RobotAccountPermissionInput` via:

RobotAccountPermissionArgs{...}

type RobotAccountPermissionOutput

type RobotAccountPermissionOutput struct{ *pulumi.OutputState }

func (RobotAccountPermissionOutput) Accesses

func (RobotAccountPermissionOutput) ElementType

func (RobotAccountPermissionOutput) Kind

Either `system` or `project`.

func (RobotAccountPermissionOutput) Namespace

namespace is the name of your project. For kind `system` permissions, always use `/` as namespace. Use `*` to match all projects.

func (RobotAccountPermissionOutput) ToRobotAccountPermissionOutput

func (o RobotAccountPermissionOutput) ToRobotAccountPermissionOutput() RobotAccountPermissionOutput

func (RobotAccountPermissionOutput) ToRobotAccountPermissionOutputWithContext

func (o RobotAccountPermissionOutput) ToRobotAccountPermissionOutputWithContext(ctx context.Context) RobotAccountPermissionOutput

type RobotAccountState

type RobotAccountState struct {
	// The description of the robot account will be displayed in harbor.
	Description pulumi.StringPtrInput
	// Disables the robot account when set to `true`.
	Disable pulumi.BoolPtrInput
	// By default, the robot account will not expire. Set it to the amount of days until the account should expire.
	Duration pulumi.IntPtrInput
	FullName pulumi.StringPtrInput
	// Level of the robot account, currently either `system` or `project`.
	Level pulumi.StringPtrInput
	// The name of the project that will be created in harbor.
	Name        pulumi.StringPtrInput
	Permissions RobotAccountPermissionArrayInput
	RobotId     pulumi.StringPtrInput
	// The secret of the robot account used for authentication. Defaults to random generated string from Harbor.
	Secret pulumi.StringPtrInput
}

func (RobotAccountState) ElementType

func (RobotAccountState) ElementType() reflect.Type

type Tasks

type Tasks struct {
	pulumi.CustomResourceState

	// The frequency of the vulnerability scanning is done. Can be to **"hourly"**, **"daily"** or **"weekly"**
	VulnerabilityScanPolicy pulumi.StringOutput `pulumi:"vulnerabilityScanPolicy"`
}

## Example Usage

func GetTasks

func GetTasks(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TasksState, opts ...pulumi.ResourceOption) (*Tasks, error)

GetTasks gets an existing Tasks resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewTasks

func NewTasks(ctx *pulumi.Context,
	name string, args *TasksArgs, opts ...pulumi.ResourceOption) (*Tasks, error)

NewTasks registers a new resource with the given unique name, arguments, and options.

func (*Tasks) ElementType

func (*Tasks) ElementType() reflect.Type

func (*Tasks) ToTasksOutput

func (i *Tasks) ToTasksOutput() TasksOutput

func (*Tasks) ToTasksOutputWithContext

func (i *Tasks) ToTasksOutputWithContext(ctx context.Context) TasksOutput

type TasksArgs

type TasksArgs struct {
	// The frequency of the vulnerability scanning is done. Can be to **"hourly"**, **"daily"** or **"weekly"**
	VulnerabilityScanPolicy pulumi.StringInput
}

The set of arguments for constructing a Tasks resource.

func (TasksArgs) ElementType

func (TasksArgs) ElementType() reflect.Type

type TasksArray

type TasksArray []TasksInput

func (TasksArray) ElementType

func (TasksArray) ElementType() reflect.Type

func (TasksArray) ToTasksArrayOutput

func (i TasksArray) ToTasksArrayOutput() TasksArrayOutput

func (TasksArray) ToTasksArrayOutputWithContext

func (i TasksArray) ToTasksArrayOutputWithContext(ctx context.Context) TasksArrayOutput

type TasksArrayInput

type TasksArrayInput interface {
	pulumi.Input

	ToTasksArrayOutput() TasksArrayOutput
	ToTasksArrayOutputWithContext(context.Context) TasksArrayOutput
}

TasksArrayInput is an input type that accepts TasksArray and TasksArrayOutput values. You can construct a concrete instance of `TasksArrayInput` via:

TasksArray{ TasksArgs{...} }

type TasksArrayOutput

type TasksArrayOutput struct{ *pulumi.OutputState }

func (TasksArrayOutput) ElementType

func (TasksArrayOutput) ElementType() reflect.Type

func (TasksArrayOutput) Index

func (TasksArrayOutput) ToTasksArrayOutput

func (o TasksArrayOutput) ToTasksArrayOutput() TasksArrayOutput

func (TasksArrayOutput) ToTasksArrayOutputWithContext

func (o TasksArrayOutput) ToTasksArrayOutputWithContext(ctx context.Context) TasksArrayOutput

type TasksInput

type TasksInput interface {
	pulumi.Input

	ToTasksOutput() TasksOutput
	ToTasksOutputWithContext(ctx context.Context) TasksOutput
}

type TasksMap

type TasksMap map[string]TasksInput

func (TasksMap) ElementType

func (TasksMap) ElementType() reflect.Type

func (TasksMap) ToTasksMapOutput

func (i TasksMap) ToTasksMapOutput() TasksMapOutput

func (TasksMap) ToTasksMapOutputWithContext

func (i TasksMap) ToTasksMapOutputWithContext(ctx context.Context) TasksMapOutput

type TasksMapInput

type TasksMapInput interface {
	pulumi.Input

	ToTasksMapOutput() TasksMapOutput
	ToTasksMapOutputWithContext(context.Context) TasksMapOutput
}

TasksMapInput is an input type that accepts TasksMap and TasksMapOutput values. You can construct a concrete instance of `TasksMapInput` via:

TasksMap{ "key": TasksArgs{...} }

type TasksMapOutput

type TasksMapOutput struct{ *pulumi.OutputState }

func (TasksMapOutput) ElementType

func (TasksMapOutput) ElementType() reflect.Type

func (TasksMapOutput) MapIndex

func (TasksMapOutput) ToTasksMapOutput

func (o TasksMapOutput) ToTasksMapOutput() TasksMapOutput

func (TasksMapOutput) ToTasksMapOutputWithContext

func (o TasksMapOutput) ToTasksMapOutputWithContext(ctx context.Context) TasksMapOutput

type TasksOutput

type TasksOutput struct{ *pulumi.OutputState }

func (TasksOutput) ElementType

func (TasksOutput) ElementType() reflect.Type

func (TasksOutput) ToTasksOutput

func (o TasksOutput) ToTasksOutput() TasksOutput

func (TasksOutput) ToTasksOutputWithContext

func (o TasksOutput) ToTasksOutputWithContext(ctx context.Context) TasksOutput

func (TasksOutput) VulnerabilityScanPolicy

func (o TasksOutput) VulnerabilityScanPolicy() pulumi.StringOutput

The frequency of the vulnerability scanning is done. Can be to **"hourly"**, **"daily"** or **"weekly"**

type TasksState

type TasksState struct {
	// The frequency of the vulnerability scanning is done. Can be to **"hourly"**, **"daily"** or **"weekly"**
	VulnerabilityScanPolicy pulumi.StringPtrInput
}

func (TasksState) ElementType

func (TasksState) ElementType() reflect.Type

type User

type User struct {
	pulumi.CustomResourceState

	// If the user will have admin rights within Harbor (Default: `false`)
	Admin pulumi.BoolPtrOutput `pulumi:"admin"`
	// Any comments for that are need for the internal user.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// The email address of the internal user.
	Email pulumi.StringOutput `pulumi:"email"`
	// The Full Name of the internal user.
	FullName pulumi.StringOutput `pulumi:"fullName"`
	// The password for the internal user.
	Password pulumi.StringOutput `pulumi:"password"`
	// The username of the internal user.
	Username pulumi.StringOutput `pulumi:"username"`
}

## Example Usage

## Import

```sh $ pulumi import harbor:index/user:User main /users/19 ```

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

NewUser registers a new resource with the given unique name, arguments, and options.

func (*User) ElementType

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserArgs

type UserArgs struct {
	// If the user will have admin rights within Harbor (Default: `false`)
	Admin pulumi.BoolPtrInput
	// Any comments for that are need for the internal user.
	Comment pulumi.StringPtrInput
	// The email address of the internal user.
	Email pulumi.StringInput
	// The Full Name of the internal user.
	FullName pulumi.StringInput
	// The password for the internal user.
	Password pulumi.StringInput
	// The username of the internal user.
	Username pulumi.StringInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType

func (UserArgs) ElementType() reflect.Type

type UserArray

type UserArray []UserInput

func (UserArray) ElementType

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index

func (UserArrayOutput) ToUserArrayOutput

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap

type UserMap map[string]UserInput

func (UserMap) ElementType

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex

func (UserMapOutput) ToUserMapOutput

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) Admin

func (o UserOutput) Admin() pulumi.BoolPtrOutput

If the user will have admin rights within Harbor (Default: `false`)

func (UserOutput) Comment

func (o UserOutput) Comment() pulumi.StringPtrOutput

Any comments for that are need for the internal user.

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) Email

func (o UserOutput) Email() pulumi.StringOutput

The email address of the internal user.

func (UserOutput) FullName

func (o UserOutput) FullName() pulumi.StringOutput

The Full Name of the internal user.

func (UserOutput) Password

func (o UserOutput) Password() pulumi.StringOutput

The password for the internal user.

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

func (UserOutput) Username

func (o UserOutput) Username() pulumi.StringOutput

The username of the internal user.

type UserState

type UserState struct {
	// If the user will have admin rights within Harbor (Default: `false`)
	Admin pulumi.BoolPtrInput
	// Any comments for that are need for the internal user.
	Comment pulumi.StringPtrInput
	// The email address of the internal user.
	Email pulumi.StringPtrInput
	// The Full Name of the internal user.
	FullName pulumi.StringPtrInput
	// The password for the internal user.
	Password pulumi.StringPtrInput
	// The username of the internal user.
	Username pulumi.StringPtrInput
}

func (UserState) ElementType

func (UserState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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