Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update provider interface impl in sia agents #2555

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions clients/go/zms/model.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions clients/go/zms/zms_schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions provider/aws/sia-ec2/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ func (ec2 EC2Provider) GetSanIp(_ map[string]bool, _ []net.IP, _ ip.Opts) []net.
return nil
}

func (ec2 EC2Provider) GetSuffix() string {
return ""
func (ec2 EC2Provider) GetSuffixes() []string {
return []string{}
}

func (ec2 EC2Provider) CloudAttestationData(_, _, _ string) (string, error) {
Expand Down
4 changes: 2 additions & 2 deletions provider/aws/sia-eks/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ func (eks EKSProvider) GetSanIp(_ map[string]bool, _ []net.IP, _ ip.Opts) []net.
return nil
}

func (eks EKSProvider) GetSuffix() string {
return ""
func (eks EKSProvider) GetSuffixes() []string {
return []string{}
}

func (eks EKSProvider) CloudAttestationData(_, _, _ string) (string, error) {
Expand Down
4 changes: 2 additions & 2 deletions provider/aws/sia-fargate/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ func (fargate FargateProvider) GetSanIp(_ map[string]bool, _ []net.IP, _ ip.Opts
return nil
}

func (fargate FargateProvider) GetSuffix() string {
return ""
func (fargate FargateProvider) GetSuffixes() []string {
return []string{}
}

func (fargate FargateProvider) CloudAttestationData(_, _, _ string) (string, error) {
Expand Down
4 changes: 2 additions & 2 deletions provider/gcp/sia-gce/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ func (gce GCEProvider) GetSanIp(_ map[string]bool, _ []net.IP, _ ip.Opts) []net.
return nil
}

func (gce GCEProvider) GetSuffix() string {
return ""
func (gce GCEProvider) GetSuffixes() []string {
return []string{}
}

func (gce GCEProvider) CloudAttestationData(base, svc, ztsServerName string) (string, error) {
Expand Down
4 changes: 2 additions & 2 deletions provider/gcp/sia-gke/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ func (gke GKEProvider) GetSanIp(_ map[string]bool, _ []net.IP, _ ip.Opts) []net.
return nil
}

func (gke GKEProvider) GetSuffix() string {
return ""
func (gke GKEProvider) GetSuffixes() []string {
return []string{}
}

func (gke GKEProvider) CloudAttestationData(base, svc, ztsServerName string) (string, error) {
Expand Down