Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AdminApi
- type AdminApiService
- func (a *AdminApiService) CreateGlobalRule(ctx _context.Context) ApiCreateGlobalRuleRequest
- func (a *AdminApiService) CreateGlobalRuleExecute(r ApiCreateGlobalRuleRequest) (*_nethttp.Response, error)
- func (a *AdminApiService) CreateRoleMapping(ctx _context.Context) ApiCreateRoleMappingRequest
- func (a *AdminApiService) CreateRoleMappingExecute(r ApiCreateRoleMappingRequest) (*_nethttp.Response, error)
- func (a *AdminApiService) DeleteAllGlobalRules(ctx _context.Context) ApiDeleteAllGlobalRulesRequest
- func (a *AdminApiService) DeleteAllGlobalRulesExecute(r ApiDeleteAllGlobalRulesRequest) (*_nethttp.Response, error)
- func (a *AdminApiService) DeleteGlobalRule(ctx _context.Context, rule RuleType) ApiDeleteGlobalRuleRequest
- func (a *AdminApiService) DeleteGlobalRuleExecute(r ApiDeleteGlobalRuleRequest) (*_nethttp.Response, error)
- func (a *AdminApiService) DeleteRoleMapping(ctx _context.Context, principalId string) ApiDeleteRoleMappingRequest
- func (a *AdminApiService) DeleteRoleMappingExecute(r ApiDeleteRoleMappingRequest) (*_nethttp.Response, error)
- func (a *AdminApiService) ExportData(ctx _context.Context) ApiExportDataRequest
- func (a *AdminApiService) ExportDataExecute(r ApiExportDataRequest) (*os.File, *_nethttp.Response, error)
- func (a *AdminApiService) GetConfigProperty(ctx _context.Context, propertyName string) ApiGetConfigPropertyRequest
- func (a *AdminApiService) GetConfigPropertyExecute(r ApiGetConfigPropertyRequest) (ConfigurationProperty, *_nethttp.Response, error)
- func (a *AdminApiService) GetGlobalRuleConfig(ctx _context.Context, rule RuleType) ApiGetGlobalRuleConfigRequest
- func (a *AdminApiService) GetGlobalRuleConfigExecute(r ApiGetGlobalRuleConfigRequest) (Rule, *_nethttp.Response, error)
- func (a *AdminApiService) GetLogConfiguration(ctx _context.Context, logger string) ApiGetLogConfigurationRequest
- func (a *AdminApiService) GetLogConfigurationExecute(r ApiGetLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)
- func (a *AdminApiService) GetRoleMapping(ctx _context.Context, principalId string) ApiGetRoleMappingRequest
- func (a *AdminApiService) GetRoleMappingExecute(r ApiGetRoleMappingRequest) (RoleMapping, *_nethttp.Response, error)
- func (a *AdminApiService) ImportData(ctx _context.Context) ApiImportDataRequest
- func (a *AdminApiService) ImportDataExecute(r ApiImportDataRequest) (*_nethttp.Response, error)
- func (a *AdminApiService) ListArtifactTypes(ctx _context.Context) ApiListArtifactTypesRequest
- func (a *AdminApiService) ListArtifactTypesExecute(r ApiListArtifactTypesRequest) ([]ArtifactTypeInfo, *_nethttp.Response, error)
- func (a *AdminApiService) ListConfigProperties(ctx _context.Context) ApiListConfigPropertiesRequest
- func (a *AdminApiService) ListConfigPropertiesExecute(r ApiListConfigPropertiesRequest) ([]ConfigurationProperty, *_nethttp.Response, error)
- func (a *AdminApiService) ListGlobalRules(ctx _context.Context) ApiListGlobalRulesRequest
- func (a *AdminApiService) ListGlobalRulesExecute(r ApiListGlobalRulesRequest) ([]RuleType, *_nethttp.Response, error)
- func (a *AdminApiService) ListLogConfigurations(ctx _context.Context) ApiListLogConfigurationsRequest
- func (a *AdminApiService) ListLogConfigurationsExecute(r ApiListLogConfigurationsRequest) ([]NamedLogConfiguration, *_nethttp.Response, error)
- func (a *AdminApiService) ListRoleMappings(ctx _context.Context) ApiListRoleMappingsRequest
- func (a *AdminApiService) ListRoleMappingsExecute(r ApiListRoleMappingsRequest) ([]RoleMapping, *_nethttp.Response, error)
- func (a *AdminApiService) RemoveLogConfiguration(ctx _context.Context, logger string) ApiRemoveLogConfigurationRequest
- func (a *AdminApiService) RemoveLogConfigurationExecute(r ApiRemoveLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)
- func (a *AdminApiService) ResetConfigProperty(ctx _context.Context, propertyName string) ApiResetConfigPropertyRequest
- func (a *AdminApiService) ResetConfigPropertyExecute(r ApiResetConfigPropertyRequest) (*_nethttp.Response, error)
- func (a *AdminApiService) SetLogConfiguration(ctx _context.Context, logger string) ApiSetLogConfigurationRequest
- func (a *AdminApiService) SetLogConfigurationExecute(r ApiSetLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)
- func (a *AdminApiService) UpdateConfigProperty(ctx _context.Context, propertyName string) ApiUpdateConfigPropertyRequest
- func (a *AdminApiService) UpdateConfigPropertyExecute(r ApiUpdateConfigPropertyRequest) (*_nethttp.Response, error)
- func (a *AdminApiService) UpdateGlobalRuleConfig(ctx _context.Context, rule RuleType) ApiUpdateGlobalRuleConfigRequest
- func (a *AdminApiService) UpdateGlobalRuleConfigExecute(r ApiUpdateGlobalRuleConfigRequest) (Rule, *_nethttp.Response, error)
- func (a *AdminApiService) UpdateRoleMapping(ctx _context.Context, principalId string) ApiUpdateRoleMappingRequest
- func (a *AdminApiService) UpdateRoleMappingExecute(r ApiUpdateRoleMappingRequest) (*_nethttp.Response, error)
- type ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) Body(body *os.File) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) Canonical(canonical bool) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) ContentType(contentType string) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) Execute() (ArtifactMetaData, *_nethttp.Response, error)
- func (r ApiCreateArtifactRequest) IfExists(ifExists IfExists) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) XRegistryArtifactId(xRegistryArtifactId string) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) XRegistryArtifactType(xRegistryArtifactType string) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) XRegistryContentHash(xRegistryContentHash string) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) XRegistryDescription(xRegistryDescription string) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) XRegistryHashAlgorithm(xRegistryHashAlgorithm string) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) XRegistryName(xRegistryName string) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiCreateArtifactRequest
- func (r ApiCreateArtifactRequest) XRegistryVersion(xRegistryVersion string) ApiCreateArtifactRequest
- type ApiCreateArtifactRuleRequest
- type ApiCreateArtifactVersionRequest
- func (r ApiCreateArtifactVersionRequest) Body(body *os.File) ApiCreateArtifactVersionRequest
- func (r ApiCreateArtifactVersionRequest) ContentType(contentType string) ApiCreateArtifactVersionRequest
- func (r ApiCreateArtifactVersionRequest) Execute() (VersionMetaData, *_nethttp.Response, error)
- func (r ApiCreateArtifactVersionRequest) XRegistryDescription(xRegistryDescription string) ApiCreateArtifactVersionRequest
- func (r ApiCreateArtifactVersionRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiCreateArtifactVersionRequest
- func (r ApiCreateArtifactVersionRequest) XRegistryName(xRegistryName string) ApiCreateArtifactVersionRequest
- func (r ApiCreateArtifactVersionRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiCreateArtifactVersionRequest
- func (r ApiCreateArtifactVersionRequest) XRegistryVersion(xRegistryVersion string) ApiCreateArtifactVersionRequest
- type ApiCreateGlobalRuleRequest
- type ApiCreateGroupRequest
- type ApiCreateRoleMappingRequest
- type ApiDeleteAllGlobalRulesRequest
- type ApiDeleteArtifactRequest
- type ApiDeleteArtifactRuleRequest
- type ApiDeleteArtifactRulesRequest
- type ApiDeleteArtifactVersionMetaDataRequest
- type ApiDeleteArtifactsInGroupRequest
- type ApiDeleteGlobalRuleRequest
- type ApiDeleteGroupByIdRequest
- type ApiDeleteRoleMappingRequest
- type ApiExportDataRequest
- type ApiGetArtifactMetaDataRequest
- type ApiGetArtifactOwnerRequest
- type ApiGetArtifactRuleConfigRequest
- type ApiGetArtifactVersionMetaDataByContentRequest
- func (r ApiGetArtifactVersionMetaDataByContentRequest) Body(body *os.File) ApiGetArtifactVersionMetaDataByContentRequest
- func (r ApiGetArtifactVersionMetaDataByContentRequest) Canonical(canonical bool) ApiGetArtifactVersionMetaDataByContentRequest
- func (r ApiGetArtifactVersionMetaDataByContentRequest) Execute() (VersionMetaData, *_nethttp.Response, error)
- type ApiGetArtifactVersionMetaDataRequest
- type ApiGetArtifactVersionReferencesRequest
- type ApiGetArtifactVersionRequest
- type ApiGetConfigPropertyRequest
- type ApiGetContentByGlobalIdRequest
- type ApiGetContentByHashRequest
- type ApiGetContentByIdRequest
- type ApiGetCurrentUserInfoRequest
- type ApiGetGlobalRuleConfigRequest
- type ApiGetGroupByIdRequest
- type ApiGetLatestArtifactRequest
- type ApiGetLogConfigurationRequest
- type ApiGetResourceLimitsRequest
- type ApiGetRoleMappingRequest
- type ApiGetSystemInfoRequest
- type ApiImportDataRequest
- func (r ApiImportDataRequest) Body(body *os.File) ApiImportDataRequest
- func (r ApiImportDataRequest) Execute() (*_nethttp.Response, error)
- func (r ApiImportDataRequest) XRegistryPreserveContentId(xRegistryPreserveContentId bool) ApiImportDataRequest
- func (r ApiImportDataRequest) XRegistryPreserveGlobalId(xRegistryPreserveGlobalId bool) ApiImportDataRequest
- type ApiListArtifactRulesRequest
- type ApiListArtifactTypesRequest
- type ApiListArtifactVersionsRequest
- type ApiListArtifactsInGroupRequest
- func (r ApiListArtifactsInGroupRequest) Execute() (ArtifactSearchResults, *_nethttp.Response, error)
- func (r ApiListArtifactsInGroupRequest) Limit(limit int32) ApiListArtifactsInGroupRequest
- func (r ApiListArtifactsInGroupRequest) Offset(offset int32) ApiListArtifactsInGroupRequest
- func (r ApiListArtifactsInGroupRequest) Order(order SortOrder) ApiListArtifactsInGroupRequest
- func (r ApiListArtifactsInGroupRequest) Orderby(orderby SortBy) ApiListArtifactsInGroupRequest
- type ApiListConfigPropertiesRequest
- type ApiListGlobalRulesRequest
- type ApiListGroupsRequest
- func (r ApiListGroupsRequest) Execute() (GroupSearchResults, *_nethttp.Response, error)
- func (r ApiListGroupsRequest) Limit(limit int32) ApiListGroupsRequest
- func (r ApiListGroupsRequest) Offset(offset int32) ApiListGroupsRequest
- func (r ApiListGroupsRequest) Order(order SortOrder) ApiListGroupsRequest
- func (r ApiListGroupsRequest) Orderby(orderby SortBy) ApiListGroupsRequest
- type ApiListLogConfigurationsRequest
- type ApiListRoleMappingsRequest
- type ApiReferencesByContentHashRequest
- type ApiReferencesByContentIdRequest
- type ApiReferencesByGlobalIdRequest
- type ApiRemoveLogConfigurationRequest
- type ApiResetConfigPropertyRequest
- type ApiSearchArtifactsByContentRequest
- func (r ApiSearchArtifactsByContentRequest) ArtifactType(artifactType string) ApiSearchArtifactsByContentRequest
- func (r ApiSearchArtifactsByContentRequest) Body(body *os.File) ApiSearchArtifactsByContentRequest
- func (r ApiSearchArtifactsByContentRequest) Canonical(canonical bool) ApiSearchArtifactsByContentRequest
- func (r ApiSearchArtifactsByContentRequest) Execute() (ArtifactSearchResults, *_nethttp.Response, error)
- func (r ApiSearchArtifactsByContentRequest) Limit(limit int32) ApiSearchArtifactsByContentRequest
- func (r ApiSearchArtifactsByContentRequest) Offset(offset int32) ApiSearchArtifactsByContentRequest
- func (r ApiSearchArtifactsByContentRequest) Order(order string) ApiSearchArtifactsByContentRequest
- func (r ApiSearchArtifactsByContentRequest) Orderby(orderby string) ApiSearchArtifactsByContentRequest
- type ApiSearchArtifactsRequest
- func (r ApiSearchArtifactsRequest) ContentId(contentId int64) ApiSearchArtifactsRequest
- func (r ApiSearchArtifactsRequest) Description(description string) ApiSearchArtifactsRequest
- func (r ApiSearchArtifactsRequest) Execute() (ArtifactSearchResults, *_nethttp.Response, error)
- func (r ApiSearchArtifactsRequest) GlobalId(globalId int64) ApiSearchArtifactsRequest
- func (r ApiSearchArtifactsRequest) Group(group string) ApiSearchArtifactsRequest
- func (r ApiSearchArtifactsRequest) Labels(labels []string) ApiSearchArtifactsRequest
- func (r ApiSearchArtifactsRequest) Limit(limit int32) ApiSearchArtifactsRequest
- func (r ApiSearchArtifactsRequest) Name(name string) ApiSearchArtifactsRequest
- func (r ApiSearchArtifactsRequest) Offset(offset int32) ApiSearchArtifactsRequest
- func (r ApiSearchArtifactsRequest) Order(order SortOrder) ApiSearchArtifactsRequest
- func (r ApiSearchArtifactsRequest) Orderby(orderby SortBy) ApiSearchArtifactsRequest
- func (r ApiSearchArtifactsRequest) Properties(properties []string) ApiSearchArtifactsRequest
- type ApiSetLogConfigurationRequest
- type ApiTestUpdateArtifactRequest
- type ApiUpdateArtifactMetaDataRequest
- type ApiUpdateArtifactOwnerRequest
- type ApiUpdateArtifactRequest
- func (r ApiUpdateArtifactRequest) Body(body *os.File) ApiUpdateArtifactRequest
- func (r ApiUpdateArtifactRequest) ContentType(contentType string) ApiUpdateArtifactRequest
- func (r ApiUpdateArtifactRequest) Execute() (ArtifactMetaData, *_nethttp.Response, error)
- func (r ApiUpdateArtifactRequest) XRegistryDescription(xRegistryDescription string) ApiUpdateArtifactRequest
- func (r ApiUpdateArtifactRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiUpdateArtifactRequest
- func (r ApiUpdateArtifactRequest) XRegistryName(xRegistryName string) ApiUpdateArtifactRequest
- func (r ApiUpdateArtifactRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiUpdateArtifactRequest
- func (r ApiUpdateArtifactRequest) XRegistryVersion(xRegistryVersion string) ApiUpdateArtifactRequest
- type ApiUpdateArtifactRuleConfigRequest
- type ApiUpdateArtifactStateRequest
- type ApiUpdateArtifactVersionMetaDataRequest
- type ApiUpdateArtifactVersionStateRequest
- type ApiUpdateConfigPropertyRequest
- type ApiUpdateGlobalRuleConfigRequest
- type ApiUpdateRoleMappingRequest
- type ArtifactMetaData
- func (o *ArtifactMetaData) GetContentId() int64
- func (o *ArtifactMetaData) GetContentIdOk() (*int64, bool)
- func (o *ArtifactMetaData) GetCreatedBy() string
- func (o *ArtifactMetaData) GetCreatedByOk() (*string, bool)
- func (o *ArtifactMetaData) GetCreatedOn() string
- func (o *ArtifactMetaData) GetCreatedOnOk() (*string, bool)
- func (o *ArtifactMetaData) GetDescription() string
- func (o *ArtifactMetaData) GetDescriptionOk() (*string, bool)
- func (o *ArtifactMetaData) GetGlobalId() int64
- func (o *ArtifactMetaData) GetGlobalIdOk() (*int64, bool)
- func (o *ArtifactMetaData) GetGroupId() string
- func (o *ArtifactMetaData) GetGroupIdOk() (*string, bool)
- func (o *ArtifactMetaData) GetId() string
- func (o *ArtifactMetaData) GetIdOk() (*string, bool)
- func (o *ArtifactMetaData) GetLabels() []string
- func (o *ArtifactMetaData) GetLabelsOk() (*[]string, bool)
- func (o *ArtifactMetaData) GetModifiedBy() string
- func (o *ArtifactMetaData) GetModifiedByOk() (*string, bool)
- func (o *ArtifactMetaData) GetModifiedOn() string
- func (o *ArtifactMetaData) GetModifiedOnOk() (*string, bool)
- func (o *ArtifactMetaData) GetName() string
- func (o *ArtifactMetaData) GetNameOk() (*string, bool)
- func (o *ArtifactMetaData) GetProperties() map[string]string
- func (o *ArtifactMetaData) GetPropertiesOk() (*map[string]string, bool)
- func (o *ArtifactMetaData) GetReferences() []ArtifactReference
- func (o *ArtifactMetaData) GetReferencesOk() (*[]ArtifactReference, bool)
- func (o *ArtifactMetaData) GetState() ArtifactState
- func (o *ArtifactMetaData) GetStateOk() (*ArtifactState, bool)
- func (o *ArtifactMetaData) GetType() string
- func (o *ArtifactMetaData) GetTypeOk() (*string, bool)
- func (o *ArtifactMetaData) GetVersion() string
- func (o *ArtifactMetaData) GetVersionOk() (*string, bool)
- func (o *ArtifactMetaData) HasDescription() bool
- func (o *ArtifactMetaData) HasGroupId() bool
- func (o *ArtifactMetaData) HasLabels() bool
- func (o *ArtifactMetaData) HasName() bool
- func (o *ArtifactMetaData) HasProperties() bool
- func (o *ArtifactMetaData) HasReferences() bool
- func (o ArtifactMetaData) MarshalJSON() ([]byte, error)
- func (o *ArtifactMetaData) SetContentId(v int64)
- func (o *ArtifactMetaData) SetCreatedBy(v string)
- func (o *ArtifactMetaData) SetCreatedOn(v string)
- func (o *ArtifactMetaData) SetDescription(v string)
- func (o *ArtifactMetaData) SetGlobalId(v int64)
- func (o *ArtifactMetaData) SetGroupId(v string)
- func (o *ArtifactMetaData) SetId(v string)
- func (o *ArtifactMetaData) SetLabels(v []string)
- func (o *ArtifactMetaData) SetModifiedBy(v string)
- func (o *ArtifactMetaData) SetModifiedOn(v string)
- func (o *ArtifactMetaData) SetName(v string)
- func (o *ArtifactMetaData) SetProperties(v map[string]string)
- func (o *ArtifactMetaData) SetReferences(v []ArtifactReference)
- func (o *ArtifactMetaData) SetState(v ArtifactState)
- func (o *ArtifactMetaData) SetType(v string)
- func (o *ArtifactMetaData) SetVersion(v string)
- type ArtifactOwner
- type ArtifactReference
- func (o *ArtifactReference) GetArtifactId() string
- func (o *ArtifactReference) GetArtifactIdOk() (*string, bool)
- func (o *ArtifactReference) GetGroupId() string
- func (o *ArtifactReference) GetGroupIdOk() (*string, bool)
- func (o *ArtifactReference) GetName() string
- func (o *ArtifactReference) GetNameOk() (*string, bool)
- func (o *ArtifactReference) GetVersion() string
- func (o *ArtifactReference) GetVersionOk() (*string, bool)
- func (o *ArtifactReference) HasVersion() bool
- func (o ArtifactReference) MarshalJSON() ([]byte, error)
- func (o *ArtifactReference) SetArtifactId(v string)
- func (o *ArtifactReference) SetGroupId(v string)
- func (o *ArtifactReference) SetName(v string)
- func (o *ArtifactReference) SetVersion(v string)
- type ArtifactRulesApi
- type ArtifactRulesApiService
- func (a *ArtifactRulesApiService) CreateArtifactRule(ctx _context.Context, groupId string, artifactId string) ApiCreateArtifactRuleRequest
- func (a *ArtifactRulesApiService) CreateArtifactRuleExecute(r ApiCreateArtifactRuleRequest) (*_nethttp.Response, error)
- func (a *ArtifactRulesApiService) DeleteArtifactRule(ctx _context.Context, groupId string, artifactId string, rule string) ApiDeleteArtifactRuleRequest
- func (a *ArtifactRulesApiService) DeleteArtifactRuleExecute(r ApiDeleteArtifactRuleRequest) (*_nethttp.Response, error)
- func (a *ArtifactRulesApiService) DeleteArtifactRules(ctx _context.Context, groupId string, artifactId string) ApiDeleteArtifactRulesRequest
- func (a *ArtifactRulesApiService) DeleteArtifactRulesExecute(r ApiDeleteArtifactRulesRequest) (*_nethttp.Response, error)
- func (a *ArtifactRulesApiService) GetArtifactRuleConfig(ctx _context.Context, groupId string, artifactId string, rule string) ApiGetArtifactRuleConfigRequest
- func (a *ArtifactRulesApiService) GetArtifactRuleConfigExecute(r ApiGetArtifactRuleConfigRequest) (Rule, *_nethttp.Response, error)
- func (a *ArtifactRulesApiService) ListArtifactRules(ctx _context.Context, groupId string, artifactId string) ApiListArtifactRulesRequest
- func (a *ArtifactRulesApiService) ListArtifactRulesExecute(r ApiListArtifactRulesRequest) ([]RuleType, *_nethttp.Response, error)
- func (a *ArtifactRulesApiService) TestUpdateArtifact(ctx _context.Context, groupId string, artifactId string) ApiTestUpdateArtifactRequest
- func (a *ArtifactRulesApiService) TestUpdateArtifactExecute(r ApiTestUpdateArtifactRequest) (*_nethttp.Response, error)
- func (a *ArtifactRulesApiService) UpdateArtifactRuleConfig(ctx _context.Context, groupId string, artifactId string, rule string) ApiUpdateArtifactRuleConfigRequest
- func (a *ArtifactRulesApiService) UpdateArtifactRuleConfigExecute(r ApiUpdateArtifactRuleConfigRequest) (Rule, *_nethttp.Response, error)
- type ArtifactSearchResults
- func (o *ArtifactSearchResults) GetArtifacts() []SearchedArtifact
- func (o *ArtifactSearchResults) GetArtifactsOk() (*[]SearchedArtifact, bool)
- func (o *ArtifactSearchResults) GetCount() int32
- func (o *ArtifactSearchResults) GetCountOk() (*int32, bool)
- func (o ArtifactSearchResults) MarshalJSON() ([]byte, error)
- func (o *ArtifactSearchResults) SetArtifacts(v []SearchedArtifact)
- func (o *ArtifactSearchResults) SetCount(v int32)
- type ArtifactState
- type ArtifactTypeInfo
- type ArtifactsApi
- type ArtifactsApiService
- func (a *ArtifactsApiService) CreateArtifact(ctx _context.Context, groupId string) ApiCreateArtifactRequest
- func (a *ArtifactsApiService) CreateArtifactExecute(r ApiCreateArtifactRequest) (ArtifactMetaData, *_nethttp.Response, error)
- func (a *ArtifactsApiService) DeleteArtifact(ctx _context.Context, groupId string, artifactId string) ApiDeleteArtifactRequest
- func (a *ArtifactsApiService) DeleteArtifactExecute(r ApiDeleteArtifactRequest) (*_nethttp.Response, error)
- func (a *ArtifactsApiService) DeleteArtifactsInGroup(ctx _context.Context, groupId string) ApiDeleteArtifactsInGroupRequest
- func (a *ArtifactsApiService) DeleteArtifactsInGroupExecute(r ApiDeleteArtifactsInGroupRequest) (*_nethttp.Response, error)
- func (a *ArtifactsApiService) GetContentByGlobalId(ctx _context.Context, globalId int64) ApiGetContentByGlobalIdRequest
- func (a *ArtifactsApiService) GetContentByGlobalIdExecute(r ApiGetContentByGlobalIdRequest) (*os.File, *_nethttp.Response, error)
- func (a *ArtifactsApiService) GetContentByHash(ctx _context.Context, contentHash string) ApiGetContentByHashRequest
- func (a *ArtifactsApiService) GetContentByHashExecute(r ApiGetContentByHashRequest) (*os.File, *_nethttp.Response, error)
- func (a *ArtifactsApiService) GetContentById(ctx _context.Context, contentId int64) ApiGetContentByIdRequest
- func (a *ArtifactsApiService) GetContentByIdExecute(r ApiGetContentByIdRequest) (*os.File, *_nethttp.Response, error)
- func (a *ArtifactsApiService) GetLatestArtifact(ctx _context.Context, groupId string, artifactId string) ApiGetLatestArtifactRequest
- func (a *ArtifactsApiService) GetLatestArtifactExecute(r ApiGetLatestArtifactRequest) (*os.File, *_nethttp.Response, error)
- func (a *ArtifactsApiService) ListArtifactsInGroup(ctx _context.Context, groupId string) ApiListArtifactsInGroupRequest
- func (a *ArtifactsApiService) ListArtifactsInGroupExecute(r ApiListArtifactsInGroupRequest) (ArtifactSearchResults, *_nethttp.Response, error)
- func (a *ArtifactsApiService) ReferencesByContentHash(ctx _context.Context, contentHash string) ApiReferencesByContentHashRequest
- func (a *ArtifactsApiService) ReferencesByContentHashExecute(r ApiReferencesByContentHashRequest) ([]ArtifactReference, *_nethttp.Response, error)
- func (a *ArtifactsApiService) ReferencesByContentId(ctx _context.Context, contentId int64) ApiReferencesByContentIdRequest
- func (a *ArtifactsApiService) ReferencesByContentIdExecute(r ApiReferencesByContentIdRequest) ([]ArtifactReference, *_nethttp.Response, error)
- func (a *ArtifactsApiService) ReferencesByGlobalId(ctx _context.Context, globalId int64) ApiReferencesByGlobalIdRequest
- func (a *ArtifactsApiService) ReferencesByGlobalIdExecute(r ApiReferencesByGlobalIdRequest) ([]ArtifactReference, *_nethttp.Response, error)
- func (a *ArtifactsApiService) UpdateArtifact(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactRequest
- func (a *ArtifactsApiService) UpdateArtifactExecute(r ApiUpdateArtifactRequest) (ArtifactMetaData, *_nethttp.Response, error)
- func (a *ArtifactsApiService) UpdateArtifactState(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactStateRequest
- func (a *ArtifactsApiService) UpdateArtifactStateExecute(r ApiUpdateArtifactStateRequest) (*_nethttp.Response, error)
- type BasicAuth
- type Configuration
- type ConfigurationProperty
- func (o *ConfigurationProperty) GetDescription() string
- func (o *ConfigurationProperty) GetDescriptionOk() (*string, bool)
- func (o *ConfigurationProperty) GetLabel() string
- func (o *ConfigurationProperty) GetLabelOk() (*string, bool)
- func (o *ConfigurationProperty) GetName() string
- func (o *ConfigurationProperty) GetNameOk() (*string, bool)
- func (o *ConfigurationProperty) GetType() string
- func (o *ConfigurationProperty) GetTypeOk() (*string, bool)
- func (o *ConfigurationProperty) GetValue() string
- func (o *ConfigurationProperty) GetValueOk() (*string, bool)
- func (o ConfigurationProperty) MarshalJSON() ([]byte, error)
- func (o *ConfigurationProperty) SetDescription(v string)
- func (o *ConfigurationProperty) SetLabel(v string)
- func (o *ConfigurationProperty) SetName(v string)
- func (o *ConfigurationProperty) SetType(v string)
- func (o *ConfigurationProperty) SetValue(v string)
- type ContentCreateRequest
- func (o *ContentCreateRequest) GetContent() string
- func (o *ContentCreateRequest) GetContentOk() (*string, bool)
- func (o *ContentCreateRequest) GetReferences() []ArtifactReference
- func (o *ContentCreateRequest) GetReferencesOk() (*[]ArtifactReference, bool)
- func (o ContentCreateRequest) MarshalJSON() ([]byte, error)
- func (o *ContentCreateRequest) SetContent(v string)
- func (o *ContentCreateRequest) SetReferences(v []ArtifactReference)
- type CreateGroupMetaData
- func (o *CreateGroupMetaData) GetDescription() string
- func (o *CreateGroupMetaData) GetDescriptionOk() (*string, bool)
- func (o *CreateGroupMetaData) GetId() string
- func (o *CreateGroupMetaData) GetIdOk() (*string, bool)
- func (o *CreateGroupMetaData) GetProperties() map[string]string
- func (o *CreateGroupMetaData) GetPropertiesOk() (*map[string]string, bool)
- func (o *CreateGroupMetaData) HasDescription() bool
- func (o *CreateGroupMetaData) HasProperties() bool
- func (o CreateGroupMetaData) MarshalJSON() ([]byte, error)
- func (o *CreateGroupMetaData) SetDescription(v string)
- func (o *CreateGroupMetaData) SetId(v string)
- func (o *CreateGroupMetaData) SetProperties(v map[string]string)
- type DownloadRef
- func (o *DownloadRef) GetDownloadId() string
- func (o *DownloadRef) GetDownloadIdOk() (*string, bool)
- func (o *DownloadRef) GetHref() string
- func (o *DownloadRef) GetHrefOk() (*string, bool)
- func (o *DownloadRef) HasHref() bool
- func (o DownloadRef) MarshalJSON() ([]byte, error)
- func (o *DownloadRef) SetDownloadId(v string)
- func (o *DownloadRef) SetHref(v string)
- type EditableMetaData
- func (o *EditableMetaData) GetDescription() string
- func (o *EditableMetaData) GetDescriptionOk() (*string, bool)
- func (o *EditableMetaData) GetLabels() []string
- func (o *EditableMetaData) GetLabelsOk() (*[]string, bool)
- func (o *EditableMetaData) GetName() string
- func (o *EditableMetaData) GetNameOk() (*string, bool)
- func (o *EditableMetaData) GetProperties() map[string]string
- func (o *EditableMetaData) GetPropertiesOk() (*map[string]string, bool)
- func (o *EditableMetaData) HasDescription() bool
- func (o *EditableMetaData) HasLabels() bool
- func (o *EditableMetaData) HasName() bool
- func (o *EditableMetaData) HasProperties() bool
- func (o EditableMetaData) MarshalJSON() ([]byte, error)
- func (o *EditableMetaData) SetDescription(v string)
- func (o *EditableMetaData) SetLabels(v []string)
- func (o *EditableMetaData) SetName(v string)
- func (o *EditableMetaData) SetProperties(v map[string]string)
- type Error
- func (o *Error) GetDetail() string
- func (o *Error) GetDetailOk() (*string, bool)
- func (o *Error) GetErrorCode() int32
- func (o *Error) GetErrorCodeOk() (*int32, bool)
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o *Error) GetName() string
- func (o *Error) GetNameOk() (*string, bool)
- func (o *Error) HasDetail() bool
- func (o *Error) HasErrorCode() bool
- func (o *Error) HasMessage() bool
- func (o *Error) HasName() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetDetail(v string)
- func (o *Error) SetErrorCode(v int32)
- func (o *Error) SetMessage(v string)
- func (o *Error) SetName(v string)
- type GenericOpenAPIError
- type GroupMetaData
- func (o *GroupMetaData) GetCreatedBy() string
- func (o *GroupMetaData) GetCreatedByOk() (*string, bool)
- func (o *GroupMetaData) GetCreatedOn() string
- func (o *GroupMetaData) GetCreatedOnOk() (*string, bool)
- func (o *GroupMetaData) GetDescription() string
- func (o *GroupMetaData) GetDescriptionOk() (*string, bool)
- func (o *GroupMetaData) GetId() string
- func (o *GroupMetaData) GetIdOk() (*string, bool)
- func (o *GroupMetaData) GetModifiedBy() string
- func (o *GroupMetaData) GetModifiedByOk() (*string, bool)
- func (o *GroupMetaData) GetModifiedOn() string
- func (o *GroupMetaData) GetModifiedOnOk() (*string, bool)
- func (o *GroupMetaData) GetProperties() map[string]string
- func (o *GroupMetaData) GetPropertiesOk() (*map[string]string, bool)
- func (o GroupMetaData) MarshalJSON() ([]byte, error)
- func (o *GroupMetaData) SetCreatedBy(v string)
- func (o *GroupMetaData) SetCreatedOn(v string)
- func (o *GroupMetaData) SetDescription(v string)
- func (o *GroupMetaData) SetId(v string)
- func (o *GroupMetaData) SetModifiedBy(v string)
- func (o *GroupMetaData) SetModifiedOn(v string)
- func (o *GroupMetaData) SetProperties(v map[string]string)
- type GroupSearchResults
- func (o *GroupSearchResults) GetCount() int32
- func (o *GroupSearchResults) GetCountOk() (*int32, bool)
- func (o *GroupSearchResults) GetGroups() []SearchedGroup
- func (o *GroupSearchResults) GetGroupsOk() (*[]SearchedGroup, bool)
- func (o GroupSearchResults) MarshalJSON() ([]byte, error)
- func (o *GroupSearchResults) SetCount(v int32)
- func (o *GroupSearchResults) SetGroups(v []SearchedGroup)
- type GroupsApi
- type GroupsApiService
- func (a *GroupsApiService) CreateGroup(ctx _context.Context) ApiCreateGroupRequest
- func (a *GroupsApiService) CreateGroupExecute(r ApiCreateGroupRequest) (GroupMetaData, *_nethttp.Response, error)
- func (a *GroupsApiService) DeleteGroupById(ctx _context.Context, groupId string) ApiDeleteGroupByIdRequest
- func (a *GroupsApiService) DeleteGroupByIdExecute(r ApiDeleteGroupByIdRequest) (*_nethttp.Response, error)
- func (a *GroupsApiService) GetGroupById(ctx _context.Context, groupId string) ApiGetGroupByIdRequest
- func (a *GroupsApiService) GetGroupByIdExecute(r ApiGetGroupByIdRequest) (GroupMetaData, *_nethttp.Response, error)
- func (a *GroupsApiService) ListGroups(ctx _context.Context) ApiListGroupsRequest
- func (a *GroupsApiService) ListGroupsExecute(r ApiListGroupsRequest) (GroupSearchResults, *_nethttp.Response, error)
- type IfExists
- type Limits
- func (o *Limits) GetMaxArtifactDescriptionLengthChars() int64
- func (o *Limits) GetMaxArtifactDescriptionLengthCharsOk() (*int64, bool)
- func (o *Limits) GetMaxArtifactLabelsCount() int64
- func (o *Limits) GetMaxArtifactLabelsCountOk() (*int64, bool)
- func (o *Limits) GetMaxArtifactNameLengthChars() int64
- func (o *Limits) GetMaxArtifactNameLengthCharsOk() (*int64, bool)
- func (o *Limits) GetMaxArtifactPropertiesCount() int64
- func (o *Limits) GetMaxArtifactPropertiesCountOk() (*int64, bool)
- func (o *Limits) GetMaxArtifactsCount() int64
- func (o *Limits) GetMaxArtifactsCountOk() (*int64, bool)
- func (o *Limits) GetMaxLabelSizeBytes() int64
- func (o *Limits) GetMaxLabelSizeBytesOk() (*int64, bool)
- func (o *Limits) GetMaxPropertyKeySizeBytes() int64
- func (o *Limits) GetMaxPropertyKeySizeBytesOk() (*int64, bool)
- func (o *Limits) GetMaxPropertyValueSizeBytes() int64
- func (o *Limits) GetMaxPropertyValueSizeBytesOk() (*int64, bool)
- func (o *Limits) GetMaxRequestsPerSecondCount() int64
- func (o *Limits) GetMaxRequestsPerSecondCountOk() (*int64, bool)
- func (o *Limits) GetMaxSchemaSizeBytes() int64
- func (o *Limits) GetMaxSchemaSizeBytesOk() (*int64, bool)
- func (o *Limits) GetMaxTotalSchemasCount() int64
- func (o *Limits) GetMaxTotalSchemasCountOk() (*int64, bool)
- func (o *Limits) GetMaxVersionsPerArtifactCount() int64
- func (o *Limits) GetMaxVersionsPerArtifactCountOk() (*int64, bool)
- func (o *Limits) HasMaxArtifactDescriptionLengthChars() bool
- func (o *Limits) HasMaxArtifactLabelsCount() bool
- func (o *Limits) HasMaxArtifactNameLengthChars() bool
- func (o *Limits) HasMaxArtifactPropertiesCount() bool
- func (o *Limits) HasMaxArtifactsCount() bool
- func (o *Limits) HasMaxLabelSizeBytes() bool
- func (o *Limits) HasMaxPropertyKeySizeBytes() bool
- func (o *Limits) HasMaxPropertyValueSizeBytes() bool
- func (o *Limits) HasMaxRequestsPerSecondCount() bool
- func (o *Limits) HasMaxSchemaSizeBytes() bool
- func (o *Limits) HasMaxTotalSchemasCount() bool
- func (o *Limits) HasMaxVersionsPerArtifactCount() bool
- func (o Limits) MarshalJSON() ([]byte, error)
- func (o *Limits) SetMaxArtifactDescriptionLengthChars(v int64)
- func (o *Limits) SetMaxArtifactLabelsCount(v int64)
- func (o *Limits) SetMaxArtifactNameLengthChars(v int64)
- func (o *Limits) SetMaxArtifactPropertiesCount(v int64)
- func (o *Limits) SetMaxArtifactsCount(v int64)
- func (o *Limits) SetMaxLabelSizeBytes(v int64)
- func (o *Limits) SetMaxPropertyKeySizeBytes(v int64)
- func (o *Limits) SetMaxPropertyValueSizeBytes(v int64)
- func (o *Limits) SetMaxRequestsPerSecondCount(v int64)
- func (o *Limits) SetMaxSchemaSizeBytes(v int64)
- func (o *Limits) SetMaxTotalSchemasCount(v int64)
- func (o *Limits) SetMaxVersionsPerArtifactCount(v int64)
- type LogConfiguration
- type LogLevel
- type MetadataApi
- type MetadataApiService
- func (a *MetadataApiService) DeleteArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiDeleteArtifactVersionMetaDataRequest
- func (a *MetadataApiService) DeleteArtifactVersionMetaDataExecute(r ApiDeleteArtifactVersionMetaDataRequest) (*_nethttp.Response, error)
- func (a *MetadataApiService) GetArtifactMetaData(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactMetaDataRequest
- func (a *MetadataApiService) GetArtifactMetaDataExecute(r ApiGetArtifactMetaDataRequest) (ArtifactMetaData, *_nethttp.Response, error)
- func (a *MetadataApiService) GetArtifactOwner(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactOwnerRequest
- func (a *MetadataApiService) GetArtifactOwnerExecute(r ApiGetArtifactOwnerRequest) (ArtifactOwner, *_nethttp.Response, error)
- func (a *MetadataApiService) GetArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionMetaDataRequest
- func (a *MetadataApiService) GetArtifactVersionMetaDataByContent(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactVersionMetaDataByContentRequest
- func (a *MetadataApiService) GetArtifactVersionMetaDataByContentExecute(r ApiGetArtifactVersionMetaDataByContentRequest) (VersionMetaData, *_nethttp.Response, error)
- func (a *MetadataApiService) GetArtifactVersionMetaDataExecute(r ApiGetArtifactVersionMetaDataRequest) (VersionMetaData, *_nethttp.Response, error)
- func (a *MetadataApiService) UpdateArtifactMetaData(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactMetaDataRequest
- func (a *MetadataApiService) UpdateArtifactMetaDataExecute(r ApiUpdateArtifactMetaDataRequest) (*_nethttp.Response, error)
- func (a *MetadataApiService) UpdateArtifactOwner(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactOwnerRequest
- func (a *MetadataApiService) UpdateArtifactOwnerExecute(r ApiUpdateArtifactOwnerRequest) (*_nethttp.Response, error)
- func (a *MetadataApiService) UpdateArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiUpdateArtifactVersionMetaDataRequest
- func (a *MetadataApiService) UpdateArtifactVersionMetaDataExecute(r ApiUpdateArtifactVersionMetaDataRequest) (*_nethttp.Response, error)
- type NamedLogConfiguration
- func (o *NamedLogConfiguration) GetLevel() LogLevel
- func (o *NamedLogConfiguration) GetLevelOk() (*LogLevel, bool)
- func (o *NamedLogConfiguration) GetName() string
- func (o *NamedLogConfiguration) GetNameOk() (*string, bool)
- func (o NamedLogConfiguration) MarshalJSON() ([]byte, error)
- func (o *NamedLogConfiguration) SetLevel(v LogLevel)
- func (o *NamedLogConfiguration) SetName(v string)
- type NamedLogConfigurationAllOf
- type NullableArtifactMetaData
- func (v NullableArtifactMetaData) Get() *ArtifactMetaData
- func (v NullableArtifactMetaData) IsSet() bool
- func (v NullableArtifactMetaData) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactMetaData) Set(val *ArtifactMetaData)
- func (v *NullableArtifactMetaData) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactMetaData) Unset()
- type NullableArtifactOwner
- func (v NullableArtifactOwner) Get() *ArtifactOwner
- func (v NullableArtifactOwner) IsSet() bool
- func (v NullableArtifactOwner) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactOwner) Set(val *ArtifactOwner)
- func (v *NullableArtifactOwner) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactOwner) Unset()
- type NullableArtifactReference
- func (v NullableArtifactReference) Get() *ArtifactReference
- func (v NullableArtifactReference) IsSet() bool
- func (v NullableArtifactReference) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactReference) Set(val *ArtifactReference)
- func (v *NullableArtifactReference) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactReference) Unset()
- type NullableArtifactSearchResults
- func (v NullableArtifactSearchResults) Get() *ArtifactSearchResults
- func (v NullableArtifactSearchResults) IsSet() bool
- func (v NullableArtifactSearchResults) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactSearchResults) Set(val *ArtifactSearchResults)
- func (v *NullableArtifactSearchResults) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactSearchResults) Unset()
- type NullableArtifactState
- func (v NullableArtifactState) Get() *ArtifactState
- func (v NullableArtifactState) IsSet() bool
- func (v NullableArtifactState) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactState) Set(val *ArtifactState)
- func (v *NullableArtifactState) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactState) Unset()
- type NullableArtifactTypeInfo
- func (v NullableArtifactTypeInfo) Get() *ArtifactTypeInfo
- func (v NullableArtifactTypeInfo) IsSet() bool
- func (v NullableArtifactTypeInfo) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactTypeInfo) Set(val *ArtifactTypeInfo)
- func (v *NullableArtifactTypeInfo) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactTypeInfo) Unset()
- type NullableBool
- type NullableConfigurationProperty
- func (v NullableConfigurationProperty) Get() *ConfigurationProperty
- func (v NullableConfigurationProperty) IsSet() bool
- func (v NullableConfigurationProperty) MarshalJSON() ([]byte, error)
- func (v *NullableConfigurationProperty) Set(val *ConfigurationProperty)
- func (v *NullableConfigurationProperty) UnmarshalJSON(src []byte) error
- func (v *NullableConfigurationProperty) Unset()
- type NullableContentCreateRequest
- func (v NullableContentCreateRequest) Get() *ContentCreateRequest
- func (v NullableContentCreateRequest) IsSet() bool
- func (v NullableContentCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableContentCreateRequest) Set(val *ContentCreateRequest)
- func (v *NullableContentCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableContentCreateRequest) Unset()
- type NullableCreateGroupMetaData
- func (v NullableCreateGroupMetaData) Get() *CreateGroupMetaData
- func (v NullableCreateGroupMetaData) IsSet() bool
- func (v NullableCreateGroupMetaData) MarshalJSON() ([]byte, error)
- func (v *NullableCreateGroupMetaData) Set(val *CreateGroupMetaData)
- func (v *NullableCreateGroupMetaData) UnmarshalJSON(src []byte) error
- func (v *NullableCreateGroupMetaData) Unset()
- type NullableDownloadRef
- func (v NullableDownloadRef) Get() *DownloadRef
- func (v NullableDownloadRef) IsSet() bool
- func (v NullableDownloadRef) MarshalJSON() ([]byte, error)
- func (v *NullableDownloadRef) Set(val *DownloadRef)
- func (v *NullableDownloadRef) UnmarshalJSON(src []byte) error
- func (v *NullableDownloadRef) Unset()
- type NullableEditableMetaData
- func (v NullableEditableMetaData) Get() *EditableMetaData
- func (v NullableEditableMetaData) IsSet() bool
- func (v NullableEditableMetaData) MarshalJSON() ([]byte, error)
- func (v *NullableEditableMetaData) Set(val *EditableMetaData)
- func (v *NullableEditableMetaData) UnmarshalJSON(src []byte) error
- func (v *NullableEditableMetaData) Unset()
- type NullableError
- type NullableFloat32
- type NullableFloat64
- type NullableGroupMetaData
- func (v NullableGroupMetaData) Get() *GroupMetaData
- func (v NullableGroupMetaData) IsSet() bool
- func (v NullableGroupMetaData) MarshalJSON() ([]byte, error)
- func (v *NullableGroupMetaData) Set(val *GroupMetaData)
- func (v *NullableGroupMetaData) UnmarshalJSON(src []byte) error
- func (v *NullableGroupMetaData) Unset()
- type NullableGroupSearchResults
- func (v NullableGroupSearchResults) Get() *GroupSearchResults
- func (v NullableGroupSearchResults) IsSet() bool
- func (v NullableGroupSearchResults) MarshalJSON() ([]byte, error)
- func (v *NullableGroupSearchResults) Set(val *GroupSearchResults)
- func (v *NullableGroupSearchResults) UnmarshalJSON(src []byte) error
- func (v *NullableGroupSearchResults) Unset()
- type NullableIfExists
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLimits
- type NullableLogConfiguration
- func (v NullableLogConfiguration) Get() *LogConfiguration
- func (v NullableLogConfiguration) IsSet() bool
- func (v NullableLogConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableLogConfiguration) Set(val *LogConfiguration)
- func (v *NullableLogConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableLogConfiguration) Unset()
- type NullableLogLevel
- type NullableNamedLogConfiguration
- func (v NullableNamedLogConfiguration) Get() *NamedLogConfiguration
- func (v NullableNamedLogConfiguration) IsSet() bool
- func (v NullableNamedLogConfiguration) MarshalJSON() ([]byte, error)
- func (v *NullableNamedLogConfiguration) Set(val *NamedLogConfiguration)
- func (v *NullableNamedLogConfiguration) UnmarshalJSON(src []byte) error
- func (v *NullableNamedLogConfiguration) Unset()
- type NullableNamedLogConfigurationAllOf
- func (v NullableNamedLogConfigurationAllOf) Get() *NamedLogConfigurationAllOf
- func (v NullableNamedLogConfigurationAllOf) IsSet() bool
- func (v NullableNamedLogConfigurationAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableNamedLogConfigurationAllOf) Set(val *NamedLogConfigurationAllOf)
- func (v *NullableNamedLogConfigurationAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableNamedLogConfigurationAllOf) Unset()
- type NullableRoleMapping
- func (v NullableRoleMapping) Get() *RoleMapping
- func (v NullableRoleMapping) IsSet() bool
- func (v NullableRoleMapping) MarshalJSON() ([]byte, error)
- func (v *NullableRoleMapping) Set(val *RoleMapping)
- func (v *NullableRoleMapping) UnmarshalJSON(src []byte) error
- func (v *NullableRoleMapping) Unset()
- type NullableRoleType
- type NullableRule
- type NullableRuleType
- type NullableRuleViolationCause
- func (v NullableRuleViolationCause) Get() *RuleViolationCause
- func (v NullableRuleViolationCause) IsSet() bool
- func (v NullableRuleViolationCause) MarshalJSON() ([]byte, error)
- func (v *NullableRuleViolationCause) Set(val *RuleViolationCause)
- func (v *NullableRuleViolationCause) UnmarshalJSON(src []byte) error
- func (v *NullableRuleViolationCause) Unset()
- type NullableRuleViolationError
- func (v NullableRuleViolationError) Get() *RuleViolationError
- func (v NullableRuleViolationError) IsSet() bool
- func (v NullableRuleViolationError) MarshalJSON() ([]byte, error)
- func (v *NullableRuleViolationError) Set(val *RuleViolationError)
- func (v *NullableRuleViolationError) UnmarshalJSON(src []byte) error
- func (v *NullableRuleViolationError) Unset()
- type NullableRuleViolationErrorAllOf
- func (v NullableRuleViolationErrorAllOf) Get() *RuleViolationErrorAllOf
- func (v NullableRuleViolationErrorAllOf) IsSet() bool
- func (v NullableRuleViolationErrorAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableRuleViolationErrorAllOf) Set(val *RuleViolationErrorAllOf)
- func (v *NullableRuleViolationErrorAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableRuleViolationErrorAllOf) Unset()
- type NullableSearchedArtifact
- func (v NullableSearchedArtifact) Get() *SearchedArtifact
- func (v NullableSearchedArtifact) IsSet() bool
- func (v NullableSearchedArtifact) MarshalJSON() ([]byte, error)
- func (v *NullableSearchedArtifact) Set(val *SearchedArtifact)
- func (v *NullableSearchedArtifact) UnmarshalJSON(src []byte) error
- func (v *NullableSearchedArtifact) Unset()
- type NullableSearchedGroup
- func (v NullableSearchedGroup) Get() *SearchedGroup
- func (v NullableSearchedGroup) IsSet() bool
- func (v NullableSearchedGroup) MarshalJSON() ([]byte, error)
- func (v *NullableSearchedGroup) Set(val *SearchedGroup)
- func (v *NullableSearchedGroup) UnmarshalJSON(src []byte) error
- func (v *NullableSearchedGroup) Unset()
- type NullableSearchedVersion
- func (v NullableSearchedVersion) Get() *SearchedVersion
- func (v NullableSearchedVersion) IsSet() bool
- func (v NullableSearchedVersion) MarshalJSON() ([]byte, error)
- func (v *NullableSearchedVersion) Set(val *SearchedVersion)
- func (v *NullableSearchedVersion) UnmarshalJSON(src []byte) error
- func (v *NullableSearchedVersion) Unset()
- type NullableSortBy
- type NullableSortOrder
- type NullableString
- type NullableSystemInfo
- type NullableTime
- type NullableUpdateConfigurationProperty
- func (v NullableUpdateConfigurationProperty) Get() *UpdateConfigurationProperty
- func (v NullableUpdateConfigurationProperty) IsSet() bool
- func (v NullableUpdateConfigurationProperty) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateConfigurationProperty) Set(val *UpdateConfigurationProperty)
- func (v *NullableUpdateConfigurationProperty) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateConfigurationProperty) Unset()
- type NullableUpdateRole
- type NullableUpdateState
- func (v NullableUpdateState) Get() *UpdateState
- func (v NullableUpdateState) IsSet() bool
- func (v NullableUpdateState) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateState) Set(val *UpdateState)
- func (v *NullableUpdateState) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateState) Unset()
- type NullableUserInfo
- type NullableVersionMetaData
- func (v NullableVersionMetaData) Get() *VersionMetaData
- func (v NullableVersionMetaData) IsSet() bool
- func (v NullableVersionMetaData) MarshalJSON() ([]byte, error)
- func (v *NullableVersionMetaData) Set(val *VersionMetaData)
- func (v *NullableVersionMetaData) UnmarshalJSON(src []byte) error
- func (v *NullableVersionMetaData) Unset()
- type NullableVersionSearchResults
- func (v NullableVersionSearchResults) Get() *VersionSearchResults
- func (v NullableVersionSearchResults) IsSet() bool
- func (v NullableVersionSearchResults) MarshalJSON() ([]byte, error)
- func (v *NullableVersionSearchResults) Set(val *VersionSearchResults)
- func (v *NullableVersionSearchResults) UnmarshalJSON(src []byte) error
- func (v *NullableVersionSearchResults) Unset()
- type RoleMapping
- func (o *RoleMapping) GetPrincipalId() string
- func (o *RoleMapping) GetPrincipalIdOk() (*string, bool)
- func (o *RoleMapping) GetPrincipalName() string
- func (o *RoleMapping) GetPrincipalNameOk() (*string, bool)
- func (o *RoleMapping) GetRole() RoleType
- func (o *RoleMapping) GetRoleOk() (*RoleType, bool)
- func (o *RoleMapping) HasPrincipalName() bool
- func (o RoleMapping) MarshalJSON() ([]byte, error)
- func (o *RoleMapping) SetPrincipalId(v string)
- func (o *RoleMapping) SetPrincipalName(v string)
- func (o *RoleMapping) SetRole(v RoleType)
- type RoleType
- type Rule
- func (o *Rule) GetConfig() string
- func (o *Rule) GetConfigOk() (*string, bool)
- func (o *Rule) GetType() RuleType
- func (o *Rule) GetTypeOk() (*RuleType, bool)
- func (o *Rule) HasType() bool
- func (o Rule) MarshalJSON() ([]byte, error)
- func (o *Rule) SetConfig(v string)
- func (o *Rule) SetType(v RuleType)
- type RuleType
- type RuleViolationCause
- func (o *RuleViolationCause) GetContext() string
- func (o *RuleViolationCause) GetContextOk() (*string, bool)
- func (o *RuleViolationCause) GetDescription() string
- func (o *RuleViolationCause) GetDescriptionOk() (*string, bool)
- func (o *RuleViolationCause) HasContext() bool
- func (o *RuleViolationCause) HasDescription() bool
- func (o RuleViolationCause) MarshalJSON() ([]byte, error)
- func (o *RuleViolationCause) SetContext(v string)
- func (o *RuleViolationCause) SetDescription(v string)
- type RuleViolationError
- func (o *RuleViolationError) GetCauses() []RuleViolationCause
- func (o *RuleViolationError) GetCausesOk() (*[]RuleViolationCause, bool)
- func (o *RuleViolationError) GetDetail() string
- func (o *RuleViolationError) GetDetailOk() (*string, bool)
- func (o *RuleViolationError) GetErrorCode() int32
- func (o *RuleViolationError) GetErrorCodeOk() (*int32, bool)
- func (o *RuleViolationError) GetMessage() string
- func (o *RuleViolationError) GetMessageOk() (*string, bool)
- func (o *RuleViolationError) GetName() string
- func (o *RuleViolationError) GetNameOk() (*string, bool)
- func (o *RuleViolationError) HasDetail() bool
- func (o *RuleViolationError) HasErrorCode() bool
- func (o *RuleViolationError) HasMessage() bool
- func (o *RuleViolationError) HasName() bool
- func (o RuleViolationError) MarshalJSON() ([]byte, error)
- func (o *RuleViolationError) SetCauses(v []RuleViolationCause)
- func (o *RuleViolationError) SetDetail(v string)
- func (o *RuleViolationError) SetErrorCode(v int32)
- func (o *RuleViolationError) SetMessage(v string)
- func (o *RuleViolationError) SetName(v string)
- type RuleViolationErrorAllOf
- type SearchApi
- type SearchApiService
- func (a *SearchApiService) SearchArtifacts(ctx _context.Context) ApiSearchArtifactsRequest
- func (a *SearchApiService) SearchArtifactsByContent(ctx _context.Context) ApiSearchArtifactsByContentRequest
- func (a *SearchApiService) SearchArtifactsByContentExecute(r ApiSearchArtifactsByContentRequest) (ArtifactSearchResults, *_nethttp.Response, error)
- func (a *SearchApiService) SearchArtifactsExecute(r ApiSearchArtifactsRequest) (ArtifactSearchResults, *_nethttp.Response, error)
- type SearchedArtifact
- func (o *SearchedArtifact) GetCreatedBy() string
- func (o *SearchedArtifact) GetCreatedByOk() (*string, bool)
- func (o *SearchedArtifact) GetCreatedOn() string
- func (o *SearchedArtifact) GetCreatedOnOk() (*string, bool)
- func (o *SearchedArtifact) GetDescription() string
- func (o *SearchedArtifact) GetDescriptionOk() (*string, bool)
- func (o *SearchedArtifact) GetGroupId() string
- func (o *SearchedArtifact) GetGroupIdOk() (*string, bool)
- func (o *SearchedArtifact) GetId() string
- func (o *SearchedArtifact) GetIdOk() (*string, bool)
- func (o *SearchedArtifact) GetLabels() []string
- func (o *SearchedArtifact) GetLabelsOk() (*[]string, bool)
- func (o *SearchedArtifact) GetModifiedBy() string
- func (o *SearchedArtifact) GetModifiedByOk() (*string, bool)
- func (o *SearchedArtifact) GetModifiedOn() string
- func (o *SearchedArtifact) GetModifiedOnOk() (*string, bool)
- func (o *SearchedArtifact) GetName() string
- func (o *SearchedArtifact) GetNameOk() (*string, bool)
- func (o *SearchedArtifact) GetState() ArtifactState
- func (o *SearchedArtifact) GetStateOk() (*ArtifactState, bool)
- func (o *SearchedArtifact) GetType() string
- func (o *SearchedArtifact) GetTypeOk() (*string, bool)
- func (o *SearchedArtifact) HasDescription() bool
- func (o *SearchedArtifact) HasGroupId() bool
- func (o *SearchedArtifact) HasLabels() bool
- func (o *SearchedArtifact) HasModifiedBy() bool
- func (o *SearchedArtifact) HasModifiedOn() bool
- func (o *SearchedArtifact) HasName() bool
- func (o SearchedArtifact) MarshalJSON() ([]byte, error)
- func (o *SearchedArtifact) SetCreatedBy(v string)
- func (o *SearchedArtifact) SetCreatedOn(v string)
- func (o *SearchedArtifact) SetDescription(v string)
- func (o *SearchedArtifact) SetGroupId(v string)
- func (o *SearchedArtifact) SetId(v string)
- func (o *SearchedArtifact) SetLabels(v []string)
- func (o *SearchedArtifact) SetModifiedBy(v string)
- func (o *SearchedArtifact) SetModifiedOn(v string)
- func (o *SearchedArtifact) SetName(v string)
- func (o *SearchedArtifact) SetState(v ArtifactState)
- func (o *SearchedArtifact) SetType(v string)
- type SearchedGroup
- func (o *SearchedGroup) GetCreatedBy() string
- func (o *SearchedGroup) GetCreatedByOk() (*string, bool)
- func (o *SearchedGroup) GetCreatedOn() string
- func (o *SearchedGroup) GetCreatedOnOk() (*string, bool)
- func (o *SearchedGroup) GetDescription() string
- func (o *SearchedGroup) GetDescriptionOk() (*string, bool)
- func (o *SearchedGroup) GetId() string
- func (o *SearchedGroup) GetIdOk() (*string, bool)
- func (o *SearchedGroup) GetModifiedBy() string
- func (o *SearchedGroup) GetModifiedByOk() (*string, bool)
- func (o *SearchedGroup) GetModifiedOn() string
- func (o *SearchedGroup) GetModifiedOnOk() (*string, bool)
- func (o SearchedGroup) MarshalJSON() ([]byte, error)
- func (o *SearchedGroup) SetCreatedBy(v string)
- func (o *SearchedGroup) SetCreatedOn(v string)
- func (o *SearchedGroup) SetDescription(v string)
- func (o *SearchedGroup) SetId(v string)
- func (o *SearchedGroup) SetModifiedBy(v string)
- func (o *SearchedGroup) SetModifiedOn(v string)
- type SearchedVersion
- func (o *SearchedVersion) GetContentId() int64
- func (o *SearchedVersion) GetContentIdOk() (*int64, bool)
- func (o *SearchedVersion) GetCreatedBy() string
- func (o *SearchedVersion) GetCreatedByOk() (*string, bool)
- func (o *SearchedVersion) GetCreatedOn() string
- func (o *SearchedVersion) GetCreatedOnOk() (*string, bool)
- func (o *SearchedVersion) GetDescription() string
- func (o *SearchedVersion) GetDescriptionOk() (*string, bool)
- func (o *SearchedVersion) GetGlobalId() int64
- func (o *SearchedVersion) GetGlobalIdOk() (*int64, bool)
- func (o *SearchedVersion) GetLabels() []string
- func (o *SearchedVersion) GetLabelsOk() (*[]string, bool)
- func (o *SearchedVersion) GetName() string
- func (o *SearchedVersion) GetNameOk() (*string, bool)
- func (o *SearchedVersion) GetProperties() map[string]string
- func (o *SearchedVersion) GetPropertiesOk() (*map[string]string, bool)
- func (o *SearchedVersion) GetReferences() []ArtifactReference
- func (o *SearchedVersion) GetReferencesOk() (*[]ArtifactReference, bool)
- func (o *SearchedVersion) GetState() ArtifactState
- func (o *SearchedVersion) GetStateOk() (*ArtifactState, bool)
- func (o *SearchedVersion) GetType() string
- func (o *SearchedVersion) GetTypeOk() (*string, bool)
- func (o *SearchedVersion) GetVersion() string
- func (o *SearchedVersion) GetVersionOk() (*string, bool)
- func (o *SearchedVersion) HasDescription() bool
- func (o *SearchedVersion) HasLabels() bool
- func (o *SearchedVersion) HasName() bool
- func (o *SearchedVersion) HasProperties() bool
- func (o SearchedVersion) MarshalJSON() ([]byte, error)
- func (o *SearchedVersion) SetContentId(v int64)
- func (o *SearchedVersion) SetCreatedBy(v string)
- func (o *SearchedVersion) SetCreatedOn(v string)
- func (o *SearchedVersion) SetDescription(v string)
- func (o *SearchedVersion) SetGlobalId(v int64)
- func (o *SearchedVersion) SetLabels(v []string)
- func (o *SearchedVersion) SetName(v string)
- func (o *SearchedVersion) SetProperties(v map[string]string)
- func (o *SearchedVersion) SetReferences(v []ArtifactReference)
- func (o *SearchedVersion) SetState(v ArtifactState)
- func (o *SearchedVersion) SetType(v string)
- func (o *SearchedVersion) SetVersion(v string)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SortBy
- type SortOrder
- type SystemApi
- type SystemApiService
- func (a *SystemApiService) GetResourceLimits(ctx _context.Context) ApiGetResourceLimitsRequest
- func (a *SystemApiService) GetResourceLimitsExecute(r ApiGetResourceLimitsRequest) (Limits, *_nethttp.Response, error)
- func (a *SystemApiService) GetSystemInfo(ctx _context.Context) ApiGetSystemInfoRequest
- func (a *SystemApiService) GetSystemInfoExecute(r ApiGetSystemInfoRequest) (SystemInfo, *_nethttp.Response, error)
- type SystemInfo
- func (o *SystemInfo) GetBuiltOn() string
- func (o *SystemInfo) GetBuiltOnOk() (*string, bool)
- func (o *SystemInfo) GetDescription() string
- func (o *SystemInfo) GetDescriptionOk() (*string, bool)
- func (o *SystemInfo) GetName() string
- func (o *SystemInfo) GetNameOk() (*string, bool)
- func (o *SystemInfo) GetVersion() string
- func (o *SystemInfo) GetVersionOk() (*string, bool)
- func (o *SystemInfo) HasBuiltOn() bool
- func (o *SystemInfo) HasDescription() bool
- func (o *SystemInfo) HasName() bool
- func (o *SystemInfo) HasVersion() bool
- func (o SystemInfo) MarshalJSON() ([]byte, error)
- func (o *SystemInfo) SetBuiltOn(v string)
- func (o *SystemInfo) SetDescription(v string)
- func (o *SystemInfo) SetName(v string)
- func (o *SystemInfo) SetVersion(v string)
- type UpdateConfigurationProperty
- type UpdateRole
- type UpdateState
- type UserInfo
- func (o *UserInfo) GetAdmin() bool
- func (o *UserInfo) GetAdminOk() (*bool, bool)
- func (o *UserInfo) GetDeveloper() bool
- func (o *UserInfo) GetDeveloperOk() (*bool, bool)
- func (o *UserInfo) GetDisplayName() string
- func (o *UserInfo) GetDisplayNameOk() (*string, bool)
- func (o *UserInfo) GetUsername() string
- func (o *UserInfo) GetUsernameOk() (*string, bool)
- func (o *UserInfo) GetViewer() bool
- func (o *UserInfo) GetViewerOk() (*bool, bool)
- func (o *UserInfo) HasAdmin() bool
- func (o *UserInfo) HasDeveloper() bool
- func (o *UserInfo) HasDisplayName() bool
- func (o *UserInfo) HasUsername() bool
- func (o *UserInfo) HasViewer() bool
- func (o UserInfo) MarshalJSON() ([]byte, error)
- func (o *UserInfo) SetAdmin(v bool)
- func (o *UserInfo) SetDeveloper(v bool)
- func (o *UserInfo) SetDisplayName(v string)
- func (o *UserInfo) SetUsername(v string)
- func (o *UserInfo) SetViewer(v bool)
- type UsersApi
- type UsersApiService
- type VersionMetaData
- func (o *VersionMetaData) GetContentId() int64
- func (o *VersionMetaData) GetContentIdOk() (*int64, bool)
- func (o *VersionMetaData) GetCreatedBy() string
- func (o *VersionMetaData) GetCreatedByOk() (*string, bool)
- func (o *VersionMetaData) GetCreatedOn() string
- func (o *VersionMetaData) GetCreatedOnOk() (*string, bool)
- func (o *VersionMetaData) GetDescription() string
- func (o *VersionMetaData) GetDescriptionOk() (*string, bool)
- func (o *VersionMetaData) GetGlobalId() int64
- func (o *VersionMetaData) GetGlobalIdOk() (*int64, bool)
- func (o *VersionMetaData) GetGroupId() string
- func (o *VersionMetaData) GetGroupIdOk() (*string, bool)
- func (o *VersionMetaData) GetId() string
- func (o *VersionMetaData) GetIdOk() (*string, bool)
- func (o *VersionMetaData) GetLabels() []string
- func (o *VersionMetaData) GetLabelsOk() (*[]string, bool)
- func (o *VersionMetaData) GetName() string
- func (o *VersionMetaData) GetNameOk() (*string, bool)
- func (o *VersionMetaData) GetProperties() map[string]string
- func (o *VersionMetaData) GetPropertiesOk() (*map[string]string, bool)
- func (o *VersionMetaData) GetState() ArtifactState
- func (o *VersionMetaData) GetStateOk() (*ArtifactState, bool)
- func (o *VersionMetaData) GetType() string
- func (o *VersionMetaData) GetTypeOk() (*string, bool)
- func (o *VersionMetaData) GetVersion() string
- func (o *VersionMetaData) GetVersionOk() (*string, bool)
- func (o *VersionMetaData) HasDescription() bool
- func (o *VersionMetaData) HasGroupId() bool
- func (o *VersionMetaData) HasLabels() bool
- func (o *VersionMetaData) HasName() bool
- func (o *VersionMetaData) HasProperties() bool
- func (o *VersionMetaData) HasState() bool
- func (o VersionMetaData) MarshalJSON() ([]byte, error)
- func (o *VersionMetaData) SetContentId(v int64)
- func (o *VersionMetaData) SetCreatedBy(v string)
- func (o *VersionMetaData) SetCreatedOn(v string)
- func (o *VersionMetaData) SetDescription(v string)
- func (o *VersionMetaData) SetGlobalId(v int64)
- func (o *VersionMetaData) SetGroupId(v string)
- func (o *VersionMetaData) SetId(v string)
- func (o *VersionMetaData) SetLabels(v []string)
- func (o *VersionMetaData) SetName(v string)
- func (o *VersionMetaData) SetProperties(v map[string]string)
- func (o *VersionMetaData) SetState(v ArtifactState)
- func (o *VersionMetaData) SetType(v string)
- func (o *VersionMetaData) SetVersion(v string)
- type VersionSearchResults
- func (o *VersionSearchResults) GetCount() int32
- func (o *VersionSearchResults) GetCountOk() (*int32, bool)
- func (o *VersionSearchResults) GetVersions() []SearchedVersion
- func (o *VersionSearchResults) GetVersionsOk() (*[]SearchedVersion, bool)
- func (o VersionSearchResults) MarshalJSON() ([]byte, error)
- func (o *VersionSearchResults) SetCount(v int32)
- func (o *VersionSearchResults) SetVersions(v []SearchedVersion)
- type VersionsApi
- type VersionsApiService
- func (a *VersionsApiService) CreateArtifactVersion(ctx _context.Context, groupId string, artifactId string) ApiCreateArtifactVersionRequest
- func (a *VersionsApiService) CreateArtifactVersionExecute(r ApiCreateArtifactVersionRequest) (VersionMetaData, *_nethttp.Response, error)
- func (a *VersionsApiService) GetArtifactVersion(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionRequest
- func (a *VersionsApiService) GetArtifactVersionExecute(r ApiGetArtifactVersionRequest) (*os.File, *_nethttp.Response, error)
- func (a *VersionsApiService) GetArtifactVersionReferences(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionReferencesRequest
- func (a *VersionsApiService) GetArtifactVersionReferencesExecute(r ApiGetArtifactVersionReferencesRequest) ([]ArtifactReference, *_nethttp.Response, error)
- func (a *VersionsApiService) ListArtifactVersions(ctx _context.Context, groupId string, artifactId string) ApiListArtifactVersionsRequest
- func (a *VersionsApiService) ListArtifactVersionsExecute(r ApiListArtifactVersionsRequest) (VersionSearchResults, *_nethttp.Response, error)
- func (a *VersionsApiService) UpdateArtifactVersionState(ctx _context.Context, groupId string, artifactId string, version string) ApiUpdateArtifactVersionStateRequest
- func (a *VersionsApiService) UpdateArtifactVersionStateExecute(r ApiUpdateArtifactVersionStateRequest) (*_nethttp.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
AdminApi AdminApi
ArtifactRulesApi ArtifactRulesApi
ArtifactsApi ArtifactsApi
GroupsApi GroupsApi
MetadataApi MetadataApi
SearchApi SearchApi
SystemApi SystemApi
UsersApi UsersApi
VersionsApi VersionsApi
// contains filtered or unexported fields
}
APIClient manages communication with the Apicurio Registry API [v2] API v2.4.x In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AdminApi ¶
type AdminApi interface {
/*
* CreateGlobalRule Create global rule
* Adds a rule to the list of globally configured rules.
This operation can fail for the following reasons:
* The rule type is unknown (HTTP error `400`)
* The rule already exists (HTTP error `409`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiCreateGlobalRuleRequest
*/
CreateGlobalRule(ctx _context.Context) ApiCreateGlobalRuleRequest
/*
* CreateGlobalRuleExecute executes the request
*/
CreateGlobalRuleExecute(r ApiCreateGlobalRuleRequest) (*_nethttp.Response, error)
/*
* CreateRoleMapping Create a new role mapping
* Creates a new mapping between a user/principal and a role.
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiCreateRoleMappingRequest
*/
CreateRoleMapping(ctx _context.Context) ApiCreateRoleMappingRequest
/*
* CreateRoleMappingExecute executes the request
*/
CreateRoleMappingExecute(r ApiCreateRoleMappingRequest) (*_nethttp.Response, error)
/*
* DeleteAllGlobalRules Delete all global rules
* Deletes all globally configured rules.
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiDeleteAllGlobalRulesRequest
*/
DeleteAllGlobalRules(ctx _context.Context) ApiDeleteAllGlobalRulesRequest
/*
* DeleteAllGlobalRulesExecute executes the request
*/
DeleteAllGlobalRulesExecute(r ApiDeleteAllGlobalRulesRequest) (*_nethttp.Response, error)
/*
* DeleteGlobalRule Delete global rule
* Deletes a single global rule. If this is the only rule configured, this is the same
as deleting **all** rules.
This operation can fail for the following reasons:
* Invalid rule name/type (HTTP error `400`)
* No rule with name/type `rule` exists (HTTP error `404`)
* Rule cannot be deleted (HTTP error `409`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param rule The unique name/type of a rule.
* @return ApiDeleteGlobalRuleRequest
*/
DeleteGlobalRule(ctx _context.Context, rule RuleType) ApiDeleteGlobalRuleRequest
/*
* DeleteGlobalRuleExecute executes the request
*/
DeleteGlobalRuleExecute(r ApiDeleteGlobalRuleRequest) (*_nethttp.Response, error)
/*
* DeleteRoleMapping Delete a role mapping
* Deletes a single role mapping, effectively denying access to a user/principal.
This operation can fail for the following reasons:
* No role mapping for the principalId exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param principalId Unique id of a principal (typically either a user or service account).
* @return ApiDeleteRoleMappingRequest
*/
DeleteRoleMapping(ctx _context.Context, principalId string) ApiDeleteRoleMappingRequest
/*
* DeleteRoleMappingExecute executes the request
*/
DeleteRoleMappingExecute(r ApiDeleteRoleMappingRequest) (*_nethttp.Response, error)
/*
* ExportData Export registry data
* Exports registry data as a ZIP archive.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiExportDataRequest
*/
ExportData(ctx _context.Context) ApiExportDataRequest
/*
* ExportDataExecute executes the request
* @return *os.File
*/
ExportDataExecute(r ApiExportDataRequest) (*os.File, *_nethttp.Response, error)
/*
* GetConfigProperty Get configuration property value
* Returns the value of a single configuration property.
This operation may fail for one of the following reasons:
* Property not found or not configured (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param propertyName The name of a configuration property.
* @return ApiGetConfigPropertyRequest
*/
GetConfigProperty(ctx _context.Context, propertyName string) ApiGetConfigPropertyRequest
/*
* GetConfigPropertyExecute executes the request
* @return ConfigurationProperty
*/
GetConfigPropertyExecute(r ApiGetConfigPropertyRequest) (ConfigurationProperty, *_nethttp.Response, error)
/*
* GetGlobalRuleConfig Get global rule configuration
* Returns information about the named globally configured rule.
This operation can fail for the following reasons:
* Invalid rule name/type (HTTP error `400`)
* No rule with name/type `rule` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param rule The unique name/type of a rule.
* @return ApiGetGlobalRuleConfigRequest
*/
GetGlobalRuleConfig(ctx _context.Context, rule RuleType) ApiGetGlobalRuleConfigRequest
/*
* GetGlobalRuleConfigExecute executes the request
* @return Rule
*/
GetGlobalRuleConfigExecute(r ApiGetGlobalRuleConfigRequest) (Rule, *_nethttp.Response, error)
/*
* GetLogConfiguration Get a single logger configuration
* Returns the configured logger configuration for the provided logger name, if no logger configuration is persisted it will return the current default log configuration in the system.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param logger The name of a single logger.
* @return ApiGetLogConfigurationRequest
*/
GetLogConfiguration(ctx _context.Context, logger string) ApiGetLogConfigurationRequest
/*
* GetLogConfigurationExecute executes the request
* @return NamedLogConfiguration
*/
GetLogConfigurationExecute(r ApiGetLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)
/*
* GetRoleMapping Return a single role mapping
* Gets the details of a single role mapping (by `principalId`).
This operation can fail for the following reasons:
* No role mapping for the `principalId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param principalId Unique id of a principal (typically either a user or service account).
* @return ApiGetRoleMappingRequest
*/
GetRoleMapping(ctx _context.Context, principalId string) ApiGetRoleMappingRequest
/*
* GetRoleMappingExecute executes the request
* @return RoleMapping
*/
GetRoleMappingExecute(r ApiGetRoleMappingRequest) (RoleMapping, *_nethttp.Response, error)
/*
* ImportData Import registry data
* Imports registry data that was previously exported using the `/admin/export` operation.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiImportDataRequest
*/
ImportData(ctx _context.Context) ApiImportDataRequest
/*
* ImportDataExecute executes the request
*/
ImportDataExecute(r ApiImportDataRequest) (*_nethttp.Response, error)
/*
* ListArtifactTypes List artifact types
* Gets a list of all the configured artifact types.
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiListArtifactTypesRequest
*/
ListArtifactTypes(ctx _context.Context) ApiListArtifactTypesRequest
/*
* ListArtifactTypesExecute executes the request
* @return []ArtifactTypeInfo
*/
ListArtifactTypesExecute(r ApiListArtifactTypesRequest) ([]ArtifactTypeInfo, *_nethttp.Response, error)
/*
* ListConfigProperties List all configuration properties
* Returns a list of all configuration properties that have been set. The list is not paged.
This operation may fail for one of the following reasons:
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiListConfigPropertiesRequest
*/
ListConfigProperties(ctx _context.Context) ApiListConfigPropertiesRequest
/*
* ListConfigPropertiesExecute executes the request
* @return []ConfigurationProperty
*/
ListConfigPropertiesExecute(r ApiListConfigPropertiesRequest) ([]ConfigurationProperty, *_nethttp.Response, error)
/*
* ListGlobalRules List global rules
* Gets a list of all the currently configured global rules (if any).
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiListGlobalRulesRequest
*/
ListGlobalRules(ctx _context.Context) ApiListGlobalRulesRequest
/*
* ListGlobalRulesExecute executes the request
* @return []RuleType
*/
ListGlobalRulesExecute(r ApiListGlobalRulesRequest) ([]RuleType, *_nethttp.Response, error)
/*
* ListLogConfigurations List logging configurations
* List all of the configured logging levels. These override the default
logging configuration.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiListLogConfigurationsRequest
*/
ListLogConfigurations(ctx _context.Context) ApiListLogConfigurationsRequest
/*
* ListLogConfigurationsExecute executes the request
* @return []NamedLogConfiguration
*/
ListLogConfigurationsExecute(r ApiListLogConfigurationsRequest) ([]NamedLogConfiguration, *_nethttp.Response, error)
/*
* ListRoleMappings List all role mappings
* Gets a list of all role mappings configured in the registry (if any).
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiListRoleMappingsRequest
*/
ListRoleMappings(ctx _context.Context) ApiListRoleMappingsRequest
/*
* ListRoleMappingsExecute executes the request
* @return []RoleMapping
*/
ListRoleMappingsExecute(r ApiListRoleMappingsRequest) ([]RoleMapping, *_nethttp.Response, error)
/*
* RemoveLogConfiguration Removes logger configuration
* Removes the configured logger configuration (if any) for the given logger.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param logger The name of a single logger.
* @return ApiRemoveLogConfigurationRequest
*/
RemoveLogConfiguration(ctx _context.Context, logger string) ApiRemoveLogConfigurationRequest
/*
* RemoveLogConfigurationExecute executes the request
* @return NamedLogConfiguration
*/
RemoveLogConfigurationExecute(r ApiRemoveLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)
/*
* ResetConfigProperty Reset a configuration property
* Resets the value of a single configuration property. This will return the property to
its default value (see external documentation for supported properties and their default
values).
This operation may fail for one of the following reasons:
* Property not found or not configured (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param propertyName The name of a configuration property.
* @return ApiResetConfigPropertyRequest
*/
ResetConfigProperty(ctx _context.Context, propertyName string) ApiResetConfigPropertyRequest
/*
* ResetConfigPropertyExecute executes the request
*/
ResetConfigPropertyExecute(r ApiResetConfigPropertyRequest) (*_nethttp.Response, error)
/*
* SetLogConfiguration Set a logger's configuration
* Configures the logger referenced by the provided logger name with the given configuration.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param logger The name of a single logger.
* @return ApiSetLogConfigurationRequest
*/
SetLogConfiguration(ctx _context.Context, logger string) ApiSetLogConfigurationRequest
/*
* SetLogConfigurationExecute executes the request
* @return NamedLogConfiguration
*/
SetLogConfigurationExecute(r ApiSetLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)
/*
* UpdateConfigProperty Update a configuration property
* Updates the value of a single configuration property.
This operation may fail for one of the following reasons:
* Property not found or not configured (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param propertyName The name of a configuration property.
* @return ApiUpdateConfigPropertyRequest
*/
UpdateConfigProperty(ctx _context.Context, propertyName string) ApiUpdateConfigPropertyRequest
/*
* UpdateConfigPropertyExecute executes the request
*/
UpdateConfigPropertyExecute(r ApiUpdateConfigPropertyRequest) (*_nethttp.Response, error)
/*
* UpdateGlobalRuleConfig Update global rule configuration
* Updates the configuration for a globally configured rule.
This operation can fail for the following reasons:
* Invalid rule name/type (HTTP error `400`)
* No rule with name/type `rule` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param rule The unique name/type of a rule.
* @return ApiUpdateGlobalRuleConfigRequest
*/
UpdateGlobalRuleConfig(ctx _context.Context, rule RuleType) ApiUpdateGlobalRuleConfigRequest
/*
* UpdateGlobalRuleConfigExecute executes the request
* @return Rule
*/
UpdateGlobalRuleConfigExecute(r ApiUpdateGlobalRuleConfigRequest) (Rule, *_nethttp.Response, error)
/*
* UpdateRoleMapping Update a role mapping
* Updates a single role mapping for one user/principal.
This operation can fail for the following reasons:
* No role mapping for the principalId exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param principalId Unique id of a principal (typically either a user or service account).
* @return ApiUpdateRoleMappingRequest
*/
UpdateRoleMapping(ctx _context.Context, principalId string) ApiUpdateRoleMappingRequest
/*
* UpdateRoleMappingExecute executes the request
*/
UpdateRoleMappingExecute(r ApiUpdateRoleMappingRequest) (*_nethttp.Response, error)
}
type AdminApiService ¶
type AdminApiService service
AdminApiService AdminApi service
func (*AdminApiService) CreateGlobalRule ¶
func (a *AdminApiService) CreateGlobalRule(ctx _context.Context) ApiCreateGlobalRuleRequest
- CreateGlobalRule Create global rule
- Adds a rule to the list of globally configured rules.
This operation can fail for the following reasons:
* The rule type is unknown (HTTP error `400`) * The rule already exists (HTTP error `409`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCreateGlobalRuleRequest
func (*AdminApiService) CreateGlobalRuleExecute ¶
func (a *AdminApiService) CreateGlobalRuleExecute(r ApiCreateGlobalRuleRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*AdminApiService) CreateRoleMapping ¶
func (a *AdminApiService) CreateRoleMapping(ctx _context.Context) ApiCreateRoleMappingRequest
- CreateRoleMapping Create a new role mapping
- Creates a new mapping between a user/principal and a role.
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCreateRoleMappingRequest
func (*AdminApiService) CreateRoleMappingExecute ¶
func (a *AdminApiService) CreateRoleMappingExecute(r ApiCreateRoleMappingRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*AdminApiService) DeleteAllGlobalRules ¶
func (a *AdminApiService) DeleteAllGlobalRules(ctx _context.Context) ApiDeleteAllGlobalRulesRequest
- DeleteAllGlobalRules Delete all global rules
- Deletes all globally configured rules.
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiDeleteAllGlobalRulesRequest
func (*AdminApiService) DeleteAllGlobalRulesExecute ¶
func (a *AdminApiService) DeleteAllGlobalRulesExecute(r ApiDeleteAllGlobalRulesRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*AdminApiService) DeleteGlobalRule ¶ added in v0.1.1
func (a *AdminApiService) DeleteGlobalRule(ctx _context.Context, rule RuleType) ApiDeleteGlobalRuleRequest
- DeleteGlobalRule Delete global rule
- Deletes a single global rule. If this is the only rule configured, this is the same
as deleting **all** rules.
This operation can fail for the following reasons:
* Invalid rule name/type (HTTP error `400`) * No rule with name/type `rule` exists (HTTP error `404`) * Rule cannot be deleted (HTTP error `409`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param rule The unique name/type of a rule.
- @return ApiDeleteGlobalRuleRequest
func (*AdminApiService) DeleteGlobalRuleExecute ¶ added in v0.1.1
func (a *AdminApiService) DeleteGlobalRuleExecute(r ApiDeleteGlobalRuleRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*AdminApiService) DeleteRoleMapping ¶
func (a *AdminApiService) DeleteRoleMapping(ctx _context.Context, principalId string) ApiDeleteRoleMappingRequest
- DeleteRoleMapping Delete a role mapping
- Deletes a single role mapping, effectively denying access to a user/principal.
This operation can fail for the following reasons:
* No role mapping for the principalId exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param principalId Unique id of a principal (typically either a user or service account).
- @return ApiDeleteRoleMappingRequest
func (*AdminApiService) DeleteRoleMappingExecute ¶
func (a *AdminApiService) DeleteRoleMappingExecute(r ApiDeleteRoleMappingRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*AdminApiService) ExportData ¶
func (a *AdminApiService) ExportData(ctx _context.Context) ApiExportDataRequest
* ExportData Export registry data * Exports registry data as a ZIP archive. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiExportDataRequest
func (*AdminApiService) ExportDataExecute ¶
func (a *AdminApiService) ExportDataExecute(r ApiExportDataRequest) (*os.File, *_nethttp.Response, error)
* Execute executes the request * @return *os.File
func (*AdminApiService) GetConfigProperty ¶ added in v0.4.0
func (a *AdminApiService) GetConfigProperty(ctx _context.Context, propertyName string) ApiGetConfigPropertyRequest
- GetConfigProperty Get configuration property value
- Returns the value of a single configuration property.
This operation may fail for one of the following reasons:
* Property not found or not configured (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param propertyName The name of a configuration property.
- @return ApiGetConfigPropertyRequest
func (*AdminApiService) GetConfigPropertyExecute ¶ added in v0.4.0
func (a *AdminApiService) GetConfigPropertyExecute(r ApiGetConfigPropertyRequest) (ConfigurationProperty, *_nethttp.Response, error)
* Execute executes the request * @return ConfigurationProperty
func (*AdminApiService) GetGlobalRuleConfig ¶
func (a *AdminApiService) GetGlobalRuleConfig(ctx _context.Context, rule RuleType) ApiGetGlobalRuleConfigRequest
- GetGlobalRuleConfig Get global rule configuration
- Returns information about the named globally configured rule.
This operation can fail for the following reasons:
* Invalid rule name/type (HTTP error `400`) * No rule with name/type `rule` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param rule The unique name/type of a rule.
- @return ApiGetGlobalRuleConfigRequest
func (*AdminApiService) GetGlobalRuleConfigExecute ¶
func (a *AdminApiService) GetGlobalRuleConfigExecute(r ApiGetGlobalRuleConfigRequest) (Rule, *_nethttp.Response, error)
* Execute executes the request * @return Rule
func (*AdminApiService) GetLogConfiguration ¶
func (a *AdminApiService) GetLogConfiguration(ctx _context.Context, logger string) ApiGetLogConfigurationRequest
* GetLogConfiguration Get a single logger configuration * Returns the configured logger configuration for the provided logger name, if no logger configuration is persisted it will return the current default log configuration in the system. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param logger The name of a single logger. * @return ApiGetLogConfigurationRequest
func (*AdminApiService) GetLogConfigurationExecute ¶
func (a *AdminApiService) GetLogConfigurationExecute(r ApiGetLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)
* Execute executes the request * @return NamedLogConfiguration
func (*AdminApiService) GetRoleMapping ¶
func (a *AdminApiService) GetRoleMapping(ctx _context.Context, principalId string) ApiGetRoleMappingRequest
- GetRoleMapping Return a single role mapping
- Gets the details of a single role mapping (by `principalId`).
This operation can fail for the following reasons:
* No role mapping for the `principalId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param principalId Unique id of a principal (typically either a user or service account).
- @return ApiGetRoleMappingRequest
func (*AdminApiService) GetRoleMappingExecute ¶
func (a *AdminApiService) GetRoleMappingExecute(r ApiGetRoleMappingRequest) (RoleMapping, *_nethttp.Response, error)
* Execute executes the request * @return RoleMapping
func (*AdminApiService) ImportData ¶
func (a *AdminApiService) ImportData(ctx _context.Context) ApiImportDataRequest
* ImportData Import registry data * Imports registry data that was previously exported using the `/admin/export` operation. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiImportDataRequest
func (*AdminApiService) ImportDataExecute ¶
func (a *AdminApiService) ImportDataExecute(r ApiImportDataRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*AdminApiService) ListArtifactTypes ¶ added in v0.9.0
func (a *AdminApiService) ListArtifactTypes(ctx _context.Context) ApiListArtifactTypesRequest
- ListArtifactTypes List artifact types
- Gets a list of all the configured artifact types.
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiListArtifactTypesRequest
func (*AdminApiService) ListArtifactTypesExecute ¶ added in v0.9.0
func (a *AdminApiService) ListArtifactTypesExecute(r ApiListArtifactTypesRequest) ([]ArtifactTypeInfo, *_nethttp.Response, error)
* Execute executes the request * @return []ArtifactTypeInfo
func (*AdminApiService) ListConfigProperties ¶ added in v0.4.0
func (a *AdminApiService) ListConfigProperties(ctx _context.Context) ApiListConfigPropertiesRequest
- ListConfigProperties List all configuration properties
- Returns a list of all configuration properties that have been set. The list is not paged.
This operation may fail for one of the following reasons:
* A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiListConfigPropertiesRequest
func (*AdminApiService) ListConfigPropertiesExecute ¶ added in v0.4.0
func (a *AdminApiService) ListConfigPropertiesExecute(r ApiListConfigPropertiesRequest) ([]ConfigurationProperty, *_nethttp.Response, error)
* Execute executes the request * @return []ConfigurationProperty
func (*AdminApiService) ListGlobalRules ¶ added in v0.1.1
func (a *AdminApiService) ListGlobalRules(ctx _context.Context) ApiListGlobalRulesRequest
- ListGlobalRules List global rules
- Gets a list of all the currently configured global rules (if any).
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiListGlobalRulesRequest
func (*AdminApiService) ListGlobalRulesExecute ¶ added in v0.1.1
func (a *AdminApiService) ListGlobalRulesExecute(r ApiListGlobalRulesRequest) ([]RuleType, *_nethttp.Response, error)
* Execute executes the request * @return []RuleType
func (*AdminApiService) ListLogConfigurations ¶
func (a *AdminApiService) ListLogConfigurations(ctx _context.Context) ApiListLogConfigurationsRequest
- ListLogConfigurations List logging configurations
- List all of the configured logging levels. These override the default
logging configuration.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiListLogConfigurationsRequest
func (*AdminApiService) ListLogConfigurationsExecute ¶
func (a *AdminApiService) ListLogConfigurationsExecute(r ApiListLogConfigurationsRequest) ([]NamedLogConfiguration, *_nethttp.Response, error)
* Execute executes the request * @return []NamedLogConfiguration
func (*AdminApiService) ListRoleMappings ¶
func (a *AdminApiService) ListRoleMappings(ctx _context.Context) ApiListRoleMappingsRequest
- ListRoleMappings List all role mappings
- Gets a list of all role mappings configured in the registry (if any).
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiListRoleMappingsRequest
func (*AdminApiService) ListRoleMappingsExecute ¶
func (a *AdminApiService) ListRoleMappingsExecute(r ApiListRoleMappingsRequest) ([]RoleMapping, *_nethttp.Response, error)
* Execute executes the request * @return []RoleMapping
func (*AdminApiService) RemoveLogConfiguration ¶
func (a *AdminApiService) RemoveLogConfiguration(ctx _context.Context, logger string) ApiRemoveLogConfigurationRequest
* RemoveLogConfiguration Removes logger configuration * Removes the configured logger configuration (if any) for the given logger. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param logger The name of a single logger. * @return ApiRemoveLogConfigurationRequest
func (*AdminApiService) RemoveLogConfigurationExecute ¶
func (a *AdminApiService) RemoveLogConfigurationExecute(r ApiRemoveLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)
* Execute executes the request * @return NamedLogConfiguration
func (*AdminApiService) ResetConfigProperty ¶ added in v0.4.0
func (a *AdminApiService) ResetConfigProperty(ctx _context.Context, propertyName string) ApiResetConfigPropertyRequest
- ResetConfigProperty Reset a configuration property
- Resets the value of a single configuration property. This will return the property to
its default value (see external documentation for supported properties and their default values).
This operation may fail for one of the following reasons:
* Property not found or not configured (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param propertyName The name of a configuration property.
- @return ApiResetConfigPropertyRequest
func (*AdminApiService) ResetConfigPropertyExecute ¶ added in v0.4.0
func (a *AdminApiService) ResetConfigPropertyExecute(r ApiResetConfigPropertyRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*AdminApiService) SetLogConfiguration ¶
func (a *AdminApiService) SetLogConfiguration(ctx _context.Context, logger string) ApiSetLogConfigurationRequest
* SetLogConfiguration Set a logger's configuration * Configures the logger referenced by the provided logger name with the given configuration. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param logger The name of a single logger. * @return ApiSetLogConfigurationRequest
func (*AdminApiService) SetLogConfigurationExecute ¶
func (a *AdminApiService) SetLogConfigurationExecute(r ApiSetLogConfigurationRequest) (NamedLogConfiguration, *_nethttp.Response, error)
* Execute executes the request * @return NamedLogConfiguration
func (*AdminApiService) UpdateConfigProperty ¶ added in v0.4.0
func (a *AdminApiService) UpdateConfigProperty(ctx _context.Context, propertyName string) ApiUpdateConfigPropertyRequest
- UpdateConfigProperty Update a configuration property
- Updates the value of a single configuration property.
This operation may fail for one of the following reasons:
* Property not found or not configured (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param propertyName The name of a configuration property.
- @return ApiUpdateConfigPropertyRequest
func (*AdminApiService) UpdateConfigPropertyExecute ¶ added in v0.4.0
func (a *AdminApiService) UpdateConfigPropertyExecute(r ApiUpdateConfigPropertyRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*AdminApiService) UpdateGlobalRuleConfig ¶
func (a *AdminApiService) UpdateGlobalRuleConfig(ctx _context.Context, rule RuleType) ApiUpdateGlobalRuleConfigRequest
- UpdateGlobalRuleConfig Update global rule configuration
- Updates the configuration for a globally configured rule.
This operation can fail for the following reasons:
* Invalid rule name/type (HTTP error `400`) * No rule with name/type `rule` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param rule The unique name/type of a rule.
- @return ApiUpdateGlobalRuleConfigRequest
func (*AdminApiService) UpdateGlobalRuleConfigExecute ¶
func (a *AdminApiService) UpdateGlobalRuleConfigExecute(r ApiUpdateGlobalRuleConfigRequest) (Rule, *_nethttp.Response, error)
* Execute executes the request * @return Rule
func (*AdminApiService) UpdateRoleMapping ¶
func (a *AdminApiService) UpdateRoleMapping(ctx _context.Context, principalId string) ApiUpdateRoleMappingRequest
- UpdateRoleMapping Update a role mapping
- Updates a single role mapping for one user/principal.
This operation can fail for the following reasons:
* No role mapping for the principalId exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param principalId Unique id of a principal (typically either a user or service account).
- @return ApiUpdateRoleMappingRequest
func (*AdminApiService) UpdateRoleMappingExecute ¶
func (a *AdminApiService) UpdateRoleMappingExecute(r ApiUpdateRoleMappingRequest) (*_nethttp.Response, error)
* Execute executes the request
type ApiCreateArtifactRequest ¶
type ApiCreateArtifactRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
func (ApiCreateArtifactRequest) Body ¶
func (r ApiCreateArtifactRequest) Body(body *os.File) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) Canonical ¶
func (r ApiCreateArtifactRequest) Canonical(canonical bool) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) ContentType ¶ added in v0.9.0
func (r ApiCreateArtifactRequest) ContentType(contentType string) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) Execute ¶
func (r ApiCreateArtifactRequest) Execute() (ArtifactMetaData, *_nethttp.Response, error)
func (ApiCreateArtifactRequest) IfExists ¶
func (r ApiCreateArtifactRequest) IfExists(ifExists IfExists) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) XRegistryArtifactId ¶
func (r ApiCreateArtifactRequest) XRegistryArtifactId(xRegistryArtifactId string) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) XRegistryArtifactType ¶
func (r ApiCreateArtifactRequest) XRegistryArtifactType(xRegistryArtifactType string) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) XRegistryContentHash ¶ added in v0.8.0
func (r ApiCreateArtifactRequest) XRegistryContentHash(xRegistryContentHash string) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) XRegistryDescription ¶ added in v0.1.1
func (r ApiCreateArtifactRequest) XRegistryDescription(xRegistryDescription string) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) XRegistryDescriptionEncoded ¶ added in v0.1.1
func (r ApiCreateArtifactRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) XRegistryHashAlgorithm ¶ added in v0.8.0
func (r ApiCreateArtifactRequest) XRegistryHashAlgorithm(xRegistryHashAlgorithm string) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) XRegistryName ¶ added in v0.1.1
func (r ApiCreateArtifactRequest) XRegistryName(xRegistryName string) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) XRegistryNameEncoded ¶ added in v0.1.1
func (r ApiCreateArtifactRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiCreateArtifactRequest
func (ApiCreateArtifactRequest) XRegistryVersion ¶
func (r ApiCreateArtifactRequest) XRegistryVersion(xRegistryVersion string) ApiCreateArtifactRequest
type ApiCreateArtifactRuleRequest ¶
type ApiCreateArtifactRuleRequest struct {
ApiService ArtifactRulesApi
// contains filtered or unexported fields
}
func (ApiCreateArtifactRuleRequest) Execute ¶
func (r ApiCreateArtifactRuleRequest) Execute() (*_nethttp.Response, error)
func (ApiCreateArtifactRuleRequest) Rule ¶
func (r ApiCreateArtifactRuleRequest) Rule(rule Rule) ApiCreateArtifactRuleRequest
type ApiCreateArtifactVersionRequest ¶
type ApiCreateArtifactVersionRequest struct {
ApiService VersionsApi
// contains filtered or unexported fields
}
func (ApiCreateArtifactVersionRequest) Body ¶
func (r ApiCreateArtifactVersionRequest) Body(body *os.File) ApiCreateArtifactVersionRequest
func (ApiCreateArtifactVersionRequest) ContentType ¶ added in v0.9.0
func (r ApiCreateArtifactVersionRequest) ContentType(contentType string) ApiCreateArtifactVersionRequest
func (ApiCreateArtifactVersionRequest) Execute ¶
func (r ApiCreateArtifactVersionRequest) Execute() (VersionMetaData, *_nethttp.Response, error)
func (ApiCreateArtifactVersionRequest) XRegistryDescription ¶ added in v0.1.1
func (r ApiCreateArtifactVersionRequest) XRegistryDescription(xRegistryDescription string) ApiCreateArtifactVersionRequest
func (ApiCreateArtifactVersionRequest) XRegistryDescriptionEncoded ¶ added in v0.1.1
func (r ApiCreateArtifactVersionRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiCreateArtifactVersionRequest
func (ApiCreateArtifactVersionRequest) XRegistryName ¶ added in v0.1.1
func (r ApiCreateArtifactVersionRequest) XRegistryName(xRegistryName string) ApiCreateArtifactVersionRequest
func (ApiCreateArtifactVersionRequest) XRegistryNameEncoded ¶ added in v0.1.1
func (r ApiCreateArtifactVersionRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiCreateArtifactVersionRequest
func (ApiCreateArtifactVersionRequest) XRegistryVersion ¶
func (r ApiCreateArtifactVersionRequest) XRegistryVersion(xRegistryVersion string) ApiCreateArtifactVersionRequest
type ApiCreateGlobalRuleRequest ¶
type ApiCreateGlobalRuleRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiCreateGlobalRuleRequest) Execute ¶
func (r ApiCreateGlobalRuleRequest) Execute() (*_nethttp.Response, error)
func (ApiCreateGlobalRuleRequest) Rule ¶
func (r ApiCreateGlobalRuleRequest) Rule(rule Rule) ApiCreateGlobalRuleRequest
type ApiCreateGroupRequest ¶ added in v0.9.0
type ApiCreateGroupRequest struct {
ApiService GroupsApi
// contains filtered or unexported fields
}
func (ApiCreateGroupRequest) CreateGroupMetaData ¶ added in v0.9.0
func (r ApiCreateGroupRequest) CreateGroupMetaData(createGroupMetaData CreateGroupMetaData) ApiCreateGroupRequest
func (ApiCreateGroupRequest) Execute ¶ added in v0.9.0
func (r ApiCreateGroupRequest) Execute() (GroupMetaData, *_nethttp.Response, error)
type ApiCreateRoleMappingRequest ¶
type ApiCreateRoleMappingRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiCreateRoleMappingRequest) Execute ¶
func (r ApiCreateRoleMappingRequest) Execute() (*_nethttp.Response, error)
func (ApiCreateRoleMappingRequest) RoleMapping ¶
func (r ApiCreateRoleMappingRequest) RoleMapping(roleMapping RoleMapping) ApiCreateRoleMappingRequest
type ApiDeleteAllGlobalRulesRequest ¶
type ApiDeleteAllGlobalRulesRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
type ApiDeleteArtifactRequest ¶
type ApiDeleteArtifactRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
type ApiDeleteArtifactRuleRequest ¶
type ApiDeleteArtifactRuleRequest struct {
ApiService ArtifactRulesApi
// contains filtered or unexported fields
}
type ApiDeleteArtifactRulesRequest ¶
type ApiDeleteArtifactRulesRequest struct {
ApiService ArtifactRulesApi
// contains filtered or unexported fields
}
type ApiDeleteArtifactVersionMetaDataRequest ¶
type ApiDeleteArtifactVersionMetaDataRequest struct {
ApiService MetadataApi
// contains filtered or unexported fields
}
type ApiDeleteArtifactsInGroupRequest ¶
type ApiDeleteArtifactsInGroupRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
type ApiDeleteGlobalRuleRequest ¶
type ApiDeleteGlobalRuleRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
type ApiDeleteGroupByIdRequest ¶ added in v0.9.0
type ApiDeleteGroupByIdRequest struct {
ApiService GroupsApi
// contains filtered or unexported fields
}
type ApiDeleteRoleMappingRequest ¶
type ApiDeleteRoleMappingRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
type ApiExportDataRequest ¶
type ApiExportDataRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiExportDataRequest) ForBrowser ¶ added in v0.4.0
func (r ApiExportDataRequest) ForBrowser(forBrowser bool) ApiExportDataRequest
type ApiGetArtifactMetaDataRequest ¶
type ApiGetArtifactMetaDataRequest struct {
ApiService MetadataApi
// contains filtered or unexported fields
}
func (ApiGetArtifactMetaDataRequest) Execute ¶
func (r ApiGetArtifactMetaDataRequest) Execute() (ArtifactMetaData, *_nethttp.Response, error)
type ApiGetArtifactOwnerRequest ¶ added in v0.8.0
type ApiGetArtifactOwnerRequest struct {
ApiService MetadataApi
// contains filtered or unexported fields
}
func (ApiGetArtifactOwnerRequest) Execute ¶ added in v0.8.0
func (r ApiGetArtifactOwnerRequest) Execute() (ArtifactOwner, *_nethttp.Response, error)
type ApiGetArtifactRuleConfigRequest ¶
type ApiGetArtifactRuleConfigRequest struct {
ApiService ArtifactRulesApi
// contains filtered or unexported fields
}
type ApiGetArtifactVersionMetaDataByContentRequest ¶
type ApiGetArtifactVersionMetaDataByContentRequest struct {
ApiService MetadataApi
// contains filtered or unexported fields
}
func (ApiGetArtifactVersionMetaDataByContentRequest) Body ¶
func (r ApiGetArtifactVersionMetaDataByContentRequest) Body(body *os.File) ApiGetArtifactVersionMetaDataByContentRequest
func (ApiGetArtifactVersionMetaDataByContentRequest) Canonical ¶
func (r ApiGetArtifactVersionMetaDataByContentRequest) Canonical(canonical bool) ApiGetArtifactVersionMetaDataByContentRequest
func (ApiGetArtifactVersionMetaDataByContentRequest) Execute ¶
func (r ApiGetArtifactVersionMetaDataByContentRequest) Execute() (VersionMetaData, *_nethttp.Response, error)
type ApiGetArtifactVersionMetaDataRequest ¶
type ApiGetArtifactVersionMetaDataRequest struct {
ApiService MetadataApi
// contains filtered or unexported fields
}
func (ApiGetArtifactVersionMetaDataRequest) Execute ¶
func (r ApiGetArtifactVersionMetaDataRequest) Execute() (VersionMetaData, *_nethttp.Response, error)
type ApiGetArtifactVersionReferencesRequest ¶ added in v0.4.0
type ApiGetArtifactVersionReferencesRequest struct {
ApiService VersionsApi
// contains filtered or unexported fields
}
func (ApiGetArtifactVersionReferencesRequest) Execute ¶ added in v0.4.0
func (r ApiGetArtifactVersionReferencesRequest) Execute() ([]ArtifactReference, *_nethttp.Response, error)
type ApiGetArtifactVersionRequest ¶
type ApiGetArtifactVersionRequest struct {
ApiService VersionsApi
// contains filtered or unexported fields
}
func (ApiGetArtifactVersionRequest) Dereference ¶ added in v0.4.0
func (r ApiGetArtifactVersionRequest) Dereference(dereference bool) ApiGetArtifactVersionRequest
type ApiGetConfigPropertyRequest ¶ added in v0.4.0
type ApiGetConfigPropertyRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiGetConfigPropertyRequest) Execute ¶ added in v0.4.0
func (r ApiGetConfigPropertyRequest) Execute() (ConfigurationProperty, *_nethttp.Response, error)
type ApiGetContentByGlobalIdRequest ¶
type ApiGetContentByGlobalIdRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
func (ApiGetContentByGlobalIdRequest) Dereference ¶ added in v0.4.0
func (r ApiGetContentByGlobalIdRequest) Dereference(dereference bool) ApiGetContentByGlobalIdRequest
type ApiGetContentByHashRequest ¶
type ApiGetContentByHashRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
type ApiGetContentByIdRequest ¶
type ApiGetContentByIdRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
type ApiGetCurrentUserInfoRequest ¶
type ApiGetCurrentUserInfoRequest struct {
ApiService UsersApi
// contains filtered or unexported fields
}
type ApiGetGlobalRuleConfigRequest ¶
type ApiGetGlobalRuleConfigRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
type ApiGetGroupByIdRequest ¶ added in v0.9.0
type ApiGetGroupByIdRequest struct {
ApiService GroupsApi
// contains filtered or unexported fields
}
func (ApiGetGroupByIdRequest) Execute ¶ added in v0.9.0
func (r ApiGetGroupByIdRequest) Execute() (GroupMetaData, *_nethttp.Response, error)
type ApiGetLatestArtifactRequest ¶
type ApiGetLatestArtifactRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
func (ApiGetLatestArtifactRequest) Dereference ¶ added in v0.4.0
func (r ApiGetLatestArtifactRequest) Dereference(dereference bool) ApiGetLatestArtifactRequest
type ApiGetLogConfigurationRequest ¶
type ApiGetLogConfigurationRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiGetLogConfigurationRequest) Execute ¶
func (r ApiGetLogConfigurationRequest) Execute() (NamedLogConfiguration, *_nethttp.Response, error)
type ApiGetResourceLimitsRequest ¶ added in v0.4.0
type ApiGetResourceLimitsRequest struct {
ApiService SystemApi
// contains filtered or unexported fields
}
type ApiGetRoleMappingRequest ¶
type ApiGetRoleMappingRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiGetRoleMappingRequest) Execute ¶
func (r ApiGetRoleMappingRequest) Execute() (RoleMapping, *_nethttp.Response, error)
type ApiGetSystemInfoRequest ¶
type ApiGetSystemInfoRequest struct {
ApiService SystemApi
// contains filtered or unexported fields
}
func (ApiGetSystemInfoRequest) Execute ¶
func (r ApiGetSystemInfoRequest) Execute() (SystemInfo, *_nethttp.Response, error)
type ApiImportDataRequest ¶
type ApiImportDataRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiImportDataRequest) Body ¶
func (r ApiImportDataRequest) Body(body *os.File) ApiImportDataRequest
func (ApiImportDataRequest) Execute ¶
func (r ApiImportDataRequest) Execute() (*_nethttp.Response, error)
func (ApiImportDataRequest) XRegistryPreserveContentId ¶ added in v0.4.0
func (r ApiImportDataRequest) XRegistryPreserveContentId(xRegistryPreserveContentId bool) ApiImportDataRequest
func (ApiImportDataRequest) XRegistryPreserveGlobalId ¶ added in v0.4.0
func (r ApiImportDataRequest) XRegistryPreserveGlobalId(xRegistryPreserveGlobalId bool) ApiImportDataRequest
type ApiListArtifactRulesRequest ¶
type ApiListArtifactRulesRequest struct {
ApiService ArtifactRulesApi
// contains filtered or unexported fields
}
type ApiListArtifactTypesRequest ¶ added in v0.9.0
type ApiListArtifactTypesRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiListArtifactTypesRequest) Execute ¶ added in v0.9.0
func (r ApiListArtifactTypesRequest) Execute() ([]ArtifactTypeInfo, *_nethttp.Response, error)
type ApiListArtifactVersionsRequest ¶
type ApiListArtifactVersionsRequest struct {
ApiService VersionsApi
// contains filtered or unexported fields
}
func (ApiListArtifactVersionsRequest) Execute ¶
func (r ApiListArtifactVersionsRequest) Execute() (VersionSearchResults, *_nethttp.Response, error)
func (ApiListArtifactVersionsRequest) Limit ¶
func (r ApiListArtifactVersionsRequest) Limit(limit int32) ApiListArtifactVersionsRequest
func (ApiListArtifactVersionsRequest) Offset ¶
func (r ApiListArtifactVersionsRequest) Offset(offset int32) ApiListArtifactVersionsRequest
type ApiListArtifactsInGroupRequest ¶
type ApiListArtifactsInGroupRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
func (ApiListArtifactsInGroupRequest) Execute ¶
func (r ApiListArtifactsInGroupRequest) Execute() (ArtifactSearchResults, *_nethttp.Response, error)
func (ApiListArtifactsInGroupRequest) Limit ¶
func (r ApiListArtifactsInGroupRequest) Limit(limit int32) ApiListArtifactsInGroupRequest
func (ApiListArtifactsInGroupRequest) Offset ¶
func (r ApiListArtifactsInGroupRequest) Offset(offset int32) ApiListArtifactsInGroupRequest
func (ApiListArtifactsInGroupRequest) Order ¶
func (r ApiListArtifactsInGroupRequest) Order(order SortOrder) ApiListArtifactsInGroupRequest
func (ApiListArtifactsInGroupRequest) Orderby ¶
func (r ApiListArtifactsInGroupRequest) Orderby(orderby SortBy) ApiListArtifactsInGroupRequest
type ApiListConfigPropertiesRequest ¶ added in v0.4.0
type ApiListConfigPropertiesRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiListConfigPropertiesRequest) Execute ¶ added in v0.4.0
func (r ApiListConfigPropertiesRequest) Execute() ([]ConfigurationProperty, *_nethttp.Response, error)
type ApiListGlobalRulesRequest ¶
type ApiListGlobalRulesRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
type ApiListGroupsRequest ¶ added in v0.9.0
type ApiListGroupsRequest struct {
ApiService GroupsApi
// contains filtered or unexported fields
}
func (ApiListGroupsRequest) Execute ¶ added in v0.9.0
func (r ApiListGroupsRequest) Execute() (GroupSearchResults, *_nethttp.Response, error)
func (ApiListGroupsRequest) Limit ¶ added in v0.9.0
func (r ApiListGroupsRequest) Limit(limit int32) ApiListGroupsRequest
func (ApiListGroupsRequest) Offset ¶ added in v0.9.0
func (r ApiListGroupsRequest) Offset(offset int32) ApiListGroupsRequest
func (ApiListGroupsRequest) Order ¶ added in v0.9.0
func (r ApiListGroupsRequest) Order(order SortOrder) ApiListGroupsRequest
func (ApiListGroupsRequest) Orderby ¶ added in v0.9.0
func (r ApiListGroupsRequest) Orderby(orderby SortBy) ApiListGroupsRequest
type ApiListLogConfigurationsRequest ¶
type ApiListLogConfigurationsRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiListLogConfigurationsRequest) Execute ¶
func (r ApiListLogConfigurationsRequest) Execute() ([]NamedLogConfiguration, *_nethttp.Response, error)
type ApiListRoleMappingsRequest ¶
type ApiListRoleMappingsRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiListRoleMappingsRequest) Execute ¶
func (r ApiListRoleMappingsRequest) Execute() ([]RoleMapping, *_nethttp.Response, error)
type ApiReferencesByContentHashRequest ¶ added in v0.4.0
type ApiReferencesByContentHashRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
func (ApiReferencesByContentHashRequest) Execute ¶ added in v0.4.0
func (r ApiReferencesByContentHashRequest) Execute() ([]ArtifactReference, *_nethttp.Response, error)
type ApiReferencesByContentIdRequest ¶ added in v0.4.0
type ApiReferencesByContentIdRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
func (ApiReferencesByContentIdRequest) Execute ¶ added in v0.4.0
func (r ApiReferencesByContentIdRequest) Execute() ([]ArtifactReference, *_nethttp.Response, error)
type ApiReferencesByGlobalIdRequest ¶ added in v0.4.0
type ApiReferencesByGlobalIdRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
func (ApiReferencesByGlobalIdRequest) Execute ¶ added in v0.4.0
func (r ApiReferencesByGlobalIdRequest) Execute() ([]ArtifactReference, *_nethttp.Response, error)
type ApiRemoveLogConfigurationRequest ¶
type ApiRemoveLogConfigurationRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiRemoveLogConfigurationRequest) Execute ¶
func (r ApiRemoveLogConfigurationRequest) Execute() (NamedLogConfiguration, *_nethttp.Response, error)
type ApiResetConfigPropertyRequest ¶ added in v0.4.0
type ApiResetConfigPropertyRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
type ApiSearchArtifactsByContentRequest ¶
type ApiSearchArtifactsByContentRequest struct {
ApiService SearchApi
// contains filtered or unexported fields
}
func (ApiSearchArtifactsByContentRequest) ArtifactType ¶
func (r ApiSearchArtifactsByContentRequest) ArtifactType(artifactType string) ApiSearchArtifactsByContentRequest
func (ApiSearchArtifactsByContentRequest) Body ¶
func (r ApiSearchArtifactsByContentRequest) Body(body *os.File) ApiSearchArtifactsByContentRequest
func (ApiSearchArtifactsByContentRequest) Canonical ¶
func (r ApiSearchArtifactsByContentRequest) Canonical(canonical bool) ApiSearchArtifactsByContentRequest
func (ApiSearchArtifactsByContentRequest) Execute ¶
func (r ApiSearchArtifactsByContentRequest) Execute() (ArtifactSearchResults, *_nethttp.Response, error)
func (ApiSearchArtifactsByContentRequest) Limit ¶
func (r ApiSearchArtifactsByContentRequest) Limit(limit int32) ApiSearchArtifactsByContentRequest
func (ApiSearchArtifactsByContentRequest) Offset ¶
func (r ApiSearchArtifactsByContentRequest) Offset(offset int32) ApiSearchArtifactsByContentRequest
func (ApiSearchArtifactsByContentRequest) Order ¶
func (r ApiSearchArtifactsByContentRequest) Order(order string) ApiSearchArtifactsByContentRequest
func (ApiSearchArtifactsByContentRequest) Orderby ¶
func (r ApiSearchArtifactsByContentRequest) Orderby(orderby string) ApiSearchArtifactsByContentRequest
type ApiSearchArtifactsRequest ¶
type ApiSearchArtifactsRequest struct {
ApiService SearchApi
// contains filtered or unexported fields
}
func (ApiSearchArtifactsRequest) ContentId ¶ added in v0.4.0
func (r ApiSearchArtifactsRequest) ContentId(contentId int64) ApiSearchArtifactsRequest
func (ApiSearchArtifactsRequest) Description ¶
func (r ApiSearchArtifactsRequest) Description(description string) ApiSearchArtifactsRequest
func (ApiSearchArtifactsRequest) Execute ¶
func (r ApiSearchArtifactsRequest) Execute() (ArtifactSearchResults, *_nethttp.Response, error)
func (ApiSearchArtifactsRequest) GlobalId ¶ added in v0.4.0
func (r ApiSearchArtifactsRequest) GlobalId(globalId int64) ApiSearchArtifactsRequest
func (ApiSearchArtifactsRequest) Group ¶
func (r ApiSearchArtifactsRequest) Group(group string) ApiSearchArtifactsRequest
func (ApiSearchArtifactsRequest) Labels ¶
func (r ApiSearchArtifactsRequest) Labels(labels []string) ApiSearchArtifactsRequest
func (ApiSearchArtifactsRequest) Limit ¶
func (r ApiSearchArtifactsRequest) Limit(limit int32) ApiSearchArtifactsRequest
func (ApiSearchArtifactsRequest) Name ¶
func (r ApiSearchArtifactsRequest) Name(name string) ApiSearchArtifactsRequest
func (ApiSearchArtifactsRequest) Offset ¶
func (r ApiSearchArtifactsRequest) Offset(offset int32) ApiSearchArtifactsRequest
func (ApiSearchArtifactsRequest) Order ¶
func (r ApiSearchArtifactsRequest) Order(order SortOrder) ApiSearchArtifactsRequest
func (ApiSearchArtifactsRequest) Orderby ¶
func (r ApiSearchArtifactsRequest) Orderby(orderby SortBy) ApiSearchArtifactsRequest
func (ApiSearchArtifactsRequest) Properties ¶
func (r ApiSearchArtifactsRequest) Properties(properties []string) ApiSearchArtifactsRequest
type ApiSetLogConfigurationRequest ¶
type ApiSetLogConfigurationRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiSetLogConfigurationRequest) Execute ¶
func (r ApiSetLogConfigurationRequest) Execute() (NamedLogConfiguration, *_nethttp.Response, error)
func (ApiSetLogConfigurationRequest) LogConfiguration ¶
func (r ApiSetLogConfigurationRequest) LogConfiguration(logConfiguration LogConfiguration) ApiSetLogConfigurationRequest
type ApiTestUpdateArtifactRequest ¶
type ApiTestUpdateArtifactRequest struct {
ApiService ArtifactRulesApi
// contains filtered or unexported fields
}
func (ApiTestUpdateArtifactRequest) Body ¶
func (r ApiTestUpdateArtifactRequest) Body(body *os.File) ApiTestUpdateArtifactRequest
type ApiUpdateArtifactMetaDataRequest ¶
type ApiUpdateArtifactMetaDataRequest struct {
ApiService MetadataApi
// contains filtered or unexported fields
}
func (ApiUpdateArtifactMetaDataRequest) EditableMetaData ¶
func (r ApiUpdateArtifactMetaDataRequest) EditableMetaData(editableMetaData EditableMetaData) ApiUpdateArtifactMetaDataRequest
type ApiUpdateArtifactOwnerRequest ¶ added in v0.8.0
type ApiUpdateArtifactOwnerRequest struct {
ApiService MetadataApi
// contains filtered or unexported fields
}
func (ApiUpdateArtifactOwnerRequest) ArtifactOwner ¶ added in v0.8.0
func (r ApiUpdateArtifactOwnerRequest) ArtifactOwner(artifactOwner ArtifactOwner) ApiUpdateArtifactOwnerRequest
type ApiUpdateArtifactRequest ¶
type ApiUpdateArtifactRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
func (ApiUpdateArtifactRequest) Body ¶
func (r ApiUpdateArtifactRequest) Body(body *os.File) ApiUpdateArtifactRequest
func (ApiUpdateArtifactRequest) ContentType ¶ added in v0.9.0
func (r ApiUpdateArtifactRequest) ContentType(contentType string) ApiUpdateArtifactRequest
func (ApiUpdateArtifactRequest) Execute ¶
func (r ApiUpdateArtifactRequest) Execute() (ArtifactMetaData, *_nethttp.Response, error)
func (ApiUpdateArtifactRequest) XRegistryDescription ¶ added in v0.1.1
func (r ApiUpdateArtifactRequest) XRegistryDescription(xRegistryDescription string) ApiUpdateArtifactRequest
func (ApiUpdateArtifactRequest) XRegistryDescriptionEncoded ¶ added in v0.1.1
func (r ApiUpdateArtifactRequest) XRegistryDescriptionEncoded(xRegistryDescriptionEncoded string) ApiUpdateArtifactRequest
func (ApiUpdateArtifactRequest) XRegistryName ¶ added in v0.1.1
func (r ApiUpdateArtifactRequest) XRegistryName(xRegistryName string) ApiUpdateArtifactRequest
func (ApiUpdateArtifactRequest) XRegistryNameEncoded ¶ added in v0.1.1
func (r ApiUpdateArtifactRequest) XRegistryNameEncoded(xRegistryNameEncoded string) ApiUpdateArtifactRequest
func (ApiUpdateArtifactRequest) XRegistryVersion ¶
func (r ApiUpdateArtifactRequest) XRegistryVersion(xRegistryVersion string) ApiUpdateArtifactRequest
type ApiUpdateArtifactRuleConfigRequest ¶
type ApiUpdateArtifactRuleConfigRequest struct {
ApiService ArtifactRulesApi
// contains filtered or unexported fields
}
func (ApiUpdateArtifactRuleConfigRequest) Execute ¶
func (r ApiUpdateArtifactRuleConfigRequest) Execute() (Rule, *_nethttp.Response, error)
func (ApiUpdateArtifactRuleConfigRequest) Rule2 ¶
func (r ApiUpdateArtifactRuleConfigRequest) Rule2(rule2 Rule) ApiUpdateArtifactRuleConfigRequest
type ApiUpdateArtifactStateRequest ¶
type ApiUpdateArtifactStateRequest struct {
ApiService ArtifactsApi
// contains filtered or unexported fields
}
func (ApiUpdateArtifactStateRequest) Execute ¶
func (r ApiUpdateArtifactStateRequest) Execute() (*_nethttp.Response, error)
func (ApiUpdateArtifactStateRequest) UpdateState ¶
func (r ApiUpdateArtifactStateRequest) UpdateState(updateState UpdateState) ApiUpdateArtifactStateRequest
type ApiUpdateArtifactVersionMetaDataRequest ¶
type ApiUpdateArtifactVersionMetaDataRequest struct {
ApiService MetadataApi
// contains filtered or unexported fields
}
func (ApiUpdateArtifactVersionMetaDataRequest) EditableMetaData ¶
func (r ApiUpdateArtifactVersionMetaDataRequest) EditableMetaData(editableMetaData EditableMetaData) ApiUpdateArtifactVersionMetaDataRequest
type ApiUpdateArtifactVersionStateRequest ¶
type ApiUpdateArtifactVersionStateRequest struct {
ApiService VersionsApi
// contains filtered or unexported fields
}
func (ApiUpdateArtifactVersionStateRequest) Execute ¶
func (r ApiUpdateArtifactVersionStateRequest) Execute() (*_nethttp.Response, error)
func (ApiUpdateArtifactVersionStateRequest) UpdateState ¶
func (r ApiUpdateArtifactVersionStateRequest) UpdateState(updateState UpdateState) ApiUpdateArtifactVersionStateRequest
type ApiUpdateConfigPropertyRequest ¶ added in v0.4.0
type ApiUpdateConfigPropertyRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiUpdateConfigPropertyRequest) Execute ¶ added in v0.4.0
func (r ApiUpdateConfigPropertyRequest) Execute() (*_nethttp.Response, error)
func (ApiUpdateConfigPropertyRequest) UpdateConfigurationProperty ¶ added in v0.4.0
func (r ApiUpdateConfigPropertyRequest) UpdateConfigurationProperty(updateConfigurationProperty UpdateConfigurationProperty) ApiUpdateConfigPropertyRequest
type ApiUpdateGlobalRuleConfigRequest ¶
type ApiUpdateGlobalRuleConfigRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiUpdateGlobalRuleConfigRequest) Execute ¶
func (r ApiUpdateGlobalRuleConfigRequest) Execute() (Rule, *_nethttp.Response, error)
func (ApiUpdateGlobalRuleConfigRequest) Rule2 ¶
func (r ApiUpdateGlobalRuleConfigRequest) Rule2(rule2 Rule) ApiUpdateGlobalRuleConfigRequest
type ApiUpdateRoleMappingRequest ¶
type ApiUpdateRoleMappingRequest struct {
ApiService AdminApi
// contains filtered or unexported fields
}
func (ApiUpdateRoleMappingRequest) Execute ¶
func (r ApiUpdateRoleMappingRequest) Execute() (*_nethttp.Response, error)
func (ApiUpdateRoleMappingRequest) UpdateRole ¶
func (r ApiUpdateRoleMappingRequest) UpdateRole(updateRole UpdateRole) ApiUpdateRoleMappingRequest
type ArtifactMetaData ¶
type ArtifactMetaData struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
CreatedBy string `json:"createdBy"`
CreatedOn string `json:"createdOn"`
ModifiedBy string `json:"modifiedBy"`
ModifiedOn string `json:"modifiedOn"`
// The ID of a single artifact.
Id string `json:"id"`
Version string `json:"version"`
Type string `json:"type"`
GlobalId int64 `json:"globalId"`
State ArtifactState `json:"state"`
Labels *[]string `json:"labels,omitempty"`
// User-defined name-value pairs. Name and value must be strings.
Properties *map[string]string `json:"properties,omitempty"`
// An ID of a single artifact group.
GroupId *string `json:"groupId,omitempty"`
ContentId int64 `json:"contentId"`
References *[]ArtifactReference `json:"references,omitempty"`
}
ArtifactMetaData struct for ArtifactMetaData
func NewArtifactMetaData ¶
func NewArtifactMetaData(createdBy string, createdOn string, modifiedBy string, modifiedOn string, id string, version string, type_ string, globalId int64, state ArtifactState, contentId int64) *ArtifactMetaData
NewArtifactMetaData instantiates a new ArtifactMetaData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewArtifactMetaDataWithDefaults ¶
func NewArtifactMetaDataWithDefaults() *ArtifactMetaData
NewArtifactMetaDataWithDefaults instantiates a new ArtifactMetaData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ArtifactMetaData) GetContentId ¶
func (o *ArtifactMetaData) GetContentId() int64
GetContentId returns the ContentId field value
func (*ArtifactMetaData) GetContentIdOk ¶
func (o *ArtifactMetaData) GetContentIdOk() (*int64, bool)
GetContentIdOk returns a tuple with the ContentId field value and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetCreatedBy ¶
func (o *ArtifactMetaData) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*ArtifactMetaData) GetCreatedByOk ¶
func (o *ArtifactMetaData) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetCreatedOn ¶
func (o *ArtifactMetaData) GetCreatedOn() string
GetCreatedOn returns the CreatedOn field value
func (*ArtifactMetaData) GetCreatedOnOk ¶
func (o *ArtifactMetaData) GetCreatedOnOk() (*string, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetDescription ¶
func (o *ArtifactMetaData) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ArtifactMetaData) GetDescriptionOk ¶
func (o *ArtifactMetaData) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetGlobalId ¶
func (o *ArtifactMetaData) GetGlobalId() int64
GetGlobalId returns the GlobalId field value
func (*ArtifactMetaData) GetGlobalIdOk ¶
func (o *ArtifactMetaData) GetGlobalIdOk() (*int64, bool)
GetGlobalIdOk returns a tuple with the GlobalId field value and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetGroupId ¶
func (o *ArtifactMetaData) GetGroupId() string
GetGroupId returns the GroupId field value if set, zero value otherwise.
func (*ArtifactMetaData) GetGroupIdOk ¶
func (o *ArtifactMetaData) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetId ¶
func (o *ArtifactMetaData) GetId() string
GetId returns the Id field value
func (*ArtifactMetaData) GetIdOk ¶
func (o *ArtifactMetaData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetLabels ¶
func (o *ArtifactMetaData) GetLabels() []string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*ArtifactMetaData) GetLabelsOk ¶
func (o *ArtifactMetaData) GetLabelsOk() (*[]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetModifiedBy ¶
func (o *ArtifactMetaData) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field value
func (*ArtifactMetaData) GetModifiedByOk ¶
func (o *ArtifactMetaData) GetModifiedByOk() (*string, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field value and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetModifiedOn ¶
func (o *ArtifactMetaData) GetModifiedOn() string
GetModifiedOn returns the ModifiedOn field value
func (*ArtifactMetaData) GetModifiedOnOk ¶
func (o *ArtifactMetaData) GetModifiedOnOk() (*string, bool)
GetModifiedOnOk returns a tuple with the ModifiedOn field value and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetName ¶
func (o *ArtifactMetaData) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ArtifactMetaData) GetNameOk ¶
func (o *ArtifactMetaData) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetProperties ¶
func (o *ArtifactMetaData) GetProperties() map[string]string
GetProperties returns the Properties field value if set, zero value otherwise.
func (*ArtifactMetaData) GetPropertiesOk ¶
func (o *ArtifactMetaData) GetPropertiesOk() (*map[string]string, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetReferences ¶ added in v0.4.0
func (o *ArtifactMetaData) GetReferences() []ArtifactReference
GetReferences returns the References field value if set, zero value otherwise.
func (*ArtifactMetaData) GetReferencesOk ¶ added in v0.4.0
func (o *ArtifactMetaData) GetReferencesOk() (*[]ArtifactReference, bool)
GetReferencesOk returns a tuple with the References field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetState ¶
func (o *ArtifactMetaData) GetState() ArtifactState
GetState returns the State field value
func (*ArtifactMetaData) GetStateOk ¶
func (o *ArtifactMetaData) GetStateOk() (*ArtifactState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetType ¶
func (o *ArtifactMetaData) GetType() string
GetType returns the Type field value
func (*ArtifactMetaData) GetTypeOk ¶
func (o *ArtifactMetaData) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ArtifactMetaData) GetVersion ¶
func (o *ArtifactMetaData) GetVersion() string
GetVersion returns the Version field value
func (*ArtifactMetaData) GetVersionOk ¶
func (o *ArtifactMetaData) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*ArtifactMetaData) HasDescription ¶
func (o *ArtifactMetaData) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ArtifactMetaData) HasGroupId ¶
func (o *ArtifactMetaData) HasGroupId() bool
HasGroupId returns a boolean if a field has been set.
func (*ArtifactMetaData) HasLabels ¶
func (o *ArtifactMetaData) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*ArtifactMetaData) HasName ¶
func (o *ArtifactMetaData) HasName() bool
HasName returns a boolean if a field has been set.
func (*ArtifactMetaData) HasProperties ¶
func (o *ArtifactMetaData) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*ArtifactMetaData) HasReferences ¶ added in v0.4.0
func (o *ArtifactMetaData) HasReferences() bool
HasReferences returns a boolean if a field has been set.
func (ArtifactMetaData) MarshalJSON ¶
func (o ArtifactMetaData) MarshalJSON() ([]byte, error)
func (*ArtifactMetaData) SetContentId ¶
func (o *ArtifactMetaData) SetContentId(v int64)
SetContentId sets field value
func (*ArtifactMetaData) SetCreatedBy ¶
func (o *ArtifactMetaData) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*ArtifactMetaData) SetCreatedOn ¶
func (o *ArtifactMetaData) SetCreatedOn(v string)
SetCreatedOn sets field value
func (*ArtifactMetaData) SetDescription ¶
func (o *ArtifactMetaData) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ArtifactMetaData) SetGlobalId ¶
func (o *ArtifactMetaData) SetGlobalId(v int64)
SetGlobalId sets field value
func (*ArtifactMetaData) SetGroupId ¶
func (o *ArtifactMetaData) SetGroupId(v string)
SetGroupId gets a reference to the given string and assigns it to the GroupId field.
func (*ArtifactMetaData) SetLabels ¶
func (o *ArtifactMetaData) SetLabels(v []string)
SetLabels gets a reference to the given []string and assigns it to the Labels field.
func (*ArtifactMetaData) SetModifiedBy ¶
func (o *ArtifactMetaData) SetModifiedBy(v string)
SetModifiedBy sets field value
func (*ArtifactMetaData) SetModifiedOn ¶
func (o *ArtifactMetaData) SetModifiedOn(v string)
SetModifiedOn sets field value
func (*ArtifactMetaData) SetName ¶
func (o *ArtifactMetaData) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ArtifactMetaData) SetProperties ¶
func (o *ArtifactMetaData) SetProperties(v map[string]string)
SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.
func (*ArtifactMetaData) SetReferences ¶ added in v0.4.0
func (o *ArtifactMetaData) SetReferences(v []ArtifactReference)
SetReferences gets a reference to the given []ArtifactReference and assigns it to the References field.
func (*ArtifactMetaData) SetState ¶
func (o *ArtifactMetaData) SetState(v ArtifactState)
SetState sets field value
func (*ArtifactMetaData) SetType ¶
func (o *ArtifactMetaData) SetType(v string)
SetType sets field value
func (*ArtifactMetaData) SetVersion ¶
func (o *ArtifactMetaData) SetVersion(v string)
SetVersion sets field value
type ArtifactOwner ¶ added in v0.8.0
type ArtifactOwner struct {
Owner *string `json:"owner,omitempty"`
}
ArtifactOwner Describes the ownership of an artifact.
func NewArtifactOwner ¶ added in v0.8.0
func NewArtifactOwner() *ArtifactOwner
NewArtifactOwner instantiates a new ArtifactOwner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewArtifactOwnerWithDefaults ¶ added in v0.8.0
func NewArtifactOwnerWithDefaults() *ArtifactOwner
NewArtifactOwnerWithDefaults instantiates a new ArtifactOwner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ArtifactOwner) GetOwner ¶ added in v0.8.0
func (o *ArtifactOwner) GetOwner() string
GetOwner returns the Owner field value if set, zero value otherwise.
func (*ArtifactOwner) GetOwnerOk ¶ added in v0.8.0
func (o *ArtifactOwner) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactOwner) HasOwner ¶ added in v0.8.0
func (o *ArtifactOwner) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (ArtifactOwner) MarshalJSON ¶ added in v0.8.0
func (o ArtifactOwner) MarshalJSON() ([]byte, error)
func (*ArtifactOwner) SetOwner ¶ added in v0.8.0
func (o *ArtifactOwner) SetOwner(v string)
SetOwner gets a reference to the given string and assigns it to the Owner field.
type ArtifactReference ¶ added in v0.4.0
type ArtifactReference struct {
GroupId string `json:"groupId"`
ArtifactId string `json:"artifactId"`
Version *string `json:"version,omitempty"`
Name string `json:"name"`
}
ArtifactReference A reference to a different artifact. Typically used with artifact types that can have dependencies like Protobuf.
func NewArtifactReference ¶ added in v0.4.0
func NewArtifactReference(groupId string, artifactId string, name string) *ArtifactReference
NewArtifactReference instantiates a new ArtifactReference object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewArtifactReferenceWithDefaults ¶ added in v0.4.0
func NewArtifactReferenceWithDefaults() *ArtifactReference
NewArtifactReferenceWithDefaults instantiates a new ArtifactReference object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ArtifactReference) GetArtifactId ¶ added in v0.4.0
func (o *ArtifactReference) GetArtifactId() string
GetArtifactId returns the ArtifactId field value
func (*ArtifactReference) GetArtifactIdOk ¶ added in v0.4.0
func (o *ArtifactReference) GetArtifactIdOk() (*string, bool)
GetArtifactIdOk returns a tuple with the ArtifactId field value and a boolean to check if the value has been set.
func (*ArtifactReference) GetGroupId ¶ added in v0.4.0
func (o *ArtifactReference) GetGroupId() string
GetGroupId returns the GroupId field value
func (*ArtifactReference) GetGroupIdOk ¶ added in v0.4.0
func (o *ArtifactReference) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value and a boolean to check if the value has been set.
func (*ArtifactReference) GetName ¶ added in v0.4.0
func (o *ArtifactReference) GetName() string
GetName returns the Name field value
func (*ArtifactReference) GetNameOk ¶ added in v0.4.0
func (o *ArtifactReference) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ArtifactReference) GetVersion ¶ added in v0.4.0
func (o *ArtifactReference) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*ArtifactReference) GetVersionOk ¶ added in v0.4.0
func (o *ArtifactReference) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactReference) HasVersion ¶ added in v0.4.0
func (o *ArtifactReference) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ArtifactReference) MarshalJSON ¶ added in v0.4.0
func (o ArtifactReference) MarshalJSON() ([]byte, error)
func (*ArtifactReference) SetArtifactId ¶ added in v0.4.0
func (o *ArtifactReference) SetArtifactId(v string)
SetArtifactId sets field value
func (*ArtifactReference) SetGroupId ¶ added in v0.4.0
func (o *ArtifactReference) SetGroupId(v string)
SetGroupId sets field value
func (*ArtifactReference) SetName ¶ added in v0.4.0
func (o *ArtifactReference) SetName(v string)
SetName sets field value
func (*ArtifactReference) SetVersion ¶ added in v0.4.0
func (o *ArtifactReference) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
type ArtifactRulesApi ¶
type ArtifactRulesApi interface {
/*
* CreateArtifactRule Create artifact rule
* Adds a rule to the list of rules that get applied to the artifact when adding new
versions. All configured rules must pass to successfully add a new artifact version.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* Rule (named in the request body) is unknown (HTTP error `400`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiCreateArtifactRuleRequest
*/
CreateArtifactRule(ctx _context.Context, groupId string, artifactId string) ApiCreateArtifactRuleRequest
/*
* CreateArtifactRuleExecute executes the request
*/
CreateArtifactRuleExecute(r ApiCreateArtifactRuleRequest) (*_nethttp.Response, error)
/*
* DeleteArtifactRule Delete artifact rule
* Deletes a rule from the artifact. This results in the rule no longer applying for
this artifact. If this is the only rule configured for the artifact, this is the
same as deleting **all** rules, and the globally configured rules now apply to
this artifact.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* No rule with this name/type is configured for this artifact (HTTP error `404`)
* Invalid rule type (HTTP error `400`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @param rule The unique name/type of a rule.
* @return ApiDeleteArtifactRuleRequest
*/
DeleteArtifactRule(ctx _context.Context, groupId string, artifactId string, rule string) ApiDeleteArtifactRuleRequest
/*
* DeleteArtifactRuleExecute executes the request
*/
DeleteArtifactRuleExecute(r ApiDeleteArtifactRuleRequest) (*_nethttp.Response, error)
/*
* DeleteArtifactRules Delete artifact rules
* Deletes all of the rules configured for the artifact. After this is done, the global
rules apply to the artifact again.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiDeleteArtifactRulesRequest
*/
DeleteArtifactRules(ctx _context.Context, groupId string, artifactId string) ApiDeleteArtifactRulesRequest
/*
* DeleteArtifactRulesExecute executes the request
*/
DeleteArtifactRulesExecute(r ApiDeleteArtifactRulesRequest) (*_nethttp.Response, error)
/*
* GetArtifactRuleConfig Get artifact rule configuration
* Returns information about a single rule configured for an artifact. This is useful
when you want to know what the current configuration settings are for a specific rule.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* No rule with this name/type is configured for this artifact (HTTP error `404`)
* Invalid rule type (HTTP error `400`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @param rule The unique name/type of a rule.
* @return ApiGetArtifactRuleConfigRequest
*/
GetArtifactRuleConfig(ctx _context.Context, groupId string, artifactId string, rule string) ApiGetArtifactRuleConfigRequest
/*
* GetArtifactRuleConfigExecute executes the request
* @return Rule
*/
GetArtifactRuleConfigExecute(r ApiGetArtifactRuleConfigRequest) (Rule, *_nethttp.Response, error)
/*
* ListArtifactRules List artifact rules
* Returns a list of all rules configured for the artifact. The set of rules determines
how the content of an artifact can evolve over time. If no rules are configured for
an artifact, the set of globally configured rules are used. If no global rules
are defined, there are no restrictions on content evolution.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiListArtifactRulesRequest
*/
ListArtifactRules(ctx _context.Context, groupId string, artifactId string) ApiListArtifactRulesRequest
/*
* ListArtifactRulesExecute executes the request
* @return []RuleType
*/
ListArtifactRulesExecute(r ApiListArtifactRulesRequest) ([]RuleType, *_nethttp.Response, error)
/*
* TestUpdateArtifact Test update artifact
* Tests whether an update to the artifact's content *would* succeed for the provided content.
Ultimately, this applies any rules configured for the artifact against the given content
to determine whether the rules would pass or fail, but without actually updating the artifact
content.
The body of the request should be the raw content of the artifact. This is typically in
JSON format for *most* of the supported types, but may be in another format for a few
(for example, `PROTOBUF`).
The update could fail for a number of reasons including:
* Provided content (request body) was empty (HTTP error `400`)
* No artifact with the `artifactId` exists (HTTP error `404`)
* The new content violates one of the rules configured for the artifact (HTTP error `409`)
* The provided artifact type is not recognized (HTTP error `404`)
* A server error occurred (HTTP error `500`)
When successful, this operation simply returns a *No Content* response. This response
indicates that the content is valid against the configured content rules for the
artifact (or the global rules if no artifact rules are enabled).
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiTestUpdateArtifactRequest
*/
TestUpdateArtifact(ctx _context.Context, groupId string, artifactId string) ApiTestUpdateArtifactRequest
/*
* TestUpdateArtifactExecute executes the request
*/
TestUpdateArtifactExecute(r ApiTestUpdateArtifactRequest) (*_nethttp.Response, error)
/*
* UpdateArtifactRuleConfig Update artifact rule configuration
* Updates the configuration of a single rule for the artifact. The configuration data
is specific to each rule type, so the configuration of the `COMPATIBILITY` rule
is in a different format from the configuration of the `VALIDITY` rule.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* No rule with this name/type is configured for this artifact (HTTP error `404`)
* Invalid rule type (HTTP error `400`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @param rule The unique name/type of a rule.
* @return ApiUpdateArtifactRuleConfigRequest
*/
UpdateArtifactRuleConfig(ctx _context.Context, groupId string, artifactId string, rule string) ApiUpdateArtifactRuleConfigRequest
/*
* UpdateArtifactRuleConfigExecute executes the request
* @return Rule
*/
UpdateArtifactRuleConfigExecute(r ApiUpdateArtifactRuleConfigRequest) (Rule, *_nethttp.Response, error)
}
type ArtifactRulesApiService ¶
type ArtifactRulesApiService service
ArtifactRulesApiService ArtifactRulesApi service
func (*ArtifactRulesApiService) CreateArtifactRule ¶
func (a *ArtifactRulesApiService) CreateArtifactRule(ctx _context.Context, groupId string, artifactId string) ApiCreateArtifactRuleRequest
- CreateArtifactRule Create artifact rule
- Adds a rule to the list of rules that get applied to the artifact when adding new
versions. All configured rules must pass to successfully add a new artifact version.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * Rule (named in the request body) is unknown (HTTP error `400`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiCreateArtifactRuleRequest
func (*ArtifactRulesApiService) CreateArtifactRuleExecute ¶
func (a *ArtifactRulesApiService) CreateArtifactRuleExecute(r ApiCreateArtifactRuleRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*ArtifactRulesApiService) DeleteArtifactRule ¶
func (a *ArtifactRulesApiService) DeleteArtifactRule(ctx _context.Context, groupId string, artifactId string, rule string) ApiDeleteArtifactRuleRequest
- DeleteArtifactRule Delete artifact rule
- Deletes a rule from the artifact. This results in the rule no longer applying for
this artifact. If this is the only rule configured for the artifact, this is the same as deleting **all** rules, and the globally configured rules now apply to this artifact.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * No rule with this name/type is configured for this artifact (HTTP error `404`) * Invalid rule type (HTTP error `400`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @param rule The unique name/type of a rule.
- @return ApiDeleteArtifactRuleRequest
func (*ArtifactRulesApiService) DeleteArtifactRuleExecute ¶
func (a *ArtifactRulesApiService) DeleteArtifactRuleExecute(r ApiDeleteArtifactRuleRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*ArtifactRulesApiService) DeleteArtifactRules ¶
func (a *ArtifactRulesApiService) DeleteArtifactRules(ctx _context.Context, groupId string, artifactId string) ApiDeleteArtifactRulesRequest
- DeleteArtifactRules Delete artifact rules
- Deletes all of the rules configured for the artifact. After this is done, the global
rules apply to the artifact again.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiDeleteArtifactRulesRequest
func (*ArtifactRulesApiService) DeleteArtifactRulesExecute ¶
func (a *ArtifactRulesApiService) DeleteArtifactRulesExecute(r ApiDeleteArtifactRulesRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*ArtifactRulesApiService) GetArtifactRuleConfig ¶
func (a *ArtifactRulesApiService) GetArtifactRuleConfig(ctx _context.Context, groupId string, artifactId string, rule string) ApiGetArtifactRuleConfigRequest
- GetArtifactRuleConfig Get artifact rule configuration
- Returns information about a single rule configured for an artifact. This is useful
when you want to know what the current configuration settings are for a specific rule.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * No rule with this name/type is configured for this artifact (HTTP error `404`) * Invalid rule type (HTTP error `400`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @param rule The unique name/type of a rule.
- @return ApiGetArtifactRuleConfigRequest
func (*ArtifactRulesApiService) GetArtifactRuleConfigExecute ¶
func (a *ArtifactRulesApiService) GetArtifactRuleConfigExecute(r ApiGetArtifactRuleConfigRequest) (Rule, *_nethttp.Response, error)
* Execute executes the request * @return Rule
func (*ArtifactRulesApiService) ListArtifactRules ¶
func (a *ArtifactRulesApiService) ListArtifactRules(ctx _context.Context, groupId string, artifactId string) ApiListArtifactRulesRequest
- ListArtifactRules List artifact rules
- Returns a list of all rules configured for the artifact. The set of rules determines
how the content of an artifact can evolve over time. If no rules are configured for an artifact, the set of globally configured rules are used. If no global rules are defined, there are no restrictions on content evolution.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiListArtifactRulesRequest
func (*ArtifactRulesApiService) ListArtifactRulesExecute ¶
func (a *ArtifactRulesApiService) ListArtifactRulesExecute(r ApiListArtifactRulesRequest) ([]RuleType, *_nethttp.Response, error)
* Execute executes the request * @return []RuleType
func (*ArtifactRulesApiService) TestUpdateArtifact ¶
func (a *ArtifactRulesApiService) TestUpdateArtifact(ctx _context.Context, groupId string, artifactId string) ApiTestUpdateArtifactRequest
- TestUpdateArtifact Test update artifact
- Tests whether an update to the artifact's content *would* succeed for the provided content.
Ultimately, this applies any rules configured for the artifact against the given content to determine whether the rules would pass or fail, but without actually updating the artifact content.
The body of the request should be the raw content of the artifact. This is typically in JSON format for *most* of the supported types, but may be in another format for a few (for example, `PROTOBUF`).
The update could fail for a number of reasons including:
* Provided content (request body) was empty (HTTP error `400`) * No artifact with the `artifactId` exists (HTTP error `404`) * The new content violates one of the rules configured for the artifact (HTTP error `409`) * The provided artifact type is not recognized (HTTP error `404`) * A server error occurred (HTTP error `500`)
When successful, this operation simply returns a *No Content* response. This response indicates that the content is valid against the configured content rules for the artifact (or the global rules if no artifact rules are enabled).
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiTestUpdateArtifactRequest
func (*ArtifactRulesApiService) TestUpdateArtifactExecute ¶
func (a *ArtifactRulesApiService) TestUpdateArtifactExecute(r ApiTestUpdateArtifactRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*ArtifactRulesApiService) UpdateArtifactRuleConfig ¶
func (a *ArtifactRulesApiService) UpdateArtifactRuleConfig(ctx _context.Context, groupId string, artifactId string, rule string) ApiUpdateArtifactRuleConfigRequest
- UpdateArtifactRuleConfig Update artifact rule configuration
- Updates the configuration of a single rule for the artifact. The configuration data
is specific to each rule type, so the configuration of the `COMPATIBILITY` rule is in a different format from the configuration of the `VALIDITY` rule.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * No rule with this name/type is configured for this artifact (HTTP error `404`) * Invalid rule type (HTTP error `400`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @param rule The unique name/type of a rule.
- @return ApiUpdateArtifactRuleConfigRequest
func (*ArtifactRulesApiService) UpdateArtifactRuleConfigExecute ¶
func (a *ArtifactRulesApiService) UpdateArtifactRuleConfigExecute(r ApiUpdateArtifactRuleConfigRequest) (Rule, *_nethttp.Response, error)
* Execute executes the request * @return Rule
type ArtifactSearchResults ¶
type ArtifactSearchResults struct {
// The artifacts returned in the result set.
Artifacts []SearchedArtifact `json:"artifacts"`
// The total number of artifacts that matched the query that produced the result set (may be more than the number of artifacts in the result set).
Count int32 `json:"count"`
}
ArtifactSearchResults Describes the response received when searching for artifacts.
func NewArtifactSearchResults ¶
func NewArtifactSearchResults(artifacts []SearchedArtifact, count int32) *ArtifactSearchResults
NewArtifactSearchResults instantiates a new ArtifactSearchResults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewArtifactSearchResultsWithDefaults ¶
func NewArtifactSearchResultsWithDefaults() *ArtifactSearchResults
NewArtifactSearchResultsWithDefaults instantiates a new ArtifactSearchResults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ArtifactSearchResults) GetArtifacts ¶
func (o *ArtifactSearchResults) GetArtifacts() []SearchedArtifact
GetArtifacts returns the Artifacts field value
func (*ArtifactSearchResults) GetArtifactsOk ¶
func (o *ArtifactSearchResults) GetArtifactsOk() (*[]SearchedArtifact, bool)
GetArtifactsOk returns a tuple with the Artifacts field value and a boolean to check if the value has been set.
func (*ArtifactSearchResults) GetCount ¶
func (o *ArtifactSearchResults) GetCount() int32
GetCount returns the Count field value
func (*ArtifactSearchResults) GetCountOk ¶
func (o *ArtifactSearchResults) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.
func (ArtifactSearchResults) MarshalJSON ¶
func (o ArtifactSearchResults) MarshalJSON() ([]byte, error)
func (*ArtifactSearchResults) SetArtifacts ¶
func (o *ArtifactSearchResults) SetArtifacts(v []SearchedArtifact)
SetArtifacts sets field value
func (*ArtifactSearchResults) SetCount ¶
func (o *ArtifactSearchResults) SetCount(v int32)
SetCount sets field value
type ArtifactState ¶
type ArtifactState string
ArtifactState Describes the state of an artifact or artifact version. The following states are possible: * ENABLED * DISABLED * DEPRECATED
const ( ARTIFACTSTATE_ENABLED ArtifactState = "ENABLED" ARTIFACTSTATE_DISABLED ArtifactState = "DISABLED" ARTIFACTSTATE_DEPRECATED ArtifactState = "DEPRECATED" )
List of ArtifactState
func NewArtifactStateFromValue ¶
func NewArtifactStateFromValue(v string) (*ArtifactState, error)
NewArtifactStateFromValue returns a pointer to a valid ArtifactState for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ArtifactState) IsValid ¶
func (v ArtifactState) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ArtifactState) Ptr ¶
func (v ArtifactState) Ptr() *ArtifactState
Ptr returns reference to ArtifactState value
func (*ArtifactState) UnmarshalJSON ¶
func (v *ArtifactState) UnmarshalJSON(src []byte) error
type ArtifactTypeInfo ¶ added in v0.9.0
type ArtifactTypeInfo struct {
Name *string `json:"name,omitempty"`
}
ArtifactTypeInfo struct for ArtifactTypeInfo
func NewArtifactTypeInfo ¶ added in v0.9.0
func NewArtifactTypeInfo() *ArtifactTypeInfo
NewArtifactTypeInfo instantiates a new ArtifactTypeInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewArtifactTypeInfoWithDefaults ¶ added in v0.9.0
func NewArtifactTypeInfoWithDefaults() *ArtifactTypeInfo
NewArtifactTypeInfoWithDefaults instantiates a new ArtifactTypeInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ArtifactTypeInfo) GetName ¶ added in v0.9.0
func (o *ArtifactTypeInfo) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ArtifactTypeInfo) GetNameOk ¶ added in v0.9.0
func (o *ArtifactTypeInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArtifactTypeInfo) HasName ¶ added in v0.9.0
func (o *ArtifactTypeInfo) HasName() bool
HasName returns a boolean if a field has been set.
func (ArtifactTypeInfo) MarshalJSON ¶ added in v0.9.0
func (o ArtifactTypeInfo) MarshalJSON() ([]byte, error)
func (*ArtifactTypeInfo) SetName ¶ added in v0.9.0
func (o *ArtifactTypeInfo) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type ArtifactsApi ¶
type ArtifactsApi interface {
/*
* CreateArtifact Create artifact
* Creates a new artifact by posting the artifact content. The body of the request should
be the raw content of the artifact. This is typically in JSON format for *most* of the
supported types, but may be in another format for a few (for example, `PROTOBUF`).
The registry attempts to figure out what kind of artifact is being added from the
following supported list:
* Avro (`AVRO`)
* Protobuf (`PROTOBUF`)
* JSON Schema (`JSON`)
* Kafka Connect (`KCONNECT`)
* OpenAPI (`OPENAPI`)
* AsyncAPI (`ASYNCAPI`)
* GraphQL (`GRAPHQL`)
* Web Services Description Language (`WSDL`)
* XML Schema (`XSD`)
Alternatively, you can specify the artifact type using the `X-Registry-ArtifactType`
HTTP request header, or include a hint in the request's `Content-Type`. For example:
“`
Content-Type: application/json; artifactType=AVRO
“`
An artifact is created using the content provided in the body of the request. This
content is created under a unique artifact ID that can be provided in the request
using the `X-Registry-ArtifactId` request header. If not provided in the request,
the server generates a unique ID for the artifact. It is typically recommended
that callers provide the ID, because this is typically a meaningful identifier,
and for most use cases should be supplied by the caller.
If an artifact with the provided artifact ID already exists, the default behavior
is for the server to reject the content with a 409 error. However, the caller can
supply the `ifExists` query parameter to alter this default behavior. The `ifExists`
query parameter can have one of the following values:
* `FAIL` (*default*) - server rejects the content with a 409 error
* `UPDATE` - server updates the existing artifact and returns the new metadata
* `RETURN` - server does not create or add content to the server, but instead
returns the metadata for the existing artifact
* `RETURN_OR_UPDATE` - server returns an existing **version** that matches the
provided content if such a version exists, otherwise a new version is created
This operation may fail for one of the following reasons:
* An invalid `ArtifactType` was indicated (HTTP error `400`)
* No `ArtifactType` was indicated and the server could not determine one from the content (HTTP error `400`)
* Provided content (request body) was empty (HTTP error `400`)
* An artifact with the provided ID already exists (HTTP error `409`)
* The content violates one of the configured global rules (HTTP error `409`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @return ApiCreateArtifactRequest
*/
CreateArtifact(ctx _context.Context, groupId string) ApiCreateArtifactRequest
/*
* CreateArtifactExecute executes the request
* @return ArtifactMetaData
*/
CreateArtifactExecute(r ApiCreateArtifactRequest) (ArtifactMetaData, *_nethttp.Response, error)
/*
* DeleteArtifact Delete artifact
* Deletes an artifact completely, resulting in all versions of the artifact also being
deleted. This may fail for one of the following reasons:
* No artifact with the `artifactId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiDeleteArtifactRequest
*/
DeleteArtifact(ctx _context.Context, groupId string, artifactId string) ApiDeleteArtifactRequest
/*
* DeleteArtifactExecute executes the request
*/
DeleteArtifactExecute(r ApiDeleteArtifactRequest) (*_nethttp.Response, error)
/*
* DeleteArtifactsInGroup Delete artifacts in group
* Deletes all of the artifacts that exist in a given group.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @return ApiDeleteArtifactsInGroupRequest
*/
DeleteArtifactsInGroup(ctx _context.Context, groupId string) ApiDeleteArtifactsInGroupRequest
/*
* DeleteArtifactsInGroupExecute executes the request
*/
DeleteArtifactsInGroupExecute(r ApiDeleteArtifactsInGroupRequest) (*_nethttp.Response, error)
/*
* GetContentByGlobalId Get artifact by global ID
* Gets the content for an artifact version in the registry using its globally unique
identifier.
This operation may fail for one of the following reasons:
* No artifact version with this `globalId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param globalId Global identifier for an artifact version.
* @return ApiGetContentByGlobalIdRequest
*/
GetContentByGlobalId(ctx _context.Context, globalId int64) ApiGetContentByGlobalIdRequest
/*
* GetContentByGlobalIdExecute executes the request
* @return *os.File
*/
GetContentByGlobalIdExecute(r ApiGetContentByGlobalIdRequest) (*os.File, *_nethttp.Response, error)
/*
* GetContentByHash Get artifact content by SHA-256 hash
* Gets the content for an artifact version in the registry using the
SHA-256 hash of the content. This content hash may be shared by multiple artifact
versions in the case where the artifact versions have identical content.
This operation may fail for one of the following reasons:
* No content with this `contentHash` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param contentHash SHA-256 content hash for a single artifact content.
* @return ApiGetContentByHashRequest
*/
GetContentByHash(ctx _context.Context, contentHash string) ApiGetContentByHashRequest
/*
* GetContentByHashExecute executes the request
* @return *os.File
*/
GetContentByHashExecute(r ApiGetContentByHashRequest) (*os.File, *_nethttp.Response, error)
/*
* GetContentById Get artifact content by ID
* Gets the content for an artifact version in the registry using the unique content
identifier for that content. This content ID may be shared by multiple artifact
versions in the case where the artifact versions are identical.
This operation may fail for one of the following reasons:
* No content with this `contentId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param contentId Global identifier for a single artifact content.
* @return ApiGetContentByIdRequest
*/
GetContentById(ctx _context.Context, contentId int64) ApiGetContentByIdRequest
/*
* GetContentByIdExecute executes the request
* @return *os.File
*/
GetContentByIdExecute(r ApiGetContentByIdRequest) (*os.File, *_nethttp.Response, error)
/*
* GetLatestArtifact Get latest artifact
* Returns the latest version of the artifact in its raw form. The `Content-Type` of the
response depends on the artifact type. In most cases, this is `application/json`, but
for some types it may be different (for example, `PROTOBUF`).
This operation may fail for one of the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiGetLatestArtifactRequest
*/
GetLatestArtifact(ctx _context.Context, groupId string, artifactId string) ApiGetLatestArtifactRequest
/*
* GetLatestArtifactExecute executes the request
* @return *os.File
*/
GetLatestArtifactExecute(r ApiGetLatestArtifactRequest) (*os.File, *_nethttp.Response, error)
/*
* ListArtifactsInGroup List artifacts in group
* Returns a list of all artifacts in the group. This list is paged.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @return ApiListArtifactsInGroupRequest
*/
ListArtifactsInGroup(ctx _context.Context, groupId string) ApiListArtifactsInGroupRequest
/*
* ListArtifactsInGroupExecute executes the request
* @return ArtifactSearchResults
*/
ListArtifactsInGroupExecute(r ApiListArtifactsInGroupRequest) (ArtifactSearchResults, *_nethttp.Response, error)
/*
* ReferencesByContentHash List artifact references by hash
* Returns a list containing all the artifact references using the artifact content hash.
This operation may fail for one of the following reasons:
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param contentHash SHA-256 content hash for a single artifact content.
* @return ApiReferencesByContentHashRequest
*/
ReferencesByContentHash(ctx _context.Context, contentHash string) ApiReferencesByContentHashRequest
/*
* ReferencesByContentHashExecute executes the request
* @return []ArtifactReference
*/
ReferencesByContentHashExecute(r ApiReferencesByContentHashRequest) ([]ArtifactReference, *_nethttp.Response, error)
/*
* ReferencesByContentId List artifact references by content ID
* Returns a list containing all the artifact references using the artifact content ID.
This operation may fail for one of the following reasons:
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param contentId Global identifier for a single artifact content.
* @return ApiReferencesByContentIdRequest
*/
ReferencesByContentId(ctx _context.Context, contentId int64) ApiReferencesByContentIdRequest
/*
* ReferencesByContentIdExecute executes the request
* @return []ArtifactReference
*/
ReferencesByContentIdExecute(r ApiReferencesByContentIdRequest) ([]ArtifactReference, *_nethttp.Response, error)
/*
* ReferencesByGlobalId List artifact references by global ID
* Returns a list containing all the artifact references using the artifact global ID.
This operation may fail for one of the following reasons:
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param globalId Global identifier for an artifact version.
* @return ApiReferencesByGlobalIdRequest
*/
ReferencesByGlobalId(ctx _context.Context, globalId int64) ApiReferencesByGlobalIdRequest
/*
* ReferencesByGlobalIdExecute executes the request
* @return []ArtifactReference
*/
ReferencesByGlobalIdExecute(r ApiReferencesByGlobalIdRequest) ([]ArtifactReference, *_nethttp.Response, error)
/*
* UpdateArtifact Update artifact
* Updates an artifact by uploading new content. The body of the request can
be the raw content of the artifact or a JSON object containing both the raw content and
a set of references to other artifacts.. This is typically in JSON format for *most*
of the supported types, but may be in another format for a few (for example, `PROTOBUF`).
The type of the content should be compatible with the artifact's type (it would be
an error to update an `AVRO` artifact with new `OPENAPI` content, for example).
The update could fail for a number of reasons including:
* Provided content (request body) was empty (HTTP error `400`)
* No artifact with the `artifactId` exists (HTTP error `404`)
* The new content violates one of the rules configured for the artifact (HTTP error `409`)
* A server error occurred (HTTP error `500`)
When successful, this creates a new version of the artifact, making it the most recent
(and therefore official) version of the artifact.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiUpdateArtifactRequest
*/
UpdateArtifact(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactRequest
/*
* UpdateArtifactExecute executes the request
* @return ArtifactMetaData
*/
UpdateArtifactExecute(r ApiUpdateArtifactRequest) (ArtifactMetaData, *_nethttp.Response, error)
/*
* UpdateArtifactState Update artifact state
* Updates the state of the artifact. For example, you can use this to mark the latest
version of an artifact as `DEPRECATED`. The operation changes the state of the latest
version of the artifact. If multiple versions exist, only the most recent is changed.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiUpdateArtifactStateRequest
*/
UpdateArtifactState(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactStateRequest
/*
* UpdateArtifactStateExecute executes the request
*/
UpdateArtifactStateExecute(r ApiUpdateArtifactStateRequest) (*_nethttp.Response, error)
}
type ArtifactsApiService ¶
type ArtifactsApiService service
ArtifactsApiService ArtifactsApi service
func (*ArtifactsApiService) CreateArtifact ¶
func (a *ArtifactsApiService) CreateArtifact(ctx _context.Context, groupId string) ApiCreateArtifactRequest
- CreateArtifact Create artifact
- Creates a new artifact by posting the artifact content. The body of the request should
be the raw content of the artifact. This is typically in JSON format for *most* of the supported types, but may be in another format for a few (for example, `PROTOBUF`).
The registry attempts to figure out what kind of artifact is being added from the following supported list:
* Avro (`AVRO`) * Protobuf (`PROTOBUF`) * JSON Schema (`JSON`) * Kafka Connect (`KCONNECT`) * OpenAPI (`OPENAPI`) * AsyncAPI (`ASYNCAPI`) * GraphQL (`GRAPHQL`) * Web Services Description Language (`WSDL`) * XML Schema (`XSD`)
Alternatively, you can specify the artifact type using the `X-Registry-ArtifactType` HTTP request header, or include a hint in the request's `Content-Type`. For example:
``` Content-Type: application/json; artifactType=AVRO ```
An artifact is created using the content provided in the body of the request. This content is created under a unique artifact ID that can be provided in the request using the `X-Registry-ArtifactId` request header. If not provided in the request, the server generates a unique ID for the artifact. It is typically recommended that callers provide the ID, because this is typically a meaningful identifier, and for most use cases should be supplied by the caller.
If an artifact with the provided artifact ID already exists, the default behavior is for the server to reject the content with a 409 error. However, the caller can supply the `ifExists` query parameter to alter this default behavior. The `ifExists` query parameter can have one of the following values:
* `FAIL` (*default*) - server rejects the content with a 409 error * `UPDATE` - server updates the existing artifact and returns the new metadata * `RETURN` - server does not create or add content to the server, but instead returns the metadata for the existing artifact * `RETURN_OR_UPDATE` - server returns an existing **version** that matches the provided content if such a version exists, otherwise a new version is created
This operation may fail for one of the following reasons:
* An invalid `ArtifactType` was indicated (HTTP error `400`) * No `ArtifactType` was indicated and the server could not determine one from the content (HTTP error `400`) * Provided content (request body) was empty (HTTP error `400`) * An artifact with the provided ID already exists (HTTP error `409`) * The content violates one of the configured global rules (HTTP error `409`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @return ApiCreateArtifactRequest
func (*ArtifactsApiService) CreateArtifactExecute ¶
func (a *ArtifactsApiService) CreateArtifactExecute(r ApiCreateArtifactRequest) (ArtifactMetaData, *_nethttp.Response, error)
* Execute executes the request * @return ArtifactMetaData
func (*ArtifactsApiService) DeleteArtifact ¶
func (a *ArtifactsApiService) DeleteArtifact(ctx _context.Context, groupId string, artifactId string) ApiDeleteArtifactRequest
- DeleteArtifact Delete artifact
- Deletes an artifact completely, resulting in all versions of the artifact also being
deleted. This may fail for one of the following reasons:
* No artifact with the `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiDeleteArtifactRequest
func (*ArtifactsApiService) DeleteArtifactExecute ¶
func (a *ArtifactsApiService) DeleteArtifactExecute(r ApiDeleteArtifactRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*ArtifactsApiService) DeleteArtifactsInGroup ¶
func (a *ArtifactsApiService) DeleteArtifactsInGroup(ctx _context.Context, groupId string) ApiDeleteArtifactsInGroupRequest
* DeleteArtifactsInGroup Delete artifacts in group * Deletes all of the artifacts that exist in a given group. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts. * @return ApiDeleteArtifactsInGroupRequest
func (*ArtifactsApiService) DeleteArtifactsInGroupExecute ¶
func (a *ArtifactsApiService) DeleteArtifactsInGroupExecute(r ApiDeleteArtifactsInGroupRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*ArtifactsApiService) GetContentByGlobalId ¶
func (a *ArtifactsApiService) GetContentByGlobalId(ctx _context.Context, globalId int64) ApiGetContentByGlobalIdRequest
- GetContentByGlobalId Get artifact by global ID
- Gets the content for an artifact version in the registry using its globally unique
identifier.
This operation may fail for one of the following reasons:
* No artifact version with this `globalId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param globalId Global identifier for an artifact version.
- @return ApiGetContentByGlobalIdRequest
func (*ArtifactsApiService) GetContentByGlobalIdExecute ¶
func (a *ArtifactsApiService) GetContentByGlobalIdExecute(r ApiGetContentByGlobalIdRequest) (*os.File, *_nethttp.Response, error)
* Execute executes the request * @return *os.File
func (*ArtifactsApiService) GetContentByHash ¶
func (a *ArtifactsApiService) GetContentByHash(ctx _context.Context, contentHash string) ApiGetContentByHashRequest
- GetContentByHash Get artifact content by SHA-256 hash
- Gets the content for an artifact version in the registry using the
SHA-256 hash of the content. This content hash may be shared by multiple artifact versions in the case where the artifact versions have identical content.
This operation may fail for one of the following reasons:
* No content with this `contentHash` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param contentHash SHA-256 content hash for a single artifact content.
- @return ApiGetContentByHashRequest
func (*ArtifactsApiService) GetContentByHashExecute ¶
func (a *ArtifactsApiService) GetContentByHashExecute(r ApiGetContentByHashRequest) (*os.File, *_nethttp.Response, error)
* Execute executes the request * @return *os.File
func (*ArtifactsApiService) GetContentById ¶
func (a *ArtifactsApiService) GetContentById(ctx _context.Context, contentId int64) ApiGetContentByIdRequest
- GetContentById Get artifact content by ID
- Gets the content for an artifact version in the registry using the unique content
identifier for that content. This content ID may be shared by multiple artifact versions in the case where the artifact versions are identical.
This operation may fail for one of the following reasons:
* No content with this `contentId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param contentId Global identifier for a single artifact content.
- @return ApiGetContentByIdRequest
func (*ArtifactsApiService) GetContentByIdExecute ¶
func (a *ArtifactsApiService) GetContentByIdExecute(r ApiGetContentByIdRequest) (*os.File, *_nethttp.Response, error)
* Execute executes the request * @return *os.File
func (*ArtifactsApiService) GetLatestArtifact ¶
func (a *ArtifactsApiService) GetLatestArtifact(ctx _context.Context, groupId string, artifactId string) ApiGetLatestArtifactRequest
- GetLatestArtifact Get latest artifact
- Returns the latest version of the artifact in its raw form. The `Content-Type` of the
response depends on the artifact type. In most cases, this is `application/json`, but for some types it may be different (for example, `PROTOBUF`).
This operation may fail for one of the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiGetLatestArtifactRequest
func (*ArtifactsApiService) GetLatestArtifactExecute ¶
func (a *ArtifactsApiService) GetLatestArtifactExecute(r ApiGetLatestArtifactRequest) (*os.File, *_nethttp.Response, error)
* Execute executes the request * @return *os.File
func (*ArtifactsApiService) ListArtifactsInGroup ¶
func (a *ArtifactsApiService) ListArtifactsInGroup(ctx _context.Context, groupId string) ApiListArtifactsInGroupRequest
* ListArtifactsInGroup List artifacts in group * Returns a list of all artifacts in the group. This list is paged. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts. * @return ApiListArtifactsInGroupRequest
func (*ArtifactsApiService) ListArtifactsInGroupExecute ¶
func (a *ArtifactsApiService) ListArtifactsInGroupExecute(r ApiListArtifactsInGroupRequest) (ArtifactSearchResults, *_nethttp.Response, error)
* Execute executes the request * @return ArtifactSearchResults
func (*ArtifactsApiService) ReferencesByContentHash ¶ added in v0.4.0
func (a *ArtifactsApiService) ReferencesByContentHash(ctx _context.Context, contentHash string) ApiReferencesByContentHashRequest
- ReferencesByContentHash List artifact references by hash
- Returns a list containing all the artifact references using the artifact content hash.
This operation may fail for one of the following reasons:
* A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param contentHash SHA-256 content hash for a single artifact content.
- @return ApiReferencesByContentHashRequest
func (*ArtifactsApiService) ReferencesByContentHashExecute ¶ added in v0.4.0
func (a *ArtifactsApiService) ReferencesByContentHashExecute(r ApiReferencesByContentHashRequest) ([]ArtifactReference, *_nethttp.Response, error)
* Execute executes the request * @return []ArtifactReference
func (*ArtifactsApiService) ReferencesByContentId ¶ added in v0.4.0
func (a *ArtifactsApiService) ReferencesByContentId(ctx _context.Context, contentId int64) ApiReferencesByContentIdRequest
- ReferencesByContentId List artifact references by content ID
- Returns a list containing all the artifact references using the artifact content ID.
This operation may fail for one of the following reasons:
* A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param contentId Global identifier for a single artifact content.
- @return ApiReferencesByContentIdRequest
func (*ArtifactsApiService) ReferencesByContentIdExecute ¶ added in v0.4.0
func (a *ArtifactsApiService) ReferencesByContentIdExecute(r ApiReferencesByContentIdRequest) ([]ArtifactReference, *_nethttp.Response, error)
* Execute executes the request * @return []ArtifactReference
func (*ArtifactsApiService) ReferencesByGlobalId ¶ added in v0.4.0
func (a *ArtifactsApiService) ReferencesByGlobalId(ctx _context.Context, globalId int64) ApiReferencesByGlobalIdRequest
- ReferencesByGlobalId List artifact references by global ID
- Returns a list containing all the artifact references using the artifact global ID.
This operation may fail for one of the following reasons:
* A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param globalId Global identifier for an artifact version.
- @return ApiReferencesByGlobalIdRequest
func (*ArtifactsApiService) ReferencesByGlobalIdExecute ¶ added in v0.4.0
func (a *ArtifactsApiService) ReferencesByGlobalIdExecute(r ApiReferencesByGlobalIdRequest) ([]ArtifactReference, *_nethttp.Response, error)
* Execute executes the request * @return []ArtifactReference
func (*ArtifactsApiService) UpdateArtifact ¶
func (a *ArtifactsApiService) UpdateArtifact(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactRequest
- UpdateArtifact Update artifact
- Updates an artifact by uploading new content. The body of the request can
be the raw content of the artifact or a JSON object containing both the raw content and a set of references to other artifacts.. This is typically in JSON format for *most* of the supported types, but may be in another format for a few (for example, `PROTOBUF`). The type of the content should be compatible with the artifact's type (it would be an error to update an `AVRO` artifact with new `OPENAPI` content, for example).
The update could fail for a number of reasons including:
* Provided content (request body) was empty (HTTP error `400`) * No artifact with the `artifactId` exists (HTTP error `404`) * The new content violates one of the rules configured for the artifact (HTTP error `409`) * A server error occurred (HTTP error `500`)
When successful, this creates a new version of the artifact, making it the most recent (and therefore official) version of the artifact.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiUpdateArtifactRequest
func (*ArtifactsApiService) UpdateArtifactExecute ¶
func (a *ArtifactsApiService) UpdateArtifactExecute(r ApiUpdateArtifactRequest) (ArtifactMetaData, *_nethttp.Response, error)
* Execute executes the request * @return ArtifactMetaData
func (*ArtifactsApiService) UpdateArtifactState ¶
func (a *ArtifactsApiService) UpdateArtifactState(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactStateRequest
- UpdateArtifactState Update artifact state
- Updates the state of the artifact. For example, you can use this to mark the latest
version of an artifact as `DEPRECATED`. The operation changes the state of the latest version of the artifact. If multiple versions exist, only the most recent is changed.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiUpdateArtifactStateRequest
func (*ArtifactsApiService) UpdateArtifactStateExecute ¶
func (a *ArtifactsApiService) UpdateArtifactStateExecute(r ApiUpdateArtifactStateRequest) (*_nethttp.Response, error)
* Execute executes the request
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct {
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
Debug bool `json:"debug,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
}
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConfigurationProperty ¶ added in v0.4.0
type ConfigurationProperty struct {
Name string `json:"name"`
Value string `json:"value"`
Type string `json:"type"`
Label string `json:"label"`
Description string `json:"description"`
}
ConfigurationProperty struct for ConfigurationProperty
func NewConfigurationProperty ¶ added in v0.4.0
func NewConfigurationProperty(name string, value string, type_ string, label string, description string) *ConfigurationProperty
NewConfigurationProperty instantiates a new ConfigurationProperty object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConfigurationPropertyWithDefaults ¶ added in v0.4.0
func NewConfigurationPropertyWithDefaults() *ConfigurationProperty
NewConfigurationPropertyWithDefaults instantiates a new ConfigurationProperty object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConfigurationProperty) GetDescription ¶ added in v0.4.0
func (o *ConfigurationProperty) GetDescription() string
GetDescription returns the Description field value
func (*ConfigurationProperty) GetDescriptionOk ¶ added in v0.4.0
func (o *ConfigurationProperty) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*ConfigurationProperty) GetLabel ¶ added in v0.4.0
func (o *ConfigurationProperty) GetLabel() string
GetLabel returns the Label field value
func (*ConfigurationProperty) GetLabelOk ¶ added in v0.4.0
func (o *ConfigurationProperty) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.
func (*ConfigurationProperty) GetName ¶ added in v0.4.0
func (o *ConfigurationProperty) GetName() string
GetName returns the Name field value
func (*ConfigurationProperty) GetNameOk ¶ added in v0.4.0
func (o *ConfigurationProperty) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ConfigurationProperty) GetType ¶ added in v0.4.0
func (o *ConfigurationProperty) GetType() string
GetType returns the Type field value
func (*ConfigurationProperty) GetTypeOk ¶ added in v0.4.0
func (o *ConfigurationProperty) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*ConfigurationProperty) GetValue ¶ added in v0.4.0
func (o *ConfigurationProperty) GetValue() string
GetValue returns the Value field value
func (*ConfigurationProperty) GetValueOk ¶ added in v0.4.0
func (o *ConfigurationProperty) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (ConfigurationProperty) MarshalJSON ¶ added in v0.4.0
func (o ConfigurationProperty) MarshalJSON() ([]byte, error)
func (*ConfigurationProperty) SetDescription ¶ added in v0.4.0
func (o *ConfigurationProperty) SetDescription(v string)
SetDescription sets field value
func (*ConfigurationProperty) SetLabel ¶ added in v0.4.0
func (o *ConfigurationProperty) SetLabel(v string)
SetLabel sets field value
func (*ConfigurationProperty) SetName ¶ added in v0.4.0
func (o *ConfigurationProperty) SetName(v string)
SetName sets field value
func (*ConfigurationProperty) SetType ¶ added in v0.4.0
func (o *ConfigurationProperty) SetType(v string)
SetType sets field value
func (*ConfigurationProperty) SetValue ¶ added in v0.4.0
func (o *ConfigurationProperty) SetValue(v string)
SetValue sets field value
type ContentCreateRequest ¶ added in v0.4.0
type ContentCreateRequest struct {
// Raw content of the artifact or a valid (and accessible) URL where the content can be found.
Content string `json:"content"`
// Collection of references to other artifacts.
References []ArtifactReference `json:"references"`
}
ContentCreateRequest struct for ContentCreateRequest
func NewContentCreateRequest ¶ added in v0.4.0
func NewContentCreateRequest(content string, references []ArtifactReference) *ContentCreateRequest
NewContentCreateRequest instantiates a new ContentCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewContentCreateRequestWithDefaults ¶ added in v0.4.0
func NewContentCreateRequestWithDefaults() *ContentCreateRequest
NewContentCreateRequestWithDefaults instantiates a new ContentCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ContentCreateRequest) GetContent ¶ added in v0.4.0
func (o *ContentCreateRequest) GetContent() string
GetContent returns the Content field value
func (*ContentCreateRequest) GetContentOk ¶ added in v0.4.0
func (o *ContentCreateRequest) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*ContentCreateRequest) GetReferences ¶ added in v0.4.0
func (o *ContentCreateRequest) GetReferences() []ArtifactReference
GetReferences returns the References field value
func (*ContentCreateRequest) GetReferencesOk ¶ added in v0.4.0
func (o *ContentCreateRequest) GetReferencesOk() (*[]ArtifactReference, bool)
GetReferencesOk returns a tuple with the References field value and a boolean to check if the value has been set.
func (ContentCreateRequest) MarshalJSON ¶ added in v0.4.0
func (o ContentCreateRequest) MarshalJSON() ([]byte, error)
func (*ContentCreateRequest) SetContent ¶ added in v0.4.0
func (o *ContentCreateRequest) SetContent(v string)
SetContent sets field value
func (*ContentCreateRequest) SetReferences ¶ added in v0.4.0
func (o *ContentCreateRequest) SetReferences(v []ArtifactReference)
SetReferences sets field value
type CreateGroupMetaData ¶ added in v0.9.0
type CreateGroupMetaData struct {
Description *string `json:"description,omitempty"`
// User-defined name-value pairs. Name and value must be strings.
Properties *map[string]string `json:"properties,omitempty"`
Id string `json:"id"`
}
CreateGroupMetaData struct for CreateGroupMetaData
func NewCreateGroupMetaData ¶ added in v0.9.0
func NewCreateGroupMetaData(id string) *CreateGroupMetaData
NewCreateGroupMetaData instantiates a new CreateGroupMetaData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateGroupMetaDataWithDefaults ¶ added in v0.9.0
func NewCreateGroupMetaDataWithDefaults() *CreateGroupMetaData
NewCreateGroupMetaDataWithDefaults instantiates a new CreateGroupMetaData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CreateGroupMetaData) GetDescription ¶ added in v0.9.0
func (o *CreateGroupMetaData) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateGroupMetaData) GetDescriptionOk ¶ added in v0.9.0
func (o *CreateGroupMetaData) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroupMetaData) GetId ¶ added in v0.9.0
func (o *CreateGroupMetaData) GetId() string
GetId returns the Id field value
func (*CreateGroupMetaData) GetIdOk ¶ added in v0.9.0
func (o *CreateGroupMetaData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CreateGroupMetaData) GetProperties ¶ added in v0.9.0
func (o *CreateGroupMetaData) GetProperties() map[string]string
GetProperties returns the Properties field value if set, zero value otherwise.
func (*CreateGroupMetaData) GetPropertiesOk ¶ added in v0.9.0
func (o *CreateGroupMetaData) GetPropertiesOk() (*map[string]string, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroupMetaData) HasDescription ¶ added in v0.9.0
func (o *CreateGroupMetaData) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateGroupMetaData) HasProperties ¶ added in v0.9.0
func (o *CreateGroupMetaData) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (CreateGroupMetaData) MarshalJSON ¶ added in v0.9.0
func (o CreateGroupMetaData) MarshalJSON() ([]byte, error)
func (*CreateGroupMetaData) SetDescription ¶ added in v0.9.0
func (o *CreateGroupMetaData) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateGroupMetaData) SetId ¶ added in v0.9.0
func (o *CreateGroupMetaData) SetId(v string)
SetId sets field value
func (*CreateGroupMetaData) SetProperties ¶ added in v0.9.0
func (o *CreateGroupMetaData) SetProperties(v map[string]string)
SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.
type DownloadRef ¶ added in v0.4.0
type DownloadRef struct {
DownloadId string `json:"downloadId"`
Href *string `json:"href,omitempty"`
}
DownloadRef Models a download \"link\". Useful for browser use-cases.
func NewDownloadRef ¶ added in v0.4.0
func NewDownloadRef(downloadId string) *DownloadRef
NewDownloadRef instantiates a new DownloadRef object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDownloadRefWithDefaults ¶ added in v0.4.0
func NewDownloadRefWithDefaults() *DownloadRef
NewDownloadRefWithDefaults instantiates a new DownloadRef object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DownloadRef) GetDownloadId ¶ added in v0.4.0
func (o *DownloadRef) GetDownloadId() string
GetDownloadId returns the DownloadId field value
func (*DownloadRef) GetDownloadIdOk ¶ added in v0.4.0
func (o *DownloadRef) GetDownloadIdOk() (*string, bool)
GetDownloadIdOk returns a tuple with the DownloadId field value and a boolean to check if the value has been set.
func (*DownloadRef) GetHref ¶ added in v0.4.0
func (o *DownloadRef) GetHref() string
GetHref returns the Href field value if set, zero value otherwise.
func (*DownloadRef) GetHrefOk ¶ added in v0.4.0
func (o *DownloadRef) GetHrefOk() (*string, bool)
GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DownloadRef) HasHref ¶ added in v0.4.0
func (o *DownloadRef) HasHref() bool
HasHref returns a boolean if a field has been set.
func (DownloadRef) MarshalJSON ¶ added in v0.4.0
func (o DownloadRef) MarshalJSON() ([]byte, error)
func (*DownloadRef) SetDownloadId ¶ added in v0.4.0
func (o *DownloadRef) SetDownloadId(v string)
SetDownloadId sets field value
func (*DownloadRef) SetHref ¶ added in v0.4.0
func (o *DownloadRef) SetHref(v string)
SetHref gets a reference to the given string and assigns it to the Href field.
type EditableMetaData ¶
type EditableMetaData struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Labels *[]string `json:"labels,omitempty"`
// User-defined name-value pairs. Name and value must be strings.
Properties *map[string]string `json:"properties,omitempty"`
}
EditableMetaData struct for EditableMetaData
func NewEditableMetaData ¶
func NewEditableMetaData() *EditableMetaData
NewEditableMetaData instantiates a new EditableMetaData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEditableMetaDataWithDefaults ¶
func NewEditableMetaDataWithDefaults() *EditableMetaData
NewEditableMetaDataWithDefaults instantiates a new EditableMetaData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EditableMetaData) GetDescription ¶
func (o *EditableMetaData) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*EditableMetaData) GetDescriptionOk ¶
func (o *EditableMetaData) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EditableMetaData) GetLabels ¶
func (o *EditableMetaData) GetLabels() []string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*EditableMetaData) GetLabelsOk ¶
func (o *EditableMetaData) GetLabelsOk() (*[]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EditableMetaData) GetName ¶
func (o *EditableMetaData) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*EditableMetaData) GetNameOk ¶
func (o *EditableMetaData) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EditableMetaData) GetProperties ¶
func (o *EditableMetaData) GetProperties() map[string]string
GetProperties returns the Properties field value if set, zero value otherwise.
func (*EditableMetaData) GetPropertiesOk ¶
func (o *EditableMetaData) GetPropertiesOk() (*map[string]string, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EditableMetaData) HasDescription ¶
func (o *EditableMetaData) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*EditableMetaData) HasLabels ¶
func (o *EditableMetaData) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*EditableMetaData) HasName ¶
func (o *EditableMetaData) HasName() bool
HasName returns a boolean if a field has been set.
func (*EditableMetaData) HasProperties ¶
func (o *EditableMetaData) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (EditableMetaData) MarshalJSON ¶
func (o EditableMetaData) MarshalJSON() ([]byte, error)
func (*EditableMetaData) SetDescription ¶
func (o *EditableMetaData) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*EditableMetaData) SetLabels ¶
func (o *EditableMetaData) SetLabels(v []string)
SetLabels gets a reference to the given []string and assigns it to the Labels field.
func (*EditableMetaData) SetName ¶
func (o *EditableMetaData) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*EditableMetaData) SetProperties ¶
func (o *EditableMetaData) SetProperties(v map[string]string)
SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.
type Error ¶
type Error struct {
// The short error message.
Message *string `json:"message,omitempty"`
// The server-side error code.
ErrorCode *int32 `json:"error_code,omitempty"`
// Full details about the error. This might contain a server stack trace, for example.
Detail *string `json:"detail,omitempty"`
// The error name - typically the classname of the exception thrown by the server.
Name *string `json:"name,omitempty"`
}
Error All error responses, whether `4xx` or `5xx` will include one of these as the response body.
func NewError ¶
func NewError() *Error
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetDetailOk ¶
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetErrorCode ¶
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*Error) GetErrorCodeOk ¶
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasErrorCode ¶
HasErrorCode returns a boolean if a field has been set.
func (*Error) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetDetail ¶
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*Error) SetErrorCode ¶
SetErrorCode gets a reference to the given int32 and assigns it to the ErrorCode field.
func (*Error) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GroupMetaData ¶ added in v0.9.0
type GroupMetaData struct {
// An ID of a single artifact group.
Id string `json:"id"`
Description string `json:"description"`
CreatedBy string `json:"createdBy"`
CreatedOn string `json:"createdOn"`
ModifiedBy string `json:"modifiedBy"`
ModifiedOn string `json:"modifiedOn"`
// User-defined name-value pairs. Name and value must be strings.
Properties map[string]string `json:"properties"`
}
GroupMetaData struct for GroupMetaData
func NewGroupMetaData ¶ added in v0.9.0
func NewGroupMetaData(id string, description string, createdBy string, createdOn string, modifiedBy string, modifiedOn string, properties map[string]string) *GroupMetaData
NewGroupMetaData instantiates a new GroupMetaData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGroupMetaDataWithDefaults ¶ added in v0.9.0
func NewGroupMetaDataWithDefaults() *GroupMetaData
NewGroupMetaDataWithDefaults instantiates a new GroupMetaData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GroupMetaData) GetCreatedBy ¶ added in v0.9.0
func (o *GroupMetaData) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*GroupMetaData) GetCreatedByOk ¶ added in v0.9.0
func (o *GroupMetaData) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*GroupMetaData) GetCreatedOn ¶ added in v0.9.0
func (o *GroupMetaData) GetCreatedOn() string
GetCreatedOn returns the CreatedOn field value
func (*GroupMetaData) GetCreatedOnOk ¶ added in v0.9.0
func (o *GroupMetaData) GetCreatedOnOk() (*string, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.
func (*GroupMetaData) GetDescription ¶ added in v0.9.0
func (o *GroupMetaData) GetDescription() string
GetDescription returns the Description field value
func (*GroupMetaData) GetDescriptionOk ¶ added in v0.9.0
func (o *GroupMetaData) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*GroupMetaData) GetId ¶ added in v0.9.0
func (o *GroupMetaData) GetId() string
GetId returns the Id field value
func (*GroupMetaData) GetIdOk ¶ added in v0.9.0
func (o *GroupMetaData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*GroupMetaData) GetModifiedBy ¶ added in v0.9.0
func (o *GroupMetaData) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field value
func (*GroupMetaData) GetModifiedByOk ¶ added in v0.9.0
func (o *GroupMetaData) GetModifiedByOk() (*string, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field value and a boolean to check if the value has been set.
func (*GroupMetaData) GetModifiedOn ¶ added in v0.9.0
func (o *GroupMetaData) GetModifiedOn() string
GetModifiedOn returns the ModifiedOn field value
func (*GroupMetaData) GetModifiedOnOk ¶ added in v0.9.0
func (o *GroupMetaData) GetModifiedOnOk() (*string, bool)
GetModifiedOnOk returns a tuple with the ModifiedOn field value and a boolean to check if the value has been set.
func (*GroupMetaData) GetProperties ¶ added in v0.9.0
func (o *GroupMetaData) GetProperties() map[string]string
GetProperties returns the Properties field value
func (*GroupMetaData) GetPropertiesOk ¶ added in v0.9.0
func (o *GroupMetaData) GetPropertiesOk() (*map[string]string, bool)
GetPropertiesOk returns a tuple with the Properties field value and a boolean to check if the value has been set.
func (GroupMetaData) MarshalJSON ¶ added in v0.9.0
func (o GroupMetaData) MarshalJSON() ([]byte, error)
func (*GroupMetaData) SetCreatedBy ¶ added in v0.9.0
func (o *GroupMetaData) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*GroupMetaData) SetCreatedOn ¶ added in v0.9.0
func (o *GroupMetaData) SetCreatedOn(v string)
SetCreatedOn sets field value
func (*GroupMetaData) SetDescription ¶ added in v0.9.0
func (o *GroupMetaData) SetDescription(v string)
SetDescription sets field value
func (*GroupMetaData) SetId ¶ added in v0.9.0
func (o *GroupMetaData) SetId(v string)
SetId sets field value
func (*GroupMetaData) SetModifiedBy ¶ added in v0.9.0
func (o *GroupMetaData) SetModifiedBy(v string)
SetModifiedBy sets field value
func (*GroupMetaData) SetModifiedOn ¶ added in v0.9.0
func (o *GroupMetaData) SetModifiedOn(v string)
SetModifiedOn sets field value
func (*GroupMetaData) SetProperties ¶ added in v0.9.0
func (o *GroupMetaData) SetProperties(v map[string]string)
SetProperties sets field value
type GroupSearchResults ¶ added in v0.9.0
type GroupSearchResults struct {
// The groups returned in the result set.
Groups []SearchedGroup `json:"groups"`
// The total number of groups that matched the query that produced the result set (may be more than the number of groups in the result set).
Count int32 `json:"count"`
}
GroupSearchResults Describes the response received when searching for groups.
func NewGroupSearchResults ¶ added in v0.9.0
func NewGroupSearchResults(groups []SearchedGroup, count int32) *GroupSearchResults
NewGroupSearchResults instantiates a new GroupSearchResults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGroupSearchResultsWithDefaults ¶ added in v0.9.0
func NewGroupSearchResultsWithDefaults() *GroupSearchResults
NewGroupSearchResultsWithDefaults instantiates a new GroupSearchResults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*GroupSearchResults) GetCount ¶ added in v0.9.0
func (o *GroupSearchResults) GetCount() int32
GetCount returns the Count field value
func (*GroupSearchResults) GetCountOk ¶ added in v0.9.0
func (o *GroupSearchResults) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.
func (*GroupSearchResults) GetGroups ¶ added in v0.9.0
func (o *GroupSearchResults) GetGroups() []SearchedGroup
GetGroups returns the Groups field value
func (*GroupSearchResults) GetGroupsOk ¶ added in v0.9.0
func (o *GroupSearchResults) GetGroupsOk() (*[]SearchedGroup, bool)
GetGroupsOk returns a tuple with the Groups field value and a boolean to check if the value has been set.
func (GroupSearchResults) MarshalJSON ¶ added in v0.9.0
func (o GroupSearchResults) MarshalJSON() ([]byte, error)
func (*GroupSearchResults) SetCount ¶ added in v0.9.0
func (o *GroupSearchResults) SetCount(v int32)
SetCount sets field value
func (*GroupSearchResults) SetGroups ¶ added in v0.9.0
func (o *GroupSearchResults) SetGroups(v []SearchedGroup)
SetGroups sets field value
type GroupsApi ¶ added in v0.9.0
type GroupsApi interface {
/*
* CreateGroup Create a new group
* Creates a new group.
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
* The group already exist (HTTP error `409`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiCreateGroupRequest
*/
CreateGroup(ctx _context.Context) ApiCreateGroupRequest
/*
* CreateGroupExecute executes the request
* @return GroupMetaData
*/
CreateGroupExecute(r ApiCreateGroupRequest) (GroupMetaData, *_nethttp.Response, error)
/*
* DeleteGroupById Delete a group by the specified ID.
* Deletes a group by identifier.
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`)
* The group does not exist (HTTP error `404`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @return ApiDeleteGroupByIdRequest
*/
DeleteGroupById(ctx _context.Context, groupId string) ApiDeleteGroupByIdRequest
/*
* DeleteGroupByIdExecute executes the request
*/
DeleteGroupByIdExecute(r ApiDeleteGroupByIdRequest) (*_nethttp.Response, error)
/*
* GetGroupById Get a group by the specified ID.
* Returns a group using the specified id.
This operation can fail for the following reasons:
* No group exists with the specified ID (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @return ApiGetGroupByIdRequest
*/
GetGroupById(ctx _context.Context, groupId string) ApiGetGroupByIdRequest
/*
* GetGroupByIdExecute executes the request
* @return GroupMetaData
*/
GetGroupByIdExecute(r ApiGetGroupByIdRequest) (GroupMetaData, *_nethttp.Response, error)
/*
* ListGroups List groups
* Returns a list of all groups. This list is paged.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiListGroupsRequest
*/
ListGroups(ctx _context.Context) ApiListGroupsRequest
/*
* ListGroupsExecute executes the request
* @return GroupSearchResults
*/
ListGroupsExecute(r ApiListGroupsRequest) (GroupSearchResults, *_nethttp.Response, error)
}
type GroupsApiService ¶ added in v0.9.0
type GroupsApiService service
GroupsApiService GroupsApi service
func (*GroupsApiService) CreateGroup ¶ added in v0.9.0
func (a *GroupsApiService) CreateGroup(ctx _context.Context) ApiCreateGroupRequest
- CreateGroup Create a new group
- Creates a new group.
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`) * The group already exist (HTTP error `409`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiCreateGroupRequest
func (*GroupsApiService) CreateGroupExecute ¶ added in v0.9.0
func (a *GroupsApiService) CreateGroupExecute(r ApiCreateGroupRequest) (GroupMetaData, *_nethttp.Response, error)
* Execute executes the request * @return GroupMetaData
func (*GroupsApiService) DeleteGroupById ¶ added in v0.9.0
func (a *GroupsApiService) DeleteGroupById(ctx _context.Context, groupId string) ApiDeleteGroupByIdRequest
- DeleteGroupById Delete a group by the specified ID.
- Deletes a group by identifier.
This operation can fail for the following reasons:
* A server error occurred (HTTP error `500`) * The group does not exist (HTTP error `404`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @return ApiDeleteGroupByIdRequest
func (*GroupsApiService) DeleteGroupByIdExecute ¶ added in v0.9.0
func (a *GroupsApiService) DeleteGroupByIdExecute(r ApiDeleteGroupByIdRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*GroupsApiService) GetGroupById ¶ added in v0.9.0
func (a *GroupsApiService) GetGroupById(ctx _context.Context, groupId string) ApiGetGroupByIdRequest
- GetGroupById Get a group by the specified ID.
- Returns a group using the specified id.
This operation can fail for the following reasons:
* No group exists with the specified ID (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @return ApiGetGroupByIdRequest
func (*GroupsApiService) GetGroupByIdExecute ¶ added in v0.9.0
func (a *GroupsApiService) GetGroupByIdExecute(r ApiGetGroupByIdRequest) (GroupMetaData, *_nethttp.Response, error)
* Execute executes the request * @return GroupMetaData
func (*GroupsApiService) ListGroups ¶ added in v0.9.0
func (a *GroupsApiService) ListGroups(ctx _context.Context) ApiListGroupsRequest
* ListGroups List groups * Returns a list of all groups. This list is paged. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiListGroupsRequest
func (*GroupsApiService) ListGroupsExecute ¶ added in v0.9.0
func (a *GroupsApiService) ListGroupsExecute(r ApiListGroupsRequest) (GroupSearchResults, *_nethttp.Response, error)
* Execute executes the request * @return GroupSearchResults
type IfExists ¶
type IfExists string
IfExists the model 'IfExists'
const ( IFEXISTS_FAIL IfExists = "FAIL" IFEXISTS_UPDATE IfExists = "UPDATE" IFEXISTS_RETURN IfExists = "RETURN" IFEXISTS_RETURN_OR_UPDATE IfExists = "RETURN_OR_UPDATE" )
List of IfExists
func NewIfExistsFromValue ¶
NewIfExistsFromValue returns a pointer to a valid IfExists for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*IfExists) UnmarshalJSON ¶
type Limits ¶ added in v0.4.0
type Limits struct {
MaxTotalSchemasCount *int64 `json:"maxTotalSchemasCount,omitempty"`
MaxSchemaSizeBytes *int64 `json:"maxSchemaSizeBytes,omitempty"`
MaxArtifactsCount *int64 `json:"maxArtifactsCount,omitempty"`
MaxVersionsPerArtifactCount *int64 `json:"maxVersionsPerArtifactCount,omitempty"`
MaxArtifactPropertiesCount *int64 `json:"maxArtifactPropertiesCount,omitempty"`
MaxPropertyKeySizeBytes *int64 `json:"maxPropertyKeySizeBytes,omitempty"`
MaxPropertyValueSizeBytes *int64 `json:"maxPropertyValueSizeBytes,omitempty"`
MaxArtifactLabelsCount *int64 `json:"maxArtifactLabelsCount,omitempty"`
MaxLabelSizeBytes *int64 `json:"maxLabelSizeBytes,omitempty"`
MaxArtifactNameLengthChars *int64 `json:"maxArtifactNameLengthChars,omitempty"`
MaxArtifactDescriptionLengthChars *int64 `json:"maxArtifactDescriptionLengthChars,omitempty"`
MaxRequestsPerSecondCount *int64 `json:"maxRequestsPerSecondCount,omitempty"`
}
Limits List of limitations on used resources, that are applied on the current instance of Registry. Keys represent the resource type and are suffixed by the corresponding unit. Values are integers. Only non-negative values are allowed, with the exception of -1, which means that the limit is not applied.
func NewLimits ¶ added in v0.4.0
func NewLimits() *Limits
NewLimits instantiates a new Limits object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLimitsWithDefaults ¶ added in v0.4.0
func NewLimitsWithDefaults() *Limits
NewLimitsWithDefaults instantiates a new Limits object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Limits) GetMaxArtifactDescriptionLengthChars ¶ added in v0.4.0
GetMaxArtifactDescriptionLengthChars returns the MaxArtifactDescriptionLengthChars field value if set, zero value otherwise.
func (*Limits) GetMaxArtifactDescriptionLengthCharsOk ¶ added in v0.4.0
GetMaxArtifactDescriptionLengthCharsOk returns a tuple with the MaxArtifactDescriptionLengthChars field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) GetMaxArtifactLabelsCount ¶ added in v0.4.0
GetMaxArtifactLabelsCount returns the MaxArtifactLabelsCount field value if set, zero value otherwise.
func (*Limits) GetMaxArtifactLabelsCountOk ¶ added in v0.4.0
GetMaxArtifactLabelsCountOk returns a tuple with the MaxArtifactLabelsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) GetMaxArtifactNameLengthChars ¶ added in v0.4.0
GetMaxArtifactNameLengthChars returns the MaxArtifactNameLengthChars field value if set, zero value otherwise.
func (*Limits) GetMaxArtifactNameLengthCharsOk ¶ added in v0.4.0
GetMaxArtifactNameLengthCharsOk returns a tuple with the MaxArtifactNameLengthChars field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) GetMaxArtifactPropertiesCount ¶ added in v0.4.0
GetMaxArtifactPropertiesCount returns the MaxArtifactPropertiesCount field value if set, zero value otherwise.
func (*Limits) GetMaxArtifactPropertiesCountOk ¶ added in v0.4.0
GetMaxArtifactPropertiesCountOk returns a tuple with the MaxArtifactPropertiesCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) GetMaxArtifactsCount ¶ added in v0.4.0
GetMaxArtifactsCount returns the MaxArtifactsCount field value if set, zero value otherwise.
func (*Limits) GetMaxArtifactsCountOk ¶ added in v0.4.0
GetMaxArtifactsCountOk returns a tuple with the MaxArtifactsCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) GetMaxLabelSizeBytes ¶ added in v0.4.0
GetMaxLabelSizeBytes returns the MaxLabelSizeBytes field value if set, zero value otherwise.
func (*Limits) GetMaxLabelSizeBytesOk ¶ added in v0.4.0
GetMaxLabelSizeBytesOk returns a tuple with the MaxLabelSizeBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) GetMaxPropertyKeySizeBytes ¶ added in v0.4.0
GetMaxPropertyKeySizeBytes returns the MaxPropertyKeySizeBytes field value if set, zero value otherwise.
func (*Limits) GetMaxPropertyKeySizeBytesOk ¶ added in v0.4.0
GetMaxPropertyKeySizeBytesOk returns a tuple with the MaxPropertyKeySizeBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) GetMaxPropertyValueSizeBytes ¶ added in v0.4.0
GetMaxPropertyValueSizeBytes returns the MaxPropertyValueSizeBytes field value if set, zero value otherwise.
func (*Limits) GetMaxPropertyValueSizeBytesOk ¶ added in v0.4.0
GetMaxPropertyValueSizeBytesOk returns a tuple with the MaxPropertyValueSizeBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) GetMaxRequestsPerSecondCount ¶ added in v0.4.0
GetMaxRequestsPerSecondCount returns the MaxRequestsPerSecondCount field value if set, zero value otherwise.
func (*Limits) GetMaxRequestsPerSecondCountOk ¶ added in v0.4.0
GetMaxRequestsPerSecondCountOk returns a tuple with the MaxRequestsPerSecondCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) GetMaxSchemaSizeBytes ¶ added in v0.4.0
GetMaxSchemaSizeBytes returns the MaxSchemaSizeBytes field value if set, zero value otherwise.
func (*Limits) GetMaxSchemaSizeBytesOk ¶ added in v0.4.0
GetMaxSchemaSizeBytesOk returns a tuple with the MaxSchemaSizeBytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) GetMaxTotalSchemasCount ¶ added in v0.4.0
GetMaxTotalSchemasCount returns the MaxTotalSchemasCount field value if set, zero value otherwise.
func (*Limits) GetMaxTotalSchemasCountOk ¶ added in v0.4.0
GetMaxTotalSchemasCountOk returns a tuple with the MaxTotalSchemasCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) GetMaxVersionsPerArtifactCount ¶ added in v0.4.0
GetMaxVersionsPerArtifactCount returns the MaxVersionsPerArtifactCount field value if set, zero value otherwise.
func (*Limits) GetMaxVersionsPerArtifactCountOk ¶ added in v0.4.0
GetMaxVersionsPerArtifactCountOk returns a tuple with the MaxVersionsPerArtifactCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Limits) HasMaxArtifactDescriptionLengthChars ¶ added in v0.4.0
HasMaxArtifactDescriptionLengthChars returns a boolean if a field has been set.
func (*Limits) HasMaxArtifactLabelsCount ¶ added in v0.4.0
HasMaxArtifactLabelsCount returns a boolean if a field has been set.
func (*Limits) HasMaxArtifactNameLengthChars ¶ added in v0.4.0
HasMaxArtifactNameLengthChars returns a boolean if a field has been set.
func (*Limits) HasMaxArtifactPropertiesCount ¶ added in v0.4.0
HasMaxArtifactPropertiesCount returns a boolean if a field has been set.
func (*Limits) HasMaxArtifactsCount ¶ added in v0.4.0
HasMaxArtifactsCount returns a boolean if a field has been set.
func (*Limits) HasMaxLabelSizeBytes ¶ added in v0.4.0
HasMaxLabelSizeBytes returns a boolean if a field has been set.
func (*Limits) HasMaxPropertyKeySizeBytes ¶ added in v0.4.0
HasMaxPropertyKeySizeBytes returns a boolean if a field has been set.
func (*Limits) HasMaxPropertyValueSizeBytes ¶ added in v0.4.0
HasMaxPropertyValueSizeBytes returns a boolean if a field has been set.
func (*Limits) HasMaxRequestsPerSecondCount ¶ added in v0.4.0
HasMaxRequestsPerSecondCount returns a boolean if a field has been set.
func (*Limits) HasMaxSchemaSizeBytes ¶ added in v0.4.0
HasMaxSchemaSizeBytes returns a boolean if a field has been set.
func (*Limits) HasMaxTotalSchemasCount ¶ added in v0.4.0
HasMaxTotalSchemasCount returns a boolean if a field has been set.
func (*Limits) HasMaxVersionsPerArtifactCount ¶ added in v0.4.0
HasMaxVersionsPerArtifactCount returns a boolean if a field has been set.
func (Limits) MarshalJSON ¶ added in v0.4.0
func (*Limits) SetMaxArtifactDescriptionLengthChars ¶ added in v0.4.0
SetMaxArtifactDescriptionLengthChars gets a reference to the given int64 and assigns it to the MaxArtifactDescriptionLengthChars field.
func (*Limits) SetMaxArtifactLabelsCount ¶ added in v0.4.0
SetMaxArtifactLabelsCount gets a reference to the given int64 and assigns it to the MaxArtifactLabelsCount field.
func (*Limits) SetMaxArtifactNameLengthChars ¶ added in v0.4.0
SetMaxArtifactNameLengthChars gets a reference to the given int64 and assigns it to the MaxArtifactNameLengthChars field.
func (*Limits) SetMaxArtifactPropertiesCount ¶ added in v0.4.0
SetMaxArtifactPropertiesCount gets a reference to the given int64 and assigns it to the MaxArtifactPropertiesCount field.
func (*Limits) SetMaxArtifactsCount ¶ added in v0.4.0
SetMaxArtifactsCount gets a reference to the given int64 and assigns it to the MaxArtifactsCount field.
func (*Limits) SetMaxLabelSizeBytes ¶ added in v0.4.0
SetMaxLabelSizeBytes gets a reference to the given int64 and assigns it to the MaxLabelSizeBytes field.
func (*Limits) SetMaxPropertyKeySizeBytes ¶ added in v0.4.0
SetMaxPropertyKeySizeBytes gets a reference to the given int64 and assigns it to the MaxPropertyKeySizeBytes field.
func (*Limits) SetMaxPropertyValueSizeBytes ¶ added in v0.4.0
SetMaxPropertyValueSizeBytes gets a reference to the given int64 and assigns it to the MaxPropertyValueSizeBytes field.
func (*Limits) SetMaxRequestsPerSecondCount ¶ added in v0.4.0
SetMaxRequestsPerSecondCount gets a reference to the given int64 and assigns it to the MaxRequestsPerSecondCount field.
func (*Limits) SetMaxSchemaSizeBytes ¶ added in v0.4.0
SetMaxSchemaSizeBytes gets a reference to the given int64 and assigns it to the MaxSchemaSizeBytes field.
func (*Limits) SetMaxTotalSchemasCount ¶ added in v0.4.0
SetMaxTotalSchemasCount gets a reference to the given int64 and assigns it to the MaxTotalSchemasCount field.
func (*Limits) SetMaxVersionsPerArtifactCount ¶ added in v0.4.0
SetMaxVersionsPerArtifactCount gets a reference to the given int64 and assigns it to the MaxVersionsPerArtifactCount field.
type LogConfiguration ¶
type LogConfiguration struct {
Level LogLevel `json:"level"`
}
LogConfiguration struct for LogConfiguration
func NewLogConfiguration ¶
func NewLogConfiguration(level LogLevel) *LogConfiguration
NewLogConfiguration instantiates a new LogConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLogConfigurationWithDefaults ¶
func NewLogConfigurationWithDefaults() *LogConfiguration
NewLogConfigurationWithDefaults instantiates a new LogConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LogConfiguration) GetLevel ¶
func (o *LogConfiguration) GetLevel() LogLevel
GetLevel returns the Level field value
func (*LogConfiguration) GetLevelOk ¶
func (o *LogConfiguration) GetLevelOk() (*LogLevel, bool)
GetLevelOk returns a tuple with the Level field value and a boolean to check if the value has been set.
func (LogConfiguration) MarshalJSON ¶
func (o LogConfiguration) MarshalJSON() ([]byte, error)
func (*LogConfiguration) SetLevel ¶
func (o *LogConfiguration) SetLevel(v LogLevel)
SetLevel sets field value
type LogLevel ¶
type LogLevel string
LogLevel the model 'LogLevel'
const ( LOGLEVEL_DEBUG LogLevel = "DEBUG" LOGLEVEL_TRACE LogLevel = "TRACE" LOGLEVEL_WARN LogLevel = "WARN" LOGLEVEL_ERROR LogLevel = "ERROR" LOGLEVEL_SEVERE LogLevel = "SEVERE" LOGLEVEL_WARNING LogLevel = "WARNING" LOGLEVEL_INFO LogLevel = "INFO" LOGLEVEL_CONFIG LogLevel = "CONFIG" LOGLEVEL_FINE LogLevel = "FINE" LOGLEVEL_FINER LogLevel = "FINER" LOGLEVEL_FINEST LogLevel = "FINEST" )
List of LogLevel
func NewLogLevelFromValue ¶
NewLogLevelFromValue returns a pointer to a valid LogLevel for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*LogLevel) UnmarshalJSON ¶
type MetadataApi ¶
type MetadataApi interface {
/*
* DeleteArtifactVersionMetaData Delete artifact version metadata
* Deletes the user-editable metadata properties of the artifact version. Any properties
that are not user-editable are preserved.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* No version with this `version` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @param version The unique identifier of a specific version of the artifact content.
* @return ApiDeleteArtifactVersionMetaDataRequest
*/
DeleteArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiDeleteArtifactVersionMetaDataRequest
/*
* DeleteArtifactVersionMetaDataExecute executes the request
*/
DeleteArtifactVersionMetaDataExecute(r ApiDeleteArtifactVersionMetaDataRequest) (*_nethttp.Response, error)
/*
* GetArtifactMetaData Get artifact metadata
* Gets the metadata for an artifact in the registry. The returned metadata includes
both generated (read-only) and editable metadata (such as name and description).
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiGetArtifactMetaDataRequest
*/
GetArtifactMetaData(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactMetaDataRequest
/*
* GetArtifactMetaDataExecute executes the request
* @return ArtifactMetaData
*/
GetArtifactMetaDataExecute(r ApiGetArtifactMetaDataRequest) (ArtifactMetaData, *_nethttp.Response, error)
/*
* GetArtifactOwner Get artifact owner
* Gets the owner of an artifact in the registry.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiGetArtifactOwnerRequest
*/
GetArtifactOwner(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactOwnerRequest
/*
* GetArtifactOwnerExecute executes the request
* @return ArtifactOwner
*/
GetArtifactOwnerExecute(r ApiGetArtifactOwnerRequest) (ArtifactOwner, *_nethttp.Response, error)
/*
* GetArtifactVersionMetaData Get artifact version metadata
* Retrieves the metadata for a single version of the artifact. The version metadata is
a subset of the artifact metadata and only includes the metadata that is specific to
the version (for example, this doesn't include `modifiedOn`).
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* No version with this `version` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @param version The unique identifier of a specific version of the artifact content.
* @return ApiGetArtifactVersionMetaDataRequest
*/
GetArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionMetaDataRequest
/*
* GetArtifactVersionMetaDataExecute executes the request
* @return VersionMetaData
*/
GetArtifactVersionMetaDataExecute(r ApiGetArtifactVersionMetaDataRequest) (VersionMetaData, *_nethttp.Response, error)
/*
* GetArtifactVersionMetaDataByContent Get artifact version metadata by content
* Gets the metadata for an artifact that matches the raw content. Searches the registry
for a version of the given artifact matching the content provided in the body of the
POST.
This operation can fail for the following reasons:
* Provided content (request body) was empty (HTTP error `400`)
* No artifact with the `artifactId` exists (HTTP error `404`)
* No artifact version matching the provided content exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiGetArtifactVersionMetaDataByContentRequest
*/
GetArtifactVersionMetaDataByContent(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactVersionMetaDataByContentRequest
/*
* GetArtifactVersionMetaDataByContentExecute executes the request
* @return VersionMetaData
*/
GetArtifactVersionMetaDataByContentExecute(r ApiGetArtifactVersionMetaDataByContentRequest) (VersionMetaData, *_nethttp.Response, error)
/*
* UpdateArtifactMetaData Update artifact metadata
* Updates the editable parts of the artifact's metadata. Not all metadata fields can
be updated. For example, `createdOn` and `createdBy` are both read-only properties.
This operation can fail for the following reasons:
* No artifact with the `artifactId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiUpdateArtifactMetaDataRequest
*/
UpdateArtifactMetaData(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactMetaDataRequest
/*
* UpdateArtifactMetaDataExecute executes the request
*/
UpdateArtifactMetaDataExecute(r ApiUpdateArtifactMetaDataRequest) (*_nethttp.Response, error)
/*
* UpdateArtifactOwner Update artifact owner
* Changes the ownership of an artifact.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiUpdateArtifactOwnerRequest
*/
UpdateArtifactOwner(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactOwnerRequest
/*
* UpdateArtifactOwnerExecute executes the request
*/
UpdateArtifactOwnerExecute(r ApiUpdateArtifactOwnerRequest) (*_nethttp.Response, error)
/*
* UpdateArtifactVersionMetaData Update artifact version metadata
* Updates the user-editable portion of the artifact version's metadata. Only some of
the metadata fields are editable by the user. For example, `description` is editable,
but `createdOn` is not.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* No version with this `version` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @param version The unique identifier of a specific version of the artifact content.
* @return ApiUpdateArtifactVersionMetaDataRequest
*/
UpdateArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiUpdateArtifactVersionMetaDataRequest
/*
* UpdateArtifactVersionMetaDataExecute executes the request
*/
UpdateArtifactVersionMetaDataExecute(r ApiUpdateArtifactVersionMetaDataRequest) (*_nethttp.Response, error)
}
type MetadataApiService ¶
type MetadataApiService service
MetadataApiService MetadataApi service
func (*MetadataApiService) DeleteArtifactVersionMetaData ¶
func (a *MetadataApiService) DeleteArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiDeleteArtifactVersionMetaDataRequest
- DeleteArtifactVersionMetaData Delete artifact version metadata
- Deletes the user-editable metadata properties of the artifact version. Any properties
that are not user-editable are preserved.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @param version The unique identifier of a specific version of the artifact content.
- @return ApiDeleteArtifactVersionMetaDataRequest
func (*MetadataApiService) DeleteArtifactVersionMetaDataExecute ¶
func (a *MetadataApiService) DeleteArtifactVersionMetaDataExecute(r ApiDeleteArtifactVersionMetaDataRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*MetadataApiService) GetArtifactMetaData ¶
func (a *MetadataApiService) GetArtifactMetaData(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactMetaDataRequest
- GetArtifactMetaData Get artifact metadata
- Gets the metadata for an artifact in the registry. The returned metadata includes
both generated (read-only) and editable metadata (such as name and description).
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiGetArtifactMetaDataRequest
func (*MetadataApiService) GetArtifactMetaDataExecute ¶
func (a *MetadataApiService) GetArtifactMetaDataExecute(r ApiGetArtifactMetaDataRequest) (ArtifactMetaData, *_nethttp.Response, error)
* Execute executes the request * @return ArtifactMetaData
func (*MetadataApiService) GetArtifactOwner ¶ added in v0.8.0
func (a *MetadataApiService) GetArtifactOwner(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactOwnerRequest
- GetArtifactOwner Get artifact owner
- Gets the owner of an artifact in the registry.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiGetArtifactOwnerRequest
func (*MetadataApiService) GetArtifactOwnerExecute ¶ added in v0.8.0
func (a *MetadataApiService) GetArtifactOwnerExecute(r ApiGetArtifactOwnerRequest) (ArtifactOwner, *_nethttp.Response, error)
* Execute executes the request * @return ArtifactOwner
func (*MetadataApiService) GetArtifactVersionMetaData ¶
func (a *MetadataApiService) GetArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionMetaDataRequest
- GetArtifactVersionMetaData Get artifact version metadata
- Retrieves the metadata for a single version of the artifact. The version metadata is
a subset of the artifact metadata and only includes the metadata that is specific to the version (for example, this doesn't include `modifiedOn`).
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @param version The unique identifier of a specific version of the artifact content.
- @return ApiGetArtifactVersionMetaDataRequest
func (*MetadataApiService) GetArtifactVersionMetaDataByContent ¶
func (a *MetadataApiService) GetArtifactVersionMetaDataByContent(ctx _context.Context, groupId string, artifactId string) ApiGetArtifactVersionMetaDataByContentRequest
- GetArtifactVersionMetaDataByContent Get artifact version metadata by content
- Gets the metadata for an artifact that matches the raw content. Searches the registry
for a version of the given artifact matching the content provided in the body of the POST.
This operation can fail for the following reasons:
* Provided content (request body) was empty (HTTP error `400`) * No artifact with the `artifactId` exists (HTTP error `404`) * No artifact version matching the provided content exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiGetArtifactVersionMetaDataByContentRequest
func (*MetadataApiService) GetArtifactVersionMetaDataByContentExecute ¶
func (a *MetadataApiService) GetArtifactVersionMetaDataByContentExecute(r ApiGetArtifactVersionMetaDataByContentRequest) (VersionMetaData, *_nethttp.Response, error)
* Execute executes the request * @return VersionMetaData
func (*MetadataApiService) GetArtifactVersionMetaDataExecute ¶
func (a *MetadataApiService) GetArtifactVersionMetaDataExecute(r ApiGetArtifactVersionMetaDataRequest) (VersionMetaData, *_nethttp.Response, error)
* Execute executes the request * @return VersionMetaData
func (*MetadataApiService) UpdateArtifactMetaData ¶
func (a *MetadataApiService) UpdateArtifactMetaData(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactMetaDataRequest
- UpdateArtifactMetaData Update artifact metadata
- Updates the editable parts of the artifact's metadata. Not all metadata fields can
be updated. For example, `createdOn` and `createdBy` are both read-only properties.
This operation can fail for the following reasons:
* No artifact with the `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiUpdateArtifactMetaDataRequest
func (*MetadataApiService) UpdateArtifactMetaDataExecute ¶
func (a *MetadataApiService) UpdateArtifactMetaDataExecute(r ApiUpdateArtifactMetaDataRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*MetadataApiService) UpdateArtifactOwner ¶ added in v0.8.0
func (a *MetadataApiService) UpdateArtifactOwner(ctx _context.Context, groupId string, artifactId string) ApiUpdateArtifactOwnerRequest
- UpdateArtifactOwner Update artifact owner
- Changes the ownership of an artifact.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiUpdateArtifactOwnerRequest
func (*MetadataApiService) UpdateArtifactOwnerExecute ¶ added in v0.8.0
func (a *MetadataApiService) UpdateArtifactOwnerExecute(r ApiUpdateArtifactOwnerRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*MetadataApiService) UpdateArtifactVersionMetaData ¶
func (a *MetadataApiService) UpdateArtifactVersionMetaData(ctx _context.Context, groupId string, artifactId string, version string) ApiUpdateArtifactVersionMetaDataRequest
- UpdateArtifactVersionMetaData Update artifact version metadata
- Updates the user-editable portion of the artifact version's metadata. Only some of
the metadata fields are editable by the user. For example, `description` is editable, but `createdOn` is not.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @param version The unique identifier of a specific version of the artifact content.
- @return ApiUpdateArtifactVersionMetaDataRequest
func (*MetadataApiService) UpdateArtifactVersionMetaDataExecute ¶
func (a *MetadataApiService) UpdateArtifactVersionMetaDataExecute(r ApiUpdateArtifactVersionMetaDataRequest) (*_nethttp.Response, error)
* Execute executes the request
type NamedLogConfiguration ¶
NamedLogConfiguration struct for NamedLogConfiguration
func NewNamedLogConfiguration ¶
func NewNamedLogConfiguration(name string, level LogLevel) *NamedLogConfiguration
NewNamedLogConfiguration instantiates a new NamedLogConfiguration object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNamedLogConfigurationWithDefaults ¶
func NewNamedLogConfigurationWithDefaults() *NamedLogConfiguration
NewNamedLogConfigurationWithDefaults instantiates a new NamedLogConfiguration object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NamedLogConfiguration) GetLevel ¶
func (o *NamedLogConfiguration) GetLevel() LogLevel
GetLevel returns the Level field value
func (*NamedLogConfiguration) GetLevelOk ¶
func (o *NamedLogConfiguration) GetLevelOk() (*LogLevel, bool)
GetLevelOk returns a tuple with the Level field value and a boolean to check if the value has been set.
func (*NamedLogConfiguration) GetName ¶
func (o *NamedLogConfiguration) GetName() string
GetName returns the Name field value
func (*NamedLogConfiguration) GetNameOk ¶
func (o *NamedLogConfiguration) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (NamedLogConfiguration) MarshalJSON ¶
func (o NamedLogConfiguration) MarshalJSON() ([]byte, error)
func (*NamedLogConfiguration) SetLevel ¶
func (o *NamedLogConfiguration) SetLevel(v LogLevel)
SetLevel sets field value
func (*NamedLogConfiguration) SetName ¶
func (o *NamedLogConfiguration) SetName(v string)
SetName sets field value
type NamedLogConfigurationAllOf ¶
type NamedLogConfigurationAllOf struct {
Name string `json:"name"`
}
NamedLogConfigurationAllOf struct for NamedLogConfigurationAllOf
func NewNamedLogConfigurationAllOf ¶
func NewNamedLogConfigurationAllOf(name string) *NamedLogConfigurationAllOf
NewNamedLogConfigurationAllOf instantiates a new NamedLogConfigurationAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNamedLogConfigurationAllOfWithDefaults ¶
func NewNamedLogConfigurationAllOfWithDefaults() *NamedLogConfigurationAllOf
NewNamedLogConfigurationAllOfWithDefaults instantiates a new NamedLogConfigurationAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NamedLogConfigurationAllOf) GetName ¶
func (o *NamedLogConfigurationAllOf) GetName() string
GetName returns the Name field value
func (*NamedLogConfigurationAllOf) GetNameOk ¶
func (o *NamedLogConfigurationAllOf) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (NamedLogConfigurationAllOf) MarshalJSON ¶
func (o NamedLogConfigurationAllOf) MarshalJSON() ([]byte, error)
func (*NamedLogConfigurationAllOf) SetName ¶
func (o *NamedLogConfigurationAllOf) SetName(v string)
SetName sets field value
type NullableArtifactMetaData ¶
type NullableArtifactMetaData struct {
// contains filtered or unexported fields
}
func NewNullableArtifactMetaData ¶
func NewNullableArtifactMetaData(val *ArtifactMetaData) *NullableArtifactMetaData
func (NullableArtifactMetaData) Get ¶
func (v NullableArtifactMetaData) Get() *ArtifactMetaData
func (NullableArtifactMetaData) IsSet ¶
func (v NullableArtifactMetaData) IsSet() bool
func (NullableArtifactMetaData) MarshalJSON ¶
func (v NullableArtifactMetaData) MarshalJSON() ([]byte, error)
func (*NullableArtifactMetaData) Set ¶
func (v *NullableArtifactMetaData) Set(val *ArtifactMetaData)
func (*NullableArtifactMetaData) UnmarshalJSON ¶
func (v *NullableArtifactMetaData) UnmarshalJSON(src []byte) error
func (*NullableArtifactMetaData) Unset ¶
func (v *NullableArtifactMetaData) Unset()
type NullableArtifactOwner ¶ added in v0.8.0
type NullableArtifactOwner struct {
// contains filtered or unexported fields
}
func NewNullableArtifactOwner ¶ added in v0.8.0
func NewNullableArtifactOwner(val *ArtifactOwner) *NullableArtifactOwner
func (NullableArtifactOwner) Get ¶ added in v0.8.0
func (v NullableArtifactOwner) Get() *ArtifactOwner
func (NullableArtifactOwner) IsSet ¶ added in v0.8.0
func (v NullableArtifactOwner) IsSet() bool
func (NullableArtifactOwner) MarshalJSON ¶ added in v0.8.0
func (v NullableArtifactOwner) MarshalJSON() ([]byte, error)
func (*NullableArtifactOwner) Set ¶ added in v0.8.0
func (v *NullableArtifactOwner) Set(val *ArtifactOwner)
func (*NullableArtifactOwner) UnmarshalJSON ¶ added in v0.8.0
func (v *NullableArtifactOwner) UnmarshalJSON(src []byte) error
func (*NullableArtifactOwner) Unset ¶ added in v0.8.0
func (v *NullableArtifactOwner) Unset()
type NullableArtifactReference ¶ added in v0.4.0
type NullableArtifactReference struct {
// contains filtered or unexported fields
}
func NewNullableArtifactReference ¶ added in v0.4.0
func NewNullableArtifactReference(val *ArtifactReference) *NullableArtifactReference
func (NullableArtifactReference) Get ¶ added in v0.4.0
func (v NullableArtifactReference) Get() *ArtifactReference
func (NullableArtifactReference) IsSet ¶ added in v0.4.0
func (v NullableArtifactReference) IsSet() bool
func (NullableArtifactReference) MarshalJSON ¶ added in v0.4.0
func (v NullableArtifactReference) MarshalJSON() ([]byte, error)
func (*NullableArtifactReference) Set ¶ added in v0.4.0
func (v *NullableArtifactReference) Set(val *ArtifactReference)
func (*NullableArtifactReference) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableArtifactReference) UnmarshalJSON(src []byte) error
func (*NullableArtifactReference) Unset ¶ added in v0.4.0
func (v *NullableArtifactReference) Unset()
type NullableArtifactSearchResults ¶
type NullableArtifactSearchResults struct {
// contains filtered or unexported fields
}
func NewNullableArtifactSearchResults ¶
func NewNullableArtifactSearchResults(val *ArtifactSearchResults) *NullableArtifactSearchResults
func (NullableArtifactSearchResults) Get ¶
func (v NullableArtifactSearchResults) Get() *ArtifactSearchResults
func (NullableArtifactSearchResults) IsSet ¶
func (v NullableArtifactSearchResults) IsSet() bool
func (NullableArtifactSearchResults) MarshalJSON ¶
func (v NullableArtifactSearchResults) MarshalJSON() ([]byte, error)
func (*NullableArtifactSearchResults) Set ¶
func (v *NullableArtifactSearchResults) Set(val *ArtifactSearchResults)
func (*NullableArtifactSearchResults) UnmarshalJSON ¶
func (v *NullableArtifactSearchResults) UnmarshalJSON(src []byte) error
func (*NullableArtifactSearchResults) Unset ¶
func (v *NullableArtifactSearchResults) Unset()
type NullableArtifactState ¶
type NullableArtifactState struct {
// contains filtered or unexported fields
}
func NewNullableArtifactState ¶
func NewNullableArtifactState(val *ArtifactState) *NullableArtifactState
func (NullableArtifactState) Get ¶
func (v NullableArtifactState) Get() *ArtifactState
func (NullableArtifactState) IsSet ¶
func (v NullableArtifactState) IsSet() bool
func (NullableArtifactState) MarshalJSON ¶
func (v NullableArtifactState) MarshalJSON() ([]byte, error)
func (*NullableArtifactState) Set ¶
func (v *NullableArtifactState) Set(val *ArtifactState)
func (*NullableArtifactState) UnmarshalJSON ¶
func (v *NullableArtifactState) UnmarshalJSON(src []byte) error
func (*NullableArtifactState) Unset ¶
func (v *NullableArtifactState) Unset()
type NullableArtifactTypeInfo ¶ added in v0.9.0
type NullableArtifactTypeInfo struct {
// contains filtered or unexported fields
}
func NewNullableArtifactTypeInfo ¶ added in v0.9.0
func NewNullableArtifactTypeInfo(val *ArtifactTypeInfo) *NullableArtifactTypeInfo
func (NullableArtifactTypeInfo) Get ¶ added in v0.9.0
func (v NullableArtifactTypeInfo) Get() *ArtifactTypeInfo
func (NullableArtifactTypeInfo) IsSet ¶ added in v0.9.0
func (v NullableArtifactTypeInfo) IsSet() bool
func (NullableArtifactTypeInfo) MarshalJSON ¶ added in v0.9.0
func (v NullableArtifactTypeInfo) MarshalJSON() ([]byte, error)
func (*NullableArtifactTypeInfo) Set ¶ added in v0.9.0
func (v *NullableArtifactTypeInfo) Set(val *ArtifactTypeInfo)
func (*NullableArtifactTypeInfo) UnmarshalJSON ¶ added in v0.9.0
func (v *NullableArtifactTypeInfo) UnmarshalJSON(src []byte) error
func (*NullableArtifactTypeInfo) Unset ¶ added in v0.9.0
func (v *NullableArtifactTypeInfo) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableConfigurationProperty ¶ added in v0.4.0
type NullableConfigurationProperty struct {
// contains filtered or unexported fields
}
func NewNullableConfigurationProperty ¶ added in v0.4.0
func NewNullableConfigurationProperty(val *ConfigurationProperty) *NullableConfigurationProperty
func (NullableConfigurationProperty) Get ¶ added in v0.4.0
func (v NullableConfigurationProperty) Get() *ConfigurationProperty
func (NullableConfigurationProperty) IsSet ¶ added in v0.4.0
func (v NullableConfigurationProperty) IsSet() bool
func (NullableConfigurationProperty) MarshalJSON ¶ added in v0.4.0
func (v NullableConfigurationProperty) MarshalJSON() ([]byte, error)
func (*NullableConfigurationProperty) Set ¶ added in v0.4.0
func (v *NullableConfigurationProperty) Set(val *ConfigurationProperty)
func (*NullableConfigurationProperty) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableConfigurationProperty) UnmarshalJSON(src []byte) error
func (*NullableConfigurationProperty) Unset ¶ added in v0.4.0
func (v *NullableConfigurationProperty) Unset()
type NullableContentCreateRequest ¶ added in v0.4.0
type NullableContentCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableContentCreateRequest ¶ added in v0.4.0
func NewNullableContentCreateRequest(val *ContentCreateRequest) *NullableContentCreateRequest
func (NullableContentCreateRequest) Get ¶ added in v0.4.0
func (v NullableContentCreateRequest) Get() *ContentCreateRequest
func (NullableContentCreateRequest) IsSet ¶ added in v0.4.0
func (v NullableContentCreateRequest) IsSet() bool
func (NullableContentCreateRequest) MarshalJSON ¶ added in v0.4.0
func (v NullableContentCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableContentCreateRequest) Set ¶ added in v0.4.0
func (v *NullableContentCreateRequest) Set(val *ContentCreateRequest)
func (*NullableContentCreateRequest) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableContentCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableContentCreateRequest) Unset ¶ added in v0.4.0
func (v *NullableContentCreateRequest) Unset()
type NullableCreateGroupMetaData ¶ added in v0.9.0
type NullableCreateGroupMetaData struct {
// contains filtered or unexported fields
}
func NewNullableCreateGroupMetaData ¶ added in v0.9.0
func NewNullableCreateGroupMetaData(val *CreateGroupMetaData) *NullableCreateGroupMetaData
func (NullableCreateGroupMetaData) Get ¶ added in v0.9.0
func (v NullableCreateGroupMetaData) Get() *CreateGroupMetaData
func (NullableCreateGroupMetaData) IsSet ¶ added in v0.9.0
func (v NullableCreateGroupMetaData) IsSet() bool
func (NullableCreateGroupMetaData) MarshalJSON ¶ added in v0.9.0
func (v NullableCreateGroupMetaData) MarshalJSON() ([]byte, error)
func (*NullableCreateGroupMetaData) Set ¶ added in v0.9.0
func (v *NullableCreateGroupMetaData) Set(val *CreateGroupMetaData)
func (*NullableCreateGroupMetaData) UnmarshalJSON ¶ added in v0.9.0
func (v *NullableCreateGroupMetaData) UnmarshalJSON(src []byte) error
func (*NullableCreateGroupMetaData) Unset ¶ added in v0.9.0
func (v *NullableCreateGroupMetaData) Unset()
type NullableDownloadRef ¶ added in v0.4.0
type NullableDownloadRef struct {
// contains filtered or unexported fields
}
func NewNullableDownloadRef ¶ added in v0.4.0
func NewNullableDownloadRef(val *DownloadRef) *NullableDownloadRef
func (NullableDownloadRef) Get ¶ added in v0.4.0
func (v NullableDownloadRef) Get() *DownloadRef
func (NullableDownloadRef) IsSet ¶ added in v0.4.0
func (v NullableDownloadRef) IsSet() bool
func (NullableDownloadRef) MarshalJSON ¶ added in v0.4.0
func (v NullableDownloadRef) MarshalJSON() ([]byte, error)
func (*NullableDownloadRef) Set ¶ added in v0.4.0
func (v *NullableDownloadRef) Set(val *DownloadRef)
func (*NullableDownloadRef) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableDownloadRef) UnmarshalJSON(src []byte) error
func (*NullableDownloadRef) Unset ¶ added in v0.4.0
func (v *NullableDownloadRef) Unset()
type NullableEditableMetaData ¶
type NullableEditableMetaData struct {
// contains filtered or unexported fields
}
func NewNullableEditableMetaData ¶
func NewNullableEditableMetaData(val *EditableMetaData) *NullableEditableMetaData
func (NullableEditableMetaData) Get ¶
func (v NullableEditableMetaData) Get() *EditableMetaData
func (NullableEditableMetaData) IsSet ¶
func (v NullableEditableMetaData) IsSet() bool
func (NullableEditableMetaData) MarshalJSON ¶
func (v NullableEditableMetaData) MarshalJSON() ([]byte, error)
func (*NullableEditableMetaData) Set ¶
func (v *NullableEditableMetaData) Set(val *EditableMetaData)
func (*NullableEditableMetaData) UnmarshalJSON ¶
func (v *NullableEditableMetaData) UnmarshalJSON(src []byte) error
func (*NullableEditableMetaData) Unset ¶
func (v *NullableEditableMetaData) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGroupMetaData ¶ added in v0.9.0
type NullableGroupMetaData struct {
// contains filtered or unexported fields
}
func NewNullableGroupMetaData ¶ added in v0.9.0
func NewNullableGroupMetaData(val *GroupMetaData) *NullableGroupMetaData
func (NullableGroupMetaData) Get ¶ added in v0.9.0
func (v NullableGroupMetaData) Get() *GroupMetaData
func (NullableGroupMetaData) IsSet ¶ added in v0.9.0
func (v NullableGroupMetaData) IsSet() bool
func (NullableGroupMetaData) MarshalJSON ¶ added in v0.9.0
func (v NullableGroupMetaData) MarshalJSON() ([]byte, error)
func (*NullableGroupMetaData) Set ¶ added in v0.9.0
func (v *NullableGroupMetaData) Set(val *GroupMetaData)
func (*NullableGroupMetaData) UnmarshalJSON ¶ added in v0.9.0
func (v *NullableGroupMetaData) UnmarshalJSON(src []byte) error
func (*NullableGroupMetaData) Unset ¶ added in v0.9.0
func (v *NullableGroupMetaData) Unset()
type NullableGroupSearchResults ¶ added in v0.9.0
type NullableGroupSearchResults struct {
// contains filtered or unexported fields
}
func NewNullableGroupSearchResults ¶ added in v0.9.0
func NewNullableGroupSearchResults(val *GroupSearchResults) *NullableGroupSearchResults
func (NullableGroupSearchResults) Get ¶ added in v0.9.0
func (v NullableGroupSearchResults) Get() *GroupSearchResults
func (NullableGroupSearchResults) IsSet ¶ added in v0.9.0
func (v NullableGroupSearchResults) IsSet() bool
func (NullableGroupSearchResults) MarshalJSON ¶ added in v0.9.0
func (v NullableGroupSearchResults) MarshalJSON() ([]byte, error)
func (*NullableGroupSearchResults) Set ¶ added in v0.9.0
func (v *NullableGroupSearchResults) Set(val *GroupSearchResults)
func (*NullableGroupSearchResults) UnmarshalJSON ¶ added in v0.9.0
func (v *NullableGroupSearchResults) UnmarshalJSON(src []byte) error
func (*NullableGroupSearchResults) Unset ¶ added in v0.9.0
func (v *NullableGroupSearchResults) Unset()
type NullableIfExists ¶
type NullableIfExists struct {
// contains filtered or unexported fields
}
func NewNullableIfExists ¶
func NewNullableIfExists(val *IfExists) *NullableIfExists
func (NullableIfExists) Get ¶
func (v NullableIfExists) Get() *IfExists
func (NullableIfExists) IsSet ¶
func (v NullableIfExists) IsSet() bool
func (NullableIfExists) MarshalJSON ¶
func (v NullableIfExists) MarshalJSON() ([]byte, error)
func (*NullableIfExists) Set ¶
func (v *NullableIfExists) Set(val *IfExists)
func (*NullableIfExists) UnmarshalJSON ¶
func (v *NullableIfExists) UnmarshalJSON(src []byte) error
func (*NullableIfExists) Unset ¶
func (v *NullableIfExists) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLimits ¶ added in v0.4.0
type NullableLimits struct {
// contains filtered or unexported fields
}
func NewNullableLimits ¶ added in v0.4.0
func NewNullableLimits(val *Limits) *NullableLimits
func (NullableLimits) Get ¶ added in v0.4.0
func (v NullableLimits) Get() *Limits
func (NullableLimits) IsSet ¶ added in v0.4.0
func (v NullableLimits) IsSet() bool
func (NullableLimits) MarshalJSON ¶ added in v0.4.0
func (v NullableLimits) MarshalJSON() ([]byte, error)
func (*NullableLimits) Set ¶ added in v0.4.0
func (v *NullableLimits) Set(val *Limits)
func (*NullableLimits) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableLimits) UnmarshalJSON(src []byte) error
func (*NullableLimits) Unset ¶ added in v0.4.0
func (v *NullableLimits) Unset()
type NullableLogConfiguration ¶
type NullableLogConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableLogConfiguration ¶
func NewNullableLogConfiguration(val *LogConfiguration) *NullableLogConfiguration
func (NullableLogConfiguration) Get ¶
func (v NullableLogConfiguration) Get() *LogConfiguration
func (NullableLogConfiguration) IsSet ¶
func (v NullableLogConfiguration) IsSet() bool
func (NullableLogConfiguration) MarshalJSON ¶
func (v NullableLogConfiguration) MarshalJSON() ([]byte, error)
func (*NullableLogConfiguration) Set ¶
func (v *NullableLogConfiguration) Set(val *LogConfiguration)
func (*NullableLogConfiguration) UnmarshalJSON ¶
func (v *NullableLogConfiguration) UnmarshalJSON(src []byte) error
func (*NullableLogConfiguration) Unset ¶
func (v *NullableLogConfiguration) Unset()
type NullableLogLevel ¶
type NullableLogLevel struct {
// contains filtered or unexported fields
}
func NewNullableLogLevel ¶
func NewNullableLogLevel(val *LogLevel) *NullableLogLevel
func (NullableLogLevel) Get ¶
func (v NullableLogLevel) Get() *LogLevel
func (NullableLogLevel) IsSet ¶
func (v NullableLogLevel) IsSet() bool
func (NullableLogLevel) MarshalJSON ¶
func (v NullableLogLevel) MarshalJSON() ([]byte, error)
func (*NullableLogLevel) Set ¶
func (v *NullableLogLevel) Set(val *LogLevel)
func (*NullableLogLevel) UnmarshalJSON ¶
func (v *NullableLogLevel) UnmarshalJSON(src []byte) error
func (*NullableLogLevel) Unset ¶
func (v *NullableLogLevel) Unset()
type NullableNamedLogConfiguration ¶
type NullableNamedLogConfiguration struct {
// contains filtered or unexported fields
}
func NewNullableNamedLogConfiguration ¶
func NewNullableNamedLogConfiguration(val *NamedLogConfiguration) *NullableNamedLogConfiguration
func (NullableNamedLogConfiguration) Get ¶
func (v NullableNamedLogConfiguration) Get() *NamedLogConfiguration
func (NullableNamedLogConfiguration) IsSet ¶
func (v NullableNamedLogConfiguration) IsSet() bool
func (NullableNamedLogConfiguration) MarshalJSON ¶
func (v NullableNamedLogConfiguration) MarshalJSON() ([]byte, error)
func (*NullableNamedLogConfiguration) Set ¶
func (v *NullableNamedLogConfiguration) Set(val *NamedLogConfiguration)
func (*NullableNamedLogConfiguration) UnmarshalJSON ¶
func (v *NullableNamedLogConfiguration) UnmarshalJSON(src []byte) error
func (*NullableNamedLogConfiguration) Unset ¶
func (v *NullableNamedLogConfiguration) Unset()
type NullableNamedLogConfigurationAllOf ¶
type NullableNamedLogConfigurationAllOf struct {
// contains filtered or unexported fields
}
func NewNullableNamedLogConfigurationAllOf ¶
func NewNullableNamedLogConfigurationAllOf(val *NamedLogConfigurationAllOf) *NullableNamedLogConfigurationAllOf
func (NullableNamedLogConfigurationAllOf) Get ¶
func (v NullableNamedLogConfigurationAllOf) Get() *NamedLogConfigurationAllOf
func (NullableNamedLogConfigurationAllOf) IsSet ¶
func (v NullableNamedLogConfigurationAllOf) IsSet() bool
func (NullableNamedLogConfigurationAllOf) MarshalJSON ¶
func (v NullableNamedLogConfigurationAllOf) MarshalJSON() ([]byte, error)
func (*NullableNamedLogConfigurationAllOf) Set ¶
func (v *NullableNamedLogConfigurationAllOf) Set(val *NamedLogConfigurationAllOf)
func (*NullableNamedLogConfigurationAllOf) UnmarshalJSON ¶
func (v *NullableNamedLogConfigurationAllOf) UnmarshalJSON(src []byte) error
func (*NullableNamedLogConfigurationAllOf) Unset ¶
func (v *NullableNamedLogConfigurationAllOf) Unset()
type NullableRoleMapping ¶
type NullableRoleMapping struct {
// contains filtered or unexported fields
}
func NewNullableRoleMapping ¶
func NewNullableRoleMapping(val *RoleMapping) *NullableRoleMapping
func (NullableRoleMapping) Get ¶
func (v NullableRoleMapping) Get() *RoleMapping
func (NullableRoleMapping) IsSet ¶
func (v NullableRoleMapping) IsSet() bool
func (NullableRoleMapping) MarshalJSON ¶
func (v NullableRoleMapping) MarshalJSON() ([]byte, error)
func (*NullableRoleMapping) Set ¶
func (v *NullableRoleMapping) Set(val *RoleMapping)
func (*NullableRoleMapping) UnmarshalJSON ¶
func (v *NullableRoleMapping) UnmarshalJSON(src []byte) error
func (*NullableRoleMapping) Unset ¶
func (v *NullableRoleMapping) Unset()
type NullableRoleType ¶
type NullableRoleType struct {
// contains filtered or unexported fields
}
func NewNullableRoleType ¶
func NewNullableRoleType(val *RoleType) *NullableRoleType
func (NullableRoleType) Get ¶
func (v NullableRoleType) Get() *RoleType
func (NullableRoleType) IsSet ¶
func (v NullableRoleType) IsSet() bool
func (NullableRoleType) MarshalJSON ¶
func (v NullableRoleType) MarshalJSON() ([]byte, error)
func (*NullableRoleType) Set ¶
func (v *NullableRoleType) Set(val *RoleType)
func (*NullableRoleType) UnmarshalJSON ¶
func (v *NullableRoleType) UnmarshalJSON(src []byte) error
func (*NullableRoleType) Unset ¶
func (v *NullableRoleType) Unset()
type NullableRule ¶
type NullableRule struct {
// contains filtered or unexported fields
}
func NewNullableRule ¶
func NewNullableRule(val *Rule) *NullableRule
func (NullableRule) Get ¶
func (v NullableRule) Get() *Rule
func (NullableRule) IsSet ¶
func (v NullableRule) IsSet() bool
func (NullableRule) MarshalJSON ¶
func (v NullableRule) MarshalJSON() ([]byte, error)
func (*NullableRule) Set ¶
func (v *NullableRule) Set(val *Rule)
func (*NullableRule) UnmarshalJSON ¶
func (v *NullableRule) UnmarshalJSON(src []byte) error
func (*NullableRule) Unset ¶
func (v *NullableRule) Unset()
type NullableRuleType ¶
type NullableRuleType struct {
// contains filtered or unexported fields
}
func NewNullableRuleType ¶
func NewNullableRuleType(val *RuleType) *NullableRuleType
func (NullableRuleType) Get ¶
func (v NullableRuleType) Get() *RuleType
func (NullableRuleType) IsSet ¶
func (v NullableRuleType) IsSet() bool
func (NullableRuleType) MarshalJSON ¶
func (v NullableRuleType) MarshalJSON() ([]byte, error)
func (*NullableRuleType) Set ¶
func (v *NullableRuleType) Set(val *RuleType)
func (*NullableRuleType) UnmarshalJSON ¶
func (v *NullableRuleType) UnmarshalJSON(src []byte) error
func (*NullableRuleType) Unset ¶
func (v *NullableRuleType) Unset()
type NullableRuleViolationCause ¶
type NullableRuleViolationCause struct {
// contains filtered or unexported fields
}
func NewNullableRuleViolationCause ¶
func NewNullableRuleViolationCause(val *RuleViolationCause) *NullableRuleViolationCause
func (NullableRuleViolationCause) Get ¶
func (v NullableRuleViolationCause) Get() *RuleViolationCause
func (NullableRuleViolationCause) IsSet ¶
func (v NullableRuleViolationCause) IsSet() bool
func (NullableRuleViolationCause) MarshalJSON ¶
func (v NullableRuleViolationCause) MarshalJSON() ([]byte, error)
func (*NullableRuleViolationCause) Set ¶
func (v *NullableRuleViolationCause) Set(val *RuleViolationCause)
func (*NullableRuleViolationCause) UnmarshalJSON ¶
func (v *NullableRuleViolationCause) UnmarshalJSON(src []byte) error
func (*NullableRuleViolationCause) Unset ¶
func (v *NullableRuleViolationCause) Unset()
type NullableRuleViolationError ¶
type NullableRuleViolationError struct {
// contains filtered or unexported fields
}
func NewNullableRuleViolationError ¶
func NewNullableRuleViolationError(val *RuleViolationError) *NullableRuleViolationError
func (NullableRuleViolationError) Get ¶
func (v NullableRuleViolationError) Get() *RuleViolationError
func (NullableRuleViolationError) IsSet ¶
func (v NullableRuleViolationError) IsSet() bool
func (NullableRuleViolationError) MarshalJSON ¶
func (v NullableRuleViolationError) MarshalJSON() ([]byte, error)
func (*NullableRuleViolationError) Set ¶
func (v *NullableRuleViolationError) Set(val *RuleViolationError)
func (*NullableRuleViolationError) UnmarshalJSON ¶
func (v *NullableRuleViolationError) UnmarshalJSON(src []byte) error
func (*NullableRuleViolationError) Unset ¶
func (v *NullableRuleViolationError) Unset()
type NullableRuleViolationErrorAllOf ¶
type NullableRuleViolationErrorAllOf struct {
// contains filtered or unexported fields
}
func NewNullableRuleViolationErrorAllOf ¶
func NewNullableRuleViolationErrorAllOf(val *RuleViolationErrorAllOf) *NullableRuleViolationErrorAllOf
func (NullableRuleViolationErrorAllOf) Get ¶
func (v NullableRuleViolationErrorAllOf) Get() *RuleViolationErrorAllOf
func (NullableRuleViolationErrorAllOf) IsSet ¶
func (v NullableRuleViolationErrorAllOf) IsSet() bool
func (NullableRuleViolationErrorAllOf) MarshalJSON ¶
func (v NullableRuleViolationErrorAllOf) MarshalJSON() ([]byte, error)
func (*NullableRuleViolationErrorAllOf) Set ¶
func (v *NullableRuleViolationErrorAllOf) Set(val *RuleViolationErrorAllOf)
func (*NullableRuleViolationErrorAllOf) UnmarshalJSON ¶
func (v *NullableRuleViolationErrorAllOf) UnmarshalJSON(src []byte) error
func (*NullableRuleViolationErrorAllOf) Unset ¶
func (v *NullableRuleViolationErrorAllOf) Unset()
type NullableSearchedArtifact ¶
type NullableSearchedArtifact struct {
// contains filtered or unexported fields
}
func NewNullableSearchedArtifact ¶
func NewNullableSearchedArtifact(val *SearchedArtifact) *NullableSearchedArtifact
func (NullableSearchedArtifact) Get ¶
func (v NullableSearchedArtifact) Get() *SearchedArtifact
func (NullableSearchedArtifact) IsSet ¶
func (v NullableSearchedArtifact) IsSet() bool
func (NullableSearchedArtifact) MarshalJSON ¶
func (v NullableSearchedArtifact) MarshalJSON() ([]byte, error)
func (*NullableSearchedArtifact) Set ¶
func (v *NullableSearchedArtifact) Set(val *SearchedArtifact)
func (*NullableSearchedArtifact) UnmarshalJSON ¶
func (v *NullableSearchedArtifact) UnmarshalJSON(src []byte) error
func (*NullableSearchedArtifact) Unset ¶
func (v *NullableSearchedArtifact) Unset()
type NullableSearchedGroup ¶ added in v0.9.0
type NullableSearchedGroup struct {
// contains filtered or unexported fields
}
func NewNullableSearchedGroup ¶ added in v0.9.0
func NewNullableSearchedGroup(val *SearchedGroup) *NullableSearchedGroup
func (NullableSearchedGroup) Get ¶ added in v0.9.0
func (v NullableSearchedGroup) Get() *SearchedGroup
func (NullableSearchedGroup) IsSet ¶ added in v0.9.0
func (v NullableSearchedGroup) IsSet() bool
func (NullableSearchedGroup) MarshalJSON ¶ added in v0.9.0
func (v NullableSearchedGroup) MarshalJSON() ([]byte, error)
func (*NullableSearchedGroup) Set ¶ added in v0.9.0
func (v *NullableSearchedGroup) Set(val *SearchedGroup)
func (*NullableSearchedGroup) UnmarshalJSON ¶ added in v0.9.0
func (v *NullableSearchedGroup) UnmarshalJSON(src []byte) error
func (*NullableSearchedGroup) Unset ¶ added in v0.9.0
func (v *NullableSearchedGroup) Unset()
type NullableSearchedVersion ¶
type NullableSearchedVersion struct {
// contains filtered or unexported fields
}
func NewNullableSearchedVersion ¶
func NewNullableSearchedVersion(val *SearchedVersion) *NullableSearchedVersion
func (NullableSearchedVersion) Get ¶
func (v NullableSearchedVersion) Get() *SearchedVersion
func (NullableSearchedVersion) IsSet ¶
func (v NullableSearchedVersion) IsSet() bool
func (NullableSearchedVersion) MarshalJSON ¶
func (v NullableSearchedVersion) MarshalJSON() ([]byte, error)
func (*NullableSearchedVersion) Set ¶
func (v *NullableSearchedVersion) Set(val *SearchedVersion)
func (*NullableSearchedVersion) UnmarshalJSON ¶
func (v *NullableSearchedVersion) UnmarshalJSON(src []byte) error
func (*NullableSearchedVersion) Unset ¶
func (v *NullableSearchedVersion) Unset()
type NullableSortBy ¶
type NullableSortBy struct {
// contains filtered or unexported fields
}
func NewNullableSortBy ¶
func NewNullableSortBy(val *SortBy) *NullableSortBy
func (NullableSortBy) Get ¶
func (v NullableSortBy) Get() *SortBy
func (NullableSortBy) IsSet ¶
func (v NullableSortBy) IsSet() bool
func (NullableSortBy) MarshalJSON ¶
func (v NullableSortBy) MarshalJSON() ([]byte, error)
func (*NullableSortBy) Set ¶
func (v *NullableSortBy) Set(val *SortBy)
func (*NullableSortBy) UnmarshalJSON ¶
func (v *NullableSortBy) UnmarshalJSON(src []byte) error
func (*NullableSortBy) Unset ¶
func (v *NullableSortBy) Unset()
type NullableSortOrder ¶
type NullableSortOrder struct {
// contains filtered or unexported fields
}
func NewNullableSortOrder ¶
func NewNullableSortOrder(val *SortOrder) *NullableSortOrder
func (NullableSortOrder) Get ¶
func (v NullableSortOrder) Get() *SortOrder
func (NullableSortOrder) IsSet ¶
func (v NullableSortOrder) IsSet() bool
func (NullableSortOrder) MarshalJSON ¶
func (v NullableSortOrder) MarshalJSON() ([]byte, error)
func (*NullableSortOrder) Set ¶
func (v *NullableSortOrder) Set(val *SortOrder)
func (*NullableSortOrder) UnmarshalJSON ¶
func (v *NullableSortOrder) UnmarshalJSON(src []byte) error
func (*NullableSortOrder) Unset ¶
func (v *NullableSortOrder) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSystemInfo ¶
type NullableSystemInfo struct {
// contains filtered or unexported fields
}
func NewNullableSystemInfo ¶
func NewNullableSystemInfo(val *SystemInfo) *NullableSystemInfo
func (NullableSystemInfo) Get ¶
func (v NullableSystemInfo) Get() *SystemInfo
func (NullableSystemInfo) IsSet ¶
func (v NullableSystemInfo) IsSet() bool
func (NullableSystemInfo) MarshalJSON ¶
func (v NullableSystemInfo) MarshalJSON() ([]byte, error)
func (*NullableSystemInfo) Set ¶
func (v *NullableSystemInfo) Set(val *SystemInfo)
func (*NullableSystemInfo) UnmarshalJSON ¶
func (v *NullableSystemInfo) UnmarshalJSON(src []byte) error
func (*NullableSystemInfo) Unset ¶
func (v *NullableSystemInfo) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateConfigurationProperty ¶ added in v0.4.0
type NullableUpdateConfigurationProperty struct {
// contains filtered or unexported fields
}
func NewNullableUpdateConfigurationProperty ¶ added in v0.4.0
func NewNullableUpdateConfigurationProperty(val *UpdateConfigurationProperty) *NullableUpdateConfigurationProperty
func (NullableUpdateConfigurationProperty) Get ¶ added in v0.4.0
func (v NullableUpdateConfigurationProperty) Get() *UpdateConfigurationProperty
func (NullableUpdateConfigurationProperty) IsSet ¶ added in v0.4.0
func (v NullableUpdateConfigurationProperty) IsSet() bool
func (NullableUpdateConfigurationProperty) MarshalJSON ¶ added in v0.4.0
func (v NullableUpdateConfigurationProperty) MarshalJSON() ([]byte, error)
func (*NullableUpdateConfigurationProperty) Set ¶ added in v0.4.0
func (v *NullableUpdateConfigurationProperty) Set(val *UpdateConfigurationProperty)
func (*NullableUpdateConfigurationProperty) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableUpdateConfigurationProperty) UnmarshalJSON(src []byte) error
func (*NullableUpdateConfigurationProperty) Unset ¶ added in v0.4.0
func (v *NullableUpdateConfigurationProperty) Unset()
type NullableUpdateRole ¶
type NullableUpdateRole struct {
// contains filtered or unexported fields
}
func NewNullableUpdateRole ¶
func NewNullableUpdateRole(val *UpdateRole) *NullableUpdateRole
func (NullableUpdateRole) Get ¶
func (v NullableUpdateRole) Get() *UpdateRole
func (NullableUpdateRole) IsSet ¶
func (v NullableUpdateRole) IsSet() bool
func (NullableUpdateRole) MarshalJSON ¶
func (v NullableUpdateRole) MarshalJSON() ([]byte, error)
func (*NullableUpdateRole) Set ¶
func (v *NullableUpdateRole) Set(val *UpdateRole)
func (*NullableUpdateRole) UnmarshalJSON ¶
func (v *NullableUpdateRole) UnmarshalJSON(src []byte) error
func (*NullableUpdateRole) Unset ¶
func (v *NullableUpdateRole) Unset()
type NullableUpdateState ¶
type NullableUpdateState struct {
// contains filtered or unexported fields
}
func NewNullableUpdateState ¶
func NewNullableUpdateState(val *UpdateState) *NullableUpdateState
func (NullableUpdateState) Get ¶
func (v NullableUpdateState) Get() *UpdateState
func (NullableUpdateState) IsSet ¶
func (v NullableUpdateState) IsSet() bool
func (NullableUpdateState) MarshalJSON ¶
func (v NullableUpdateState) MarshalJSON() ([]byte, error)
func (*NullableUpdateState) Set ¶
func (v *NullableUpdateState) Set(val *UpdateState)
func (*NullableUpdateState) UnmarshalJSON ¶
func (v *NullableUpdateState) UnmarshalJSON(src []byte) error
func (*NullableUpdateState) Unset ¶
func (v *NullableUpdateState) Unset()
type NullableUserInfo ¶
type NullableUserInfo struct {
// contains filtered or unexported fields
}
func NewNullableUserInfo ¶
func NewNullableUserInfo(val *UserInfo) *NullableUserInfo
func (NullableUserInfo) Get ¶
func (v NullableUserInfo) Get() *UserInfo
func (NullableUserInfo) IsSet ¶
func (v NullableUserInfo) IsSet() bool
func (NullableUserInfo) MarshalJSON ¶
func (v NullableUserInfo) MarshalJSON() ([]byte, error)
func (*NullableUserInfo) Set ¶
func (v *NullableUserInfo) Set(val *UserInfo)
func (*NullableUserInfo) UnmarshalJSON ¶
func (v *NullableUserInfo) UnmarshalJSON(src []byte) error
func (*NullableUserInfo) Unset ¶
func (v *NullableUserInfo) Unset()
type NullableVersionMetaData ¶
type NullableVersionMetaData struct {
// contains filtered or unexported fields
}
func NewNullableVersionMetaData ¶
func NewNullableVersionMetaData(val *VersionMetaData) *NullableVersionMetaData
func (NullableVersionMetaData) Get ¶
func (v NullableVersionMetaData) Get() *VersionMetaData
func (NullableVersionMetaData) IsSet ¶
func (v NullableVersionMetaData) IsSet() bool
func (NullableVersionMetaData) MarshalJSON ¶
func (v NullableVersionMetaData) MarshalJSON() ([]byte, error)
func (*NullableVersionMetaData) Set ¶
func (v *NullableVersionMetaData) Set(val *VersionMetaData)
func (*NullableVersionMetaData) UnmarshalJSON ¶
func (v *NullableVersionMetaData) UnmarshalJSON(src []byte) error
func (*NullableVersionMetaData) Unset ¶
func (v *NullableVersionMetaData) Unset()
type NullableVersionSearchResults ¶
type NullableVersionSearchResults struct {
// contains filtered or unexported fields
}
func NewNullableVersionSearchResults ¶
func NewNullableVersionSearchResults(val *VersionSearchResults) *NullableVersionSearchResults
func (NullableVersionSearchResults) Get ¶
func (v NullableVersionSearchResults) Get() *VersionSearchResults
func (NullableVersionSearchResults) IsSet ¶
func (v NullableVersionSearchResults) IsSet() bool
func (NullableVersionSearchResults) MarshalJSON ¶
func (v NullableVersionSearchResults) MarshalJSON() ([]byte, error)
func (*NullableVersionSearchResults) Set ¶
func (v *NullableVersionSearchResults) Set(val *VersionSearchResults)
func (*NullableVersionSearchResults) UnmarshalJSON ¶
func (v *NullableVersionSearchResults) UnmarshalJSON(src []byte) error
func (*NullableVersionSearchResults) Unset ¶
func (v *NullableVersionSearchResults) Unset()
type RoleMapping ¶
type RoleMapping struct {
PrincipalId string `json:"principalId"`
Role RoleType `json:"role"`
// A friendly name for the principal.
PrincipalName *string `json:"principalName,omitempty"`
}
RoleMapping The mapping between a user/principal and their role.
func NewRoleMapping ¶
func NewRoleMapping(principalId string, role RoleType) *RoleMapping
NewRoleMapping instantiates a new RoleMapping object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleMappingWithDefaults ¶
func NewRoleMappingWithDefaults() *RoleMapping
NewRoleMappingWithDefaults instantiates a new RoleMapping object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RoleMapping) GetPrincipalId ¶
func (o *RoleMapping) GetPrincipalId() string
GetPrincipalId returns the PrincipalId field value
func (*RoleMapping) GetPrincipalIdOk ¶
func (o *RoleMapping) GetPrincipalIdOk() (*string, bool)
GetPrincipalIdOk returns a tuple with the PrincipalId field value and a boolean to check if the value has been set.
func (*RoleMapping) GetPrincipalName ¶ added in v0.4.0
func (o *RoleMapping) GetPrincipalName() string
GetPrincipalName returns the PrincipalName field value if set, zero value otherwise.
func (*RoleMapping) GetPrincipalNameOk ¶ added in v0.4.0
func (o *RoleMapping) GetPrincipalNameOk() (*string, bool)
GetPrincipalNameOk returns a tuple with the PrincipalName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RoleMapping) GetRole ¶
func (o *RoleMapping) GetRole() RoleType
GetRole returns the Role field value
func (*RoleMapping) GetRoleOk ¶
func (o *RoleMapping) GetRoleOk() (*RoleType, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*RoleMapping) HasPrincipalName ¶ added in v0.4.0
func (o *RoleMapping) HasPrincipalName() bool
HasPrincipalName returns a boolean if a field has been set.
func (RoleMapping) MarshalJSON ¶
func (o RoleMapping) MarshalJSON() ([]byte, error)
func (*RoleMapping) SetPrincipalId ¶
func (o *RoleMapping) SetPrincipalId(v string)
SetPrincipalId sets field value
func (*RoleMapping) SetPrincipalName ¶ added in v0.4.0
func (o *RoleMapping) SetPrincipalName(v string)
SetPrincipalName gets a reference to the given string and assigns it to the PrincipalName field.
type RoleType ¶
type RoleType string
RoleType the model 'RoleType'
const ( ROLETYPE_READ_ONLY RoleType = "READ_ONLY" ROLETYPE_DEVELOPER RoleType = "DEVELOPER" ROLETYPE_ADMIN RoleType = "ADMIN" )
List of RoleType
func NewRoleTypeFromValue ¶
NewRoleTypeFromValue returns a pointer to a valid RoleType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*RoleType) UnmarshalJSON ¶
type Rule ¶
Rule struct for Rule
func NewRule ¶
NewRule instantiates a new Rule object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRuleWithDefaults ¶
func NewRuleWithDefaults() *Rule
NewRuleWithDefaults instantiates a new Rule object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Rule) GetConfigOk ¶
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*Rule) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (Rule) MarshalJSON ¶
type RuleType ¶
type RuleType string
RuleType the model 'RuleType'
List of RuleType
func NewRuleTypeFromValue ¶
NewRuleTypeFromValue returns a pointer to a valid RuleType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*RuleType) UnmarshalJSON ¶
type RuleViolationCause ¶
type RuleViolationCause struct {
Description *string `json:"description,omitempty"`
Context *string `json:"context,omitempty"`
}
RuleViolationCause struct for RuleViolationCause
func NewRuleViolationCause ¶
func NewRuleViolationCause() *RuleViolationCause
NewRuleViolationCause instantiates a new RuleViolationCause object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRuleViolationCauseWithDefaults ¶
func NewRuleViolationCauseWithDefaults() *RuleViolationCause
NewRuleViolationCauseWithDefaults instantiates a new RuleViolationCause object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RuleViolationCause) GetContext ¶
func (o *RuleViolationCause) GetContext() string
GetContext returns the Context field value if set, zero value otherwise.
func (*RuleViolationCause) GetContextOk ¶
func (o *RuleViolationCause) GetContextOk() (*string, bool)
GetContextOk returns a tuple with the Context field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleViolationCause) GetDescription ¶
func (o *RuleViolationCause) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*RuleViolationCause) GetDescriptionOk ¶
func (o *RuleViolationCause) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleViolationCause) HasContext ¶
func (o *RuleViolationCause) HasContext() bool
HasContext returns a boolean if a field has been set.
func (*RuleViolationCause) HasDescription ¶
func (o *RuleViolationCause) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (RuleViolationCause) MarshalJSON ¶
func (o RuleViolationCause) MarshalJSON() ([]byte, error)
func (*RuleViolationCause) SetContext ¶
func (o *RuleViolationCause) SetContext(v string)
SetContext gets a reference to the given string and assigns it to the Context field.
func (*RuleViolationCause) SetDescription ¶
func (o *RuleViolationCause) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
type RuleViolationError ¶
type RuleViolationError struct {
// List of rule violation causes.
Causes []RuleViolationCause `json:"causes"`
// The short error message.
Message *string `json:"message,omitempty"`
// The server-side error code.
ErrorCode *int32 `json:"error_code,omitempty"`
// Full details about the error. This might contain a server stack trace, for example.
Detail *string `json:"detail,omitempty"`
// The error name - typically the classname of the exception thrown by the server.
Name *string `json:"name,omitempty"`
}
RuleViolationError All error responses, whether `4xx` or `5xx` will include one of these as the response body.
func NewRuleViolationError ¶
func NewRuleViolationError(causes []RuleViolationCause) *RuleViolationError
NewRuleViolationError instantiates a new RuleViolationError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRuleViolationErrorWithDefaults ¶
func NewRuleViolationErrorWithDefaults() *RuleViolationError
NewRuleViolationErrorWithDefaults instantiates a new RuleViolationError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RuleViolationError) GetCauses ¶
func (o *RuleViolationError) GetCauses() []RuleViolationCause
GetCauses returns the Causes field value
func (*RuleViolationError) GetCausesOk ¶
func (o *RuleViolationError) GetCausesOk() (*[]RuleViolationCause, bool)
GetCausesOk returns a tuple with the Causes field value and a boolean to check if the value has been set.
func (*RuleViolationError) GetDetail ¶
func (o *RuleViolationError) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*RuleViolationError) GetDetailOk ¶
func (o *RuleViolationError) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleViolationError) GetErrorCode ¶
func (o *RuleViolationError) GetErrorCode() int32
GetErrorCode returns the ErrorCode field value if set, zero value otherwise.
func (*RuleViolationError) GetErrorCodeOk ¶
func (o *RuleViolationError) GetErrorCodeOk() (*int32, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleViolationError) GetMessage ¶
func (o *RuleViolationError) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*RuleViolationError) GetMessageOk ¶
func (o *RuleViolationError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleViolationError) GetName ¶
func (o *RuleViolationError) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*RuleViolationError) GetNameOk ¶
func (o *RuleViolationError) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RuleViolationError) HasDetail ¶
func (o *RuleViolationError) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*RuleViolationError) HasErrorCode ¶
func (o *RuleViolationError) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (*RuleViolationError) HasMessage ¶
func (o *RuleViolationError) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*RuleViolationError) HasName ¶
func (o *RuleViolationError) HasName() bool
HasName returns a boolean if a field has been set.
func (RuleViolationError) MarshalJSON ¶
func (o RuleViolationError) MarshalJSON() ([]byte, error)
func (*RuleViolationError) SetCauses ¶
func (o *RuleViolationError) SetCauses(v []RuleViolationCause)
SetCauses sets field value
func (*RuleViolationError) SetDetail ¶
func (o *RuleViolationError) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*RuleViolationError) SetErrorCode ¶
func (o *RuleViolationError) SetErrorCode(v int32)
SetErrorCode gets a reference to the given int32 and assigns it to the ErrorCode field.
func (*RuleViolationError) SetMessage ¶
func (o *RuleViolationError) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*RuleViolationError) SetName ¶
func (o *RuleViolationError) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
type RuleViolationErrorAllOf ¶
type RuleViolationErrorAllOf struct {
// List of rule violation causes.
Causes []RuleViolationCause `json:"causes"`
}
RuleViolationErrorAllOf struct for RuleViolationErrorAllOf
func NewRuleViolationErrorAllOf ¶
func NewRuleViolationErrorAllOf(causes []RuleViolationCause) *RuleViolationErrorAllOf
NewRuleViolationErrorAllOf instantiates a new RuleViolationErrorAllOf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRuleViolationErrorAllOfWithDefaults ¶
func NewRuleViolationErrorAllOfWithDefaults() *RuleViolationErrorAllOf
NewRuleViolationErrorAllOfWithDefaults instantiates a new RuleViolationErrorAllOf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RuleViolationErrorAllOf) GetCauses ¶
func (o *RuleViolationErrorAllOf) GetCauses() []RuleViolationCause
GetCauses returns the Causes field value
func (*RuleViolationErrorAllOf) GetCausesOk ¶
func (o *RuleViolationErrorAllOf) GetCausesOk() (*[]RuleViolationCause, bool)
GetCausesOk returns a tuple with the Causes field value and a boolean to check if the value has been set.
func (RuleViolationErrorAllOf) MarshalJSON ¶
func (o RuleViolationErrorAllOf) MarshalJSON() ([]byte, error)
func (*RuleViolationErrorAllOf) SetCauses ¶
func (o *RuleViolationErrorAllOf) SetCauses(v []RuleViolationCause)
SetCauses sets field value
type SearchApi ¶ added in v0.4.0
type SearchApi interface {
/*
* SearchArtifacts Search for artifacts
* Returns a paginated list of all artifacts that match the provided filter criteria.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiSearchArtifactsRequest
*/
SearchArtifacts(ctx _context.Context) ApiSearchArtifactsRequest
/*
* SearchArtifactsExecute executes the request
* @return ArtifactSearchResults
*/
SearchArtifactsExecute(r ApiSearchArtifactsRequest) (ArtifactSearchResults, *_nethttp.Response, error)
/*
* SearchArtifactsByContent Search for artifacts by content
* Returns a paginated list of all artifacts with at least one version that matches the
posted content.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiSearchArtifactsByContentRequest
*/
SearchArtifactsByContent(ctx _context.Context) ApiSearchArtifactsByContentRequest
/*
* SearchArtifactsByContentExecute executes the request
* @return ArtifactSearchResults
*/
SearchArtifactsByContentExecute(r ApiSearchArtifactsByContentRequest) (ArtifactSearchResults, *_nethttp.Response, error)
}
type SearchApiService ¶ added in v0.4.0
type SearchApiService service
SearchApiService SearchApi service
func (*SearchApiService) SearchArtifacts ¶ added in v0.4.0
func (a *SearchApiService) SearchArtifacts(ctx _context.Context) ApiSearchArtifactsRequest
* SearchArtifacts Search for artifacts * Returns a paginated list of all artifacts that match the provided filter criteria.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiSearchArtifactsRequest
func (*SearchApiService) SearchArtifactsByContent ¶ added in v0.4.0
func (a *SearchApiService) SearchArtifactsByContent(ctx _context.Context) ApiSearchArtifactsByContentRequest
- SearchArtifactsByContent Search for artifacts by content
- Returns a paginated list of all artifacts with at least one version that matches the
posted content.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSearchArtifactsByContentRequest
func (*SearchApiService) SearchArtifactsByContentExecute ¶ added in v0.4.0
func (a *SearchApiService) SearchArtifactsByContentExecute(r ApiSearchArtifactsByContentRequest) (ArtifactSearchResults, *_nethttp.Response, error)
* Execute executes the request * @return ArtifactSearchResults
func (*SearchApiService) SearchArtifactsExecute ¶ added in v0.4.0
func (a *SearchApiService) SearchArtifactsExecute(r ApiSearchArtifactsRequest) (ArtifactSearchResults, *_nethttp.Response, error)
* Execute executes the request * @return ArtifactSearchResults
type SearchedArtifact ¶
type SearchedArtifact struct {
// The ID of a single artifact.
Id string `json:"id"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
CreatedOn string `json:"createdOn"`
CreatedBy string `json:"createdBy"`
Type string `json:"type"`
Labels *[]string `json:"labels,omitempty"`
State ArtifactState `json:"state"`
ModifiedOn *string `json:"modifiedOn,omitempty"`
ModifiedBy *string `json:"modifiedBy,omitempty"`
// An ID of a single artifact group.
GroupId *string `json:"groupId,omitempty"`
}
SearchedArtifact Models a single artifact from the result set returned when searching for artifacts.
func NewSearchedArtifact ¶
func NewSearchedArtifact(id string, createdOn string, createdBy string, type_ string, state ArtifactState) *SearchedArtifact
NewSearchedArtifact instantiates a new SearchedArtifact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSearchedArtifactWithDefaults ¶
func NewSearchedArtifactWithDefaults() *SearchedArtifact
NewSearchedArtifactWithDefaults instantiates a new SearchedArtifact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SearchedArtifact) GetCreatedBy ¶
func (o *SearchedArtifact) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*SearchedArtifact) GetCreatedByOk ¶
func (o *SearchedArtifact) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*SearchedArtifact) GetCreatedOn ¶
func (o *SearchedArtifact) GetCreatedOn() string
GetCreatedOn returns the CreatedOn field value
func (*SearchedArtifact) GetCreatedOnOk ¶
func (o *SearchedArtifact) GetCreatedOnOk() (*string, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.
func (*SearchedArtifact) GetDescription ¶
func (o *SearchedArtifact) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*SearchedArtifact) GetDescriptionOk ¶
func (o *SearchedArtifact) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchedArtifact) GetGroupId ¶
func (o *SearchedArtifact) GetGroupId() string
GetGroupId returns the GroupId field value if set, zero value otherwise.
func (*SearchedArtifact) GetGroupIdOk ¶
func (o *SearchedArtifact) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchedArtifact) GetId ¶
func (o *SearchedArtifact) GetId() string
GetId returns the Id field value
func (*SearchedArtifact) GetIdOk ¶
func (o *SearchedArtifact) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*SearchedArtifact) GetLabels ¶
func (o *SearchedArtifact) GetLabels() []string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*SearchedArtifact) GetLabelsOk ¶
func (o *SearchedArtifact) GetLabelsOk() (*[]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchedArtifact) GetModifiedBy ¶
func (o *SearchedArtifact) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field value if set, zero value otherwise.
func (*SearchedArtifact) GetModifiedByOk ¶
func (o *SearchedArtifact) GetModifiedByOk() (*string, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchedArtifact) GetModifiedOn ¶
func (o *SearchedArtifact) GetModifiedOn() string
GetModifiedOn returns the ModifiedOn field value if set, zero value otherwise.
func (*SearchedArtifact) GetModifiedOnOk ¶
func (o *SearchedArtifact) GetModifiedOnOk() (*string, bool)
GetModifiedOnOk returns a tuple with the ModifiedOn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchedArtifact) GetName ¶
func (o *SearchedArtifact) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SearchedArtifact) GetNameOk ¶
func (o *SearchedArtifact) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchedArtifact) GetState ¶
func (o *SearchedArtifact) GetState() ArtifactState
GetState returns the State field value
func (*SearchedArtifact) GetStateOk ¶
func (o *SearchedArtifact) GetStateOk() (*ArtifactState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*SearchedArtifact) GetType ¶
func (o *SearchedArtifact) GetType() string
GetType returns the Type field value
func (*SearchedArtifact) GetTypeOk ¶
func (o *SearchedArtifact) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*SearchedArtifact) HasDescription ¶
func (o *SearchedArtifact) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*SearchedArtifact) HasGroupId ¶
func (o *SearchedArtifact) HasGroupId() bool
HasGroupId returns a boolean if a field has been set.
func (*SearchedArtifact) HasLabels ¶
func (o *SearchedArtifact) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*SearchedArtifact) HasModifiedBy ¶
func (o *SearchedArtifact) HasModifiedBy() bool
HasModifiedBy returns a boolean if a field has been set.
func (*SearchedArtifact) HasModifiedOn ¶
func (o *SearchedArtifact) HasModifiedOn() bool
HasModifiedOn returns a boolean if a field has been set.
func (*SearchedArtifact) HasName ¶
func (o *SearchedArtifact) HasName() bool
HasName returns a boolean if a field has been set.
func (SearchedArtifact) MarshalJSON ¶
func (o SearchedArtifact) MarshalJSON() ([]byte, error)
func (*SearchedArtifact) SetCreatedBy ¶
func (o *SearchedArtifact) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*SearchedArtifact) SetCreatedOn ¶
func (o *SearchedArtifact) SetCreatedOn(v string)
SetCreatedOn sets field value
func (*SearchedArtifact) SetDescription ¶
func (o *SearchedArtifact) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*SearchedArtifact) SetGroupId ¶
func (o *SearchedArtifact) SetGroupId(v string)
SetGroupId gets a reference to the given string and assigns it to the GroupId field.
func (*SearchedArtifact) SetLabels ¶
func (o *SearchedArtifact) SetLabels(v []string)
SetLabels gets a reference to the given []string and assigns it to the Labels field.
func (*SearchedArtifact) SetModifiedBy ¶
func (o *SearchedArtifact) SetModifiedBy(v string)
SetModifiedBy gets a reference to the given string and assigns it to the ModifiedBy field.
func (*SearchedArtifact) SetModifiedOn ¶
func (o *SearchedArtifact) SetModifiedOn(v string)
SetModifiedOn gets a reference to the given string and assigns it to the ModifiedOn field.
func (*SearchedArtifact) SetName ¶
func (o *SearchedArtifact) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SearchedArtifact) SetState ¶
func (o *SearchedArtifact) SetState(v ArtifactState)
SetState sets field value
func (*SearchedArtifact) SetType ¶
func (o *SearchedArtifact) SetType(v string)
SetType sets field value
type SearchedGroup ¶ added in v0.9.0
type SearchedGroup struct {
// An ID of a single artifact group.
Id string `json:"id"`
Description string `json:"description"`
CreatedOn string `json:"createdOn"`
CreatedBy string `json:"createdBy"`
ModifiedOn string `json:"modifiedOn"`
ModifiedBy string `json:"modifiedBy"`
}
SearchedGroup Models a single group from the result set returned when searching for groups.
func NewSearchedGroup ¶ added in v0.9.0
func NewSearchedGroup(id string, description string, createdOn string, createdBy string, modifiedOn string, modifiedBy string) *SearchedGroup
NewSearchedGroup instantiates a new SearchedGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSearchedGroupWithDefaults ¶ added in v0.9.0
func NewSearchedGroupWithDefaults() *SearchedGroup
NewSearchedGroupWithDefaults instantiates a new SearchedGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SearchedGroup) GetCreatedBy ¶ added in v0.9.0
func (o *SearchedGroup) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*SearchedGroup) GetCreatedByOk ¶ added in v0.9.0
func (o *SearchedGroup) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*SearchedGroup) GetCreatedOn ¶ added in v0.9.0
func (o *SearchedGroup) GetCreatedOn() string
GetCreatedOn returns the CreatedOn field value
func (*SearchedGroup) GetCreatedOnOk ¶ added in v0.9.0
func (o *SearchedGroup) GetCreatedOnOk() (*string, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.
func (*SearchedGroup) GetDescription ¶ added in v0.9.0
func (o *SearchedGroup) GetDescription() string
GetDescription returns the Description field value
func (*SearchedGroup) GetDescriptionOk ¶ added in v0.9.0
func (o *SearchedGroup) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*SearchedGroup) GetId ¶ added in v0.9.0
func (o *SearchedGroup) GetId() string
GetId returns the Id field value
func (*SearchedGroup) GetIdOk ¶ added in v0.9.0
func (o *SearchedGroup) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*SearchedGroup) GetModifiedBy ¶ added in v0.9.0
func (o *SearchedGroup) GetModifiedBy() string
GetModifiedBy returns the ModifiedBy field value
func (*SearchedGroup) GetModifiedByOk ¶ added in v0.9.0
func (o *SearchedGroup) GetModifiedByOk() (*string, bool)
GetModifiedByOk returns a tuple with the ModifiedBy field value and a boolean to check if the value has been set.
func (*SearchedGroup) GetModifiedOn ¶ added in v0.9.0
func (o *SearchedGroup) GetModifiedOn() string
GetModifiedOn returns the ModifiedOn field value
func (*SearchedGroup) GetModifiedOnOk ¶ added in v0.9.0
func (o *SearchedGroup) GetModifiedOnOk() (*string, bool)
GetModifiedOnOk returns a tuple with the ModifiedOn field value and a boolean to check if the value has been set.
func (SearchedGroup) MarshalJSON ¶ added in v0.9.0
func (o SearchedGroup) MarshalJSON() ([]byte, error)
func (*SearchedGroup) SetCreatedBy ¶ added in v0.9.0
func (o *SearchedGroup) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*SearchedGroup) SetCreatedOn ¶ added in v0.9.0
func (o *SearchedGroup) SetCreatedOn(v string)
SetCreatedOn sets field value
func (*SearchedGroup) SetDescription ¶ added in v0.9.0
func (o *SearchedGroup) SetDescription(v string)
SetDescription sets field value
func (*SearchedGroup) SetId ¶ added in v0.9.0
func (o *SearchedGroup) SetId(v string)
SetId sets field value
func (*SearchedGroup) SetModifiedBy ¶ added in v0.9.0
func (o *SearchedGroup) SetModifiedBy(v string)
SetModifiedBy sets field value
func (*SearchedGroup) SetModifiedOn ¶ added in v0.9.0
func (o *SearchedGroup) SetModifiedOn(v string)
SetModifiedOn sets field value
type SearchedVersion ¶
type SearchedVersion struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
CreatedOn string `json:"createdOn"`
CreatedBy string `json:"createdBy"`
Type string `json:"type"`
Labels *[]string `json:"labels,omitempty"`
State ArtifactState `json:"state"`
GlobalId int64 `json:"globalId"`
Version string `json:"version"`
// User-defined name-value pairs. Name and value must be strings.
Properties *map[string]string `json:"properties,omitempty"`
ContentId int64 `json:"contentId"`
References []ArtifactReference `json:"references"`
}
SearchedVersion Models a single artifact from the result set returned when searching for artifacts.
func NewSearchedVersion ¶
func NewSearchedVersion(createdOn string, createdBy string, type_ string, state ArtifactState, globalId int64, version string, contentId int64, references []ArtifactReference) *SearchedVersion
NewSearchedVersion instantiates a new SearchedVersion object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSearchedVersionWithDefaults ¶
func NewSearchedVersionWithDefaults() *SearchedVersion
NewSearchedVersionWithDefaults instantiates a new SearchedVersion object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SearchedVersion) GetContentId ¶
func (o *SearchedVersion) GetContentId() int64
GetContentId returns the ContentId field value
func (*SearchedVersion) GetContentIdOk ¶
func (o *SearchedVersion) GetContentIdOk() (*int64, bool)
GetContentIdOk returns a tuple with the ContentId field value and a boolean to check if the value has been set.
func (*SearchedVersion) GetCreatedBy ¶
func (o *SearchedVersion) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*SearchedVersion) GetCreatedByOk ¶
func (o *SearchedVersion) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*SearchedVersion) GetCreatedOn ¶
func (o *SearchedVersion) GetCreatedOn() string
GetCreatedOn returns the CreatedOn field value
func (*SearchedVersion) GetCreatedOnOk ¶
func (o *SearchedVersion) GetCreatedOnOk() (*string, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.
func (*SearchedVersion) GetDescription ¶
func (o *SearchedVersion) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*SearchedVersion) GetDescriptionOk ¶
func (o *SearchedVersion) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchedVersion) GetGlobalId ¶
func (o *SearchedVersion) GetGlobalId() int64
GetGlobalId returns the GlobalId field value
func (*SearchedVersion) GetGlobalIdOk ¶
func (o *SearchedVersion) GetGlobalIdOk() (*int64, bool)
GetGlobalIdOk returns a tuple with the GlobalId field value and a boolean to check if the value has been set.
func (*SearchedVersion) GetLabels ¶
func (o *SearchedVersion) GetLabels() []string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*SearchedVersion) GetLabelsOk ¶
func (o *SearchedVersion) GetLabelsOk() (*[]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchedVersion) GetName ¶
func (o *SearchedVersion) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SearchedVersion) GetNameOk ¶
func (o *SearchedVersion) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchedVersion) GetProperties ¶
func (o *SearchedVersion) GetProperties() map[string]string
GetProperties returns the Properties field value if set, zero value otherwise.
func (*SearchedVersion) GetPropertiesOk ¶
func (o *SearchedVersion) GetPropertiesOk() (*map[string]string, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SearchedVersion) GetReferences ¶ added in v0.4.0
func (o *SearchedVersion) GetReferences() []ArtifactReference
GetReferences returns the References field value
func (*SearchedVersion) GetReferencesOk ¶ added in v0.4.0
func (o *SearchedVersion) GetReferencesOk() (*[]ArtifactReference, bool)
GetReferencesOk returns a tuple with the References field value and a boolean to check if the value has been set.
func (*SearchedVersion) GetState ¶
func (o *SearchedVersion) GetState() ArtifactState
GetState returns the State field value
func (*SearchedVersion) GetStateOk ¶
func (o *SearchedVersion) GetStateOk() (*ArtifactState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*SearchedVersion) GetType ¶
func (o *SearchedVersion) GetType() string
GetType returns the Type field value
func (*SearchedVersion) GetTypeOk ¶
func (o *SearchedVersion) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*SearchedVersion) GetVersion ¶
func (o *SearchedVersion) GetVersion() string
GetVersion returns the Version field value
func (*SearchedVersion) GetVersionOk ¶
func (o *SearchedVersion) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*SearchedVersion) HasDescription ¶
func (o *SearchedVersion) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*SearchedVersion) HasLabels ¶
func (o *SearchedVersion) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*SearchedVersion) HasName ¶
func (o *SearchedVersion) HasName() bool
HasName returns a boolean if a field has been set.
func (*SearchedVersion) HasProperties ¶
func (o *SearchedVersion) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (SearchedVersion) MarshalJSON ¶
func (o SearchedVersion) MarshalJSON() ([]byte, error)
func (*SearchedVersion) SetContentId ¶
func (o *SearchedVersion) SetContentId(v int64)
SetContentId sets field value
func (*SearchedVersion) SetCreatedBy ¶
func (o *SearchedVersion) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*SearchedVersion) SetCreatedOn ¶
func (o *SearchedVersion) SetCreatedOn(v string)
SetCreatedOn sets field value
func (*SearchedVersion) SetDescription ¶
func (o *SearchedVersion) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*SearchedVersion) SetGlobalId ¶
func (o *SearchedVersion) SetGlobalId(v int64)
SetGlobalId sets field value
func (*SearchedVersion) SetLabels ¶
func (o *SearchedVersion) SetLabels(v []string)
SetLabels gets a reference to the given []string and assigns it to the Labels field.
func (*SearchedVersion) SetName ¶
func (o *SearchedVersion) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SearchedVersion) SetProperties ¶
func (o *SearchedVersion) SetProperties(v map[string]string)
SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.
func (*SearchedVersion) SetReferences ¶ added in v0.4.0
func (o *SearchedVersion) SetReferences(v []ArtifactReference)
SetReferences sets field value
func (*SearchedVersion) SetState ¶
func (o *SearchedVersion) SetState(v ArtifactState)
SetState sets field value
func (*SearchedVersion) SetType ¶
func (o *SearchedVersion) SetType(v string)
SetType sets field value
func (*SearchedVersion) SetVersion ¶
func (o *SearchedVersion) SetVersion(v string)
SetVersion sets field value
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SortBy ¶
type SortBy string
SortBy the model 'SortBy'
func NewSortByFromValue ¶
NewSortByFromValue returns a pointer to a valid SortBy for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*SortBy) UnmarshalJSON ¶
type SortOrder ¶
type SortOrder string
SortOrder the model 'SortOrder'
func NewSortOrderFromValue ¶
NewSortOrderFromValue returns a pointer to a valid SortOrder for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*SortOrder) UnmarshalJSON ¶
type SystemApi ¶
type SystemApi interface {
/*
* GetResourceLimits Get resource limits information
* This operation retrieves the list of limitations on used resources, that are applied on the current instance of Registry.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiGetResourceLimitsRequest
*/
GetResourceLimits(ctx _context.Context) ApiGetResourceLimitsRequest
/*
* GetResourceLimitsExecute executes the request
* @return Limits
*/
GetResourceLimitsExecute(r ApiGetResourceLimitsRequest) (Limits, *_nethttp.Response, error)
/*
* GetSystemInfo Get system information
* This operation retrieves information about the running registry system, such as the version
of the software and when it was built.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiGetSystemInfoRequest
*/
GetSystemInfo(ctx _context.Context) ApiGetSystemInfoRequest
/*
* GetSystemInfoExecute executes the request
* @return SystemInfo
*/
GetSystemInfoExecute(r ApiGetSystemInfoRequest) (SystemInfo, *_nethttp.Response, error)
}
type SystemApiService ¶
type SystemApiService service
SystemApiService SystemApi service
func (*SystemApiService) GetResourceLimits ¶ added in v0.4.0
func (a *SystemApiService) GetResourceLimits(ctx _context.Context) ApiGetResourceLimitsRequest
* GetResourceLimits Get resource limits information * This operation retrieves the list of limitations on used resources, that are applied on the current instance of Registry. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetResourceLimitsRequest
func (*SystemApiService) GetResourceLimitsExecute ¶ added in v0.4.0
func (a *SystemApiService) GetResourceLimitsExecute(r ApiGetResourceLimitsRequest) (Limits, *_nethttp.Response, error)
* Execute executes the request * @return Limits
func (*SystemApiService) GetSystemInfo ¶
func (a *SystemApiService) GetSystemInfo(ctx _context.Context) ApiGetSystemInfoRequest
- GetSystemInfo Get system information
- This operation retrieves information about the running registry system, such as the version
of the software and when it was built.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetSystemInfoRequest
func (*SystemApiService) GetSystemInfoExecute ¶
func (a *SystemApiService) GetSystemInfoExecute(r ApiGetSystemInfoRequest) (SystemInfo, *_nethttp.Response, error)
* Execute executes the request * @return SystemInfo
type SystemInfo ¶
type SystemInfo struct {
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
Version *string `json:"version,omitempty"`
BuiltOn *string `json:"builtOn,omitempty"`
}
SystemInfo struct for SystemInfo
func NewSystemInfo ¶
func NewSystemInfo() *SystemInfo
NewSystemInfo instantiates a new SystemInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSystemInfoWithDefaults ¶
func NewSystemInfoWithDefaults() *SystemInfo
NewSystemInfoWithDefaults instantiates a new SystemInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SystemInfo) GetBuiltOn ¶
func (o *SystemInfo) GetBuiltOn() string
GetBuiltOn returns the BuiltOn field value if set, zero value otherwise.
func (*SystemInfo) GetBuiltOnOk ¶
func (o *SystemInfo) GetBuiltOnOk() (*string, bool)
GetBuiltOnOk returns a tuple with the BuiltOn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SystemInfo) GetDescription ¶
func (o *SystemInfo) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*SystemInfo) GetDescriptionOk ¶
func (o *SystemInfo) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SystemInfo) GetName ¶
func (o *SystemInfo) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SystemInfo) GetNameOk ¶
func (o *SystemInfo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SystemInfo) GetVersion ¶
func (o *SystemInfo) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*SystemInfo) GetVersionOk ¶
func (o *SystemInfo) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SystemInfo) HasBuiltOn ¶
func (o *SystemInfo) HasBuiltOn() bool
HasBuiltOn returns a boolean if a field has been set.
func (*SystemInfo) HasDescription ¶
func (o *SystemInfo) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*SystemInfo) HasName ¶
func (o *SystemInfo) HasName() bool
HasName returns a boolean if a field has been set.
func (*SystemInfo) HasVersion ¶
func (o *SystemInfo) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (SystemInfo) MarshalJSON ¶
func (o SystemInfo) MarshalJSON() ([]byte, error)
func (*SystemInfo) SetBuiltOn ¶
func (o *SystemInfo) SetBuiltOn(v string)
SetBuiltOn gets a reference to the given string and assigns it to the BuiltOn field.
func (*SystemInfo) SetDescription ¶
func (o *SystemInfo) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*SystemInfo) SetName ¶
func (o *SystemInfo) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SystemInfo) SetVersion ¶
func (o *SystemInfo) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
type UpdateConfigurationProperty ¶ added in v0.4.0
type UpdateConfigurationProperty struct {
Value string `json:"value"`
}
UpdateConfigurationProperty struct for UpdateConfigurationProperty
func NewUpdateConfigurationProperty ¶ added in v0.4.0
func NewUpdateConfigurationProperty(value string) *UpdateConfigurationProperty
NewUpdateConfigurationProperty instantiates a new UpdateConfigurationProperty object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateConfigurationPropertyWithDefaults ¶ added in v0.4.0
func NewUpdateConfigurationPropertyWithDefaults() *UpdateConfigurationProperty
NewUpdateConfigurationPropertyWithDefaults instantiates a new UpdateConfigurationProperty object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateConfigurationProperty) GetValue ¶ added in v0.4.0
func (o *UpdateConfigurationProperty) GetValue() string
GetValue returns the Value field value
func (*UpdateConfigurationProperty) GetValueOk ¶ added in v0.4.0
func (o *UpdateConfigurationProperty) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (UpdateConfigurationProperty) MarshalJSON ¶ added in v0.4.0
func (o UpdateConfigurationProperty) MarshalJSON() ([]byte, error)
func (*UpdateConfigurationProperty) SetValue ¶ added in v0.4.0
func (o *UpdateConfigurationProperty) SetValue(v string)
SetValue sets field value
type UpdateRole ¶
type UpdateRole struct {
Role RoleType `json:"role"`
}
UpdateRole struct for UpdateRole
func NewUpdateRole ¶
func NewUpdateRole(role RoleType) *UpdateRole
NewUpdateRole instantiates a new UpdateRole object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateRoleWithDefaults ¶
func NewUpdateRoleWithDefaults() *UpdateRole
NewUpdateRoleWithDefaults instantiates a new UpdateRole object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateRole) GetRole ¶
func (o *UpdateRole) GetRole() RoleType
GetRole returns the Role field value
func (*UpdateRole) GetRoleOk ¶
func (o *UpdateRole) GetRoleOk() (*RoleType, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (UpdateRole) MarshalJSON ¶
func (o UpdateRole) MarshalJSON() ([]byte, error)
type UpdateState ¶
type UpdateState struct {
State ArtifactState `json:"state"`
}
UpdateState struct for UpdateState
func NewUpdateState ¶
func NewUpdateState(state ArtifactState) *UpdateState
NewUpdateState instantiates a new UpdateState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdateStateWithDefaults ¶
func NewUpdateStateWithDefaults() *UpdateState
NewUpdateStateWithDefaults instantiates a new UpdateState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdateState) GetState ¶
func (o *UpdateState) GetState() ArtifactState
GetState returns the State field value
func (*UpdateState) GetStateOk ¶
func (o *UpdateState) GetStateOk() (*ArtifactState, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (UpdateState) MarshalJSON ¶
func (o UpdateState) MarshalJSON() ([]byte, error)
func (*UpdateState) SetState ¶
func (o *UpdateState) SetState(v ArtifactState)
SetState sets field value
type UserInfo ¶
type UserInfo struct {
Username *string `json:"username,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Admin *bool `json:"admin,omitempty"`
Developer *bool `json:"developer,omitempty"`
Viewer *bool `json:"viewer,omitempty"`
}
UserInfo Information about a single user.
func NewUserInfo ¶
func NewUserInfo() *UserInfo
NewUserInfo instantiates a new UserInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserInfoWithDefaults ¶
func NewUserInfoWithDefaults() *UserInfo
NewUserInfoWithDefaults instantiates a new UserInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UserInfo) GetAdminOk ¶
GetAdminOk returns a tuple with the Admin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfo) GetDeveloper ¶
GetDeveloper returns the Developer field value if set, zero value otherwise.
func (*UserInfo) GetDeveloperOk ¶
GetDeveloperOk returns a tuple with the Developer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfo) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*UserInfo) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfo) GetUsername ¶
GetUsername returns the Username field value if set, zero value otherwise.
func (*UserInfo) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfo) GetViewerOk ¶
GetViewerOk returns a tuple with the Viewer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserInfo) HasDeveloper ¶
HasDeveloper returns a boolean if a field has been set.
func (*UserInfo) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (*UserInfo) HasUsername ¶
HasUsername returns a boolean if a field has been set.
func (UserInfo) MarshalJSON ¶
func (*UserInfo) SetAdmin ¶
SetAdmin gets a reference to the given bool and assigns it to the Admin field.
func (*UserInfo) SetDeveloper ¶
SetDeveloper gets a reference to the given bool and assigns it to the Developer field.
func (*UserInfo) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*UserInfo) SetUsername ¶
SetUsername gets a reference to the given string and assigns it to the Username field.
type UsersApi ¶
type UsersApi interface {
/*
* GetCurrentUserInfo Get current user
* Returns information about the currently authenticated user.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @return ApiGetCurrentUserInfoRequest
*/
GetCurrentUserInfo(ctx _context.Context) ApiGetCurrentUserInfoRequest
/*
* GetCurrentUserInfoExecute executes the request
* @return UserInfo
*/
GetCurrentUserInfoExecute(r ApiGetCurrentUserInfoRequest) (UserInfo, *_nethttp.Response, error)
}
type UsersApiService ¶
type UsersApiService service
UsersApiService UsersApi service
func (*UsersApiService) GetCurrentUserInfo ¶
func (a *UsersApiService) GetCurrentUserInfo(ctx _context.Context) ApiGetCurrentUserInfoRequest
* GetCurrentUserInfo Get current user * Returns information about the currently authenticated user. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetCurrentUserInfoRequest
func (*UsersApiService) GetCurrentUserInfoExecute ¶
func (a *UsersApiService) GetCurrentUserInfoExecute(r ApiGetCurrentUserInfoRequest) (UserInfo, *_nethttp.Response, error)
* Execute executes the request * @return UserInfo
type VersionMetaData ¶
type VersionMetaData struct {
Version string `json:"version"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
CreatedBy string `json:"createdBy"`
CreatedOn string `json:"createdOn"`
Type string `json:"type"`
GlobalId int64 `json:"globalId"`
State *ArtifactState `json:"state,omitempty"`
// The ID of a single artifact.
Id string `json:"id"`
Labels *[]string `json:"labels,omitempty"`
// User-defined name-value pairs. Name and value must be strings.
Properties *map[string]string `json:"properties,omitempty"`
// An ID of a single artifact group.
GroupId *string `json:"groupId,omitempty"`
ContentId int64 `json:"contentId"`
}
VersionMetaData struct for VersionMetaData
func NewVersionMetaData ¶
func NewVersionMetaData(version string, createdBy string, createdOn string, type_ string, globalId int64, id string, contentId int64) *VersionMetaData
NewVersionMetaData instantiates a new VersionMetaData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVersionMetaDataWithDefaults ¶
func NewVersionMetaDataWithDefaults() *VersionMetaData
NewVersionMetaDataWithDefaults instantiates a new VersionMetaData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VersionMetaData) GetContentId ¶
func (o *VersionMetaData) GetContentId() int64
GetContentId returns the ContentId field value
func (*VersionMetaData) GetContentIdOk ¶
func (o *VersionMetaData) GetContentIdOk() (*int64, bool)
GetContentIdOk returns a tuple with the ContentId field value and a boolean to check if the value has been set.
func (*VersionMetaData) GetCreatedBy ¶
func (o *VersionMetaData) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field value
func (*VersionMetaData) GetCreatedByOk ¶
func (o *VersionMetaData) GetCreatedByOk() (*string, bool)
GetCreatedByOk returns a tuple with the CreatedBy field value and a boolean to check if the value has been set.
func (*VersionMetaData) GetCreatedOn ¶
func (o *VersionMetaData) GetCreatedOn() string
GetCreatedOn returns the CreatedOn field value
func (*VersionMetaData) GetCreatedOnOk ¶
func (o *VersionMetaData) GetCreatedOnOk() (*string, bool)
GetCreatedOnOk returns a tuple with the CreatedOn field value and a boolean to check if the value has been set.
func (*VersionMetaData) GetDescription ¶
func (o *VersionMetaData) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*VersionMetaData) GetDescriptionOk ¶
func (o *VersionMetaData) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionMetaData) GetGlobalId ¶
func (o *VersionMetaData) GetGlobalId() int64
GetGlobalId returns the GlobalId field value
func (*VersionMetaData) GetGlobalIdOk ¶
func (o *VersionMetaData) GetGlobalIdOk() (*int64, bool)
GetGlobalIdOk returns a tuple with the GlobalId field value and a boolean to check if the value has been set.
func (*VersionMetaData) GetGroupId ¶
func (o *VersionMetaData) GetGroupId() string
GetGroupId returns the GroupId field value if set, zero value otherwise.
func (*VersionMetaData) GetGroupIdOk ¶
func (o *VersionMetaData) GetGroupIdOk() (*string, bool)
GetGroupIdOk returns a tuple with the GroupId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionMetaData) GetId ¶
func (o *VersionMetaData) GetId() string
GetId returns the Id field value
func (*VersionMetaData) GetIdOk ¶
func (o *VersionMetaData) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*VersionMetaData) GetLabels ¶
func (o *VersionMetaData) GetLabels() []string
GetLabels returns the Labels field value if set, zero value otherwise.
func (*VersionMetaData) GetLabelsOk ¶
func (o *VersionMetaData) GetLabelsOk() (*[]string, bool)
GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionMetaData) GetName ¶
func (o *VersionMetaData) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*VersionMetaData) GetNameOk ¶
func (o *VersionMetaData) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionMetaData) GetProperties ¶
func (o *VersionMetaData) GetProperties() map[string]string
GetProperties returns the Properties field value if set, zero value otherwise.
func (*VersionMetaData) GetPropertiesOk ¶
func (o *VersionMetaData) GetPropertiesOk() (*map[string]string, bool)
GetPropertiesOk returns a tuple with the Properties field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionMetaData) GetState ¶
func (o *VersionMetaData) GetState() ArtifactState
GetState returns the State field value if set, zero value otherwise.
func (*VersionMetaData) GetStateOk ¶
func (o *VersionMetaData) GetStateOk() (*ArtifactState, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VersionMetaData) GetType ¶
func (o *VersionMetaData) GetType() string
GetType returns the Type field value
func (*VersionMetaData) GetTypeOk ¶
func (o *VersionMetaData) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*VersionMetaData) GetVersion ¶
func (o *VersionMetaData) GetVersion() string
GetVersion returns the Version field value
func (*VersionMetaData) GetVersionOk ¶
func (o *VersionMetaData) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*VersionMetaData) HasDescription ¶
func (o *VersionMetaData) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*VersionMetaData) HasGroupId ¶
func (o *VersionMetaData) HasGroupId() bool
HasGroupId returns a boolean if a field has been set.
func (*VersionMetaData) HasLabels ¶
func (o *VersionMetaData) HasLabels() bool
HasLabels returns a boolean if a field has been set.
func (*VersionMetaData) HasName ¶
func (o *VersionMetaData) HasName() bool
HasName returns a boolean if a field has been set.
func (*VersionMetaData) HasProperties ¶
func (o *VersionMetaData) HasProperties() bool
HasProperties returns a boolean if a field has been set.
func (*VersionMetaData) HasState ¶
func (o *VersionMetaData) HasState() bool
HasState returns a boolean if a field has been set.
func (VersionMetaData) MarshalJSON ¶
func (o VersionMetaData) MarshalJSON() ([]byte, error)
func (*VersionMetaData) SetContentId ¶
func (o *VersionMetaData) SetContentId(v int64)
SetContentId sets field value
func (*VersionMetaData) SetCreatedBy ¶
func (o *VersionMetaData) SetCreatedBy(v string)
SetCreatedBy sets field value
func (*VersionMetaData) SetCreatedOn ¶
func (o *VersionMetaData) SetCreatedOn(v string)
SetCreatedOn sets field value
func (*VersionMetaData) SetDescription ¶
func (o *VersionMetaData) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*VersionMetaData) SetGlobalId ¶
func (o *VersionMetaData) SetGlobalId(v int64)
SetGlobalId sets field value
func (*VersionMetaData) SetGroupId ¶
func (o *VersionMetaData) SetGroupId(v string)
SetGroupId gets a reference to the given string and assigns it to the GroupId field.
func (*VersionMetaData) SetLabels ¶
func (o *VersionMetaData) SetLabels(v []string)
SetLabels gets a reference to the given []string and assigns it to the Labels field.
func (*VersionMetaData) SetName ¶
func (o *VersionMetaData) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*VersionMetaData) SetProperties ¶
func (o *VersionMetaData) SetProperties(v map[string]string)
SetProperties gets a reference to the given map[string]string and assigns it to the Properties field.
func (*VersionMetaData) SetState ¶
func (o *VersionMetaData) SetState(v ArtifactState)
SetState gets a reference to the given ArtifactState and assigns it to the State field.
func (*VersionMetaData) SetType ¶
func (o *VersionMetaData) SetType(v string)
SetType sets field value
func (*VersionMetaData) SetVersion ¶
func (o *VersionMetaData) SetVersion(v string)
SetVersion sets field value
type VersionSearchResults ¶
type VersionSearchResults struct {
// The total number of versions that matched the query (may be more than the number of versions returned in the result set).
Count int32 `json:"count"`
// The collection of artifact versions returned in the result set.
Versions []SearchedVersion `json:"versions"`
}
VersionSearchResults Describes the response received when searching for artifacts.
func NewVersionSearchResults ¶
func NewVersionSearchResults(count int32, versions []SearchedVersion) *VersionSearchResults
NewVersionSearchResults instantiates a new VersionSearchResults object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVersionSearchResultsWithDefaults ¶
func NewVersionSearchResultsWithDefaults() *VersionSearchResults
NewVersionSearchResultsWithDefaults instantiates a new VersionSearchResults object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VersionSearchResults) GetCount ¶
func (o *VersionSearchResults) GetCount() int32
GetCount returns the Count field value
func (*VersionSearchResults) GetCountOk ¶
func (o *VersionSearchResults) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.
func (*VersionSearchResults) GetVersions ¶
func (o *VersionSearchResults) GetVersions() []SearchedVersion
GetVersions returns the Versions field value
func (*VersionSearchResults) GetVersionsOk ¶
func (o *VersionSearchResults) GetVersionsOk() (*[]SearchedVersion, bool)
GetVersionsOk returns a tuple with the Versions field value and a boolean to check if the value has been set.
func (VersionSearchResults) MarshalJSON ¶
func (o VersionSearchResults) MarshalJSON() ([]byte, error)
func (*VersionSearchResults) SetCount ¶
func (o *VersionSearchResults) SetCount(v int32)
SetCount sets field value
func (*VersionSearchResults) SetVersions ¶
func (o *VersionSearchResults) SetVersions(v []SearchedVersion)
SetVersions sets field value
type VersionsApi ¶
type VersionsApi interface {
/*
* CreateArtifactVersion Create artifact version
* Creates a new version of the artifact by uploading new content. The configured rules for
the artifact are applied, and if they all pass, the new content is added as the most recent
version of the artifact. If any of the rules fail, an error is returned.
The body of the request can be the raw content of the new artifact version, or the raw content
and a set of references pointing to other artifacts, and the type
of that content should match the artifact's type (for example if the artifact type is `AVRO`
then the content of the request should be an Apache Avro document).
This operation can fail for the following reasons:
* Provided content (request body) was empty (HTTP error `400`)
* No artifact with this `artifactId` exists (HTTP error `404`)
* The new content violates one of the rules configured for the artifact (HTTP error `409`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiCreateArtifactVersionRequest
*/
CreateArtifactVersion(ctx _context.Context, groupId string, artifactId string) ApiCreateArtifactVersionRequest
/*
* CreateArtifactVersionExecute executes the request
* @return VersionMetaData
*/
CreateArtifactVersionExecute(r ApiCreateArtifactVersionRequest) (VersionMetaData, *_nethttp.Response, error)
/*
* GetArtifactVersion Get artifact version
* Retrieves a single version of the artifact content. Both the `artifactId` and the
unique `version` number must be provided. The `Content-Type` of the response depends
on the artifact type. In most cases, this is `application/json`, but for some types
it may be different (for example, `PROTOBUF`).
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* No version with this `version` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @param version The unique identifier of a specific version of the artifact content.
* @return ApiGetArtifactVersionRequest
*/
GetArtifactVersion(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionRequest
/*
* GetArtifactVersionExecute executes the request
* @return *os.File
*/
GetArtifactVersionExecute(r ApiGetArtifactVersionRequest) (*os.File, *_nethttp.Response, error)
/*
* GetArtifactVersionReferences Get artifact version
* Retrieves a single version of the artifact content. Both the `artifactId` and the
unique `version` number must be provided. The `Content-Type` of the response depends
on the artifact type. In most cases, this is `application/json`, but for some types
it may be different (for example, `PROTOBUF`).
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* No version with this `version` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @param version The unique identifier of a specific version of the artifact content.
* @return ApiGetArtifactVersionReferencesRequest
*/
GetArtifactVersionReferences(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionReferencesRequest
/*
* GetArtifactVersionReferencesExecute executes the request
* @return []ArtifactReference
*/
GetArtifactVersionReferencesExecute(r ApiGetArtifactVersionReferencesRequest) ([]ArtifactReference, *_nethttp.Response, error)
/*
* ListArtifactVersions List artifact versions
* Returns a list of all versions of the artifact. The result set is paged.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @return ApiListArtifactVersionsRequest
*/
ListArtifactVersions(ctx _context.Context, groupId string, artifactId string) ApiListArtifactVersionsRequest
/*
* ListArtifactVersionsExecute executes the request
* @return VersionSearchResults
*/
ListArtifactVersionsExecute(r ApiListArtifactVersionsRequest) (VersionSearchResults, *_nethttp.Response, error)
/*
* UpdateArtifactVersionState Update artifact version state
* Updates the state of a specific version of an artifact. For example, you can use
this operation to disable a specific version.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`)
* No version with this `version` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
* @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
* @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
* @param version The unique identifier of a specific version of the artifact content.
* @return ApiUpdateArtifactVersionStateRequest
*/
UpdateArtifactVersionState(ctx _context.Context, groupId string, artifactId string, version string) ApiUpdateArtifactVersionStateRequest
/*
* UpdateArtifactVersionStateExecute executes the request
*/
UpdateArtifactVersionStateExecute(r ApiUpdateArtifactVersionStateRequest) (*_nethttp.Response, error)
}
type VersionsApiService ¶
type VersionsApiService service
VersionsApiService VersionsApi service
func (*VersionsApiService) CreateArtifactVersion ¶
func (a *VersionsApiService) CreateArtifactVersion(ctx _context.Context, groupId string, artifactId string) ApiCreateArtifactVersionRequest
- CreateArtifactVersion Create artifact version
- Creates a new version of the artifact by uploading new content. The configured rules for
the artifact are applied, and if they all pass, the new content is added as the most recent version of the artifact. If any of the rules fail, an error is returned.
The body of the request can be the raw content of the new artifact version, or the raw content and a set of references pointing to other artifacts, and the type of that content should match the artifact's type (for example if the artifact type is `AVRO` then the content of the request should be an Apache Avro document).
This operation can fail for the following reasons:
* Provided content (request body) was empty (HTTP error `400`) * No artifact with this `artifactId` exists (HTTP error `404`) * The new content violates one of the rules configured for the artifact (HTTP error `409`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiCreateArtifactVersionRequest
func (*VersionsApiService) CreateArtifactVersionExecute ¶
func (a *VersionsApiService) CreateArtifactVersionExecute(r ApiCreateArtifactVersionRequest) (VersionMetaData, *_nethttp.Response, error)
* Execute executes the request * @return VersionMetaData
func (*VersionsApiService) GetArtifactVersion ¶
func (a *VersionsApiService) GetArtifactVersion(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionRequest
- GetArtifactVersion Get artifact version
- Retrieves a single version of the artifact content. Both the `artifactId` and the
unique `version` number must be provided. The `Content-Type` of the response depends on the artifact type. In most cases, this is `application/json`, but for some types it may be different (for example, `PROTOBUF`).
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @param version The unique identifier of a specific version of the artifact content.
- @return ApiGetArtifactVersionRequest
func (*VersionsApiService) GetArtifactVersionExecute ¶
func (a *VersionsApiService) GetArtifactVersionExecute(r ApiGetArtifactVersionRequest) (*os.File, *_nethttp.Response, error)
* Execute executes the request * @return *os.File
func (*VersionsApiService) GetArtifactVersionReferences ¶ added in v0.4.0
func (a *VersionsApiService) GetArtifactVersionReferences(ctx _context.Context, groupId string, artifactId string, version string) ApiGetArtifactVersionReferencesRequest
- GetArtifactVersionReferences Get artifact version
- Retrieves a single version of the artifact content. Both the `artifactId` and the
unique `version` number must be provided. The `Content-Type` of the response depends on the artifact type. In most cases, this is `application/json`, but for some types it may be different (for example, `PROTOBUF`).
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @param version The unique identifier of a specific version of the artifact content.
- @return ApiGetArtifactVersionReferencesRequest
func (*VersionsApiService) GetArtifactVersionReferencesExecute ¶ added in v0.4.0
func (a *VersionsApiService) GetArtifactVersionReferencesExecute(r ApiGetArtifactVersionReferencesRequest) ([]ArtifactReference, *_nethttp.Response, error)
* Execute executes the request * @return []ArtifactReference
func (*VersionsApiService) ListArtifactVersions ¶
func (a *VersionsApiService) ListArtifactVersions(ctx _context.Context, groupId string, artifactId string) ApiListArtifactVersionsRequest
- ListArtifactVersions List artifact versions
- Returns a list of all versions of the artifact. The result set is paged.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @return ApiListArtifactVersionsRequest
func (*VersionsApiService) ListArtifactVersionsExecute ¶
func (a *VersionsApiService) ListArtifactVersionsExecute(r ApiListArtifactVersionsRequest) (VersionSearchResults, *_nethttp.Response, error)
* Execute executes the request * @return VersionSearchResults
func (*VersionsApiService) UpdateArtifactVersionState ¶
func (a *VersionsApiService) UpdateArtifactVersionState(ctx _context.Context, groupId string, artifactId string, version string) ApiUpdateArtifactVersionStateRequest
- UpdateArtifactVersionState Update artifact version state
- Updates the state of a specific version of an artifact. For example, you can use
this operation to disable a specific version.
This operation can fail for the following reasons:
* No artifact with this `artifactId` exists (HTTP error `404`) * No version with this `version` exists (HTTP error `404`) * A server error occurred (HTTP error `500`)
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param groupId The artifact group ID. Must be a string provided by the client, representing the name of the grouping of artifacts.
- @param artifactId The artifact ID. Can be a string (client-provided) or UUID (server-generated), representing the unique artifact identifier.
- @param version The unique identifier of a specific version of the artifact content.
- @return ApiUpdateArtifactVersionStateRequest
func (*VersionsApiService) UpdateArtifactVersionStateExecute ¶
func (a *VersionsApiService) UpdateArtifactVersionStateExecute(r ApiUpdateArtifactVersionStateRequest) (*_nethttp.Response, error)
* Execute executes the request
Source Files
¶
- api_admin.go
- api_artifact_rules.go
- api_artifacts.go
- api_groups.go
- api_metadata.go
- api_search.go
- api_system.go
- api_users.go
- api_versions.go
- client.go
- configuration.go
- model_artifact_meta_data.go
- model_artifact_owner.go
- model_artifact_reference.go
- model_artifact_search_results.go
- model_artifact_state.go
- model_artifact_type_info.go
- model_configuration_property.go
- model_content_create_request.go
- model_create_group_meta_data.go
- model_download_ref.go
- model_editable_meta_data.go
- model_error.go
- model_group_meta_data.go
- model_group_search_results.go
- model_if_exists.go
- model_limits.go
- model_log_configuration.go
- model_log_level.go
- model_named_log_configuration.go
- model_named_log_configuration_all_of.go
- model_role_mapping.go
- model_role_type.go
- model_rule.go
- model_rule_type.go
- model_rule_violation_cause.go
- model_rule_violation_error.go
- model_rule_violation_error_all_of.go
- model_searched_artifact.go
- model_searched_group.go
- model_searched_version.go
- model_sort_by.go
- model_sort_order.go
- model_system_info.go
- model_update_configuration_property.go
- model_update_role.go
- model_update_state.go
- model_user_info.go
- model_version_meta_data.go
- model_version_search_results.go
- response.go
- utils.go