class Artifactory::Resource::Repository

Included Modules

Extended Modules

Defined in:

artifactory/resources/repository.cr

Constant Summary

BASE_URL = "artifactory/api/repositories"

Constructors

Instance Method Summary

Instance methods inherited from class Artifactory::Resource::Base

client : Artifactory::Client client, client=(client : Artifactory::Client) client=, to_s(io) to_s, url_safe(value) url_safe

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(key : String, description : String = "", notes : String = "") #

[View source]

Instance Method Detail

def api_path : String #

The path to this repository on the server.


[View source]
def blacked_out : Bool #

[View source]
def blacked_out=(blacked_out : Bool) #

[View source]
def calculate_yum_metadata : Bool #

[View source]
def calculate_yum_metadata=(calculate_yum_metadata : Bool) #

[View source]
def checksum_policy_type : String #

[View source]
def checksum_policy_type=(checksum_policy_type : String) #

[View source]
def content_type #

The default Content-Type for this repository. It varies based on the repository type.


[View source]
def delete #

Delete this repository from artifactory, suppressing any +ResourceNotFound+ exceptions might occur.


[View source]
def description : String #

[View source]
def description=(description : String) #

[View source]
def excludes_pattern : String #

[View source]
def excludes_pattern=(excludes_pattern : String) #

[View source]
def handle_releases : Bool #

[View source]
def handle_releases=(handle_releases : Bool) #

[View source]
def handle_snapshots : Bool #

[View source]
def handle_snapshots=(handle_snapshots : Bool) #

[View source]
def headers #

The default headers for this object. This includes the +Content-Type+.


[View source]
def includes_pattern : String #

[View source]
def includes_pattern=(includes_pattern : String) #

[View source]
def key : String #

[View source]
def key=(key : String) #

[View source]
def max_unique_snapshots : Int32 #

[View source]
def max_unique_snapshots=(max_unique_snapshots : Int32) #

[View source]
def max_unique_tags : Int32 #

[View source]
def max_unique_tags=(max_unique_tags : Int32) #

[View source]
def notes : String #

[View source]
def notes=(notes : String) #

[View source]
def package_type : String #

[View source]
def package_type=(package_type : String) #

[View source]
def property_sets : Array(String) #

[View source]
def property_sets=(property_sets : Array(String)) #

[View source]
def rclass : String #

[View source]
def rclass=(rclass : String) #

[View source]
def repo_layout_ref : String #

[View source]
def repo_layout_ref=(repo_layout_ref : String) #

[View source]
def save #

Creates or updates a repository configuration depending on if the repository configuration previously existed. This method also works around Artifactory's dangerous default behavior:

An existing repository with the same key are removed from the configuration and its content is removed!


[View source]
def snapshot_version_behavior : String #

[View source]
def snapshot_version_behavior=(snapshot_version_behavior : String) #

[View source]
def suppress_pom_consistency_checks : Bool #

[View source]
def suppress_pom_consistency_checks=(suppress_pom_consistency_checks : Bool) #

[View source]
def yum_root_depth : Int32 #

[View source]
def yum_root_depth=(yum_root_depth : Int32) #

[View source]